Jump to content

[Share] Ultra Buffer (Freya and H5)


Recommended Posts

  • 2 weeks later...
  • 1 month later...

I'm not really sure whats going on in your script. Eveybody says it's working except the only thing I have in mine is: #Cancellation, #Restore, #Dagger Buffs, and only 3 event ID's that don't seem to cover everything. Either I've downloaded the wrong one or everybody in this thread is full of crap.

 

Issue #1: You said it's based out of SQL, except I don't see a single SQL statement in here. And in general, don't you think it'd be crappy to query the SQL tables every time somebody wanted to buff?

 

Issue #2: I notice you have

if event == '2':

    blah blah blah

if event == '3':

    more blah blah blah

 

It'd be better to use elif (or whatever elseif is in python). Because you structured it like this, there is going to be a check on every single one of those event ID's instead of finding the right one and stopping there.

 

Issue #3: This looks an awful lot like every other NPC buffer.

 

 

Link to comment
Share on other sites

I'm not really sure whats going on in your script. Eveybody says it's working except the only thing I have in mine is: #Cancellation, #Restore, #Dagger Buffs, and only 3 event ID's that don't seem to cover everything. Either I've downloaded the wrong one or everybody in this thread is full of crap.

 

Issue #1: You said it's based out of SQL, except I don't see a single SQL statement in here. And in general, don't you think it'd be crappy to query the SQL tables every time somebody wanted to buff?

 

Issue #2: I notice you have

if event == '2':

    blah blah blah

if event == '3':

    more blah blah blah

 

It'd be better to use elif (or whatever elseif is in python). Because you structured it like this, there is going to be a check on every single one of those event ID's instead of finding the right one and stopping there.

 

Issue #3: This looks an awful lot like every other NPC buffer.

 

 

 

First of all , thanks for replying ! I like to hear poeple opinions in order to learn more things and make better things !

 

Issue #1: I use the retail sql conection and the retail navicat table ! where is the problem there ?

Issue #2: Actually when i was coding i make it this way  ,there is no reason  ! But there is no problem if every time make a simple check lol ! ( you can change it , really easy BTW )

Issue #3: ( that's your opinion ) but You can show me how your bufffer want to look like and i will coded on html for you !

Link to comment
Share on other sites

First of all , thanks for replying ! I like to hear poeple opinions in order to learn more things and make better things !

 

Issue #1: I use the retail sql conection and the retail navicat table ! where is the problem there ?

Issue #2: Actually when i was coding i make it this way  ,there is no reason  ! But there is no problem if every time make a simple check lol ! ( you can change it , really easy BTW )

Issue #3: ( that's your opinion ) but You can show me how your bufffer want to look like and i will coded on html for you !

 

#1: I don't know what you mean by retail sql connection, do you mean the default MySQL connection inside l2j? I'm pretty sure also that the offical retail uses MSSQL. Also, theres no such thing as a 'navicat' table. Theres SQL tables and schemas, but Navicat is just a tool for working with your SQL table. Infact, you can even do it from the command prompt. Or theres the MySQL Community Workbench.

 

#2: No, it doesn't seem like a big deal. Except you have to remember a few things: 1) Java is a cross-platform programming language and it's code runs on a virtual machine. So there is already overhead from that. 2) Python (In l2j's case Jython) is a script language that isn't compiled down, it's run through an .EXE file and the results are returned to Java. So you already have the overhead from Java, plus the overhead from Python. If you have players slamming and spamming their buffs, then it's going to cause issues. When you're using server software, any calculation that can be cut should be cut.

 

#3: This looks -exactly- like a lot of other buffers that simply just put if conditions for every single buff. I'm almost certain you just took a buffer from somebody else, and remade the HTML and called it your own. Sorry, HTML is not coding. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



  • Posts

    • Hello MXC Community.   I got the following problem. When i try to buy from //admin enchant scrolls, they appear like x? , i buy as many as i want , and the idea  is that they wont full your inventory.   So after im purchasing them, and press ok, i have the following message. " You have exceeded the quantity that can be inputted ". And in my inventory i can see the enchant's one near each other.     At admin shop i can choose them x?(number), and at the end for example i have to receive X100 Scrolls to my Inventory. But it's doesn't working, and i can buy them only 1 by 1. I will show you pictures so you get what i mean.  My points is where can i fix this? Which file i have to search and change the val, or it has to do with Database on MySQL ?     So as you see in the photos below, i try to buy 100 scrolls from //admin shop. and its shows (100) , but not full inventory of scrolls. When i press ok, i get the following message you see with purple.   But also as you can see in main inventory enchants are near each other.    
    • H5 L2OFF的CommunityBoard Has anyone shared this before?
    • Hello MXC Community, glad to be here.    To be honest i registered so fast, because i had some issues, and i was seeking to receive fast answer, that i forgot to make a topic, and introduce my self.   I hope you have a wonderful day, like i do 😊   So i’m New to Game Development, and i decided to join MXC community, as far as ,here i can find a tone of information, and support  my future journey with Game Development and other stuff.   I am seeking  becoming   a future L2 Developer, either on L2J or L2Off. Haven’t decided yet. Anyway i hope, i will learn both sides of Development.      So now, i will be often in the MXC forum, as i already started learning on a Local Server that i opened recently on my PC.      I hope i will get the necessary help from the Pros in this Forum.       Best regards, Softcore.
    • I did most damage to your brain maybe. Why is this flame post still open?
    • Dear community and gamers, i hope that, i’m referring to the right section, because i haven’t find any other sections with Diablo Immortal IOS/Android Game.   And yeah by the way, i don’t know why Only diablo 3 exists here, but anyway i will give a try.      I’m selling a Diablo Immortal account, which is Android/IOS Game, + i give of course the B.Net Account.      For those you understand, the account Level is 1053 Paragon, with 2270 RESONANCE and 25,300 Combat Rating( CR)     The Class is Demon Hunter.  Right now i’m in the Top Server Clan No1, and we are immortals.    The account is good geared, with good gems, has lot of cosmetics and other stuff. I’m the one and only owner.    I’ve spend on the account 900€ , and seeking to  receive for it, around 400€.       If you are interested, DM me in MXC and i will provide you with all info you need about the account, and screenshots also.       Best Regards, Softcore.
  • Topics

×
×
  • Create New...