PDA

View Full Version : Is it doable?


Jay
04-19-2002, 10:10 AM
I was just curious if a switch could be implemented to disable the summoning of items for roleplay servers. I'd like the items to have a true value, rather than being summoned for free. Thanks everyone!

Shawn319
04-19-2002, 10:14 AM
You would have to change the code (but its easy), open up zone/client.cpp and change the #summonitem command to a higher admin level (add admin >=100)

Ariak
04-19-2002, 10:43 AM
#summonitem needs to be a GM+ command!

Ryozu
04-20-2002, 09:24 PM
I still stay ALL the commands need to have their levels definable in the Database, or an INI file.

Or at the very least, have the different command teirs have their number values definable.

They won't get around to it though =P

Shortlived
04-20-2002, 09:29 PM
#summonitem needs to be a GM+ command! not yet! =p

Wiz
04-22-2002, 12:10 AM
It's fairly easy to switch command levels around in client.cpp, really.

Just replace for example:
else if (strcasecmp(sep.arg[0], "#goto") == 0)
or
else if (strcasecmp(sep.arg[0], "#goto") == 0 && (admin >= 0))

with:

else if (strcasecmp(sep.arg[0], "#goto") == 0 && (admin >= 10))

To make em PrivUser commands.