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

adr990

Members
  • Posts

    101
  • Joined

  • Last visited

    Never

adr990's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yes and it's very easy to do so. :P I suggest figuring this out yourself. Just look for a code in EO that makes the player block (already told to much eh) , and the rest should be easy enough to figure yourself also. Tutorials ain't make to just copy and paste and let others customize the code to your needs. Unless you think the code actually has a problem, you should do things like this yourself. Adr990 Hint: You don't add another attribute for this, just change the code of kibbelz.
  2. Heya, edit nvm, figured it out: -=- Also, are there any requirments for the NPC which will be the Pet? Does it need atleast 1hp etc. and every stat 1 etc? Thanks in advance, Adr990
  3. Oh I just fingured, and replaced the j's by i's instead of changing the Dim, I didn't see the Dim yet. I'll fix it up the right way this time, eh. And yes, this should fix it. :) -=- Yep, ofcourse it did. haha Great man, thanks for helping me through those little mistakes of fail.
  4. Uh Zopto, read what Lightning just posted: "put the PetMapCache global call and the PetMapCache type in modGlobals, not in a procedure. xD" I placed it wrong too.. *shudders* .. [/ashamed] So this: ``` Public Type PetCache Pet(1 To MAX_MAP_NPCS) As Long UpperBound As Long End Type Public PetMapCache(1 To MAX_MAPS) As PetCache ``` Should go in "modGlobals" Edit: Sorry for double post.
  5. I most of time comment thing out, yea, eheh. I'll do that, right now, but.. Oh my, believe it or not.. I've got a new error: fixed, replaced j's by i's.. as in tutorial.. somehow that got messed up.
  6. Ah, so there it was supposed to go. Oh my.. I should read more carefully. Thanks for your time and help Lightning. :) > I also just skimmed through the code and got rid of a few things which would cause an error. (Not for me, for you) ;) Ah, I indeed noticed it was touched not to long ago. So, I'll go and re add everything on both Server and Client again? * Or actually, remove some code.. haha
  7. Oh, excuse me. eheh I meant that I did update my previous post with my new problem: > Ok I sloved the IsPet and PetData problem, but now I've got this: > > >! ![](http://img708.imageshack.us/img708/8872/petmapcacheerror.png) > > I removed all NPC's and Map's. > (though sometime I need to learn how to use and code a converter..) > > Edit: My 100th post, yay. eheh Eh, yea.. this problems really makes me lost, I can't even think of something at the moment. So, the Server compiling is telling me I didn't add the Sub of PetMapCache, or there is something wrong with PetMapCache at my side, but I can't fingure it out.. Edit: ``` Public Type PetCache Pet(1 To MAX_MAP_NPCS) As Long UpperBound As Long End Type Public PetMapCache(1 To MAX_MAPS) As PetCache ``` I think I've placed that code wrong. I just placed it right after: ``` 'View Current Pets on Map If PetMapCache(Player(Index).Map).UpperBound > 0 Then For j = 1 To PetMapCache(Player(Index).Map).UpperBound Call NPCCache_Create(Index, Player(Index).Map, PetMapCache(Player(Index).Map).Pet(j)) Next End If ```Because I thought it should be safe to do so. Maybe I got it wrong there, eh?
  8. Oh it seems we've got the same problem hmp. But no, I have no fix for us. I really can't think of anything this time.. heh Edit: lol @ Ugh
  9. @Lightning: > Have you updated the MapNpc UDT correctly? You must have skipped it as I haven't seen that error since I released this tutorial. :P Well I added: IsPet As Byte and PetData As PetRec to Map To 'MapNpcRec' And it went on. .. to the next error.. :P I've got this new problem, I edited my post just after you replied. eheh (About PetMapCache… now I'm lost, heh)
  10. Ok I sloved the IsPet and PetData problem, but now I've got this: >! ![](http://img708.imageshack.us/img708/8872/petmapcacheerror.png) I removed all NPC's and Map's. (though sometime I need to learn how to use and code a converter..) Edit: My 100th post, yay. eheh
  11. Nice kibbelz! I was about to add something like that too. :P Though I might edit it a little bit up. Thanks man.
  12. Yes but, I like to have such things being easily editable for the person who will be doing the GUI's. eh Oh, also, the picturebox should be set to False. Forgot to mention that.
  13. Cool! I saw this in some game before, and I thought it was a pretty cool addition to show how rich and stuff you are. I'll try this, and eventually face the same problems as posts above.
×
×
  • Create New...