Skip to content

aCis core buffer 290 rev.

Featured Replies

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

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 ;)

  • Author

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 :(

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

  • Author

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...

 

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

  • Author

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)' ...

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

Kinda nice buffer :)

  • 3 weeks later...

How to spown him? what id he has?

  • 6 months later...

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

 

 

any idea why ? please

You need to execute the sql file in the database... Probably  O0

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...

non file((((

Link Off ?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.