Logo

CS.RIN.RU - Steam Underground Community

IRC: #cs.rin.ru at irc.rizon.net
It is currently Friday, 17 Apr 2015, 12:43

English | Русский




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 432 posts ] 
Author Message

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Wednesday, 15 Jun 2011, 00:21   
Cooking Steam for CS RIN!
User avatar
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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Wednesday, 15 Jun 2011, 06:24   
Beginner Без звания
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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Wednesday, 15 Jun 2011, 07:37   
Cooking Steam for CS RIN!
User avatar
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 :

  1. int ms=1000;
  2. sqlite3_busy_timeout(connection,ms);
  3. sqlite3_exec(connection,"BEGIN EXCLUSIVE TRANSACTION",...)
  4. sqlite3_exec(connection,"your sql",...)
  5. sqlite3_exec(connection,"COMMIT",...)
  6.  


just keep in mind that the master server db is wiped at startup...


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Wednesday, 22 Jun 2011, 10:47   
Beginner Без звания
Joined: Sunday, 10 Apr 2011, 13:21
Posts: 2
steamCooker, make mysql version MasterServer.
--------------------------
I know very well php and mysql.


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Sunday, 26 Jun 2011, 22:32   
Beginner Без звания
User avatar
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
 Profile  

Post 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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Monday, 27 Jun 2011, 19:42   
Beginner Без звания
User avatar
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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Monday, 27 Jun 2011, 21:29   
Cooking Steam for CS RIN!
User avatar
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
 Profile  

Post 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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Monday, 27 Jun 2011, 22:34   
Beginner Без звания
User avatar
Joined: Friday, 03 Jun 2011, 13:20
Posts: 12
At least as well
it's better than nothing


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Tuesday, 28 Jun 2011, 20:47   
Cooking Steam for CS RIN!
User avatar
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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Tuesday, 28 Jun 2011, 21:01   
Beginner Без звания
User avatar
Joined: Friday, 03 Jun 2011, 13:20
Posts: 12
so what you call it coder that it helped you and all of us


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Tuesday, 28 Jun 2011, 21:04   
Cooking Steam for CS RIN!
User avatar
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 :D


Top
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Thursday, 07 Jul 2011, 21:48   
Cooking Steam for CS RIN!
User avatar
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
 Profile  

Post Post subject: Re: MasterServer (win32/linux)   
Posted: Friday, 08 Jul 2011, 21:42   
Beginner Без звания
User avatar
Joined: Friday, 03 Jun 2011, 13:20
Posts: 12
steamCooker Add to your master server information about the game garry's mod


Top
 Profile  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 432 posts ]  Go to page Previous  1 ... 15, 16, 17, 18, 19, 20, 21 ... 29  Next


Who is online

Users browsing this forum: Exabot [Bot] and 3 guests


Jump to:  
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




Powered by phpBB® Forum Software © phpBB Group