Author | Message | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ![]() xIFearlessIxx posted: (6th Dec 2010 06:35 pm) --- stay tuned.
|
| ![]() look in talk.cpp if the command aint there then he didnt add but im sure its just a rev to show his pets work so most likely the commands aint been added
|
| ![]() I didnt add the commands in talk.cpp just the basic petsystem to show that it works! also if you $Sp npcid make sure the npc is set to pet pr NPC 3 in your pub or it could crash your server
|
| ![]() You could take the sp command / dp command from jimmyee's pets... ~~TALK.CPP FIX~~ --------------------- This is more for admins, but in your talk.cpp file, under all the warp commands. EXample is $warp <mapid> <x> <y> or $warpt <name> or $warpm <name>... Ok, say your command at the start looks like this... else if (command.length() >= 5 && command.compare(0,5,"warpm") == 0 && arguments.size() >= 1 && this->player->character->admin >= static_cast<int>(this->server->world->admin_config["warpmeto"])) { Character *victim = this->server->world->GetCharacter(arguments[0]); if (victim) { this->player->character->Warp(victim->mapid, victim->x, victim->y, WARP_ANIMATION_ADMIN); } } AND AFTER ADDED THE FIX ; else if (command.length() >= 5 && command.compare(0,5,"warpm") == 0 && arguments.size() >= 1 && this->player->character->admin >= static_cast<int>(this->server->world->admin_config["warpmeto"])) { Character *victim = this->server->world->GetCharacter(arguments[0]); if (victim) { this->player->character->Warp(victim->mapid, victim->x, victim->y, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } } -perfect ;].
|
| ![]() Anyway Klutz Pet shit doesn't work unless I did something wrong...
|
| ![]() Thanks perfect i forgot the warp commands heres some and this 1 else if (command.length() >= 2 && command.compare(0,2,"pw") == 0 && arguments.size() >= 1 && this->player->character->admin >= static_cast<int>(this->server->world->admin_config["pwarp"]))
|
| ![]() hey insomniac got any cmds that make ur pets pickup ur drops.if u do do u mind sharing it?. --- Fate-Gaming/Forgotten Memories Owner.
|
| ![]() epicnoob posted: (6th Dec 2010 07:56 pm) ROFL, why post if u dont have anything to say :P?
|
| ![]()
--- Fate-Gaming/Forgotten Memories Owner.
|
| ![]() epicnoob posted: (6th Dec 2010 07:56 pm) You have a #talk command you could share... and a box thing for pets...
|
| ![]() my friend coded that for me not sure hed want me to release it ill ask him 1st though :]. --- Fate-Gaming/Forgotten Memories Owner.
|
| ![]() @Epicnoob I am currently working on pets picking up drops, as i am 95% done with it. @Fearless I currently do have a #talk, and i am working on the box. I am also working on where pets heal you, which are reading from a .ini! I will release all of these in the near-future! :P ~Austin --- Create your own destiny, don't let someone else do it for you.
|
| ![]() Alright austin i just need the pickup drops cmd and im pretty set.Im still gana try to c if i can make it myself.If u finish it let me know. --- Fate-Gaming/Forgotten Memories Owner.
|
| ![]() Yea, I'm working on Pets healingaswell
|
| ![]() AustinB posted: (6th Dec 2010 08:14 pm)Hopefully your ''near future'' is in like a week or two. But sausage's near future is like YEARS ;p. |