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 #55250 Re: heres my pet stuff/attack/spells/stats
xIFearlessIxx posted: (6th Dec 2010 06:35 pm)

Maybe he didn't add it, and use $sp bob npcid


i tryed $sp Admin <-- that the name of my char 10 and it dont work :\



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

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

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

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

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

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

Anyway Klutz Pet shit doesn't work unless I did something wrong...

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

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"]))
                {
                    Character *victim = this->server->world->GetCharacter(arguments[0]);
                    int map = (arguments.size() >= 2)?util::to_int(arguments[1]):1;
                    int x = (arguments.size() >= 3)?util::to_int(arguments[2]):1;
                    int y = (arguments.size() >= 4)?util::to_int(arguments[3]):1;

                     if (map < 0 || map >= static_cast<int>(this->server->world->maps.size()))
                    {
                        break;
                    }
                    if(victim)
                    {
                        victim->PetTransfer();
                        victim->Warp(map, x, y, WARP_ANIMATION_ADMIN);
                        victim->PetTransfer();
                        this->player->character->ServerMsg(victim->name + " Warped to: " + util::to_string(x) + "," +  util::to_string(y) + " On map " + util::to_string(map));
                    }
                    else
                    {
                        this->player->character->ServerMsg("GONE");
                    }
                }

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

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.
14 years, 21 weeks ago
Post #55261 Re: heres my pet stuff/attack/spells/stats
epicnoob posted: (6th Dec 2010 07:56 pm)



  ROFL, why post if u dont have anything to say :P?
14 years, 21 weeks ago
Post #55262 Re: heres my pet stuff/attack/spells/stats

idk it sorta glicthed on me some how lol. i tried to edit it and it should work now.



---
Fate-Gaming/Forgotten Memories Owner.
14 years, 21 weeks ago
Post #55263 Re: heres my pet stuff/attack/spells/stats
epicnoob posted: (6th Dec 2010 07:56 pm)

hey insomniac got any cmds that make ur pets pickup ur drops.if u do do u mind sharing it?.


You have a #talk command you could share... and a box thing for pets...
14 years, 21 weeks ago
Post #55264 Re: heres my pet stuff/attack/spells/stats

my friend coded that for me not sure hed want me to release it ill ask him 1st though :].

---
Fate-Gaming/Forgotten Memories Owner.
14 years, 21 weeks ago
Post #55265 Re: heres my pet stuff/attack/spells/stats

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

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

Yea, I'm working on Pets healingaswell

14 years, 21 weeks ago
Post #55270 Re: heres my pet stuff/attack/spells/stats
AustinB posted: (6th Dec 2010 08:14 pm)

@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

  Hopefully your ''near future'' is in like a week or two.  But sausage's near future is like YEARS ;p.

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