Mr. Bob Firefarter Posted July 23, 2009 Share Posted July 23, 2009 Hes in the programmer group, which auromaticly gives him 4 stars Link to comment Share on other sites More sharing options...
Dennys Posted July 23, 2009 Author Share Posted July 23, 2009 cause his post contain better quality Link to comment Share on other sites More sharing options...
Patrick Posted July 23, 2009 Share Posted July 23, 2009 @Dᴺᴬ:> Hes in the programmer group, which auromaticly gives him 4 starsI think +1\. Would I be a programmer? Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 Hm.. Would we better make it max for the whole game? by the way here's a source i worked out for the HP that the pet will get after level or add of a stat.```'Stats for the pets  addHPPET.LEVEL = Val(GetVar(App.path & "\Petstats.ini", "PETHP", "AddPerLevel"))  addHPPET.STR = Val(GetVar(App.path & "\Petstats.ini", "PETHP", "AddPerStr"))  addHPPET.DEF = Val(GetVar(App.path & "\Petstats.ini", "PETHP", "AddPerDef"))```I took most of the things out that are just not for a "pet" like magic and speed.EDIT: This goes to after the addSP.Speed.P.s all curent commands go to the SERVER SIDE!!! this one is in modgeneralThis is what your "Petstats.ini" should lool like:```[PETHP]AddPerLevel=100AddPerSTR=20AddPerDef=30``` Link to comment Share on other sites More sharing options...
Patrick Posted July 23, 2009 Share Posted July 23, 2009 That's what I was looking for. Great work. Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 Also, it is possible to make a pet "class", just like for the player.EDIT:```ReDim MapPET(1 To MAX_MAPS, 1 To MAX_MAP_PETS) As MapPetRec```Checks if there's available space for the pet, and it also add +1 pet in the game so that it counts.Add it after```ReDim MapNPC(1 To MAX_MAPS, 1 To MAX_MAP_NPCS) As MapPETRec```, same place as all other sources. Link to comment Share on other sites More sharing options...
Patrick Posted July 23, 2009 Share Posted July 23, 2009 No we shouldn't d that. You shouldn't be able to log in as a pet. Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 No no no, you got it a wrong way, we can set it as a quest, scripted tile or a simple command likeCase "/petchangeclass *classname*"*Check for a pet, script and then like this*  ChangePetClass(Petnum, Petclassnum)  Else If  Call PlayerMsg(index, "You don't have a pet", 3)  Exit sub Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 Sub PlayerHitPET(Index, PETNum, Damage)If Damage > 0 thenCall PETAttack(PETNum, Index, Damage)End IfEnd SubAdd this anywhere to your main.txt, this is for pet attack. Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 Okay well sorry for alot of posts but this is what i've done so far:Pet attacks another player (don't know about the NPCs)Pet regens hpPet adds hp when levels up or adds stats.Message shows up when a pet tries to attack you.Pet spawn+Some other dims and vars for getting the pet.Right now i'm working on getting the pet to move. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 23, 2009 Share Posted July 23, 2009 Please stop double-triple-posting; there is an edit button for a reason, you know. Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 Finally figured out how to move pet, on the attack, switch GetPlayerX(target) + Get PlayerY(target)switch target to index.EDIT:Sorry admiral i won't no more, i'll just create a new topic for updates. Link to comment Share on other sites More sharing options...
Admiral Refuge Posted July 23, 2009 Share Posted July 23, 2009 @Ridrik:> Finally figured out how to move pet, on the attack, switch GetPlayerX(target) + Get PlayerY(target)> > switch target to index.> > EDIT:Sorry admiral i won't no more, i'll just create a new topic for updates.Just don't create a new topic for every update XD! You can create one topic, but don't double-post and stuff in that topic, but rather edit the topic with your updates.Or just keep editing your last reply to add the updates. Link to comment Share on other sites More sharing options...
Dennys Posted July 23, 2009 Author Share Posted July 23, 2009 Wow seems you guys have had alot of progress. Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 lol admiral that's why i wrote "a topic for new updateS" Link to comment Share on other sites More sharing options...
Patrick Posted July 23, 2009 Share Posted July 23, 2009 Yeah we have. Hopefully this actually works. Link to comment Share on other sites More sharing options...
Dennys Posted July 23, 2009 Author Share Posted July 23, 2009 and i was the one who inspired it :) unfortunately i have no clue whats going on right now lol….. If i were to be informed i could help. Link to comment Share on other sites More sharing options...
Patrick Posted July 23, 2009 Share Posted July 23, 2009 @Dennys:> and i was the one who inspired it :) unfortunately i have no clue whats going on right now lol….. If i were to be informed i could help.Admiral refuge says yes!read ridrik's posts. He seems to be up to date. Link to comment Share on other sites More sharing options...
Dennys Posted July 23, 2009 Author Share Posted July 23, 2009 Yeah i read all his post he is talking as if we were looking into his computer lol, you need to post a little bit more information on The Pieces of code Like so we know were you are at. Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 Well i'm going to drop all my plans for the week, all of them and going to work on the script right after i wake up and till i get tired working all day, but this is what i promise - if i get the script to work, it's a public realese. Link to comment Share on other sites More sharing options...
Patrick Posted July 23, 2009 Share Posted July 23, 2009 He's adding the npc moving and hp modifications. I would know. I'm Admiral Refuge. Link to comment Share on other sites More sharing options...
Dennys Posted July 23, 2009 Author Share Posted July 23, 2009 are you really? tehre seems to be alot of confusion with that name Link to comment Share on other sites More sharing options...
Ridrik Posted July 23, 2009 Share Posted July 23, 2009 Yeah i'm going to sleep right now.I'm just explaining what i'm doing, there's no point right now to explain everything since it's not even all ready. Link to comment Share on other sites More sharing options...
Patrick Posted July 23, 2009 Share Posted July 23, 2009 I'll start where you left off. Link to comment Share on other sites More sharing options...
Dennys Posted July 23, 2009 Author Share Posted July 23, 2009 Why are you people being watched? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now