Jump to content
  • 0

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


SnYpEr®
 Share

Question

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

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock