Compile it for linux.
Compile it for linux.
Please compile it for linux too!
Linux support in this module:
Solution:Code:#ifdef WIN32 HANDLE hThread; HANDLE hWaitObject; HANDLE hContinueObject; DWORD dwThreadId; #else #error LINUX! #endif
I hate the MySqlOO edition.
It makes everything harder to do that it has a callback system. So not returning values immediately. And thats why this module is better.
Are you sure it cant be compiled on linux?
MySQL is not instant. Especially with distant or overloaded servers. Would you really want the server to freeze while it's executing a query? I wouldn't. Callbacks are the only way. Learn to love them. It'll benefit in the long run.
This can be *recoded* for Linux. I don't know anyone crazy (or bored) enough to do it though.
This isn't threaded. Why would anyone want to use it?!
Also you can compile this Addon for linux if you just add the necessary parts. Some stuff already has been made "linux-compatible" but some aren't (WinSocks - LOL).
Do I have to upload the files to my Game Server? because I'm not sure
Of course you do...
This isn't threaded as I said in your other thread use tmysql or mysqloo.
It actually is threaded if you get the right version, but keep telling people it's not despite the fact that it is and don't read the rest of the thread pages, just assume whatever you want ignorantly.
Not really threaded if it still returns a value straight to Lua. Lua has to stop and wait for MySQL to return a result until it carries on.
No, if you actually read it it returns the threadid right away and you check when the job is finished, it's no different than passing a function and getting results, there's still a waiting period before you can get results back and you could even make a snazzy wrapper that enables you to pass a function to get the return data, but obviously nothing will appeal to your personal standards so it's a POS.
Or you could just use the latest version of mysql which uses callbacks
[[Take the libmySQL.dll, and put it in the same directory as HL2.EXE (ie: c:\program files\valve\steam\steamapps\username\garrysmod)]]
ok i have a Srcds server
so does that mean i have to put the file libmySQ.dll somewhere in the C:\srcds\orangebox...FILES
if i do need to put in in there could u tell me were
Yes, wherever you see srcds.exe
Also, anything can work on linux if you don't design it to only use proprietary M$ crap. And sometimes, even then (mono).
Hooks are asynchronous. Threads can assist making applications asynchronous. Threads alone do not make applications asynchronous (such as if the application is waiting for a thread to finish a task).
Hurr. Head not screwed on right. What I meant was:
Threads are always asychronous, but many applications using threads are not, as they are joining threads to block the main thread until a child thread returns a result. This makes the applications synchronous, since the program has been stopped to wait for the result of the thread.
where do you put the libmysql.dll when your on srcds, does it go into C:\srcds\orangbox\garrysmod
)[*]Take the libmySQL.dll, and put it in the same directory as HL2.EXE (ie: c:\program files\valve\steam\steamapps\username\garrysmod)
How to solve this for dedicated servers? Or doesnt this work on dedicated servers?
Ow snip, just found out
Source Dedicated Server put libmySQL.dll in the same place as your srcds.exe
Thanks for this nice addon!!
Since this freezes the server, will this stop the server processing anything for the duration of the query request, is that going to cause any large problems?
Could it cause timer's to not tick at the correct time?
Just a question
Sorry for bumping, but can you please fix your download links? They don't seem to work.
MySQLOO works with Linux?
Can someone upload a mirror for this please?
You could use tmysql or the new mysql module.
Reupload please. -_-
Thank you. ^_^