Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Esmeyana

Members
  • Posts

    179
  • Joined

  • Last visited

    Never

Everything posted by Esmeyana

  1. @Clueless: > make it a currency and there you go If you make it a currency then you can use it as money in the shop I think…
  2. Hello, I am working on a random map generator. I have only one problem, I can't slove it. First I am gonna tell you how the map generator works, so you know. I made a new editor called "Objects Editor", it's almost exactly like the map editor, it also uses the same types in modType, the only differences are that it's called "Private Type ObjectRec" and it saves the object in a folder called "Objects" not in "Maps". The size of the normal maps and the objects are always 100X100, or else it will not generate the map. Why always 100x100? Well it's hard to explain, so I may use codes to explain what I mean. First of all when the map is going to get generated, it will choose a random object and checks all the tiles, if a tile is empty then it will not paste it into the normal map, if it's not empty then it will paste it to the same tile of the normal map. It will read the object from the folder "Objects" and then save it in the memory of "Private Type ObjectRec". And then it will start replacing the tiles to the "Private Type MapRec". ``` For x = 0 To Object(RandomNr).MaxX for y = 0 To Object(RandomNr).MaxY for l = 1 To MapLayer.Layer_Count - 1 If Object(RandomNr).Tile(x, y).Layer(l).Tileset > 0 then Map(MapNum).Tile(x, y).Layer(l).x = Object(RandomNr).Tile(x, y).Layer(l).x Map(MapNum).Tile(x, y).Layer(l).y = Object(RandomNr).Tile(x, y).Layer(l).y Map(MapNum).Tile(x, y).Layer(l).Tileset = Object(RandomNr).Tile(x, y).Layer(l).Tileset End If next next Next ``` I hope you know enough to help me now. My problem is when trying to read the Object from the folder. Actually I use this code. ``` Sub LoadObjects() Dim filename As String Dim i As Long Dim F As Long Dim x As Long Dim y As Long Call CheckObjects For i = 1 To MAX_OBJECTS filename = App.Path & "\data\Objects\object" & i & ".dat" F = FreeFile Open filename For Binary As #F Get #F, , Object(i).Name Get #F, , Object(i).Music Get #F, , Object(i).Revision Get #F, , Object(i).Moral Get #F, , Object(i).Up Get #F, , Object(i).Down Get #F, , Object(i).Left Get #F, , Object(i).Right Get #F, , Object(i).BootMap Get #F, , Object(i).BootX Get #F, , Object(i).BootY Get #F, , Object(i).MaxX Get #F, , Object(i).MaxY ' have to set the tile() ReDim Object(i).Tile(0 To Object(i).MaxX, 0 To Object(i).MaxY) For x = 0 To Object(i).MaxX For y = 0 To Object(i).MaxY Get #F, , Object(i).Tile(x, y) Next Next For x = 1 To MAX_MAP_NPCS Get #F, , Object(i).Npc(x) ObjectNpc(i).Npc(x).Num = Object(i).Npc(x) Next Close #F ClearTempTile i CacheResources i DoEvents Next End Sub ``` And the problem is that I don't want ``` Get #F, , Object(i).Name Get #F, , Object(i).Music Get #F, , Object(i).Revision Get #F, , Object(i).Moral ``` Because I never will use them or need them and I want to delete them from the object Editor, how can I remove them?
  3. You are trying to figure out, it means you have done some progress. It would be helful if you tell the progress you have made untill now. EDIT: there is a "slide" tiletype in EO2.0, I think you have to add sound to it.
  4. @Sick: > 1\. By looking at the grammar. > 2\. The amount of smilies'n'stars used. > 3\. And I guessed. Good guess xD About topic: Lol if you can't handle these tutorials then I have a tutorial for you :D So after this tutorial you can handle these tutorials… > Open paint or any painting software. > Draw a dot. > File > Save > choose where to save and name it anything you want. I hope this helps :)
  5. @Sick: > Triple post really? However, you just want to skip the basics and jump to advanced? You better slow down kid! How do you know it's a kid? Just wondering… About this topic, If you don't start doing anything you will never learn anything...
  6. Esmeyana

    WoW Runes

    @Sicarii: > heres a slightly different one…along with original. Thanks for the feedback. Also i had planned on making a thread that just linked to them all since i cant do one massive thread atm. That new one looks a lot better, cant wait till your WoW sprites topic :)
  7. Friend: "Kim Jong Li just died." Me: "I don't know people who don't know me."[/joke] Isn't it true that most of the power in North Korea is given to the dead kings, wich means that they are getting governed by dead people?
  8. Esmeyana

    WoW Runes

    WOW! it's a WoW rune! Looks good, but the book in the richt down corner is not very good ripped… Thnx btw, and merry christmas.
  9. [http://www.touchofdeathforums.com/smf/index.php/topic,71652.0.html](http://www.touchofdeathforums.com/smf/index.php/topic,71652.0.html) Believe me, here you can find the best tutorials, I am following one of the tutorials from there atm.
  10. Nice work :D Thanks and merry christmas :)
  11. Deleting Tip4 was not nice, btw.. thnx for the tips all :) I think this didn't only help me, but also other people…
  12. I like the Future Pirate Idea more… Actually I don't like space games.. like star wars.. and all space games..
  13. Awesome tutorial, gonna try it… Thnx btw..
  14. @Erwin: > **she** means you should use constants for calculations. He just doesn't know what the fuck he's talking about. I think NamelessSoul is a male.
  15. Hello people, First of all merry christmas and happy new year. I think this would be helpful for the users of Visual Basic 6.0. I made this because I want to give some experience I have got from VB6 to you. Well a lot of you is already in knowledge about this, but anyway… And there are some tips people posted on this topic. The tips with a "*****" are recommended. Of course all tips are recommended, but some are just more recommended. @Tips: > Tip 1: **Backup before you die.** ***** > Always backup your project, it's awesome, try before you die. > > Tip 2: **Adopt a format that suits you.** > Make sure that when you code, you stay consistent. You should be able to recognize code that is your own just by glancing at the format of it. Clean and organized formatted code will not only make you feel better about what you've made, but also the way you have made it. > Pick-up different formatting techniques from other VB6 veterans to obtain a style that both appeals to you and is easy to read. Make sure it also looks good! ;) > > Tip 3: **Use comments a lot.** > If you are working on anything in VB6, especially on the Eclipse engine, comment every > important line for the system you are working on.. like 'Crafting System > This will help to replace the system easly to an another project. > > Tip 4: **Start with small coding problems and work your way up from there.** > Just start coding something, make small problems and slove them, this will help a lot. > Or, start sloving the small problems, and work your way up from there. > > Tip 5: **Do not use the portable version of VB6.** > I think it sucks, but some people may like it and think it's helpful. Depends on how > you feel comfortable while programming. > > Tip 6: **[CodeSMART](http://www.axtools.com/products-codesmart-vb6.php).******* > CodeSMART is a tool for vb6, wich is really helpful. > I use it, in the beginning you have to get used to it because it does a lot automatically. > There are also very helpful tools in it, just try it. > > Tip 7: **Saving the project using "Save project as…" does not save the forms!** > So if you think you will save the project somewhere else and then suck it up, well > I wouldn't do that if I were you because the project is just like a shortcut to a box with forms > and modules, so you are actually making another shortcut to the same box. @Links: > Also, use these sites. They will help you tremendously. > > Link 1: **[VbTutor.](http://www.vbtutor.net/vb6/vbtutor.html)** > This website is very good for beginners in programming, even porgrammers > who already know the basics of VB6 can learn from this. > This is the best tutorials website for VB6 I could find using Google. > Also there are a lot of tutorials on this forum, I think they are even better then the ones of VbTutor. > > Links 2: **[Simple tricks for VB optimization](http://www.shamrock-software.eu/vb.htm), [How not to optimize in Visual Basic.](http://www.aivosto.com/vbtips/not-optimize.html)** > These articles will show you how not to program in Visual Basic 6, pretty funny, but the fails are quite common. > > Link 3: **[Justn's Source tutorials index.](http://www.touchofdeathforums.com/smf/index.php/topic,75901.0.html)** > Are you new on this forum? This link is recommended by all advanced members on this forum. > It's a source tutorials index wich took a lot of work and time by our friend Justn, it's also every day updated. It will not only help you to make the perfect game, but also it will increase your skills in prgraming. Anyway, merry christmas once again and happy new year :D EDIT: Does anyone have good tips aswell? So I can learn from you.
  16. @Rusher: > I **c**elebrate Christmas because it's one of the only times my family comes together in this shitty times. Wow that hurts… I have a friend, we are friends since my 12th age... Also her family comes together only in christmas, she really have a shitty life...
  17. @DrNova: > Most people know what christmas is about. General good will and such. Christians use it as a general day of celebration for the birth of christ. Other people use it for what have you. > > Seems like you just dont like christmas Only one thing makes me love christmas: The donations I get from my uncles :D Anyway, I just want to know the rate of the knowledge of you guys about christmas. I mean, some people are selebrating something they don't know what it is about. Just because everyone is selebrating it, they selebrate it aswell. This will show that the smartness of people are getting smaller in ages, not bigger.
  18. @Furrzie: > Okie, me and my bf were just laying in bed are you gay?
  19. Esmeyana

    Error 9

    @joaonaveia: > I get error 9 when i will edit an item in /admin > sorry if i put the topic in wrong area and sorry for my english :embarrassed: Error 9? what does it say?
  20. @Anna: > Well I don't get all that stuff about dates. I am very sorry for the late reaction of me, I thought I answered it, it feels like I am asocial. Well… ![](http://www.sheppardsoftware.com/images/Middle%20East/factfile/411px-Dates_on_date_palm.jpg) This is a dates tree
  21. @Zonova: > Wait, you're Not allowed to drink on christmas? I'd be a bit disappointed :P > > Also, yeah, i'm pretty sure that it's a well known fact that Christmas was based off of pagan beliefs. As was easter. > > I still enjoy christmas though even as a muslim. The lights are nice and everything feels happy. And ebcause my birthday is on christmas
  22. I have no religion, but I was a Christian, and now not anymore because it is a stupid religion. Like there is written in the Bible that the sun is rotating around the earth -.-" EDIT: GOD"The creator" should know that the earth is rotating around the sun, shouldn't he?
  23. I think it's more clear now. About what you said: I will try to find the chapters and versus, but I have readen them on an another forum past year in christmas so I will try to find them. Also: The christmas tree should be a palm tree, but not the currently tree with the balls.
  24. Well I think it's not clear enough, I will try to make it more clear…
×
×
  • Create New...