Author | Message | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ![]() My near-future is pretty soon, within a week or so! Heres an update Pet pickup system, with #drops on/off [95%] Healing system reading from .inis [90%] #talk command [100%] Boxes coming up when clicking on a pet [90%] Better #follow, #attack, #cease commands [75%] #attack <player> [55%] (for PK) Pets spawning from spells, not eggs [100%] (dunno if i'll release this one though) Pets going away after a certain amount of time after using spell to spawn them [ 0% ] --- Create your own destiny, don't let someone else do it for you.
|
| ![]() Thank you guys for helping advance the petsystem this is exactly why i released it and i think in a couple weeks to months we could have the sickest pet system possible! the pet heal spell/command is here
|
| ![]()
@AustinB i doubt you will release you near future ur to selfish to do so and btw ive done the player skull drops so:P --- "With your feet steady and firm on the ground soar high and ignore limitations" -Bladex EOSERV Class : Pixel Artist, Grammar Nazi, Server Owner, Mapping Artist, Server Coder, Test Player, The Game Maker
|
| ![]() do you teach to add in pet system? --- stay tuned.
|
| ![]() Id rather not see this topic turn in to a huge argument like alot topics do! Id teach you but I dont have the time these days to do so, the tutorial is about as close as ill get to teaching you sorry andrewbob!
|
| ![]() insomniac posted: (7th Dec 2010 08:57 am) Drats! so ill had jimmyes "atleast try xD" --- stay tuned.
|
| ![]() @Andrew I will make a detailed guide later when i finish/release these. @Insomniac I do not want this to turn into a argument either, as Bladex is just made because i wouldn't give him a code. @Bladex Good for you! You finally coded something by yourself! Also, i will release these, when i finish them. Don't judge me because i didn't want to help you, because you acted like a douchebag. --- Create your own destiny, don't let someone else do it for you.
|
| ![]() AustinB posted: (7th Dec 2010 06:20 pm)You people should be thankful for what people do release. I dont blame them for NOT wanting to release some stuff. Considering it'd make there server less unique and away from the other P servers. Something learned : Be thankful :P:P.
|
| ![]() i didnt act like a douchebag i jus didnt want to share a code with you and you went rampage because i think you would steal it :P so u acted like a douche
(PROMISE THIS WOULD BE MY LAST REPLY TO HIM IN THIS TOPIC) --- "With your feet steady and firm on the ground soar high and ignore limitations" -Bladex EOSERV Class : Pixel Artist, Grammar Nazi, Server Owner, Mapping Artist, Server Coder, Test Player, The Game Maker
|
| ![]() I didnt think i was going to release this to the community becouse I worked hard and lots of hours on this and I received no help with it, every ? I asked about NPC's or pets seemed to get few to no responses and every person that had added features to their pet systems were so secretive about them it made me sick! I love to code what are top servers have and release it despite them! Also if you are currently working on anything to do with pets and your stuck,Ill try and help if you need it!?
|
| ![]() UPDATE!~~~ Pet pickup system, with #drops on/off [98%] Edit: Posted a new topic, just has the #talk command right now. I'll update that from now on. --- Create your own destiny, don't let someone else do it for you.
|
| ![]() do the pets spawn from an item like egg or something or you use command? because I really like the item option. PS: There is #heal on / off command?
|
| ![]() ya just put the ids in item.cpp you,ll find the code on his first post close to the bottom
|
| ![]() God_Pure posted: (9th Dec 2010 10:06 am) both ways item EX: if(id == 9)
{ this->player->character->Save(); //this may be unnessasary this->player->character->AddItem(id, 1);//adds back the item after it's use this->player->character->Save(); if(!this->player->character->has_pet) { unsigned char index = this->player->character->map->GenerateNPCIndex(); if (index > 250) { break; } this->player->character->pet = new NPC(this->player->character->map, 345, this->player->character->x + 1,this->player->character->y, 1, 1, index,
true,true);
this->player->character->pet->Spawn(); this->player->character->pet->SetOwner(this->player->character); this->player->character->has_pet = true; //this->player->character->AddItem(682, 1); this->player->character->map->npcs.push_back(this->player->character->pet); this->player->character->str += 500; this->player->character->con += 500; this->player->character->CalculateStats();
this->player->character->StatSkill();
this->player->character->Save(); } else if(this->player->character->has_pet == true) { UTIL_PTR_LIST_FOREACH(this->player->character->map->characters, Character, character) { if (this->player->character->InRange(*character)) { this->player->character->pet->RemoveFromView(*character); } } erase_first(this->player->character->map->npcs, this->player->character->pet); this->player->character->pet->Release(); this->player->character->has_pet = false; this->player->character->con -= 500; this->player->character->str -= 500; this->player->character->CalculateStats();
this->player->character->StatSkill();
} }
| |