View unanswered posts | View active topics It is currently Sat Dec 21, 2024 5:22 pm



Post new topic Reply to topic  [ 4 posts ] 
 Server Issue 
Author Message

Joined: Wed Apr 27, 2011 9:03 pm
Posts: 2
Post Server Issue
Hello everyone :)

I have recently embarked on a quest to get an OpenRPG server set up so my colleagues and I can get our nerd on whilst at work.
I am having some issues however...
When logged into the server-cli, I get this error message when a client tries to connect:
Code:
action?:Connection from ('xxx.xxx.xx.x', 31155) has been accepted.  Waiting for data...
Exception: recvMsg(): can't convert negative number to unsigned long
Connection from ('xxx.xxx.xx.x', 31155) failed. Closing connection.


I have the following software:
Windows 7 64-bit using the OpenRPG1.8.0Vista.exe installer
Python 2.6.2 on said machine

Server is Debian 6.0.1a with python 2.6.6

I was thinking this was a Python issue, but neither system is running the 2.7.x or 2.8.x versions that haven't been tested, as stated in prior thread.
Any thoughts?


Wed Apr 27, 2011 9:18 pm
Profile
User avatar

Joined: Wed Dec 09, 2009 9:39 pm
Posts: 712
Post Re: Server Issue
Code:
action?:Connection from ('xxx.xxx.xx.x', 31155) has been accepted.  Waiting for data...
Exception: recvMsg(): can't convert negative number to unsigned long
Connection from ('xxx.xxx.xx.x', 31155) failed. Closing connection.


Is a bigger problem with the software than with Python. I'll try and explain, to your understanding, the process the network undergoes so I can tell you what this error means.

When data is sent to through the network it is turned into binary data and a length of the data in string format is taken. The sender, in this case the client, that sends the data first sends the length of the data and then sends the binary data. The receiver, in this case the server, that receives the data as binary data and turns it into string data.

The problem arises when your client sends the data in an odd format. Apparently it is sending the binary data as a negative number, and the server cannot unpack it into string data.

I don't actually work on 'standard', and it looks like the development of that team has stopped. I had worked on there at a time, but the lead developer, DJ Gilcrease, kicked me off the team. From there I started work on my own fork ... and I have never seen a problem like this with my version. You can download it here: http://traipse.assembla.com/spaces/trai ... d6eJe5aVNr

You would only need to download that ZIP, unzip it, and then run the setup file. After that you can start the software by running the Traipse file. The only other option I have for you is to wait and see of the 'standard' developers ever show up again, though ~1 year has passed since they have been active.

_________________
I ate your Death Knell.
The Traipse Movement
Please show your support for Traipse OpenRPG http://www.facebook.com/MadMathLabs
Send me Traipse OpenRPG Ideas, Bugs, Complaints, Praises here: https://getsatisfaction.com/mml


Wed Apr 27, 2011 9:47 pm
Profile YIM WWW

Joined: Wed Apr 27, 2011 9:03 pm
Posts: 2
Post Re: Server Issue
Thank for the prompt reply:)

Unfortunately the Traipse distribution produced the same results.
Do you think that perhaps the net libs in python are translating the data incorrectly?


Wed Apr 27, 2011 10:16 pm
Profile
User avatar

Joined: Wed Dec 09, 2009 9:39 pm
Posts: 712
Post Re: Server Issue
It might be the client that is connecting. What version is that client running?

_________________
I ate your Death Knell.
The Traipse Movement
Please show your support for Traipse OpenRPG http://www.facebook.com/MadMathLabs
Send me Traipse OpenRPG Ideas, Bugs, Complaints, Praises here: https://getsatisfaction.com/mml


Wed Apr 27, 2011 10:21 pm
Profile YIM WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.