Jump to content
  • 0

Gameserver Error [Java]


Anuvor

Question

Hey guys i recently tried to 'import' these codes here for a faction system

 

Gameserver: http://pastebin.com/ST5Lctsy

Datapack: http://pastebin.com/XXxFPFZV

 

Everything went well no errors at all but when i tried to open up the GameServer i got this error  and i don't know how to fix it, i don't understand how it is possible when there's no error at all .. can someone please help me?

1f28523d306efc62d6c8631069e33728.png

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

You have empty config in properties. If you can't find it, then check Config.java 1116 line and see which one it is.

Edited by SweeTs
Link to comment
Share on other sites

  • 0

You have empty config in properties. If you can't find it, then check Config.java 1116 line and see which one it is.

FACTION_SYSTEM_FIRST_FACTION_TITLE_COLOR = Integer.decode("0x" + players.getProperty("FirstFactionTitleColor", ""));

eh >.>

Link to comment
Share on other sites

  • 0

You have empty config in properties. If you can't find it, then check Config.java 1116 line and see which one it is.

i mean im in 1116 what could be wrong here:

			           FACTION_SYSTEM_FIRST_FACTION_TITLE_COLOR = Integer.decode("0x" + players.getProperty("FirstFactionTitleColor", ""));
Link to comment
Share on other sites

  • 0

So hard to find ppl who can actually type the correct answer.. i mean cmon if it was easy for me i wound't ask for help.. like every time im asking for a help in here all ppl say is just a word or two fss

Link to comment
Share on other sites

  • 0

So hard to find ppl who can actually type the correct answer.. i mean cmon if it was easy for me i wound't ask for help.. like every time im asking for a help in here all ppl say is just a word or two fss

Ho my god, he whines.

 

JUST DON'T USE L2J IF YOU'RE STUCK HERE, PERIOD

Link to comment
Share on other sites

  • 0

Dude, to read an error (and don't be salty, you will read actually A LOT, notably YOUR OWN errors) you simply have to read the first line of it, and then you have to seek in the stacktrace the first line referencing to project files.

 

If you're new to Java, easiest is to seek Google for Exception type, each exception got it's own type. NumberFormatException meaning seems obvious even for a rookie (Java is enough verbose for that ; until you suck at english, but that's another problem). Then we got Integer parse logic, which means the program stucked into a int parse. Then the first line of actual L2J is Config.load(Config.java:1116) which gives you the method name, the class name and the line.

 

The most common Exception is NullPointerException (NPE), aka an object which is supposed to be filled, but is actually null (= not even initialized) on execution time.

 

Also Javadoc is a serious help, and stackoverflow website is full of gold. If you type a question on google, you probably will have a stackoverflow question/answer on it.

 

About your line

FACTION_SYSTEM_FIRST_FACTION_TITLE_COLOR = Integer.decode("0x" + players.getProperty("FirstFactionTitleColor", ""));

The "default to use" property is empty, aka "". So both that parameter (which is a backup value, if .properties one was missing) is missing but you also missed the .properties one. Two really basic errors, and as said Sdw if you already whine about that, be assured you will whine forever. Because harder will be your problem, less detailed answer you will receive (both in quantity and shape).

Edited by Tryskell
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • - lost love spells caster in, Amsterdam,Brazil,London,Kuwait .Egypt, Atlanta, Latvia, Lithuania, Sweden۞۩ஜ???? +256704892479  Results are 100% s=ure and guaranteed, spell casting specialist, , black magic death spells that work overnight or by accident. I Cast these strongest black magic revenge death spells that work fast overnight to kill ex-lover, husband, wife girlfriend Enemies overnight Https://nativelovespellscaster.com or she is in a far location, I guarantee you to have your results you are looking for immediately. Just make sure before you contact me you are committed and you want what you are looking for (Victim Death) because my death spell work fast overnight after casting the spells that work, guaranteed black magic love spells, guaranteed voodoo spells, spell to make someone sick and die, revenge spells that work instantly, real witches for hire, revenge spells on an ex- lover, how to put a Black magic death spells on ex-lover, Revenge instant death spells on toxic uncles powerful instant death spells online instant spell that work fast in USA, UK, Kuwait, Germany, Asian, Europe, Philippines, Canada, South Africa, Italy, Peru, India, Iran, Gambia. Sweden, Australia, Nigeria, Spain, Ghana, California, Greece. Death spell on someone, death spells that Death Revenge Spell on wicked friends, Voodoo Death Spells to kill Enemies Black Magic Spells To Harm Someone, Black magic death spells on ex-lover, Revenge instant death spells on toxic uncles powerful instant death spells online instant spell that work fast in USA, UK, Kuwait, Germany, Asian, Europe, Philippines, Canada, revenge spells, most powerful death spell, spell to die in your sleep, successful death spell, most powerful voodoo spell caster, voodoo spell casters in new Orleans, voodoo love spells reviews, proven authentic voodoo spell casters, most powerful voodoo priest in world, black magic tricks to destroy enemy. Results are 100% sure and guaranteed whatapp or cal, Europe, Philippines, Canada, South Africa, Italy, Peru, India, Iran, Gambia. spells, guaranteed voodoo spells, spell to make someone sick and die, revenge spells that work instantly, real witches for hire, revenge spells on an ex- lover, how to put a spell on someone who hurts you, spell to make someone sick, voodoo spells to hurt someone, spells to curse someone, powerful revenge spells, most powerful death spell, spell to die in your sleep, successful death spell, most powerful voodoo spell caster, voodoo spell casters in new Orleans, voodoo love spells reviews, proven authentic voodoo spell casters, most powerful voodoo priest in world, black magic tricks to destroy enemy. Results are 100% sure and guaranteed whatapp or call  ஜ۩۞۩ஜ ??? + 256704892479ஜ۩۞۩ஜ ??Https://nativelovespellscaster.com
    • Hello, my discord is : misanthropic1085           I am selling Frintezza Aq Baium     Reborn origins x1    
    • L2Topzone has a lower traffic ranking than every other website! We spent over 160 Euro for listing server and banner and we've got only 4 download conversions!  Proof: https://prnt.sc/YeJudEKFov1m
    • Any WTS code global chat for this? 
    • Hi, I see what you mean, but I do it differently.   I don't want some features from Hi5 in my project, so I gradually add Ai, zones, items, etc... manually.   And again I want some features from Classic.   So I'm continuing the Classic storyline up to High Five.   My project runs on the client's Prelude of War.   I will release the first public test version soon, which will still be without some "hi5" stuff, because first I need to test for example Fortress Siege, pets and some instances/quests. In the future, I also want to "unlock" new locations from the GoD story.   And what I like most about Classic is that you don't have SA in weapons and it goes back to the roots of Lineage 2. Also you can connect to my discord and talk about with me.
  • Topics

×
×
  • Create New...