Jump to content

Recommended Posts

Posted

I was mean the public that one of your pets needed 10 commits to make an AIO finally not work ^_^ no seriously you had errors in the code about the database connection and the typos i am 100% sure because i fixed it. About the private I can't know since i never seen the code but i doubt you would look into it since it was 10k+ lines.

 

PS: about the guy who wants this code in H5 kamael classes are need to implement in every single part of the code and its working tested by me and its common logic.

*but don't use this specific code

[GR] dn xerw an aneferes emena gia to hi5 , egw dokimasa na parw ton code apo to hellas alla den ta ekane save. ta allaze kanonika sto game ta stats alla molis ekane restart o server ta stats ipirxan stin database alla den ipirxan sto game. meta apo poly psaximo epeidi den mporouses na kaneis create char se kanena apo kamael class kai petouse errors, to eftiaxa kai ayto den thimamai pws, nomizw eixa allaxei to 88 den thimamai kala, katafera na mporeis na ftiaxeis kamael class kanonika, dokimasa kai na perasw ta id twn kamael class stin database,eftiaxa kai kainouria button, kainouria bypass alla pali den doulepse den ekane edit sta kamael. episis eixa kai sto charstat.java kapoia provlimata kai kapoia error pou den mporousa na ta fixarw.. einai thema gnwsewn. 

Posted

Afcourse και εχεις γνωσεις, βασικα εχετε ολοι γνωσεις Elfrocrash, Xdem, Nightwolf, Boorinio, Tryskel, κριμα που χανετε την ωρα σας να κανετε τις κοτες σε κοτετσι

keep up fighting on a forum where main admin buy unfinished website templates and videos because he don't want pay money :)

Εχω μαθει τα μισα πραγματα που ξερετε αλλα και παλι δεν μπαινω να κανω υποδειξη γνωσεων ελεος.

Xdem δωσε πονο ρε αγαπη :P :P

p ekana ipodiksi(epidiksi mallon thes na peis) gnwsewn dikse m ligo , xwria oti les dwse pono sto megalitero hater tou forum....

Posted
 

Afcourse και εχεις γνωσεις, βασικα εχετε ολοι γνωσεις Elfrocrash, Xdem, Nightwolf, Boorinio, Tryskel, κριμα που χανετε την ωρα σας να κανετε τις κοτες σε κοτετσι

keep up fighting on a forum where main admin buy unfinished website templates and videos because he don't want pay money  :)

Εχω μαθει τα μισα πραγματα που ξερετε αλλα και παλι δεν μπαινω να κανω υποδειξη γνωσεων ελεος.

Xdem δωσε πονο ρε αγαπη  :P  :P

p ekana ipodiksi(epidiksi mallon thes na peis) gnwsewn dikse m ligo , xwria oti les dwse pono sto megalitero hater tou forum....

[GR] dn xerw an aneferes emena gia to hi5 , egw dokimasa na parw ton code apo to hellas alla den ta ekane save. ta allaze kanonika sto game ta stats alla molis ekane restart o server ta stats ipirxan stin database alla den ipirxan sto game. meta apo poly psaximo epeidi den mporouses na kaneis create char se kanena apo kamael class kai petouse errors, to eftiaxa kai ayto den thimamai pws, nomizw eixa allaxei to 88 den thimamai kala, katafera na mporeis na ftiaxeis kamael class kanonika, dokimasa kai na perasw ta id twn kamael class stin database,eftiaxa kai kainouria button, kainouria bypass alla pali den doulepse den ekane edit sta kamael. episis eixa kai sto charstat.java kapoia provlimata kai kapoia error pou den mporousa na ta fixarw.. einai thema gnwsewn. 

man kapou ekanes lathos sto adopt i otan to pernouses kt ksexases giati to balance p exoume ta fortwnei kanonika...

Posted (edited)

 

 

p ekana ipodiksi(epidiksi mallon thes na peis) gnwsewn dikse m ligo , xwria oti les dwse pono sto megalitero hater tou forum....

man kapou ekanes lathos sto adopt i otan to pernouses kt ksexases giati to balance p exoume ta fortwnei kanonika...

 

Ξερεις οτι σε θεωρω απο τους καλυτερους developer :) και δεν αναφερθηκα σε εσενα ακριβως ειπα γενικος κ η λεξη πιανει αυτους που πιανει. αμα εκανες σε πιανει 

Αφου ξερεις οτι Nightwolf - boorinio ειστε οι αγαπημενοι μου devs γιατι το λες αυτο?

αλλα γενικα σας συμπαθω ολους.. ακομη και τον xdem μπορει αν βριζει να κανει να ρανει θα εχει το λογο του..

ο καθενας εχει τα χαρακτηριστικα του. κ οχι δεν ειπα οτι κανεις υποδειξη αντιθετως

Επισης να προσθεσω οτι οσο και παραξενοι να ειναι οι αλλοι, σεβομαι παντα αυτον που εχει περισσοτερες γνωσεις απο μενα

στην προκειμενη περιπτωση εσεις οι 4-5 που αναφερα καθως και αλλοι που δεν θυμαμαι τωρα ειστε για καποιο λογο

καλυτεροι απο μενα σε κατι και σας σεβομαι, δεν θα κατσω ουτε να το παιξω δηθεν ουτε να γινω wannabe εχοντας ακομη και το 1/2 των γνωσεων σας.

Και οπως ξερεις ενας λογος που ασχοληθηκα με L2j (εμαθα πως γινεται η συνδεση, και τωρα μαθαινω τα πιο βασικα σε C++ η οποια ειναι ελευθερη γλωσσα και επιτρεπει και λαθη)

Οποτε δεν εχω λογο να σ πω τπτ κακο...

Σ'ευχαριστω

Edited by VideoCopilot
Posted

Peace please, this code is actually coded by me(the one shared but with differences, like the ones xdem posted) on aCis firstly, after copying Elfocrash's idea, because i loved it.

 

Who said it will kill performance? :D

Please..

 

But anyway, that's not a way you can rely on to solve the balance issues of your server, since it's simply a Stats Editor, like someone said, and most of the times balance problems come from damage calculation formulas.

Posted

Peace please, this code is actually coded by me(the one shared but with differences, like the ones xdem posted) on aCis firstly, after copying Elfocrash's idea, because i loved it.

 

Who said it will kill performance? :D

Please..

 

But anyway, that's not a way you can rely on to solve the balance issues of your server, since it's simply a Stats Editor, like someone said, and most of the times balance problems come from damage calculation formulas.

 

 

i already said that the base was yours, you actually didn't save the stats i made the sql part...

Posted

that's not about frozen or something else is just java!

you don't say mr obvious , it's the way frozen had it done in their balancer that's why i said frozen style... 

  • 2 weeks later...
  • 2 months later...
Posted

mporh kapios na me help na fiaxo enan kodika p na mporo na ri8mizo ta balance apo ta class kai se l2jfrozen kati paromia me afto alla na mporo na to peraso se frozen mesa na fiaxo px enan kodika p na mporo na pataw apo mesa px //balance kai na vgazh parathiro me ta class olla na ri8mizo ta class an mporh na me help kapios as postarh kato apo emena euxaristw polu kai sorry ane eimai ligo akiros sto post edw aplla psaxno na vro enan tropo na ri8mizo class egw 

Posted

mipos iparxh kai geia frozen kati paromio ?? an iparxh kai mporh na me help kapios as to kanei euxaristw epidis den xero kala agglika sorry p postaro me ellinika kiolas se afto edw 

Posted (edited)

In the first class, you can drop 11/12 methods if you add a second parameter on the method String. Just saying...

 

I saw that after 1 minute, so there's probably a lot of optimizations to do.

 

You probably end with shitty performance overall while invoking method sendBalanceWindow(, where each stat is loaded on every call from the database, making huge mySQL queries. It should be Mapped. If you put the command on a macro, put your finger on it, you probably kill your server.

	public static int loadStat(String stat, int classId)
	{
		int i = 0;

		try (Connection con = L2DatabaseFactory.getInstance().getConnection())
		{
			PreparedStatement stm = con.prepareStatement("SELECT " +  stat + " FROM balance WHERE class_id=" + classId);
			ResultSet rset = stm.executeQuery();

			if (rset.next())
			{
				i = rset.getInt(stat);
			}

			stm.close();
		}
		catch (Exception e)
		{
			System.err.println("Error while loading balance stats from database.");
			e.printStackTrace();
		}
		return i;
	}
Edited by Tryskell
Posted (edited)

Like this? 

public static void LoadEm()
	{
		int z;

		for (z = 0; z < 31; z++)
		{
			Evasion[z] = loadStat("ev",88 + z);
			Speed[z] = loadStat("walk",z + 88);
			MAtk[z] = loadStat("matk",z + 88);
			PAtk[z] = loadStat("patk",z + 88);
			PDef[z] = loadStat("pdef",z + 88);
			MDef[z] = loadStat("mdef",z + 88);
			HP[z] = loadStat("hp",z + 88);
			CP[z] = loadStat("cp",z + 88);
			MP[z] = loadStat("mp",z + 88);
			MAtkSpd[z] = loadStat("matksp",z + 88);
			PAtkSpd[z] = loadStat("patksp",z + 88);
		}

	}
public static void sendBalanceWindow(int classId, L2PcInstance p)
	{
		NpcHtmlMessage htm = new NpcHtmlMessage(0);
		htm.setFile("./data/html/admin/balance/balance.htm");
		
		htm.replace("%classId%", classId + "");
		htm.replace("%Patk%", BalanceLoad.loadStat("patk",classId) + "");
		htm.replace("%Matk%", BalanceLoad.loadStat("matk",classId) + "");
		htm.replace("%Pdef%", BalanceLoad.loadStat("pdef",classId) + "");
		htm.replace("%Mdef%", BalanceLoad.loadStat("mdef",classId) + "");
		htm.replace("%Acc%", BalanceLoad.loadStat("acc",classId) + "");
		htm.replace("%Eva%", BalanceLoad.loadStat("ev",classId) + "");
		htm.replace("%AtkSp%", BalanceLoad.loadStat("patksp",classId) + "");
		htm.replace("%CastSp%", BalanceLoad.loadStat("matksp",classId) + "");
		htm.replace("%Cp%", BalanceLoad.loadStat("cp",classId) + "");
		htm.replace("%Hp%", BalanceLoad.loadStat("hp",classId) + "");
		htm.replace("%Mp%", BalanceLoad.loadStat("mp",classId) + "");
		htm.replace("%Speed%", BalanceLoad.loadStat("walk",classId) + "");
		
		p.sendPacket(htm);
	}
Edited by admirolas3

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Posts

    • This post originally appeared on zupyak.   If you're diving into MLB The Show 25, you know how essential stubs are for building a powerhouse team. Whether you're aiming to snag elite players, upgrade your roster, or stock up on packs, stubs are the key to success. The good news? You don't need to spend real money to earn them. With a little strategy and effort, you can rake in stubs and dominate the diamond.  Here are the top five strategies to maximize your MLB The Show stub earnings and create the ultimate team without breaking the bank.    1. Earning Stubs with Diamond Quest Diamond Quest is a goldmine for stubs. By completing challenges in this mode, you can earn Diamond cards, which often have high sell values. Once you've earned these cards, sell them in the in-game Marketplace for a quick influx of stubs. Additionally, the packs you earn from Diamond Quest can be opened for more cards to sell or use in collections.   2. Completing Conquest Maps Conquest Maps are another excellent way to rack up stubs. Focus on capturing territories and completing map-specific goals. Many maps offer hidden rewards, including packs and stubs, which can significantly boost your earnings. You don't always need to conquer Strongholds—simply taking over territories can yield great rewards.   3. Flipping Cards in the Marketplace The Marketplace is your playground for flipping cards. Look for cards with a significant gap between their "Buy Now" and "Sell Now" prices. Place a Buy Order slightly above the current "Sell Now" price, then list the card for a "Sell Order" just below the "Buy Now" price. After the 10% Marketplace tax, you'll still make a profit. This strategy works best with high-value cards but requires patience and consistency.     4. Leveraging Player Exchanges Player Exchanges are an underrated method for earning stubs. Purchase cheap Silver cards near their quick-sell value, then exchange them for Gold players. These Gold players can either be used in your lineup or sold for a profit. This method is especially effective early in the game when Gold cards hold higher value.   5. Selling Things You Don't Need Don't let unused items clutter your inventory. Regularly check for duplicate cards, equipment, or other items you don't need. Sell these through the Marketplace to free up space and earn extra stubs. Even Bronze and Silver cards can add up over time, so don't overlook them. With these strategies, you'll be well on your way to building a dream team without spending real money. Let me know if you'd like to dive deeper into any of these methods!   Final Thoughts Building your dream team in MLB The Show 25 doesn't have to cost real money. With these five strategies—earning rewards through Diamond Quest, conquering Conquest Maps, flipping cards in the Marketplace, leveraging Player Exchanges, and selling unused items—you'll be well on your way to amassing stubs and creating a roster that rivals even the best in the game. Remember, consistency is key! Whether you're grinding through challenges or flipping cards daily, every little bit adds up over time. Stick with these methods, and soon enough, you'll have the stubs you need to dominate the diamond. Let us know which strategy works best for you—or if you've discovered any additional tips that deserve a spot on this list! Happy grinding!   
    • I don't see that ur account got unbanned https://maxcheaters.com/profile/80641-∽ave∽/  
    • Looking for gracia final/gracia epilogue server files including source.
    • Got banned for ALLEGED scamm. Unbaned because I never scammed anyone - I either deliver or refund. So You can cry as much as You like, post as much idiotic and chidlish emotes as You like, but I'm not a scammer. So...get a life kid, and fuck off Cuntw0lf. There is a reason You have "0" in Your nickname. You are a zero 😎
    • talk in the mirror 🖕  🤏 in some of those urls you are banned for scam     definition of scam for you is not include delivery we all know scammer once scammer always i cant understand why you talk to me only and ignore the others? why nobody else triggers you like that
  • Topics

×
×
  • Create New...