Ulysses Stuff > Releases
UtimeMOO - Utime for MySQL (Linux Compatible)
TweaK:
Not sure what you mean by pdata, the original utime stores data in the SQLite database (sv.db). It's possible to migrate the data from SQLite to MySQL with a script, or maybe there is a way to just dump it to CSV and import it straight to MySQL, I dunno. The table structure is a little different. I did it using Lua but I don't have the script anymore...
Anyway, you can just grab the cl_utime file from the official SVN and overwrite it, that should make it not error when there is no spawnmenu.
alexys95:
--- Quote from: TweaK on August 05, 2013, 04:15:24 PM ---Not sure what you mean by pdata, the original utime stores data in the SQLite database (sv.db). It's possible to migrate the data from SQLite to MySQL with a script, or maybe there is a way to just dump it to CSV and import it straight to MySQL, I dunno. The table structure is a little different. I did it using Lua but I don't have the script anymore...
Anyway, you can just grab the cl_utime file from the official SVN and overwrite it, that should make it not error when there is no spawnmenu.
--- End quote ---
Oh my bad, I assumed that all addons used "pdata" I've seen some other ones have it. I will try to import it directly.
alexys95:
--- Quote from: TweaK on August 05, 2013, 04:15:24 PM ---Not sure what you mean by pdata, the original utime stores data in the SQLite database (sv.db). It's possible to migrate the data from SQLite to MySQL with a script, or maybe there is a way to just dump it to CSV and import it straight to MySQL, I dunno. The table structure is a little different. I did it using Lua but I don't have the script anymore...
Anyway, you can just grab the cl_utime file from the official SVN and overwrite it, that should make it not error when there is no spawnmenu.
--- End quote ---
I successfully extracted the SQLite data and imported it to my MySQL db and it works on my sandbox and zombie survival server! Thanks :D
alexys95:
Scratch that it worked on the zombie survival server. I still get this error and I've updated the cl_utime file....
--- Code: ---[antbert|15|STEAM_0:1:70488492] Lua Error:
[ERROR] addons/utimem/lua/autorun/cl_utime.lua:310: attempt to index local 'cpanel' (a nil value)
1. buildCP - addons/utimem/lua/autorun/cl_utime.lua:310
2. resetCvars - addons/utimem/lua/autorun/cl_utime.lua:305
3. fn - addons/utimem/lua/autorun/cl_utime.lua:334
4. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
[antbert|15|STEAM_0:1:70488492] Lua Error:
controlpanel.Get() - Error creating a ControlPanel!
You're calling this function too early! Call it in a hook!
[antbert|15|STEAM_0:1:70488492] Lua Error:
[ERROR] addons/utimem/lua/autorun/cl_utime.lua:310: attempt to index local 'cpanel' (a nil value)
1. buildCP - addons/utimem/lua/autorun/cl_utime.lua:310
2. resetCvars - addons/utimem/lua/autorun/cl_utime.lua:305
3. fn - addons/utimem/lua/autorun/cl_utime.lua:334
4. unknown - addons/ulib/lua/ulib/shared/hook.lua:183
5. TraceLine - [C]:-1
6. unknown - addons/utimem/lua/autorun/cl_utime.lua:143
--- End code ---
TweaK:
And you're using the cl_utime.lua from the official SVN?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version