Skip to content

[HELP - H5] I'm having problems with a mod java

Featured Replies

I'll post the images and codes, they explained better my problem.

 

Here is the Source of L2CrystalInstance

 

http://pastebin.com/FHkKiA4M

 

and Here is my source HtmCache

 

http://pastebin.com/md7jbuHa

 

HtmCache Image 1

 

http://i.imgur.com/qWnsK.png

 

HtmCache Image 2

 

http://i.imgur.com/ar1rU.png

 

instance

 

http://i.imgur.com/IOY5f.png

 

 

THE PROBLEM IS THE FOLLOWING.

For the player Appears HTM This Imagen: "http://oi52.tinypic.com/2irrtqv.jpg", but If They click Other to display information, does not open, nor receive error.

 

if I change the method "getHtm" to "PUBLIC" it compiles, but the player can not see the next htmls

 

Link to mod

http://maxcheaters.com/forum/index.php?board=37.0

Someone who really Knows the problem, Help me please! hehehehe

 

Excuse my bad English, I'm using Google Translate: S

under line 318 add this code

System.out.println(msg.toString());

this will send you a console msg with the code sended to player... check if the %objectId% replaced

with the npc's objectId.. i think this is your problem

ps. this is not the answer just a debugging

  • Author

I added, but still remains without giving error.

i didnt say that it will throw errors but it will send the same message in console to what player gets.

check if that is the correct message the player should get

  • Author

yes... none is working...

in line 293, change %objectId% to "+getObjectId()+" so it will look like: tb.append("<button value=\"Manage Functions\" action=\"bypass -h npc_"+getObjectId()+"_manageCrystal\" width=160 height=32 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_ct1.button_df\">");

 

I am not sure if this causes the problem, but u can try

Create an account or sign in to comment

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.