Jump to content
  • 0

[Help]GS Error


'Baggos'

Question

12 answers to this question

Recommended Posts

  • 0

Show me the line 97 of answertraderequest.java

 

it's a npe.

With red is the line 97

 

    // Clears requesting status

    player.setActiveRequester(null);

    player.getActiveRequester().onTransactionResponse();

 

Link to comment
Share on other sites

  • 0

maybe a return; in here :

// Clears requesting status

    player.setActiveRequester(null);

    player.getActiveRequester().onTransactionResponse();

    return;

 

would do the job

Link to comment
Share on other sites

  • 0

maybe a return; in here :

// Clears requesting status

    player.setActiveRequester(null);

    player.getActiveRequester().onTransactionResponse();

    return;

 

would do the job

Thank you... I hope to work!

 

Edit:

Nothing.... again the same.

Link to comment
Share on other sites

  • 0

Here is fine?

Hosting in Germany.

 

server.properties

# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------

# Where's the Login server this gameserver should connect to
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: 127.0.0.1
LoginHost = my ip

# TCP port the login server listen to for gameserver connection requests
# Default: 9014
LoginPort = 9014

# Bind address for gameserver. You should not need to change it in most cases.
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
GameserverHostname = my ip

# Default: 7777
GameserverPort = 7777

LoginServer.properties

# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------

# Bind ip of the LoginServer, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
LoginserverHostname = my ip

# Default: 2106
LoginserverPort = 2106

# The address on which login will listen for GameServers, use * to bind on all available IPs
# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u>
# WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u>
# Default: * (0.0.0.0)
LoginHostname = my ip

# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014

 

ipconfig

<?xml version="1.0" encoding="UTF-8"?>
<!-- Externalhost here (Internet IP) or Localhost IP for local test -->
<gameserver address="MY IP" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="10.0.0.0/8" address="10.0.0.0" />
<define subnet="172.16.0.0/19" address="172.16.0.0" />
<define subnet="192.168.0.0/16" address="192.168.0.0" />
</gameserver>

Link to comment
Share on other sites

  • 0

Who cares if he must change IP or not, it's a NPE in trade crap.

 

Error is obvious, you set active requester to null, and just after you ask info from it... It sounds just wrong.

 

My AnswerTradeRequest is following :

		// Clears requesting status
	player.setActiveRequester(null);
	partner.onTransactionResponse();

Link to comment
Share on other sites

  • 0

I did suggested the solution and it was IGNORED.

partner.onTransactionResponse();

this should be line 94

Then i said the cause of the NPE.Guess what IGNORED again.

npe is not about WHERE you return is about WHAT is called

if i got a String str=null;

and do this

str.substring(3);

BOOOOOM npe.str is null

Seriously,bad eyes are bad.Bad reading skills are..well double bad.

Have fun skipping answers.

Link to comment
Share on other sites

  • 0

Who cares if he must change IP or not, it's a NPE in trade crap.

 

Error is obvious, you set active requester to null, and just after you ask info from it... It sounds just wrong.

 

My AnswerTradeRequest is following :

		// Clears requesting status
	player.setActiveRequester(null);
	partner.onTransactionResponse();

And mine is same....

But i have error....

 

Then logged 6 - 7 players i get this error, no from all players....

Maybe try to legged from another client, is truth this?

Link to comment
Share on other sites

  • 0

You said you had :

player.getActiveRequester().onTransactionResponse();

 

It's not :

partner.onTransactionResponse();

 

Think to recompile and test... It's not possible you get the same exact error with that things.

 

NPE is NPE, it's an server error, nothing to do with client.

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.



  • Posts

    • Any help me get the adresses from High Five please. Thanks
    • How to made this in the code?
    • Powerful Spells Caster & Spiritual Healer Web: lovespellsafrika.com Phone: +27780802727 WhatsApp +27789121499 Email: bbaantu@gmail.com Real Magic Spells | How To Get Back Ex-Boyfriend or Ex-Girlfriend. Real Magic Spells for all purpose; Now you can benefit through the use of spells like Love Spells, Money Spells, Talismans, Charms, Prayers, Curses and Chants. Magic Spells can be spell cast for many purposes. Talismans and Charms work as powerful Ingredients. If you need any spiritual knowledge on the power of Spells and Magic you can always Powerful Magic Rings Love Spells                     Casting of Simple and Effective Love Spells Easy Love Spells Spells for Attraction between two Lovers Binding Love Spells Get back Lost Lover Spells Spells to Strengthen Love Relation Lost Love Spells Soul Mate Spells Marriage Spell for a happy Married Life. Retrieve a Lost Love Spells Bring Back Your Love Spells Gay Love Spells, Lesbian Love Spells Anti-Love Spells, Divorce Spells, Break up Spells How to Get Back Ex-Boyfriend, or Ex-Girlfriend Casting Spells to Get Rid of Your Husband, Wife or Partner without Fights or them hating you Magic Rings, Powerful Love Rings Spells to stop a divorce Voodoo Spells for Love Love Return Spells Money & Prosperity Spells Phone: +27780802727 WhatsApp +27789121499 How to Cast Magic Money Spells Lottery Spells or Lotto Spells Voodoo Spells for Money Black Magic Spell for Money Protection & Banishing Spells Black Magic Spells and Curses to Destroy Enemy or Evil People Protection from Black Magic Spells and Curses Dark Magic Spells Voodoo Spells for Revenge Spells to win court cases &legal matters Healing spells for all purpose Stroke Diabetics Lottery Spells Phone: +27780802727 WhatsApp: +27789121499 Web: lovespellsafrika.com
    • Chief Muntu Fortune teller Psychic Forecaster Spells Caster services Help from a psychic tarot fortune telling. Magic services the best fortune teller reader Conspiracy for money spells. Love magic Love spells Text +27780802727 / +27789121499 Remote fortune telling using Tarot cards, detailed schedule for all areas of life. Removal of negativity - damage, evil eye, love spell, curses. Will return your husband/wife, your loved one, remove the crown of celibacy. Saving family from divorce Carrying out love spells using photos. Love connection. Powerful assistance in business, attracting good luck and money. Rituals for rejuvenation. Help with infertility problems. Getting rid of addictions. Making Magic Rings amulets, talismans. Each rite is unique and is selected individually for each occasion. Safely Effective with years of experience Chief Muntu helps even in the most difficult and neglected situations and always brings the matter to the end. If you need professional magical help, Text +27780802727 / +27789121499
  • 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