Jump to content
  • 0

Gameserver Error [Java]


Question

Posted

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

11 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted

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

  • 0
Posted

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", ""));
  • 0
Posted

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

  • 0
Posted

Players.properties find this FirstFactionTitleColor =

FirstFactionTitleColor = 00FF00

Thank you it worked.

  • 0
Posted

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

  • 0
Posted (edited)

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
Guest
This topic is now closed to further replies.


  • Posts

    • Faltan demasiados archivos,  y lógicas en clases claves como L2pcInstance, entre otras. si bien muchas cosas están y el flujo es valorable.  Gracias por tu esfuerzo es bastante... pero realmente no esta completo el código, falta que subas todas las modificaciones en clases colaterales... podrías intentar subir un diff de todo el mod  completo de tu pack y bueno ahí si que cada uno adapte... pero faltan muchas cosas, dudo que haya gente que lo haya echo funcionar con esto... 
    • I know people who have fully bypassed and reversed AAC. One day, they might even release the full source code, but for now, they’re still making money off it. I won’t name anyone, but it’s clear that there aren’t any truly solid anticheats for Lineage2. As I’ve said before, kernel level anticheats are the only real solution. Anything that runs as Internal and injects gets flagged, and your account ends up getting kicked or banned. That’s just how most games handle it nowadays. To TL;DR the whole thing cheating will always exist because there are people out there smart enough to bypass any protection and run private cheats. Public cheats are always detected eventually, so I don’t see any point in buying AAC, especially when they claim it blocks adr, which simply isn’t true.
    • 🌐 Website: https://l2adonis.com 📅 GRAND OPENING: July 18, 2025 – 20:00 (UTC+2) 💬 Discord: https://discord.com/invite/tZBj8JxAwx 🚫 No auto-farm • No auto-macro • No pay-to-win • No custom   Some Basic Info's (More detalied info's on website)  EXP/SP: x25  Adena: x15  Drop: x15  Spoil: x15  Seal Stones: x15  Raid Boss Drop: x10  Epic Boss Drop: x1  Manor: x10  Safe Enchant: +4  Max Enchant: +16  Normal Scroll Chance: 50%  Blessed Scroll Chance: 66% (If enchant fail item remain +4)  Buff Slots (30+4 extra with Divine Inspiration)  Dances/Songs Slots 14  Auto-learn skills  ⚔️ Real PvP • Real Progression • Retail-like experience JOIN NOW and relive the real L2 experience!
    • Discord         :  utchiha_market Telegram        : https://t.me/utchiha_market Auto Buy Store  : https://utchihamkt.mysellauth.com/ Not sure if we’re legit? Check Our server — real reviews, real buyers https://discord.gg/uthciha-servicess  | https://campsite.bio/utchihaamkt
    • Looking for a Developer – Lineage II Interlude (Vanganth Files)   I’m seeking a developer to collaborate on a project based on Vanganth Interlude files.   Important: Applicants with a bad attitude, lack of respect, or unwillingness to work will be immediately rejected. Payment: Hourly rate, not per task. Contact: Please reach out to me via PM.
  • Topics

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