Thank you, Magoth! If for nothing else, a little tutorial on how to play with commands. :)
|
THANK YOU! SO MUCH!
Will play with this and if it works great, maybe it can get added to the tree :) |
Ok this is FLAT OUT incredible!
THANK YOU. And yes, I too learned something about how new commands are made. THANKS on all counts! Now, I can only pray this gets into the tree so that I do not have to diff it every build... :) You posting that like that really helps out those of us who can "read the language but not speak the language that well (yet)" understand this stuff at a whole new level. So, thank you for your time. Can you tell I am grateful? lol |
One more thing:
THANK YOU AGAIN (lol) |
Won't let me post code for some reason BUT it's bombimg out on the compile... vs. build 1052.
Will double check and see if it's me or not. |
Ok this:
Code:
command_add("showdrops"," Usage #showdrops [itemID]", 100, command_showdrops) Code:
command_add("showdrops"," Usage #showdrops [itemID]", 100, command_showdrops) || |
It's also showing the loot table name instead of the NPC name for some reason.
Please see screenshot: http://media.buttwrenching.com/loot.jpg |
If you want to see the name of the NPC showed instead of the name of the Lootable, then change the 2.3 of my previous answer to:
2.3/At the end of the file (command.cpp), add the function's code Code:
void command_showdrops(Client *c, const Seperator *sep) |
Thank you very much!!
This is perfect :) No clue how I could ever live without this now. I hope it makes it into the tree. |
Been using this for two weeks now, it's incredible, still :) SO useful.
Please, someone, stick it in the tree hehe. Just set the command for 200+ status or whatever. |
I apologize for reviving an old thread but I was hoping someone could get this to work. I added the code exactly as shown and compiled it successfully but it's not working. I very well could have compiled it incorrectly though.
Edited the command.h and the command.cpp files located in Quote:
|
Did you make sure to copy the newly created files to your server folder after you compiled?
|
I just editted the files in the "c:\EQEmuServerFiles\trunk\EQEmuServer\Zone" directory and saved them there. Should I copy them to c:\eqemu folder or something?
|
Oh what a glorious day.. I figured it out thanks to your sentence structure lol.
Quote:
|
All times are GMT -4. The time now is 07:01 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.