Mirage Source http://web.miragesource.net/forums/ |
|
SendChars Array http://web.miragesource.net/forums/viewtopic.php?f=201&t=4445 |
Page 1 of 1 |
Author: | Devilen [ Wed Sep 24, 2008 8:12 pm ] |
Post subject: | SendChars Array |
I know this may make me sound like I dont know VB well but I have gone over the code and I can not understand why all of a sudden that The SendChars Function is killing off and dieing when It gets to this point. The point it gets to is Code: Packet = Packet & SEP_CHAR & Trim$(Player(Index).Char(i).Name) & SEP_CHAR & Trim$(Class(Player(Index).Char(i).Class).Name) .... When you look at the Name thats where its having the issue it reads as dmin Null (Mind you its a Square not the word Null). Which then goes and makes the Class part say Subscript out of range. The string is sent over correctly from the client but it when it comes to Reading the Binary from what I can see is causing this issue. Any Ideas would be welcomed. |
Author: | Anthony [ Wed Sep 24, 2008 8:44 pm ] |
Post subject: | Re: SendChars Array |
It's probably something to do with the saving/loading part. Did you change anything to do with classes? |
Author: | Devilen [ Wed Sep 24, 2008 9:56 pm ] |
Post subject: | Re: SendChars Array |
Nope I did nothing to do with classes Nor to the bin file. It is the normal Bin file. The only thing I did was I added was at the end a Extra Field to it. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |