Jump to content
  • 0

Html Files Problem


Bobi

Question

i got problem with few npc in game write me " to long html client will crash "

 

anyone know any bypass with who i can make one file to be on 2 pages in game?

 

its not help me , any other ideas ? one file name to be on 2 pages in game !

action="bypass -h npc_%objectId%_Chat 1

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

Divide into two pages, how long you want and put a bypass to 2nd one

 

<a action="bypass -h npc_%objectId%_Chat 2">Page 2</a>

Link to comment
Share on other sites

  • 0

maybe u dont get me :(

 

for example i have file name setings.html

 

inside

 

On  exp<button value="" action="%xpon%" width=14 height=16 back="L2UI_CH3.PartyMatchWnd.partymatch_icon2" fore="L2UI_CH3.PartyMatchWnd.partymatch_icon3">

OFF exp<button value="" action="%xpoff%" width=14 height=16 back="L2UI_CH3.PartyMatchWnd.partymatch_icon2" fore="L2UI_CH3.PartyMatchWnd.partymatch_icon3">

on trade<button value="" action="%tadeon%" width=14 height=16 back="L2UI_CH3.PartyMatchWnd.partymatch_icon2" fore="L2UI_CH3.PartyMatchWnd.partymatch_icon3">

OFF trade<button value="" action="%tradeoff%" width=14 height=16 back="L2UI_CH3.PartyMatchWnd.partymatch_icon2" fore="L2UI_CH3.PartyMatchWnd.partymatch_icon3">

On cam<button value="" action="%cam on%" width=14 height=16 back="L2UI_CH3.PartyMatchWnd.partymatch_icon2" fore="L2UI_CH3.PartyMatchWnd.partymatch_icon3">

Off cam<button value="" action="%cam off%" width=14 height=16 back="L2UI_CH3.PartyMatchWnd.partymatch_icon2" fore="L2UI_CH3.PartyMatchWnd.partymatch_icon3">

 

and more commands.... so my file is to long  i want that file for example first 2 commands to be on one page second 2 commands to be on second page but second page to read info from same file setings.html not from setings-1.html

 

Link to comment
Share on other sites

  • 0

He get you, but you don't give enough infos.

 

You don't explain if it's a regular NPC (just put on the generic folder with the good npcid), an NPC with special instance (put in the folder that instance type uses, such as olympiad, merchant, etc), an admin command (normally, each page = one admincommand, such as //admin 1/2/3/4/5), etc, etc.

Link to comment
Share on other sites

  • 0

He get you, but you don't give enough infos.

 

You don't explain if it's a regular NPC (just put on the generic folder with the good npcid), an NPC with special instance (put in the folder that instance type uses, such as olympiad, merchant, etc), an admin command (normally, each page = one admincommand, such as //admin 1/2/3/4/5), etc, etc.

yes it is regular NPC and when i click on npc in game Write me To Long Html ...

maybe i dont get again how to do this for normal players to can see the same html files on 2 pages

Link to comment
Share on other sites

  • 0

yes it is regular NPC and when i click on npc in game Write me To Long Html ...

maybe i dont get again how to do this for normal players to can see the same html files on 2 pages

 

Increase it from java then.

 

But I guess shouldn't be a problem as I see there isn't something big.

 

I think you have not copied here all.

Link to comment
Share on other sites

  • 0

Increase it from java then.

 

But I guess shouldn't be a problem as I see there isn't something big.

 

I think you have not copied here all.

L2J made a limit because it was really crashing the client if HTM was too long.

 

The limit has been extended (so far) in latest chronicles (Freya+ I think).

 

Btw, a NPC with admincommands on it ? No security problems ? Explain the whole idea, cause I don't get it.

Link to comment
Share on other sites

  • 0

L2J made a limit because it was really crashing the client if HTM was too long.

 

The limit has been extended (so far) in latest chronicles (Freya+ I think).

 

Btw, a NPC with admincommands on it ? No security problems ? Explain the whole idea, cause I don't get it.

the idea is to open panel in game with command ...

so here is for freya ++ where that is working fine to be all on one page

91967412.jpg

But how you say on Interlude is a problem so i want the panel to be on 2 pages but options on this panel to be read from same file

for example first 4 options to be on first page and down just to show you page 2 where will be second 4 options , anyway to do that from html with bypass ? or its can be done only from java ?

Link to comment
Share on other sites

  • 0

You speak of NPC then you speak of opening it with command... Lol. Choose one and stay on it :D. How the first panel is supposed to popup ?

 

I said higher :

You don't explain if it's a regular NPC (just put on the generic folder with the good npcid), an NPC with special instance (put in the folder that instance type uses, such as olympiad, merchant, etc), an admin command (normally, each page = one admincommand, such as //admin 1/2/3/4/5), etc, etc.

 

DETAILS. ACCURACY. FOR GODS LOVE SAVE A PANDA FROM THE HORRIBLE DEATH (and thanks to you I got a new sig).

 

 

Link to comment
Share on other sites

  • 0

You speak of NPC then you speak of opening it with command... Lol. Choose one and stay on it :D. How the first panel is supposed to popup ?

 

I said higher :

DETAILS. ACCURACY. FOR GODS LOVE SAVE A PANDA FROM THE HORRIBLE DEATH (and thanks to you I got a new sig).

 

 

npc ... command ... same html same long :)

first was on imported on normal NPC type L2Npc for test options

but now the html is open with command in game

so now everyone can use command in game to open html and config his game setings , but problem still same .. html to long

Link to comment
Share on other sites

  • 0

It's a voiced command ? I'm just lost in your explanations...

 

Whatever it is, admin or voiced, you have to create a command per page, or overload a command with a parameter (such as //admin 1/2/3/4/5).

 

"Chat 1" bypass type would work if you use regular L2Npc, and put htms on html/default folder. If "Chat xx", it must be "npcId-xx.htm". The first HTM must be named "npcId.htm".

Link to comment
Share on other sites

  • 0

It's a voiced command ? I'm just lost in your explanations...

 

Whatever it is, admin or voiced, you have to create a command per page, or overload a command with a parameter (such as //admin 1/2/3/4/5).

 

"Chat 1" bypass type would work if you use regular L2Npc, and put htms on html/default folder. If "Chat xx", it must be "npcId-xx.htm". The first HTM must be named "npcId.htm".

yes npc working on this way  i just forget to move html  xxx-1.html in default folder :P :P :P :P

 

it is voice command now :)

so how to do like npc style  ?  bypass_chat 1 .....

 

Link to comment
Share on other sites

  • 0

With a NPC, as SweeTs said.

 

<a action="bypass -h npc_%objectId%_Chat 1">Teleport.</a>

 

Chat 0 for initial HTM, Chat 1 for page 1, etc etc. For each new page created you add one link to go back to Chat 0 (initial) and one link to go on next page. Or you can even put a sort of "bar" containing all IDs, that bar will be put on every HTMs.

 

There are many exemples of simple links between HTMs, just check html/default folder.

 


 

On a voiced command, I said higher, create one command per page or, as //admin works, do a super command which understand 1/2/3/4/5 and will call the good htm following the good parameter. The path, it's you who decide it and can be anywhere.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • I didn't even want to touch on your name Celestine, but it took a while to want to protect it, right? But then I say, everyone knows that you and your group helped Vraekar in deobfuscating the interfaces, do you want me to post here the dates and videos of the releases of the OMG and Silence interfaces?, and then see Vraekar's?, do you want?, a blatant copy, even their variable names, the theft is blatant, and you who are an admin here at Max and say you are the right one, helped him decrypt and remove the code obfuscation, everyone knows that, and now you come and tell me that his code is not copied?, if you want I can put all the evidence here and this will be very ugly even for you, since those you helped Vraekar and the interface dev community know this, they know about the thefts, very ugly indeed my friend that you still come and tell such a lie.   ps. And just one more thing, did you say that all the code he wrote? you became a joker? Vraekar doesn't program a single line of code, the guy works as a data analyst, what he learned was to copy and paste ready-made codes, but he doesn't write a single line of code.
    • I'd like to join aCis community but i can't handle the contributions that often due to my job. I'm returning to L2 development after a few years away and it would be awesome getting this source to work. I can (and would like to) contribute with reviews and code now and then (i'm software engineer for global companies), but sadly i can't commit the time.   I have a hard sense of ethical to not not leak anything (my current web project is paid from nkdev even when there's a leaked version floating around.)   Please let me know when/if acceptance through donations is available again. @Tryskell   In the mean time, gl on your project. Sounds amazing.
    • I don't understand why you're judging Vraekar at all. He did nothing wrong. I've checked the code from that interface, and all the code inside the UC was written by Vraekar. Nothing was copy-pasted. It's the people who stole this patch and are reselling it at a higher price so who's the scammer here, Vraekar or them?
    • Greetings! I'm looking for someone that knows how to improve the movements on the gameplay and to create a mod for awsd movement so camera won't move with the character on L2 Classic, more info pm and if you already know how to do these, pm with your price, thank you!
    • não é grátis? não consigo ver o link 😞
  • Topics

×
×
  • Create New...