[GE] TvT - Dual Box

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
swg
Posts: 27
Joined: Fri Jan 08, 2010 4:55 pm
Location: Cádiz, España
Contact:

[GE] TvT - Dual Box

Post by swg »

Hello!

When trying to put restrictions on players in the tvt event ( in the post "TvT and dualbox" ), I learned that for the version of Grace Epilogue gave the following error when trying to copilar:
htmContent = HtmCache.getInstance().getHtm("data/html/mods/TvTEvent/ForbiddenIp.htm");
The solution for this, is to replace that line by the following:
htmContent = HtmCache.getInstance().getHtm(playerInstance.getHtmlPrefix(), htmlPath+"ForbiddenIp.htm");
And it'll be correct.
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: [GE] TvT - Dual Box

Post by BiggBoss »

isnt a critical html, replacing playerInstance.getHtmPrefix() by null will be faster. BTW, wrong section :)
Image
User avatar
swg
Posts: 27
Joined: Fri Jan 08, 2010 4:55 pm
Location: Cádiz, España
Contact:

Re: [GE] TvT - Dual Box

Post by swg »

I know, sorry ..

But even I have no privileges to put it in your section.

Regards, Swarlog ^ _ ^!
Post Reply