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:06:35 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: How to set database ?  (Read 1164 times)
aminopur
Newbie
*
Posts: 4


View Profile
« on: January 25, 2010, 11:04:01 AM »

D:\Games\css\cstrike\addons\sourcemod\configs\databases.cfg
______________________________________________________________________________________________

"Databases"
{
   "driver_default"      "sqlite"
   
   "default"
   {
      "driver"         "sqlite"
      "host"            "sourcemod-local"
      "database"         "admins-sqlite"
      "user"            "root"
      "pass"            ""
      //"timeout"         "0"
      //"port"         "0"
   }
   
   "storage-local"
   {
      "driver"         "sqlite"
      "database"         "admins-sqlite"
   }

   "clientprefs"
   {
      "driver"         "sqlite"
      "host"            "localhost"
      "database"         "clientprefs-sqlite"
      "user"            "root"
      "pass"            ""
      //"timeout"         "0"
      //"port"         "0"
   }

    "admins"
    {
       "driver"   "sqlite"
       "database"   "admins-sqlite"
    }
}

}
_____________________________________________________________________________________________________


No error's in cmd but exp is not seved. Help!! PLz!
Using  SourceMod (1.4.0-dev) CS:S Tools (1.4.0-dev) SDK Tools (1.4.0-dev) SDK Hooks (1.2.0) War3 1.4 (fresh install not updated!)
Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2045



View Profile WWW Email
« Reply #1 on: January 25, 2010, 03:44:26 PM »

i think you set the database under "default", did you enable sqlite?
Logged

DarkEnergy
aminopur
Newbie
*
Posts: 4


View Profile
« Reply #2 on: January 26, 2010, 06:51:01 AM »

sql-admin-manager.smx and admin-sql-prefetch.smx plugins are on. It seem's like where are 2 databases ant it loades in random order.. Is it posible ?

Can some one post his working .cfg ?
« Last Edit: January 26, 2010, 06:54:35 AM by aminopur » Logged
Ownz
Developer
Administrator
Hero Member
*****
Posts: 2045



View Profile WWW Email
« Reply #3 on: January 26, 2010, 02:44:42 PM »

sql admin doesnt have anything to do with war3 database
Logged

DarkEnergy
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!