Ulysses Stuff > Ulysses Release Archives
UTimeM - UTime for MySQL
NaRyan:
I have been getting this error every so often.
--- Quote ---Lua Error: ERROR: Hook 'UTimeInitialSpawn' Failed: autorun/sv_utime.lua:101: attempt to call global 'mysql_escape' (a nil value)
Lua Error: Removing Hook 'UTimeInitialSpawn'
--- End quote ---
It does it when a player connects.
It can be the 1st player to join, or the 10th.
The only common thing i have seen with the players it breaks on, is they have unicode names.
I am using V1.4 of UTimeM, and the release versions of ULib and ULX.
ACProdigy:
--- Quote from: NaRyan on January 09, 2010, 08:55:44 AM ---I have been getting this error every so often.
It does it when a player connects.
It can be the 1st player to join, or the 10th.
The only common thing i have seen with the players it breaks on, is they have unicode names.
I am using V1.4 of UTimeM, and the release versions of ULib and ULX.
--- End quote ---
Is it *only* with players using unicode names?
NaRyan:
--- Quote from: ACProdigy on January 09, 2010, 10:44:42 AM ---Is it *only* with players using unicode names?
--- End quote ---
Not entirely sure.
The next time all the players have left server or it crashes, I'll add the "-condebug" launch option to scrds, so I get a better record of what player names it breaks on.
Edit.
Nope it just gave the error when the 1st person joined the server, and they did not have a unicode name.
ACProdigy:
Interesting. Could you post some example names that it crashes on? I think I know what the problem is, but its nice to have an example or four. :D
NaRyan:
Names that it has broke on have been
--- Code: ---ThorN
^0COM. ^1SOAP ^4MACTAVISH
^2[S]carface^1[D^7K]
Defou_LCK
--- End code ---
*had to put names in code tags, else it altered the message to have strikethrough font.
That's the 4 names I have seen it break on today.
Thorn was the last player to join (and have it break), he was also the 1st player to join the server, after it had the usual on-join crash.
He was on the server when it crashed, however I don't know if he had joined before or after that sessions UtimeM breakage.
This is what was in the console.log for him:
--- Quote ---<blah blah blah server stuff>
[UTime] Table exists!
<blah blah blah more server stuff>
Client "ThorN" connected (xx.xx.xxx.xxx:27005).
[UTime] New Player Added: ThorN
ERROR: Hook 'UTimeInitialSpawn' Failed: autorun/sv_utime.lua:101: attempt to call global 'mysql_escape' (a nil value)
Removing Hook 'UTimeInitialSpawn'
--- End quote ---
Also just noticed it keeps re-setting my total time.
The SQL database had it at 7298 for my total time.
Yet when I joined it displayed my last time on server (01/09/10 04:44:28), however it showed my total time as 1 minute 12 seconds.
And the SQL database now shows my total time as 111.
Using the player name of =ASY=Na'Ryan.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version