Jump to content

Recommended Posts

Posted

Hello,

 

I am a bit(completely) lost.

I have followed multiple tutos on how to setup eclipse environment for Forge-1.6.4-9.11.1.964.

In my last tries I stick to LexManos simplest way of doing it.

I have nearly read the all forum and anything I could find on web, but nothing seems to be relevant.

 

All works fine, but if I launch the server and the client, each would run fine. The client run fine in solo mode.

But if I try to connect the client to the server I have a crash I do not understand.

 

I have even setup two independent project, one for the server and one for the client, I have the same error

 

Thanks a lot if I someone could help

 

Attachements seems not working for me then I put pastebin links

 

client log : http://pastebin.com/GPb8ndLd

server log : http://pastebin.com/zG8FKLW3

Crash-report : http://pastebin.com/tE6gX43G

Posted

Hi

 

My guess is that

this.mc.getSession().getUsername()

is returning null in

            String s2 = this.sendSessionRequest(this.mc.getSession().getUsername(), this.mc.getSession().getSessionID(), s1);

 

(see NetClientHandler::    public void handleServerAuthData(Packet253ServerAuthData par1Packet253ServerAuthData)

 

You could confirm this by putting a breakpoint in NetClientHandler::sendSessionRequest.

 

Of course, I have no idea why getUserName() would be returning null - but at least it would give you something to track down..

 

-TGG

 

 

 

Posted

Thanks guys, the offline mode did the trick.

I have to investigate around the firewall here which surely block network traffic to Mojang because I had the --username parameter from the beginning.

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.