Jump to content
  • 0

Just A Bit Of Help...


Question

Posted

So guys a friend of mine is working on a server of his "own" (l2frozenpack...) and he asked me if i had any buffers to give me show i searched the forum and found this then gave it to him and told him to install the packaged, but it turned out to be pretty hard for him so i decided to give him a bit of help now i installed him the sql files on navicat succesfully i inputed the command custom/555_Buffer/_init_.py and i edited the _init_.py with Python as this guide indicated yet though the gameserver loads both the buffer and the quest when you try to click it you get a critical error (got no idea why lel) what i find intresting is that the buffer does not have any htm files but a systextures file(propably using the animation via systextures? really do not know :P) so i thought that the error might be on the Id so i changed all the ids (of the buffer too ) to 9999_NPCBuffer for the quest on script i made it custom/9999_NPCBuffer/_init_.py and so on and i even changed the sql so the Npc would take an ID of 40001 still it gives you a critical error when you try to talk to it... i am really confused and this is clearly over the knowledge i have at the moment so can anybody give me some help ty :P

14 answers to this question

Recommended Posts

  • 0
Posted (edited)

The file either had some kind of protection or it was bs. So i just took the textures and voila the utx. Btw 3-4 buttons have white alfa so their transparent = not visible.

 

Just make your own.

 

Edit: The back and fore that the code has are basically 2 actions:

back="utxname.button_normalOn" (texture when you click the button)

fore="utxname.button_normal" ("1st" or the normal texture)

 

Now if you make one more button with the following name: utxname.button_normal_over . Then this texture will be displayed when the mouse cursor is on the button area.

Take a look at l2ui_ch3.utx to see the buttons.

Edited by IpotoniC
  • 0
Posted (edited)

Htmls from this buffer can be found inside of __init__.py (So u dont have to create .html files)

Now, about the critical u get its from systextures (because cannot load the custom Buttons..)

Be sure u added correctly in systextures and do not change the name of the file (buttons.utx)...

Edited by melron
  • 0
Posted

Htmls from this buffer can be found inside of __init__.py (So u dont have to create .html files)

Now, about the critical u get its from systextures (because cannot load the custom Buttons..)

Be sure u added correctly in systextures and do not change the name of the file (buttons.utx)...

Hmm tried that but it does not see to make any difference :/ 

 

Here is the code of the buffer

 

Note i changed the import commands from com.src to com.l2jfrozen because it was giving an error since the command src could not be found :P

  • 0
Posted

Utx is not encrypted that's why you get critical. Just encrypt it or remove the buttons from .py . About the using animation from systextures thing... the npc is just a retail model meaning you already got the animation.

  • 0
Posted

Better remove the buttons file and replace the codes for the button. Example inside of init

width=120 height=21 back=\"buttons.s03_over\" fore=\"buttons.s03\"

find all "buttons.s03_over" and replace it with ur own button and do the same for the Fore "buttons.s03"

  • 0
Posted

Utx is not encrypted that's why you get critical. Just encrypt it or remove the buttons from .py . About the using animation from systextures thing... the npc is just a retail model meaning you already got the animation.

 

 

Better remove the buttons file and replace the codes for the button. Example inside of init

width=120 height=21 back=\"buttons.s03_over\" fore=\"buttons.s03\"

find all "buttons.s03_over" and replace it with ur own button and do the same for the Fore "buttons.s03"

I believe it is encrypted since i am not allowed to see it :/

 

I do not quite understand what you mean with replace it with my own buttons wouldn't that aplly that i need a buttons systexture? :P

  • 0
Posted

Open __init__.py by editing , u will be able to edit whatever u want inside ...

 

You will see many lines with different value.. in this case the value is \"Buffs\" You can see it right?

"<button value=\"Buffs\" action=\"bypass -h Quest " + QUEST_LOADING_INFO + " redirect view_buffs 0 0\" width=120 height=21 back=\"buttons.s03_over\" fore=\"buttons.s03\">"

and replace with the Example:

"<button value=\"Buffs\" action=\"bypass -h Quest " + QUEST_LOADING_INFO + " redirect view_buffs 0 0\" width=134 height=21 back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"

What i did?

Changed the 

back=\"buttons.s03_over\" fore=\"buttons.s03\">"

to

back=\"L2UI_ch3.BigButton3_over\" fore=\"L2UI_ch3.BigButton3\">"

Replace all the custom buttons with some buttons u wish

  • 0
Posted

I did the following:

 

action=\"bypass -h Quest "+QUEST_LOADING_INFO+" cast "+schemeId+" x x\" width=120 height=21 back=\"buttons.s10_over\" fore=\"buttons.s10\">"+TRS[

 

is this right or should i just use yours?

  • 0
Posted

I think ull be fine with the encrypted utx now...

 

P.s u can do it byurself (the encryption) using l2encdec :P

Holy smoke just read that if i knew it was so easy i would have never bothered you guys.. Really sorry thank you again for your fast answers now it works just fine. So my friend just needs to change the spanish or what ever this is it is displaying hahahaa :P

  • 0
Posted

So it was the buttons.utx i do not exactly understand how you extracted the textures but thank you it worked solved :)

locked then

Guest
This topic is now closed to further replies.


  • Posts

    • Hello everyone, I am looking to purchase a Premium Lineage 2 High Five server pack. My main requirements are: Stability & Quality (Most Important): The pack must be highly stable with no system errors or major bugs. Custom Features: It must include ready-to-use custom features such as a fully functional Community Board, custom NPC Buffers, and Custom Item Sellers (GM Shops), etc. Complete Files: It is absolutely necessary that the full source code (src) and complete Geodata are included. If you are selling a pack that meets these criteria, please send me a PM or leave a reply with the following information: Brief details and key features of the pack Price Test server availability (I would like to test it before buying) Thank you!
    • L2jmobiusDevClon — Classic Interlude p110 Emulator L2jmobiusDevClon is actively developing a Lineage 2 Classic Interlude p110 emulator. Development is done in free time with a strong focus on: • Stability • Authentic Classic mechanics • Clean and optimized architecture The project is based on the L2jMobius source and is continuously evolving and improving. System Requirements: • Java 25 • MariaDB 12.0 • Client p110 Current Revision: 3.0 Development Status: Active Distribution: Free Official Website: https://www.l2jmobiusdevclon.pp.ua Discord Server: https://discord.gg/23a9S8g4Bn Contact: Telegram — @L2jmobiusDevClon Also available via private messages Project Goals: ✔ Improved stability ✔ Maximum Classic accuracy ✔ Core optimization We are currently looking for: • Testers • Server administrators Suggestions, bug reports, and ideas are always welcome. Contact us via: ✔ Discord ✔ Telegram ✔ Private Messages
    • i guess loading only the effects that are needed it will maybe work, like removing from reshade shader folder the ones that are not needed, depends on the pc also i guess, also limithing the game at 30fps can be better maybe
    • Up   SELL CHARACTERS L2 REBORN FRANZ x1     destroyer 74 lvl naked - 120 euro sws 71 lvl naked - 120 euro pp 66 skills - 120 euro se 64 lvl - 90 euro   Characters are legit with mail   i can wtt the characters for adena server franz   sell adena franz 250kk stock     add discord topeseller4081  
  • Topics

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