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

    • 🔥 Apresentação I present to you a new fully customized DressMe system, developed for DreamV2, inspired by the best servers and enhanced with unique features that guarantee performance, customization and stunning visuals. ✨ Funcionalidades ✅ Aplicação de visual de armas e armaduras sem alterar o item real equipado. ✅ Compatível com qualquer tipo de arma/armadura (ex: skins de bow visíveis apenas com bows equipados). ✅ Remoção automática do visual quando parte do set real é desequipada. ✅ Efeitos visuais (skills) aplicados com suporte a: Aplicação única ou recorrente Intervalo configurável via XML Remoção automática ao desativar o visual ✅ Interface limpa e lógica modular, fácil de expandir com novos visuais ou efeitos.     <?xml version="1.0" encoding="UTF-8"?> <dressMeList> <dress skillId="9100" name="Draconic Armor" type="ARMOR" isVip="false" > <visualSet chest="6379" legs="0" gloves="6380" feet="6381" helmet="6841" /> <visualEffect skillId="445" level="1" recurring="true" interval="35" /> </dress> <dress skillId="9102" name="Cloak Style Armor" type="CLOAK" isVip="false"> <visualSet chest="7000" legs="0" gloves="0" feet="0" helmet="0" /> <visualEffect skillId="10005" level="1" recurring="false" /> </dress> <dress skillId="9103" name="Valakas Style Weapon" type="WEAPON" isVip="false"> <visualWep type="bow" rhand="7575" lhand="0" lrhand="0" /> <visualEffect skillId="10005" level="1" recurring="false" /> </dress> </dressMeList> 📸 Imagens & Vídeo 🛠️ Detalhes Técnicos Desenvolvido com base no L2J DreamV2 Integração direta com L2PcInstance, Inventory, ThreadPoolManager e SkillTable Sistema de gerenciamento central via DressMeEffectManager Agendamento e cancelamento seguro de efeitos recorrentes Totalmente thread-safe e compatível com jogadores offline 📂 Instalação A instalação é feita via patch e inclui: Classes: DressMeHolder, DressMeEffectManager, modificações em L2PcInstance XML de exemplo Suporte completo à expansão por armas, cloaks e visuais parciais 📎 Download https://pastebin.com/raw/7i843yKh 💬 Feedback & Sugestões Sinta-se à vontade para comentar abaixo com sugestões, dúvidas ou feedbacks. Toda contribuição é bem-vinda para futuras versões!
    • @Tinker123aa Guytis, I have nothing against you, but it's very clear to me who is behind this files. I'm talking about the one that came with the captcha anti-bot system. I personally bought it from the real owner, who was one of the administrators of L2Gold.cc. This can be confirmed by him if he wishes. 😊 Maybe you worked on the files, but they didn’t start from you.   To the people trying to buy the files I’m just advising you not to waste your money. This is 100% verified information.   I honestly don't know how people believe you. 🙂 I'll share the link to the guy's topic below.   ps  
    • Hello,  Anyone knows how I can communicate to purchase this emulator.  Nobody answered in the forum of eternity neither Kate neither lord winter.    Thanks in advance.
  • 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