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

    • This post originally appeared on zupyak.   If you're diving into MLB The Show 25, you know how essential stubs are for building a powerhouse team. Whether you're aiming to snag elite players, upgrade your roster, or stock up on packs, stubs are the key to success. The good news? You don't need to spend real money to earn them. With a little strategy and effort, you can rake in stubs and dominate the diamond.  Here are the top five strategies to maximize your MLB The Show stub earnings and create the ultimate team without breaking the bank.    1. Earning Stubs with Diamond Quest Diamond Quest is a goldmine for stubs. By completing challenges in this mode, you can earn Diamond cards, which often have high sell values. Once you've earned these cards, sell them in the in-game Marketplace for a quick influx of stubs. Additionally, the packs you earn from Diamond Quest can be opened for more cards to sell or use in collections.   2. Completing Conquest Maps Conquest Maps are another excellent way to rack up stubs. Focus on capturing territories and completing map-specific goals. Many maps offer hidden rewards, including packs and stubs, which can significantly boost your earnings. You don't always need to conquer Strongholds—simply taking over territories can yield great rewards.   3. Flipping Cards in the Marketplace The Marketplace is your playground for flipping cards. Look for cards with a significant gap between their "Buy Now" and "Sell Now" prices. Place a Buy Order slightly above the current "Sell Now" price, then list the card for a "Sell Order" just below the "Buy Now" price. After the 10% Marketplace tax, you'll still make a profit. This strategy works best with high-value cards but requires patience and consistency.     4. Leveraging Player Exchanges Player Exchanges are an underrated method for earning stubs. Purchase cheap Silver cards near their quick-sell value, then exchange them for Gold players. These Gold players can either be used in your lineup or sold for a profit. This method is especially effective early in the game when Gold cards hold higher value.   5. Selling Things You Don't Need Don't let unused items clutter your inventory. Regularly check for duplicate cards, equipment, or other items you don't need. Sell these through the Marketplace to free up space and earn extra stubs. Even Bronze and Silver cards can add up over time, so don't overlook them. With these strategies, you'll be well on your way to building a dream team without spending real money. Let me know if you'd like to dive deeper into any of these methods!   Final Thoughts Building your dream team in MLB The Show 25 doesn't have to cost real money. With these five strategies—earning rewards through Diamond Quest, conquering Conquest Maps, flipping cards in the Marketplace, leveraging Player Exchanges, and selling unused items—you'll be well on your way to amassing stubs and creating a roster that rivals even the best in the game. Remember, consistency is key! Whether you're grinding through challenges or flipping cards daily, every little bit adds up over time. Stick with these methods, and soon enough, you'll have the stubs you need to dominate the diamond. Let us know which strategy works best for you—or if you've discovered any additional tips that deserve a spot on this list! Happy grinding!   
    • I don't see that ur account got unbanned https://maxcheaters.com/profile/80641-∽ave∽/  
    • Looking for gracia final/gracia epilogue server files including source.
    • Got banned for ALLEGED scamm. Unbaned because I never scammed anyone - I either deliver or refund. So You can cry as much as You like, post as much idiotic and chidlish emotes as You like, but I'm not a scammer. So...get a life kid, and fuck off Cuntw0lf. There is a reason You have "0" in Your nickname. You are a zero 😎
    • talk in the mirror 🖕  🤏 in some of those urls you are banned for scam     definition of scam for you is not include delivery we all know scammer once scammer always i cant understand why you talk to me only and ignore the others? why nobody else triggers you like that
  • Topics

×
×
  • Create New...