Archived copy of war3source.com, the War3Source forum (2009–2020), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2012-10-24 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 10:29:33 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Download: http://war3source.com/index.php?board=9.0
What is War3Source?: http://war3source.com/index.php?topic=200.0
Sample Stats: http://war3source.com/war3stats
Steam Community Group: http://steamcommunity.com/groups/war3source
War3Source SVN Checkout: http://ownageclan.com/svn/war3source/
War3Source servers: http://www.game-monitor.com/search.php?vars=war3_version=
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Clarification question about database connection  (Read 1246 times)
Remy Lebeau
Newbie
*
Posts: 16


View Profile
« on: December 16, 2009, 09:01:15 PM »

From the installation guide, it seems that this mod uses the default sourcemod database to store it's info in.  Is this correct? 
Is there a way of using a separate wc3 source only database?  Is there any potential problems with using the default sourcemod database (eg, if I wanted to completely uninstall the mod later, wouldn't it leave remnants in the datbase?)
Logged
Remy Lebeau
Newbie
*
Posts: 16


View Profile
« Reply #1 on: December 16, 2009, 10:02:43 PM »

Further to my previous post, if the mod is setup to use the default sourcemod database, can I put in a feature request for the ability to specify a specific database?

Our centralised server management system overwrites the default sourcemod admin database each time a server is updated, and so would presumably overwrite the war 3 info...
Logged
Anthony Iacono
Lead Developer
Full Member
***
Posts: 132

Lets make it better.

anthonyiacono@gmail.com
View Profile WWW Email
« Reply #2 on: December 16, 2009, 11:05:31 PM »

Confirmed for 0.9.1.7
Yeah it is currently set to connect default but I'll add something to the INI file.
Logged
Remy Lebeau
Newbie
*
Posts: 16


View Profile
« Reply #3 on: December 17, 2009, 12:52:44 AM »

Fantastic :-)

I just got a server up and running, but the XP won't save, which I'm sure is to do with how we manage the servers (and the default database stuff)... so having this option should allow us to go for gold :-)
Logged
Remy Lebeau
Newbie
*
Posts: 16


View Profile
« Reply #4 on: December 22, 2009, 06:48:13 PM »

Just downloaded 0.9.1.8 to play with.  Is it possible to get the installation wiki updated to document how to use war3source.ini, and the requirements for a non-standard database.cfg ?

(For example, what path do I need to put in?)
« Last Edit: December 22, 2009, 10:27:04 PM by Remy Lebeau » Logged
Anthony Iacono
Lead Developer
Full Member
***
Posts: 132

Lets make it better.

anthonyiacono@gmail.com
View Profile WWW Email
« Reply #5 on: December 23, 2009, 08:52:56 PM »

The path should be automatically fine when you extract the release. All you have to do is add an entry into database.cfg like this:
Quote
war3source
{
 ...
}

Then in war3source.ini you set database to war3source.

Its pretty easy, but let me know if you have any problems.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!