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

  • 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

    • wtf is your website lol ai slop
    • who have this files? or info about cached packets?
    • Hi maxcheaters, i am trying to bring back an old server ( L2Revenge) but with my own ideas, i only liked how it was and made the gameplay based on that just putting my own ideas.   So practicly is a PTS C6 with an extender that i work lately    Exp / SP is x45 adena is x200 and drops x5  so safe is +3 , max is unlimited and rate is 65% for both mage and fighter weapons I created a system that you can get on the levels the gear you need based on farm but for S grade theres a little farm to get some armor Tokens to unseal them. As you remember L2Revenge had olympiad / Tournament gear. So people abused them and had S grades that way just couldnt enchant them. So i made to be wearable only if u are nobless. That way i cancel this "exploit".  The server gives opportunity to solo and clans , epic gear ( epic weapons) or armors can be bought with raid tokens and you can craft them or get them with various ways Regarding Buffs: 24 buff slots no changes asked. Cov/Pony/Cat , siren - renewal - champion out of buffer , if u make the char as main roll u can use them or use the offline buffer system to sell them and get adenas. their time is 20 mins so that way we see again the " 1kk for rene/siren" or rec = song  Regarding armors: they are dropped ( parts ) from 3 only raids , rest lvl 76+ raids drop recipes , so crafting takes place (so if u are solo u can craft them )  there are 3 armors each armor have its purpose: Revenge Armors - Example for light ( its a glass cannon , high damage , less atk speed and less pdef ) - they mostly modify your base stats, so useable on sieges or off tank chars Titanium Armors - A little bit of balanced of all  Epic Armor - Daggers/Enchanters/Healers mostly but u can always combine your build    Regarding weapons: can be dropped from Monastery of Silence monsters or get them from NPC with Raid Tokens its like a 5% better than S grades and the S/A Activates at +4  Regarding retail gear: you need to unseal only S grades for a great amount of armor tokens all weapons on any grade need Soul crystals that are sold for adenas  stage 13 crystals are expensive or dropped from raids Regarding fun: There is a squash event a Fortress vs Fortress pvp event an RB Event at weekends and from Monday - Wednesday Tournament ( Olympiad is closed monday/tuesday/wednesday)  at tournament you can practice 1vs1 like olympiad but pots/ss allowed , gear allowed is only olympiad or tournament , each win of match gives u 5 glits at 100 glits u can be hero till restart Olympiad works the same way regarding gear allowance but works only thursday to friday and you win monthly hero Auction with Raid Tokens is activated Event medals from events can be exchanged for various items i try to make the oldschool with a little bit of new school systems Not planing to open it anytime soon as i still develop and make corrections to extender , looking forward to meet people that actually played this and are hyped to help on testing / development   P.S is c5 into interlude ( theres no akamanah / nor PI aswell , no lifestones) forgot to mention
    • Announcement – L2 Relic Server Opening Soon! We’re excited to share some great news! Our team has been working hard behind the scenes, and we’re nearly ready to launch our brand-new Lineage server this winter. The journey is just about to begin – so prepare yourselves! Gather your friends, sharpen your skills, and get ready to experience an epic adventure. Stay tuned for more details, updates, and the official beta-opening date. This winter, history will be written once again… are you ready?   Developed by https://dailyhost.eu/
  • Topics

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