Blockland Forums > Modification Help

RTB Development

Pages: << < (752/889) > >>

Chrono:

Found out why it happens. (the infinite loop problem, not the connections problem)

--- Code: --->> [11/04/11 17:31:44] <message from="5030" to="General Discussion"><body>Typos, Y u happen?</body></message>
>> Disconnected
>> [11/04/11 17:31:47] <notice from="General Discussion" typ

--- End code ---
Looks like it disconnected while it was receiving data, then shows this:


--- Code: ---getSubStr(...): error, starting position and desired length must be >= 0: ("<notice from="General Discussion" typ",1, -2)
BackTrace: ->RTBCC_Socket::onLine->XMLParser::bufferData
--- End code ---
Over and over.

Explains why it happens while starting a server from a copy of Blockland from a flash drive. It probably took longer than normal, causing a disconnection.

Ephialtes:


--- Quote from: Kalphiter on November 04, 2011, 05:21:35 PM ---And how exactly did it happen?

--- End quote ---

Forgot to activate a package.


--- Quote from: Chrono on November 04, 2011, 05:23:06 PM ---Found out why it happens. (the infinite loop problem, not the connections problem)

--- Code: --->> [11/04/11 17:31:44] <message from="5030" to="General Discussion"><body>Typos, Y u happen?</body></message>
>> Disconnected
>> [11/04/11 17:31:47] <notice from="General Discussion" typ

--- End code ---
Looks like it disconnected while it was receiving data, then shows this:


--- Code: ---getSubStr(...): error, starting position and desired length must be >= 0: ("<notice from="General Discussion" typ",1, -2)
BackTrace: ->RTBCC_Socket::onLine->XMLParser::bufferData
--- End code ---
Over and over.

Explains why it happens while starting a server from a copy of Blockland from a flash drive. It probably took longer than normal, causing a disconnection.

--- End quote ---

Perfect thanks. I guess an easy fix in this instance would be to make sure the last character on the line is a > otherwise the line can be discarded.

I've improved the timing out code now so it tries to ping you three times before throwing you off the irc so these two things combined should satisfy most cases. I'll put these both into the next update.

cheese6:


--- Quote from: Ephialtes on November 04, 2011, 05:27:29 PM ---irc

--- End quote ---
wut

MegaScientifical:


--- Quote from: cheese6 on November 05, 2011, 10:54:52 AM ---wut

--- End quote ---

Well, Internet Chat Relay might still describe how it works...

cheese6:


--- Quote from: MegaScientifical on November 05, 2011, 01:35:30 PM ---Well, Internet Chat Relay might still describe how it works...

--- End quote ---
Oh i see, thanks.

Pages: << < (752/889) > >>

Go to full version