Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SendChars Array
#1
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)