Jump to content
  • 0

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


Question

Posted

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

6 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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