Jump to content
  • 0

Modify Java


egzistas

Question

Hello i want to add a restricted item only for clans and clanhalls, i have to modify my UseItem.class file in java, i opened it with eclipse and i cant modify that type of file.

 

I opened it with another editor changed it and added new but it was a bad idea,

 

Can someone can help me how do i modify those files with working java :D

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Hello again, i just edited my java and changed item can be allowed when you have castle, but then a clan dont have castle item stays in the same place and cant take it only with another items. can i make it when u dont have castle item takes out alone on log in ?

Link to comment
Share on other sites

  • 0

You can add a check enterworld.java if player dont have castle destroy this item..

But always is a lot of ways to do same things..

Link to comment
Share on other sites

  • 0

You can add a check enterworld.java if player dont have castle destroy this item..

But always is a lot of ways to do same things..

 

You will need checks for warehouse,clan wh too in that way because it could be bugged.  Better destroy the item when the clan loses the siege

Edited by Lioy
Link to comment
Share on other sites

  • 0

You will need checks for warehouse,clan wh too in that way because it could be bugged.  Better destroy the item when the clan loses the siege

yeap can be like crowns

Link to comment
Share on other sites

  • 0

makes no sense to me. 

either you want to make a unique clanhall/castle item, the opposite, everybody gets to use it unless they have clanhall/castle. Please decide what do you want to do first.

Link to comment
Share on other sites

  • 0

Since you need for clan and clan halls why you are checking for castle? wtf?

 

just checks in useitem && enterworld....

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
Answer this question...

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