Hi, I've been having trouble with my porgram crashing at somewhat random places in my code, I and can't think of why it would be crashing. I've just made sure I've got .24 and Sync'd my mods, so there's nothing wrong there...
I've isolated the problem to two different lines, the first is a string method.
kname is of course a string. But if I put a print call before that line, my program doesn't crash there.
The second is a Tlist with 1 element.
- Prints out "NPCs
1", and doesn't print "NPC 1".
And yes, the list contains "character" objects. Does anyone know what I am doing wrong here? This is driving me crazy...
I've isolated the problem to two different lines, the first is a string method.
If (kname.contains(","))- Crashes
kname is of course a string. But if I put a print call before that line, my program doesn't crash there.
Print kname If (kname.contains(","))- Doesn't Crash
The second is a Tlist with 1 element.
Print "NPCs" Print Len(npclist) For n:Character = EachIn npclist Print "NPC 1"
- Prints out "NPCs
1", and doesn't print "NPC 1".
And yes, the list contains "character" objects. Does anyone know what I am doing wrong here? This is driving me crazy...