Jump to content

Recommended Posts

Posted

I have error here

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

+        {

+        activeChar.setActiveEnchantItem(null);

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

+        return;

+        }

Posted

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

Posted

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

Posted

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

Posted

the -beep- = a m o u n t without spaces.

It's m o u n, which comes from the Greek word μουνί (or mo.uni), meaning pussy.

Posted

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.

Posted

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

 

Posted

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.

Posted

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

Posted

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

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


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..