Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

RPG Mod


  • Zamknięty Temat jest zamknięty
2 odpowiedzi w tym temacie

#1 olmen

    Wszechwidzący

  • Zbanowany

Reputacja: 22
Życzliwy

  • Postów:285
  • GG:
  • Lokalizacja:Zielonka
Offline

Napisano 11.07.2009 10:18

Witam. Mam tego rpg http://forums.allied...ead.php?t=94238 i niestety lvl'e sie nie zapisuja.


oto cvary jakie ustawilem

rpgm_savedata 1   //save data? 1 - yes, 0 - no (including bots)
rpgm_bot_savedata 1   //save bots data ? 1 - yes, 0 - no   
//bots are always saved by name in separate file (nvault) or table (mysql)

rpgm_saveby 3   //save player data by 1 - steamid, 2 - ip, 3 - name
//data saved by steamids, ips, names is kept in separate files/tables

rpgm_savedb 1   //Database: 1 - nvault, 2 - MySql
rpgm_sql_host ""   //sql server ip
rpgm_sql_user ""   //sql username
rpgm_sql_pass ""   //sql password
rpgm_sql_db ""   //sql database name

rpgm_user_control 1   //block say commands, menus and info under chat? 0 - yes, 1 - no

rpgm_frequent_save 1   //1, 2 - frequent <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/tongue2.gif' class='bbc_emoticon' alt='xP' /> saving
//set to 1 or 2 if you are worried about players losing <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/tongue2.gif' class='bbc_emoticon' alt='xP' /> earned during map due to server crash
//0 - automatically save player data only on disconnect
//1 - save on disconnect + save all players data on new round
//2 - save on disconnect + every 10 secs save player with most <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/tongue2.gif' class='bbc_emoticon' alt='xP' /> gained
//2 is for servers with no round end (csdm etc.)

rpgm_<img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/tongue2.gif' class='bbc_emoticon' alt='xP' />_mult 1.0   //multiplier for <img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/tongue2.gif' class='bbc_emoticon' alt='xP' /> gained

rpgm_in_team 0   //upgrades work only for: 0-both teams, 1-ts, 2-cts

rpgm_start_lvl 20   //default level for new players
rpgm_bot_start_lvl 5   //default level for new bots

rpgm_upgs 111111111111   //this is string, it determines which upgrades are enabled and disabled
//0 on position x means that upgrade number x is disabled while 1 means it's enabled
//example 1: 111111111110 - all upgrades enabled, except AutoBHop
//example 2: 010010000000 - only Health+ and Stealth are enabled
//If you disable some upgrade, then players get 100% of credits spent on this upgrade back

rpgm_def_upgrades 000000000000   //this is string - default upgrades for new players        
rpgm_bot_def_upgrades 00000000000   //this is string - default upgrades for new bots
//you can use numbers (0,...,9) and letters (a,...,z)
//a = 10, b = 11, c = 12, ...

rpgm_bot_buy_upgs 0   //bots automatically buy random upgrades on spawn? 1 - yes, 0 - no
//depends on amount of credits, bot buy random upgrade if his credits are >= 0


#2 Gość__*

  • Gość

Reputacja: 0

Offline

Napisano 12.07.2009 20:45

A masz coś w logach?

#3 olmen

    Wszechwidzący

  • Autor tematu
  • Zbanowany

Reputacja: 22
Życzliwy

  • Postów:285
  • GG:
  • Lokalizacja:Zielonka
Offline

Napisano 12.07.2009 21:02

nic


@edit

dobrze wpisalem dane do msql ?


rpgm_savedb 2 //Database: 1 - nvault, 2 - MySql
rpgm_sql_host "localhost" //sql server ip
rpgm_sql_user "kamilsql_admin" //sql username
rpgm_sql_pass "****" //sql password
rpgm_sql_db "kamilsql_xp" //sql database name




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych