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


  • Posts

    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
    • Grand opening today 20:00 gmt +2 https://www.l2dead.com/
    • Do anybody normal paly at his shit honestly ? xD
    • Changed GEO – Broke the Case ▪ A document may look perfect. But if the geography doesn’t match – the system sees it before you do. › What usually breaks the case: → IP and timezone don’t match the document’s country → “US-style” date format on a European document → local standards that don’t fit the region → sudden country switch with no logical account history ▪ Systems don’t check the picture – they check the environment around it. Region isn’t just a flag in your profile. It’s time, language, format, behavior. ▪ Want to know where your GEO starts to crack? Write GEO – we’ll analyze the context before the flag hits. › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx ) #verification #rendering #geo #antifraud #documents
×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..