Jump to content
  • 0

[HELP]Pack - Java Prob


one_1

Question

Hello.I'm new in using java so i would like some answers to some of my questions.When i compile the pack after i edited it , there are many errors found  because some words at java language are not written in BLUE letters,if u understand me.If they were blue and not black there would be no errors.How can write a word in java language with blue letters ,like this: DEBUG?? Waiting for answers!!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

And something else.When i try to add a java code sometimes i see in the Rdy Java Codes that the index says config/Mods.properties. But such file there isn't! Should i have to create a new?Waiting for an answer :)

Link to comment
Share on other sites

  • 0

Just instead of putting code into mods.prop, insert it in other which you have, npcs, players etc.

And if you have such code

 

OFFLINE_TRADE_ENABLE = Boolean.parseBoolean(mods.getProperty("OfflineTradeEnable", "false"));

 

Change mods -> players, that's all.

Link to comment
Share on other sites

  • 0

and something else: At my gameserver in eclipse he file java/config is empty and cannot be opened :S and at this guide http://maxcheaters.com/forum/index.php?topic=73559.0 it says this: 

 

Your Own Config:

 

• First of all, before adding new .properties file we should know how to add new config options to already existing .properties files.

 

• For example, lets create new config option witch will allow (or not) for instant 75 level for every new Characters.

 

- Firstly, You should open Config.java file with is located in: (java\net\sf\l2j) folder.

 

 

 

SO i can't create my own .properties file

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.

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