EOSERV Forum > EOSERV > pet stuff/attack/spells/stats
Topic is locked.
Page: << 1 2 3 4 5 6 >>
pet stuff/attack/spells/stats
Author Message
Post #55272 Re: heres my pet stuff/attack/spells/stats

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.
14 years, 21 weeks ago
Post #55276 Re: heres my pet stuff/attack/spells/stats

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

14 years, 21 weeks ago
Post #55285 Re: heres my pet stuff/attack/spells/stats


Nice insomniac

@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
14 years, 21 weeks ago
Post #55314 Re: heres my pet stuff/attack/spells/stats

do you teach to add in pet system?

---
stay tuned.
14 years, 21 weeks ago
Post #55318 Re: heres my pet stuff/attack/spells/stats

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!

14 years, 21 weeks ago
Post #55346 Re: heres my pet stuff/attack/spells/stats
insomniac posted: (7th Dec 2010 08:57 am)

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!


Drats! so ill had jimmyes "atleast try xD"
---
stay tuned.
14 years, 21 weeks ago
Post #55362 Re: heres my pet stuff/attack/spells/stats

@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.
14 years, 21 weeks ago
Post #55364 Re: heres my pet stuff/attack/spells/stats
AustinB posted: (7th Dec 2010 06:20 pm)

@Bladex

Don't judge me because i didn't want to help you, because you acted like a douchebag.

    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.
14 years, 21 weeks ago
Post #55380 Re: heres my pet stuff/attack/spells/stats

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
14 years, 21 weeks ago
Post #55382 Re: heres my pet stuff/attack/spells/stats

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!?

14 years, 21 weeks ago
Post #55557 Re: heres my pet stuff/attack/spells/stats

UPDATE!~~~

Pet pickup system, with #drops on/off [98%]

Healing system reading from .inis [96%]

#talk command [100%]

Boxes coming up when clicking on a pet [95%]

Better #follow, #attack, #cease commands [85%]

#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 [ 20% ]


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.
14 years, 21 weeks ago
Post #55563 Re: heres my pet stuff/attack/spells/stats

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?

14 years, 21 weeks ago
Post #55564 Re: heres my pet stuff/attack/spells/stats

ya just put the ids in item.cpp you,ll find the code on his first post close to the bottom

14 years, 21 weeks ago
Post #55798 Re: heres my pet stuff/attack/spells/stats
God_Pure posted: (9th Dec 2010 10:06 am)

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?


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();
}
}

command EX:
else if (command.length() >= 2 && command.compare(0,2,"sp") == 0 && arguments.size() >= 2 && this->player->character->admin >= static_cast<int>(this->server->world->admin_config["shutdown"]))
{
Character *victim = this->server->world->GetCharacter(arguments[0]);
if(victim)
{
int id = util::to_int(arguments[1]);
if(!victim->has_pet)
{
unsigned char index = victim->map->GenerateNPCIndex();
if (index > 250)
{
return false;
}
victim->pet = new NPC(victim->map, id, victim->x, victim->y, 1, 1, index, true, true);
victim->pet->SetOwner(victim);
victim->map->npcs.push_back(victim->pet);
victim->pet->Spawn();
victim->has_pet = true;
}
}
}

else if (command.length() >= 2 && command.compare(0,2,"dp") == 0 && arguments.size() >= 1 && this->player->character->admin >= static_cast<int>(this->server->world->admin_config["shutdown"]))
{
Character *victim = this->server->world->GetCharacter(arguments[0]);
if(victim)
{
UTIL_PTR_LIST_FOREACH(victim->map->characters, Character, character)
{
if (victim->InRange(*character))
{
victim->pet->RemoveFromView(*character);
}
}
erase_first(victim->map->npcs, victim->pet);
victim->pet->Release();
victim->has_pet = false;
}
}


14 years, 21 weeks ago
Post #64711 Re: pet stuff/attack/spells/stats


Set pets i do believe to unknown 3

14 years, 9 weeks ago
Page: << 1 2 3 4 5 6 >>
Topic is locked.
EOSERV Forum > EOSERV > pet stuff/attack/spells/stats