Ulysses Stuff > Ulysses Release Archives
UTimeM - UTime for MySQL
ACProdigy:
--- Quote from: benbrooks on February 17, 2010, 09:24:58 AM ---I use this on my server and some peoples time keeps getting reset for no reason, it seems to be after about 27 hours.
--- End quote ---
Are you using the latest version of UTimeM? There was a bug previously where certain names would cause database anomalies. Also, do you keep console logs? Would you mind sharing them? The more information I have, the easier I can rectify this issue.
benbrooks:
Yes I have v4
Also found these in my logs
--- Quote ---L 02/17/2010 - 13:07:22: Lua Error: Timer Error: autorun/sv_utime.lua:129: attempt to concatenate a boolean value
--- End quote ---
--- Quote ---L 02/17/2010 - 16:10:30: Lua Error: ERROR: Hook 'UTimeInitialSpawn' Failed: autorun/sv_utime.lua:101: attempt to concatenate a boolean value
L 02/17/2010 - 16:10:30: Lua Error: Removing Hook 'UTimeInitialSpawn'
--- End quote ---
That was all of the things related to UTime in the logs for yesterday. (Some repeats of the first error)
Ploo:
--- Quote from: benbrooks on February 17, 2010, 09:24:58 AM ---I use this on my server and some peoples time keeps getting reset for no reason, it seems to be after about 27 hours.
Just took a quick look at the database and like 6 people have exactly the same time. (the people who's time got reset)
--- End quote ---
Take a screenshot of the structure of the table. Maybe somehow the time field has become a tinyint or something of the sorts? Would explain why a larger int wont fit.
ACProdigy:
Apologies for the delay ( I recently migrated my email and subsequently it was all marked as read, I must have missed over the forum notification ). I'm looking into the issue now, benbrooks. As Ploo said, could you please provide the full table structure? In the case of an Overflow condition, MySQL should be returning an error, and UTime should therefore be mentioning it.
Regarding the Boolean Concatenation error, it seems to be related to the MySQL Query itself. This tells me that MySQL probably IS handing off an error to LUA ( due to the Overflow condition ), but my code isn't handling it correctly. Something that needs to be fixed, certainly, but seems to be a symptom rather than the problem.
Like I said, please post your table structure here, and I'll be able to provide a better answer. Thanks!
Chippiewill:
I seem to be having problems with this, is it compatible with ulib and ulx SVN?
The only error that I receive is that it is unable to reach the database, I hae checked and the box which my game server is on has the IP open.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version