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

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

    • It's not because I'm an admin that he treated me differently. I actually gave him several clients from my side without him even knowing they came from me, and most of them had no issues. I was also waiting 3–4 weeks at times for things I bought from AvE, even when I was in a rush. He still delivered in the end. That said, I'm not defending him blindly. I'm just saying it's unlikely he’d risk scamming someone over 60–100€, especially knowing how quickly word spreads here.
    • For exact same reason - there were accusation that I scammed. When was it? 2016? But in that time, admins actually didn't listen. I got banned, then unbaned (when I prooved I've refunded) but I was trash talking to mods. When few months later same shit happened, Grisom (?) old global mod, banned me anyway. You can read somewhere on forum how I was shitting on him for doing that (from other account because original account was banned) - which was banned too. He is not here anymore I think. Back in the days I was well know for not carring that much if I was talking to mod or admin, I didn't hold my tongue. Now You know. Just like You know - if I delay, I deliver or refund. I'm not a scammer, even if my old time haterz love to repeat themselfs like mantra. I don't care.
    • Okay I respect that but why is your other account banned?   I don't think this happened just because you delayed somebodys work even in 2012
    • Do You understand the fact, I won't scam anyone? Can You grasp such idea?  Second of all, if a random restaurant on Google Maps has 599 positive reviews and few negative ones with 4,8* score, do You ask Google to block it's profile and burn the place down? No? Then why the fuck You are crying about my random delays? If someone can't get a CUSTOM DESIGN on time, I refund. I'm not 16  y.o. anymore. I don't make living out of this L2 bullshit. Never did. Since 2012 I've made shit tons of projects. How many delays did I have? 12? 15? Out of hundrets of projects. Calm Your tits please. If I would actually take 4k euro and NOT deliver and NOT refund - admins can ban me. So don't compare me to Simple. And just so You know, Celestine sent me customers, so it's not like I've worked with him on his account all the time. That's another thing You won't understand. I won't waste anymore time on You and any other cunt who never was my customer but is bitching just because he has nothing better to do in his life. You don't like my work? Hove along, I don't give a shit. 
  • Topics

×
×
  • Create New...