RPGObjects.com http://www.rpgobjects.com/forum/ |
|
Server Issue http://www.rpgobjects.com/forum/viewtopic.php?f=4&t=2300 |
Page 1 of 1 |
Author: | bambewn [ Wed Apr 27, 2011 9:18 pm ] |
Post subject: | 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? |
Author: | prof.ebral [ Wed Apr 27, 2011 9:47 pm ] |
Post subject: | 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. |
Author: | bambewn [ Wed Apr 27, 2011 10:16 pm ] |
Post subject: | 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? |
Author: | prof.ebral [ Wed Apr 27, 2011 10:21 pm ] |
Post subject: | Re: Server Issue |
It might be the client that is connecting. What version is that client running? |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |