Jump to content

Recommended Posts

Posted (edited)

I have been working on this buffer for a long time, making it from 0 and slowly... a lot of necessary stuff is missing in it so count it as a tryout or beta buffer, whatever you call it... i know that if you looked at the code the first question from you would be: 'Why So Many try/catch Statements?' Well, thats because i had lots of errors...
I'm not puting any video cause i want a little bit of sleep... video or screens tomorrow...

tested and working fine :)

lol a little bit wrong section xD i would be glad if someone moved it to l2jserver section ;D


here's a vid:



back to adding some neccessary features ;D

 

(updated the link)
http://www59.zippyshare.com/v/12775127/file.html

UPDATE:
1. Buffs cancel
2. Current buffs save to a scheme
3. Heal all

2upx0ye.jpg

Edited by povis111
Posted

hey dude, look...

 

+			int type = Integer.parseInt(st.nextToken());
+			int page = Integer.parseInt(st.nextToken());
+			int id = Integer.parseInt(st.nextToken());

 

this is exploitable, make a list with allowed buffs, also your buffer is soooo hardcoded for no reason  ;D

 

anyway thanks for sharing with us your work ;)

Posted

hey dude, look...

 

+			int type = Integer.parseInt(st.nextToken());
+			int page = Integer.parseInt(st.nextToken());
+			int id = Integer.parseInt(st.nextToken());

 

this is exploitable, make a list with allowed buffs, also your buffer is soooo hardcoded for no reason  ;D

 

anyway thanks for sharing with us your work ;)

 

What? no it's NOT,

1st

+			else if (_command.startsWith("Buffer "))
+			{				
+				try {
+					if (activeChar.getTarget() instanceof L2BufferInstance && activeChar.isInsideRadius(activeChar.getTarget(), L2Npc.INTERACTION_DISTANCE, false, false))
+							((L2BufferInstance) activeChar.getTarget()).onBypassFeedback(activeChar, _command.replace("Buffer ", ""));
+				} catch (Exception e) {_log.info(e + " / " +e.getMessage()); }	
+			}

 

2nd

 

+			int type = Integer.parseInt(st.nextToken());
+			int page = Integer.parseInt(st.nextToken());
+			int id = Integer.parseInt(st.nextToken());
+			
+			if(data.checkAvailability(id))
+				SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id)).getEffects(player, player);

 

+	public boolean checkAvailability(int id){
+	try{
+		if(allSkills.contains(SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id))))
+			return true;
+	}catch(Exception e){_log.info("Exception in checking skill availability: " + e);}
+		return false;
+	}

 

but that try/catch was really unnecessary :(

Posted

What? no it's NOT,

 

yes it is, test urself go with phx and bypass any buff you want threw sendBypass packet, you can get super haste, frenzy and other stuff throuth phx bypasses

Posted

yes it is, test urself go with phx and bypass any buff you want threw sendBypass packet, you can get super haste, frenzy and other stuff throuth phx bypasses

NO IT'S NOT! You should test yourself, before trying to prove such nonsense...

 

Posted

NO IT'S NOT! You should test yourself, before trying to prove such nonsense...

 

 

but how are u so sure, that u can bypass a song or a regular buff and a not forbidden one ? I mean that the server just sees all buffs the same

Posted

but how are u so sure, that u can bypass a song or a regular buff and a not forbidden one ? I mean that the server just sees all buffs the same

When loading buffs listed in all of the types, all buffs are also loaded into a one arraylist, from which i check whether the buff is added or not... with the 'checkAvailability(id)' ...

Posted

When loading buffs listed in all of the types, all buffs are also loaded into a one arraylist, from which i check whether the buff is added or not... with the 'checkAvailability(id)' ...

 

haha okay didnt see =p so big code

  • 3 weeks later...
  • 6 months later...
Posted

On rev 300 it dosn't save to database..... the schemes work just untill the server restart ...

 

 

any idea why ? please

Posted (edited)

On rev 300 it dosn't save to database..... the schemes work just untill the server restart ...

 

 

any idea why ? please

 

Because Shutdown section got only the import added but it's not used, it misses BufferData.getInstance().onShutdown() usage. Dunno if there are others issues or others things to save.

 

There's still a lot of work to do if you ask me, notably all those hardcoded HTMs stuff ^^.

Edited by Tryskell
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • L2GOLD - Gold x45 C4 Project   C4 - Scions of Destiny: Protocol 656   Fully L2Gold Features - Daily Quest - Daily Mining Quest - Ancient Weapons -Refine System  -Rebirth System -Fully configurable everything you want -Gold stats/Gold skills/Gold items working 100% -Zones 100% alike  -Unique donations system (npc or voicedcommand .donate) - On Enchant success announcement ( if +16 for weapon, 8 for armor , 7 for jewel) - Announce of Castle Lord - Announce of Hero  - Olympiad Max A grade - Olympiad Buffs on matches changed to Gold Alike -Buff shop system on selling buffs with command .buffshop Shift+click dropinfo on mobs. and many more ingame addons.   Server is running a Test Server: Online to anyone can test it.   Game Client: https://www.mediafire.com/file/d0000rmt8ym0323/Lineage_2_C4_Client.rar/file   Game Patch: https://www.mediafire.com/file/39sojdex2mgj55k/L2Gold+Patch+C4.rar/file   GM Accounts: ID: root1 pass root1 [ accounts go from  root1 until root20 ]   Regular Accounts Registrations: http://84.247.164.27/?page=register   Some Screenshots: https://imgur.com/a/KSE4kdq   Contact me here via PM (only serious buyers).    Price of the product: Fully Server Pack + Source ( 200 Euros )
    • Https://lineage2dex.com Discord link : https://discord.com/channels/786506979493281794/814778540893536307/1424434670690504874 ## Dexters! **Our x25 server is celebrating its first week!** 🔥 Online stays strong at peak levels!  New players are joining every day, with 200+ new master accounts registered daily — amazing results! ✨ Tomorrow we launch a new episode along with the first event. Full details will be shared in the morning(October 6). 🎁 And for this little celebration, here’s a bonus code with a small gift for you! ## O05-IIW **Contains: ** * x3 - Training Potion 200% (20 min) * x200 - Mana Potions Loyatly (no weight) *The code will remain active until October 6, 7 AM(server time). And be sure, you have at less 20 slots free on inv before using a code.* **👉 How to redeem:** 1. Log in to your Master Account on site. 2. Click the Redeem Bonus Code button at the top of the panel, type code click redeem. 3. Select the account and character you want to receive the gift.  **Codes work only 1 time for 1 Master Account!** ### Enjoy your adventure, Dexters!
    • Complete Server Pack + Source Files:     C4 Scions Of Destiny: P656 Retail X1 L2OFF Server Pack + Source: Price: 70 EUR   C4 Scions Of Destiny: P656 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 90 EUR Screenshots: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl   C6 Interlude: P746 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 100EUR The same as C4 but in C6 Client so the Screenshots is the same: https://imgur.com/a/eternal-sin-l2-athena-x45-c4-WYCpbjl     C6 Interlude: P746 L2Gold L2OFF Server Pack + Source: Price: 50EUR Screenshots: https://imgur.com/a/9kB3oA9   C6 - Classic Interlude: P110 ESL2 Athena x45 L2OFF Server Pack + Source: Price: 100EUR Screenshots: https://imgur.com/a/Z2kZxuv   Contact me here via PM (only serious buyers). 
    • Where should I modify the IP to be able to put it online for testing?
    • I had issues with Smart Guard to, there is not even support in many cases.
  • 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