25.08.2011, 13:40
Hi,
this problem only recently popped up and happens randomly. Here is a rough example of what lately happened.
For some reason, after a few hours of server uptime:
Example script: (this is really just an example, it randomly pops up in many parts)
http://pastebin.com/VrYGm8RM
Normal out put is e.g. "Admins connected: Leonard_Nino[51], Mathieu_Lemmens[86], Adam_Cooper[100], Luigi_Tattaglia[113]"
Problem:
It kind of gets buggy after a few hours of uptime;
Output after a few hours of uptime: "Admins connected:Adam_Cooperam_Cooperam_Cooperam_Coop"
And it stays like this forever, doesn't matter how many times you use the command.
^ Once again, that is just a rough example, it happened it many commands.
No, it doesn't only happen with iEcho, but with every function e.g. SendClientMessage, ...
Adam_Cooper being a player name (which is offline). It really happens in random strings everywhere along the script and it always inputs player names or random formatted strings into strings. (Ok, quite bad explanation, but that's how it is.)
The server is running on a Debian Squeeze x64 OS.
The script is compiled on the Windows R5 server package.
The server is running on server R5. Also tested with R2, same random buggy string outputs.
Plugins used: sscanf (R5 version), g-stylezzz' mysql plugin (R6), incognito's IRC plugin, incognito's streamer.
EDIT: One more example happening right now;
Worked fine for a few hours = http://pastebin.com/UPqdQN6b
Starts messing up now: Leonardo_Delacosta being a random player name
this problem only recently popped up and happens randomly. Here is a rough example of what lately happened.
For some reason, after a few hours of server uptime:
Example script: (this is really just an example, it randomly pops up in many parts)
http://pastebin.com/VrYGm8RM
Normal out put is e.g. "Admins connected: Leonard_Nino[51], Mathieu_Lemmens[86], Adam_Cooper[100], Luigi_Tattaglia[113]"
Problem:
It kind of gets buggy after a few hours of uptime;
Output after a few hours of uptime: "Admins connected:Adam_Cooperam_Cooperam_Cooperam_Coop"
And it stays like this forever, doesn't matter how many times you use the command.
^ Once again, that is just a rough example, it happened it many commands.
No, it doesn't only happen with iEcho, but with every function e.g. SendClientMessage, ...
Adam_Cooper being a player name (which is offline). It really happens in random strings everywhere along the script and it always inputs player names or random formatted strings into strings. (Ok, quite bad explanation, but that's how it is.)
The server is running on a Debian Squeeze x64 OS.
The script is compiled on the Windows R5 server package.
The server is running on server R5. Also tested with R2, same random buggy string outputs.
Plugins used: sscanf (R5 version), g-stylezzz' mysql plugin (R6), incognito's IRC plugin, incognito's streamer.
EDIT: One more example happening right now;
Worked fine for a few hours = http://pastebin.com/UPqdQN6b
Starts messing up now: Leonardo_Delacosta being a random player name