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-25 (original capture). Forum · All archived topics · Wiki · Bug tracker · Blog
Chat

War3:Source
October 24, 2012, 07:44:22 PM *
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: [Russian] Как сделать чтобы опыт сохранялся?  (Read 595 times)
qoffe
Newbie
*
Posts: 3


View Profile Email
« on: March 26, 2011, 06:00:19 AM »

Всем привет. у меня есть парочка вопросов:
1. Как сделать чтобы опыт сохранялся. Сначала качаемся а потом меняем карту и бацц опыта нет.
2. Как сделать чтобы расы были не открыты а поставить определенного уровня, например хронос с 100 левела.

Edit by Frenzzy: topic name changed..
« Last Edit: March 27, 2011, 03:37:48 PM by Frenzzy » Logged
Schmarotzer
Full Member
***
Posts: 189


Ich schmarotze dich!

258631507
View Profile WWW
« Reply #1 on: March 26, 2011, 08:34:42 AM »

Эх, Коффе... Коффе...
до чего докатился Grin
Logged

Welcome to my server
Divix
Sr. Member
****
Posts: 280


View Profile Email
« Reply #2 on: March 26, 2011, 09:41:44 AM »

1. Настрой датабазу: /addons/sourcemod/configs/databases.cfg, вот моя
Code:
"Databases"
{
"driver_default" "mysql"

"default"     
{
  "driver" "sqlite"
  "host" "localhost"
  "database" "sourcemod"
  "user" "username"
  "pass" "password"
//"timeout" "0"
//"port" "0"
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}
2. Создай файл в cfg, под названием war3source.cfg и вписывай туда свои настройки, к примеру:
Code:
war3 winchesterd_minlevel "450"             
war3 winchesterd_raceorder "5000"         
war3 winchesterd_team1_limit "4"         
war3 winchesterd_team2_limit "4"

winchesterd - сокращенное имя расы
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!