Jump to content
  • 0

Cursed weapon (On relog/logout)


Question

Posted

Hey, does any1 know how to fix cursed wep problem aka droping cursed wep on logout/rr.

Since u can log out with cursed wep, and than have it again when u log in..

2 answers to this question

Recommended Posts

  • 0
Posted

well you need to work with a java a little

 

first add that in gameserver.network.clientpackets.requestrestart.java

 

        if(player.isCursedWeaponEquipped())
        {
        	player.sendMessage("You cant logout!");
        	return;
        }

 

 

 

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

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