GM items in quest
Is there any way to make GM items summonable by players with 0 status with a quest completion? A player who completes the quest gets the 'You are not a GM to summon this item' error. Any help appreciated.
|
why not just transforming GM items in normal items ?
you could do that by altering the database, it would avoid to modify the source code. |
What's the point of having the quests if the player can just summon the item? Only if I take out summonitem would that work, which I won't because that would leave me with a legit server. If I have to edit the source code, then so be it. Could someone please respond to what I need to edit? The owner of Raid Addicts has quests which result in GM only flagged items, and it doesn't give the players 'you are not a GM to summon this item' problem when they finish the quest and hand the items to the NPC.
|
But GM flagged items on a player account are deleted on log out.
|
client.h:
void SummonItem(uint16 item_id, int8 charges = 0, bool gm_overide = false) client.cpp: void Client::SummonItem(uint16 item_id, int8 charges, bool gm_overide) .... // Checking to see if it is a GM only Item or not. if ((item->IsGM() && this->Admin() < 100) && !gm_overide) foundgm = 1; parser.cpp: mob->CastToClient()->SummonItem(atoi(arglist[0]),0,true); |
All times are GMT -4. The time now is 12:55 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.