Log in

View Full Version : Where to find Command files(rename pets)


dracir
08-13-2018, 12:44 AM
Still pretty new to the community, but looking for a bit of guidance.

I am looking to add a command to rename pets. I don't know where the server commands (http://wiki.eqemulator.org/p?Command_Reference) are located though. I found a reference in mysql - but i don't know where the code for them is physically located.

http://www.eqemulator.org/forums/showthread.php?t=40457

I believe this is out of date(global_npc is not there and i cant get EVENT_SAY to work right), but if i can find the right file that is listening on Event_Say. I could just add in the new #Rename to the list.

Thank you!

dracir
08-13-2018, 04:14 AM
I wonder if updating my qglobals to the databucket update would make this easier.
http://www.eqemulator.org/forums/showthread.php?p=259232#post259232

prestanneth
10-23-2018, 12:48 AM
updated references lists are here:
https://github.com/EQEmu/Server/wiki
look on right side menu under "Scripts / Quests API" for Perl reference to commands.

Source:
https://github.com/EQEmu/Server/blob/master/zone/command.cpp
which are exported to Perl i.e
https://github.com/EQEmu/Server/blob/master/zone/embparser_api.cpp

dracir
10-23-2018, 01:57 AM
Thank you, I'll look into that. I appreciate the help!

superpally1
10-23-2018, 12:20 PM
Just make a global_npc.pl and place it into the global folder and use the guide on the link you posted