Jump to content
  • 0

Just A Bit Of Help...


HyperActive

Question

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

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

  • 0

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
Link to comment
Share on other sites

  • 0

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
Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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"

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

locked then

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • L2 Insignia High Five 20x MID SERVER FOCUSED ON OLYMPIAD | PVP | AUTOFARM       OPEN BETA TEST SERVER 3 MAY 2024   GRAND OPENING 10 MAY 2024    Rates: 📜 XP/SP 20x | Spoil 15x | Drop 10x | Adena 10x 📜     Server Features: 🔥 No Olf-T Shirt, No big over-enchant, No over-power Donate 🔥 🔥 VIP Gold Color Chat, Unique Olympiad Extra Points Engine, GvG Event 🔥 🔥 Auto-Farm, LoA and DV scheduled PvP Zone, Calendar Daily Reward 🔥 🔥 Castle Instance, Solo Instance, PvP Solo Rift, Dress me system, Adena Boxes 🔥        Website: https://www.l2insignia.com  Discord: https://discord.com/invite/yEgsrHn2hQ      
    • I am selling the essence project which includes versions 388 and 439 that have been running for over 2 years or (447 as custom PVP like Pride). I have a test server for you to test them out. If you are really interested in it then contact my seller at discord: kiwi7106. Price: 4000 Euro P/s: This is a project that I have spent a lot of money and time developing, so if you are not interested in it, please get out of this topic, thank you. P/s 2: If you find the price too expensive, it's best to skip this article and find another project and don't comment negatively on my topic, thank you.
    • Someone ask me for this, it should work on any client that has Kamael race, preview:     Installation - there are two ways to install depending on how you want to use it:   Method 1: If you want to completely replace the original, do:   Copy all lines from your armorgrp to Notepad++, press Ctrl+H, check the "match whole word" option and replace:   kamael.Mkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_MKamael_m001_w_ad00   Then replace:   MKamael.Mkamael_m000_t00_w   by:   AvengersKamaelWings.MKamael_m001_t00_w   Now repeat the same process with the female, replace:   kamael.Fkamael_m000_w_ad00   by:   AvengersKamaelWings.Avengers_FKamael_m001_w_ad00   Then replace:   FKamael.Fkamael_m000_t00_w   by:   AvengersKamaelWings.FKamael_m001_t00_w   You're done, paste everything back into File Edit and save!   Method 2: If you only want to replace in specific sets, execute the above process only on the armorgrp of those sets.   Repack by: AvengersTeamBr Password: LadrãoDeFrango      
  • Topics

×
×
  • Create New...