View unanswered posts | View active topics
|
Page 18 of 29
|
[ 432 posts ] |
|
| Author |
Message |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Wednesday, 15 Jun 2011, 00:21 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
unless i forgot to close a transaction, the access.db base is not readonly. so u should be able to update it while masterserver is running... there is no donation for this project...  but thx anyway this is not an active project for now ... 
|
|
| Top |
|
 |
|
bytza
|
Post subject: Re: MasterServer (win32/linux) Posted: Wednesday, 15 Jun 2011, 06:24 |
|
Joined: Wednesday, 20 Apr 2011, 18:42 Posts: 12
|
|
Thankyou for your quick answer. But not the acceess.db is the problem, is the MasterServer.db.
Im using somethink like this:
IINSERT INTO access (ip, port, allowed) ..... DELETE * FROM gameServer WHERE _ip='REDIRECT IP' ( but wont delete, it tells me that is read only ).
One more think, if i insert into access.db ip=12.12.12.12, port='' and allowed='false' will block all the servers with that ip, or i need to insert all the ports?
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Wednesday, 15 Jun 2011, 07:37 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
it shouldn't be a problem too, but it may happen if the database is locked/updated by master server while u make your update. try maybe to use : - int ms=1000;
- sqlite3_busy_timeout(connection,ms);
- sqlite3_exec(connection,"BEGIN EXCLUSIVE TRANSACTION",...)
- sqlite3_exec(connection,"your sql",...)
- sqlite3_exec(connection,"COMMIT",...)
-
just keep in mind that the master server db is wiped at startup...
|
|
| Top |
|
 |
|
TheQn
|
Post subject: Re: MasterServer (win32/linux) Posted: Wednesday, 22 Jun 2011, 10:47 |
|
Joined: Sunday, 10 Apr 2011, 13:21 Posts: 2
|
|
steamCooker, make mysql version MasterServer. -------------------------- I know very well php and mysql.
|
|
| Top |
|
 |
|
sanya1888
|
Post subject: Re: MasterServer (win32/linux) Posted: Sunday, 26 Jun 2011, 22:32 |
|
| Beginner Без звания |
 |
Joined: Friday, 03 Jun 2011, 13:20 Posts: 12
|
|
steamCooker you can make your master server with a database of servers to the server could write in a notebook, and he appeared in the master server
|
|
| Top |
|
 |
|
illpillow
|
Post subject: Re: MasterServer (win32/linux) Posted: Monday, 27 Jun 2011, 13:02 |
|
| I live here Три раза сломал клаву :) |
Joined: Friday, 24 Jun 2005, 18:42 Posts: 3140
|
|
I don't get what you are talking about.
_________________ ~
|
|
| Top |
|
 |
|
sanya1888
|
Post subject: Re: MasterServer (win32/linux) Posted: Monday, 27 Jun 2011, 19:42 |
|
| Beginner Без звания |
 |
Joined: Friday, 03 Jun 2011, 13:20 Posts: 12
|
|
steamCooker you can make your master server with a database of servers to the server could write in a notepad, and he appeared in the master server illpillow translator error was here you did not understand
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Monday, 27 Jun 2011, 21:29 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
I don't understand too, i think you should ask someone in the foreign language forum to translate what you want 
|
|
| Top |
|
 |
|
DigiSoft
|
Post subject: Re: MasterServer (win32/linux) Posted: Monday, 27 Jun 2011, 21:58 |
|
| Forum ghost Местное привидение |
Joined: Saturday, 17 Jan 2009, 21:35 Posts: 405
|
steamCooker wrote: I don't understand too, i think you should ask someone in the foreign language forum to translate what you want  Can you make it so it can connect with MySQL database? It would be great if that is possible. Then we can store the servers in MySQL database and manage them more easily. Thanks.
|
|
| Top |
|
 |
|
sanya1888
|
Post subject: Re: MasterServer (win32/linux) Posted: Monday, 27 Jun 2011, 22:34 |
|
| Beginner Без звания |
 |
Joined: Friday, 03 Jun 2011, 13:20 Posts: 12
|
|
At least as well it's better than nothing
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Tuesday, 28 Jun 2011, 20:47 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
|
The best i can do about mysql is to release the Database interface (with requests) from the server (it wont compile as it requires other stuff, but people may get inspiration from it) from this a code can code a mysql version (i'll provide a .h of the class i can call and that must be implemented) and i'll include it .
if a serious coder is intrested, he can PM me.
|
|
| Top |
|
 |
|
sanya1888
|
Post subject: Re: MasterServer (win32/linux) Posted: Tuesday, 28 Jun 2011, 21:01 |
|
| Beginner Без звания |
 |
Joined: Friday, 03 Jun 2011, 13:20 Posts: 12
|
|
so what you call it coder that it helped you and all of us
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Tuesday, 28 Jun 2011, 21:04 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
coder = developper who want to help and who needs a mysql version. myself, I don't need a mysql version / i have many other things to code 
|
|
| Top |
|
 |
|
steamCooker
|
Post subject: Re: MasterServer (win32/linux) Posted: Thursday, 07 Jul 2011, 21:48 |
|
| Cooking Steam for CS RIN! |
 |
Joined: Monday, 16 Oct 2006, 18:52 Posts: 2933
|
OK ... you guyz are asking me for coding a mySql version, but unfortunatly, i REALLY don't have time to do it. so i released a new (last ?) version allowing YOU to code it as a .dll 
|
|
| Top |
|
 |
|
sanya1888
|
Post subject: Re: MasterServer (win32/linux) Posted: Friday, 08 Jul 2011, 21:42 |
|
| Beginner Без звания |
 |
Joined: Friday, 03 Jun 2011, 13:20 Posts: 12
|
|
steamCooker Add to your master server information about the game garry's mod
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: Exabot [Bot] and 3 guests |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|