Jump to content

[Share] More 99% Enchant Protection


Recommended Posts

Only messages? Where's the protection?

this is the messages and protection put the code open the l2 and test the code

working special

 

look the image

 

http://postimage.org/image/dd9haygkt/

Link to comment
Share on other sites

I have error here

+        if(activeChar.is-beep-ted())

+        {

+        activeChar.setActiveEnchantItem(null);

+        activeChar.sendMessage("Can't enchant while -beep-ted");

+        return;

+        }

Link to comment
Share on other sites

Sorry for discourage you but they way you did its rly rly pointless and useless.

first of all,that's a load of checks which most of them are quite useless.

 

let's take an example,if a player is in jail and try to enchant his weapon,what gonna happen?crash the server or what?..

 

whatever,thanks I guess.

 

edit;

also why in every check this?!useless

activeChar.setActiveEnchantItem(null);

Link to comment
Share on other sites

I have error here

+        if(activeChar.is-beep-ted())

+        {

+        activeChar.setActiveEnchantItem(null);

+        activeChar.sendMessage("Can't enchant while -beep-ted");

+        return;

+        }

yes lol the forum replace the code

 

use this and remove the *

if(activeChar.isM*ou*nte*d())

Link to comment
Share on other sites

Sorry for discourage you but they way you did its rly rly pointless and useless.

first of all,that's a load of checks which most of them are quite useless.

 

let's take an example,if a player is in jail and try to enchant his weapon,what gonna happen?crash the server or what?..

 

whatever,thanks I guess.

 

edit;

also why in every check this?!useless

activeChar.setActiveEnchantItem(null);

Fanky thanks for the opinion

 

but I've tried the code i cant enchant in jail. and the server dont crash

Link to comment
Share on other sites

Add following too :

 

- can't enchant if you speak to a npc

- can't enchant if you're in Giran church

- can't enchant if you're out of peace zone

- can't enchant if you're in olympiad

- can't enchant if you use soulshot/spiritshot

- can't enchant if you open community server

- can't enchant if you previously used /friendinvite 1min ago

- can't enchant if you killed a gremlin or keltir

- can't enchant if you are level X with 15,25%

- can't enchant if someone around you is chatting

- can't enchant if your clan got a castle, a clan hall or if clan leader is logged on.

- can't enchant on server with adena drop rates > x10 spoil rate

- can't enchant if your IP comes from greek or russian ISP

 

I got a lot of others exemples, but you will be busy with some times alreayd with those useful checks.

 

I also invite you to create a server only dedicated to checks.

Link to comment
Share on other sites

Add following too :

 

- can't enchant if you speak to a npc

- can't enchant if you're in Giran church

- can't enchant if you're out of peace zone

- can't enchant if you're in olympiad

- can't enchant if you use soulshot/spiritshot

- can't enchant if you open community server

- can't enchant if you previously used /friendinvite 1min ago

- can't enchant if you killed a gremlin or keltir

- can't enchant if you are level X with 15,25%

- can't enchant if someone around you is chatting

- can't enchant if your clan got a castle, a clan hall or if clan leader is logged on.

- can't enchant on server with adena drop rates > x10 spoil rate

- can't enchant if your IP comes from greek or russian ISP

 

I got a lot of others exemples, but you will be busy with some times alreayd with those useful checks.

 

I also invite you to create a server only dedicated to checks.

 

ok Tryskell things above you know from me what was told to go ? I can not do all that you ask here but I will try

 

Link to comment
Share on other sites

I can not do all that you ask here but I will try

My post was to point out all checks you made are totally pointless. And I illustrated it giving even more stupid checks.

 

You're either candide or simple-minded.

 

http://en.wikipedia.org/wiki/Sarcasm

http://en.wikipedia.org/wiki/Naivety

 


 

About your post itself, there are existing methods which can make 5-6 of your checks in one time.

 

And if you're learning Java, what I said can be taken as an practice. But for Gods' sake, don't share it, under a name a or another, it's useless.

Link to comment
Share on other sites

My post was to point out all checks you made are totally pointless. And I illustrated it giving even more stupid checks.

 

You're either candide or simple-minded.

 

http://en.wikipedia.org/wiki/Sarcasm

http://en.wikipedia.org/wiki/Naivety

 


 

About your post itself, there are existing methods which can make 5-6 of your checks in one time.

is the first code I wrote and believe it will help

Link to comment
Share on other sites

I got no problem you learn Java, and as I edited my previous post, you can eventually use my "stupid checks" to improve your own knowledge (cause some are hard to implement correctly). I would even be glad to help you.

 

But creating random stuff and posting it publically on a forum is useless. It corrects strictly nothing. What's the point to don't enchant in water ? Ask the same about each check you added and you got the final answer.

 

When I agree you have to practice, sharing it publically is totally pointless. People think they will be more protected but that will be worst than before (more checks = more delay to enchant).

Link to comment
Share on other sites

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.



×
×
  • 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