Page 1 of 1
Petition System
Posted: Sat Dec 15, 2012 2:22 pm
by taro87
On Retail you could write a Petition at any time. I think removing the "is the gm online" will be a better one.
/L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/RequestPetition.java
Code: Select all
// if (!AdminTable.getInstance().isGmOnline(false))// {// activeChar.sendPacket(SystemMessageId.NO_GM_PROVIDING_SERVICE_NOW);// return;// }
Re: Petition System
Posted: Sat Dec 15, 2012 3:59 pm
by Zoey76
Seems right, but if there is no GM online you get a message, I'll che it out and post some screens maybe.
Re: Petition System
Posted: Sat Dec 15, 2012 4:23 pm
by taro87
Zoey76 wrote:Seems right, but if there is no GM online you get a message, I'll che it out and post some screens maybe.
When commented out. The petition is working allright for me.
Re: Petition System
Posted: Sat Dec 15, 2012 4:30 pm
by UnAfraid
taro87 wrote:Zoey76 wrote:Seems right, but if there is no GM online you get a message, I'll che it out and post some screens maybe.
When commented out. The petition is working allright for me.
you must use //gmliston
In order to make yourself visible not to remove this check

Re: Petition System
Posted: Sat Dec 15, 2012 4:49 pm
by Zoey76
UnAfraid wrote:taro87 wrote:Zoey76 wrote:Seems right, but if there is no GM online you get a message, I'll che it out and post some screens maybe.
When commented out. The petition is working allright for me.
you must use //gmliston
In order to make yourself visible not to remove this check

I noticed in retail the petition windows open even if there are no GM online/visible.
Re: Petition System
Posted: Sun Dec 16, 2012 12:13 am
by taro87
When i remember right. Its about 2 years ago i played on Teon (Retail, former Naia?). There were 24/7 no /gmlist working. And petition were answered without that
But i noticed that the "Accept" Button is working even if the player who made this petition is offline. I didnt find the handler which is doing that. But when i find it i will fix that too

Because after accepting the petition, the html interface doesnt contain a new accept button.
Thats a bit damn if you have 20 or more petitions :S