Skip to content

[Java Code adapt Errors ]

Featured Replies

Help i tryed ti addapt

http://maxcheaters.com/forum/index.php?topic=124615.0

 

[share]AIO Voiced Command. 

 

to Epilogue but i have some errors So if somone have some Time pls Pm for t.v.

i tryed to solve the problems and Most of them were easy to fixed but i cant fix everything so i w8 for pm

 

20z1nw8.png

stop facking ask for teamviewer,are you so lazy ass that you can't even try on your own?

 

post here a picture of the error so we can help you,get bored of such guys.

  • Author

stop facking ask for teamviewer,are you so lazy ass that you can't even try on your own?

 

post here a picture of the error so we can help you,get bored of such guys.

Fanky there are many errors that why i sayed team.

Also i tryed to fix most of problems but i dont know java ... i Upload pic in a sec

Fanky there are many errors that why i sayed team.

Also i tryed to fix most of problems but i dont know java ... i Upload pic in a sec

it doesn't matter how many they are.

just post 'em here.

  • Author

it doesn't matter how many they are.

just post 'em here.

23ib9rt.png

 

i have more than 10 like this error with gethtm

 

 

 

Edit: i use l2jServer Epilogue

  • Author
if (Config.ENABLE_VCAIO_SHOP)

                              {

                                      String htmFile = "data/html/mods/VoicedAIOMiniShop.htm";

                              String htmContent = HtmCache.getInstance().getHtm(htmFile);

                              if (htmContent != null)

                              {

                                      NpcHtmlMessage infoHtml = new NpcHtmlMessage(1);

                                      infoHtml.setHtml(htmContent);

                                      activeChar.sendPacket(infoHtml);

                              }

 

and more like this

 

 

 

if (Config.ENABLE_VCAIO_WH)

                              {

                                      activeChar.sendPacket(new ActionFailed());

                                      activeChar.setActiveWarehouse(activeChar.getWarehouse());

                                      activeChar.tempInventoryDisable();

So Fanky any help?

Didn't you think than :

- getHtm were already used on core and you could simply check how it's currently used ?

- put your cursor on the redline to see which is the problem ?

- show us "problems" view instead of "SVN" view in order we see all errors and eventually their explanations ?

 

About getHtm, I can tell you miss one String parameter.

  • Author

Didn't you think than :

- getHtm were already used on core and you could simply check how it's currently used ?

- put your cursor on the redline to see which is the problem ?

- show us "problems" view instead of "SVN" view in order we see all errors and eventually their explanations ?

 

About getHtm, I can tell you miss one String parameter.

[javac] Compiling 1462 source files to C:\WorkSpace\L2_GameServer\build\classes

    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6

    [javac] C:\WorkSpace\L2_GameServer\java\com\l2jserver\gameserver\network\clientpackets\RequestBypassToServer.java:129: error: ActionFailed() has private access in ActionFailed

    [javac]                                       activeChar.sendPacket(new ActionFailed());

    [javac]                                                             ^

    [javac] C:\WorkSpace\L2_GameServer\java\com\l2jserver\gameserver\network\clientpackets\RequestBypassToServer.java:145: error: getHtm(String) has private access in HtmCache

    [javac]                               String htmContent = HtmCache.getInstance().getHtm(htmFile);

    [javac]                                                                         ^

    [javac] C:\WorkSpace\L2_GameServer\java\com\l2jserver\gameserver\network\clientpackets\RequestBypassToServer.java:158: error: ActionFailed() has private access in ActionFailed

    [javac]                                       activeChar.sendPacket(new ActionFailed());

    [javac]                                                             ^

    [javac] C:\WorkSpace\L2_GameServer\java\com\l2jserver\gameserver\network\clientpackets\RequestBypassToServer.java:204: error: getHtm(String) has private access in HtmCache

    [javac]                               String htmContent = HtmCache.getInstance().getHtm(htmFile);

    [javac]                                                                         ^

    [javac] Note: C:\WorkSpace\L2_GameServer\java\com\l2jserver\gsregistering\RegisterDialog.java uses unchecked or unsafe operations.

    [javac] Note: Recompile with -Xlint:unchecked for details.

    [javac] 4 errors

    [javac] 1 warning

 

BUILD FAILED

C:\WorkSpace\L2_GameServer\build.xml:62: Compile failed; see the compiler error output for details.

 

Total time: 1 minute 10 seconds

 

 

So what i must change?

Use code tag next time.

 

Hard to see how things are used ?

activeChar.sendPacket(ActionFailed.STATIC_PACKET);

 

final String result = HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "data/html/noquest.htm");

 

  • Author

Use code tag next time.

 

Hard to see how things are used ?

activeChar.sendPacket(ActionFailed.STATIC_PACKET);

 

final String result = HtmCache.getInstance().getHtm(player.getHtmlPrefix(), "data/html/noquest.htm");

 

i am sorry but, Now i must c/p this lines?

also i dont know how to use code tag ;D

first Parameter is prefix, so put player.getHtmlPrefix() in there, second - where exactly your file is(and whats its name), so u have got "htmFile" in that place, just add prefix.

 

Also replace sendPacket line with activeChar.sendPacket(ActionFailed.STATIC_PACKET);

  • Author

first Parameter is prefix, so put player.getHtmlPrefix() in there, second - where exactly your file is(and whats its name), so u have got "htmFile" in that place, just add prefix.

 

Also replace sendPacket line with activeChar.sendPacket(ActionFailed.STATIC_PACKET);

So this Line activeChar.sendPacket(new ActionFailed()); will be delete and i will replace it with  activeChar.sendPacket(ActionFailed.STATIC_PACKET);  ?

  • Author

think.

YES :D

But i didint undestand what exacly i must do with this

if (Config.ENABLE_VCAIO_SHOP)

                              {

                                      String htmFile = "data/html/mods/VoicedAIOMiniShop.htm";

                              String htmContent = HtmCache.getInstance().getHtm(htmFile);

if (htmContent != null)

                              {

My english is bad

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.