Page 1 of 1

[GE] TvT - Dual Box

Posted: Sat Jun 19, 2010 2:02 pm
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.

Re: [GE] TvT - Dual Box

Posted: Sat Jun 19, 2010 2:40 pm
by BiggBoss
isnt a critical html, replacing playerInstance.getHtmPrefix() by null will be faster. BTW, wrong section :)

Re: [GE] TvT - Dual Box

Posted: Sat Jun 19, 2010 8:57 pm
by swg
I know, sorry ..

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

Regards, Swarlog ^ _ ^!