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.
|
KLASA
#1
Napisano 19.08.2010 16:55
#2
Napisano 19.08.2010 17:10
#3
Napisano 19.08.2010 17:44
Mam gotwa paczek diablo mod 5.9l wszystko działa normalnie tylko klasa się nie wczytuje i nie działają komendy takie jak /rune /klasa itp. Mozna cos na to poradzic?
Daj logi i stwórz bazę danych.
#4
Napisano 19.08.2010 20:21
19 sierpień 2010 - 20:38:
Ok już wiem co to macie :
Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
Connection to Steam servers successful.
VAC secure mode is activated.
~`RPS`~ : /klasa
L 08/19/2010 - 22:43:14: Error on Table query: Can't connect to MySQL server on 'localhost' (10061)
L 08/19/2010 - 22:43:14: Could not connect to SQL database.
L 08/19/2010 - 22:43:15: Error on Table query: Can't connect to MySQL server on 'localhost' (10061)
L 08/19/2010 - 22:43:15: Could not connect to SQL database.
L 08/19/2010 - 22:43:16: Error on Table query: Can't connect to MySQL server on 'localhost' (10061)
L 08/19/2010 - 22:43:16: Could not connect to SQL database.
#5
Napisano 20.08.2010 11:47
Zakladanie bazy mysql na db4free.net - Nieoficjalny polski support AMX Mod X
Konfiguracja bazy danych w diablo modzie - Nieoficjalny polski support AMX Mod X
Dla osób które mają problem z klasą i bazą danych.... - Nieoficjalny polski support AMX Mod X
#6
Napisano 20.08.2010 11:58
#7
Napisano 20.08.2010 12:00
Usuń średniki ( ; ) przed modułami
I stwórz bazę danych. Jest Wiele poradników na forum jak to zrobić
Użytkownik Emixx. edytował ten post 20.08.2010 12:00
#8
Napisano 20.08.2010 14:09
20 sierpień 2010 - 15:53:
Mam chyba wszystko dobrze zrobione ale klasa nadal nie działa oto moje logi z serwera:
couldn't exec listip.cfg
couldn't exec banned.cfg
L 08/20/2010 - 16:51:59: -------- Mapchange to de_dust --------
Usage:
Setmaster unavailable, start a server first.
[AMXX] Loaded 0 admins from file
L 08/20/2010 - 16:52:00: [nextmap.amxx] WARNING: Couldn't find a valid map or the file doesn't exist (file "mapcycle.txt")
L 08/20/2010 - 16:52:00: 08/20/2010 - 16:52:00 ### MAPA: de_dust ###
Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
Connection to Steam servers successful.
VAC secure mode is activated.
L 08/20/2010 - 16:52:20: Error on Table query: Access denied for user 'loleczek'@'d54C1B18F.access.telenet.be' (using password: YES)
L 08/20/2010 - 16:52:20: Could not connect to SQL database.
~`RPS`~ : /klasa
L 08/20/2010 - 16:52:21: Error on Table query: Access denied for user 'loleczek'@'d54C1B18F.access.telenet.be' (using password: YES)
L 08/20/2010 - 16:52:21: Could not connect to SQL database.
L 08/20/2010 - 16:52:23: Error on Table query: Access denied for user 'loleczek'@'d54C1B18F.access.telenet.be' (using password: YES)
L 08/20/2010 - 16:52:23: Could not connect to SQL database.
#9
Napisano 21.08.2010 09:59
Ewentualnie dodawałeś coś do sql.cfg ?
#10
Napisano 22.08.2010 20:34
// AMX Mod X Configuration File
echo Executing AMX Mod X Configuration File
// Default access for all non admin players (see users.ini for access details)
//
// Default value: "z"
amx_default_access "z"
// Name of setinfo which should store a password on a client (you should change this)
// Note: Always prefix the field with an underscore (aka: "_")
// (Example: setinfo _pw "password")
//
// Default value: "_pw"
amx_password_field "_pw"
// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 1
// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
//
// Default value: 2
amx_show_activity 2
// Frequency in seconds and text of scrolling message
//
// Default value: "Welcome to %hostname% -- This server is using AMX Mod X" 600
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX Mod X" 600
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
//
// Default values: "Welcome to %hostname%" "000255100"
// "This server is using AMX ModX\nVisit http://www.amxmodx.org" "000100255"
amx_imessage "Welcome to %hostname%" "000255100"
amx_imessage "This server is using AMX Mod X\nVisit http://www.amxmodx.org" "000100255"
// Frequency in seconds of colored messages
//
// Default value: 180
amx_freq_imessage 180
// Ban times for the main ban menu (amx_banmenu)
// Use 0 for permanent ban
// Default values: 0 5 10 15 30 45 60
amx_plmenu_bantimes 0 5 10 15 30 45 60
// Slap damage amounts for the main slap menu (amx_slapmenu)
// Slay is automaticall inserted as the first option
// Default values: 0 1 5
amx_plmenu_slapdmg 0 1 5
// Set in seconds how fast players can chat (chat-flood protection)
//
// Default value: 0.75
amx_flood_time 0.75
// Amount of slots to reserve.
//
// Default value: 0
amx_reservation 0
// If you set this to 1, you can hide slots on your server.
// If server "full" of public slots and slots hidden, you must manually connect with connect console command
//
// Default value: 0
amx_hideslots 0
// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
//
// Default value: "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"
// Announce "say thetime" and "say timeleft" with voice, set to 0 to disable.
//
// Default value: 1
amx_time_voice 1
// Minimum delay in seconds between two voting sessions
//
// Default value: 10
amx_vote_delay 10
// How long voting session goes on
//
// Default value: 10
amx_vote_time 10
// Display who votes for what option, set to 0 to disable, 1 to enable.
//
// Default value: 1
amx_vote_answers 1
// Some ratios for voting success
// Default value: 0.40
amx_votekick_ratio 0.40
// Default value: 0.40
amx_voteban_ratio 0.40
// Default value: 0.40
amx_votemap_ratio 0.40
// Default value: 0.02
amx_vote_ratio 0.02
// Max. time to which map can be extended
//
// Default value: 90
amx_extendmap_max 90
// Step for each extending
//
// Default value: 15
amx_extendmap_step 15
// If you set this to 0, clients cannot chose their language, instead they use
// whatever language the server is configured to use.
//
// Default value: 1
amx_client_languages 1
// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
//
// Default value: 1
amx_debug 1
// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
//
// Default value: ""
amx_mldebug ""
//
// Beginning of Counter-Strike package specific configurations.
//
// Rank mode
// 0 - by nick
// 1 - by authid
// 2 - by ip
//
// Default value: 1
csstats_rank 1
// Max size of the stats file
//
// Default value: 3500
csstats_maxsize 3500
// Whether or not to rank bots with csstats - set to 1 to rank bots, 0 otherwise.
//
// Default value: 0
csstats_rankbots 0
// Duration of HUD-statistics
//
// Default value: 12.0
amx_statsx_duration 12.0
// HUD-statistics display limit relative round freeze end
// Negative time will clear the HUD-statstics before the round freeze time has ended
//
// Default value: -2.0
amx_statsx_freeze -2.0
diablo_xpbonus //ilość expa za zabicie standardowo ustawione na 7
diablo_xpbonus2 //ilość expa za wykonania celu misji standardowo ustawione na 50
diablo_durability //Tracisz wytrzymałość za każde obrażenia ? Ile za każdym razem
diablo_spawnchance //1/x szansa na zrespienia worka
SaveXp 1/0 //zapisywanie doświadczenia
diablo_classes abcdefgh //które klasy maja być dostępne
diablo_avg 1 //zaczynanie od sredniej serwera (liczonego od lvl 1)
diablo_dmg_exp //za ile zabranego hp wrogowi dostaje sie 1 exp (domyslnie 20, 0 - off)
dbmod_5.9l.amxx
a to co do sql dodałem :
// SQL configuration file
// File location: $moddir/addons/amxmodx/configs/sql.cfg
// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"
// We recommend using your server IP address instead of its name
// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.
diablo_sql_host ******
diablo_sql_user ******
diablo_sql_pass ******
diablo_sql_database ******
diablo_sql_table Diablo_Mod
diablo_sql_save 0
// 0 - nick
// 1 - ip
// 2 - steam id
oczywiscie wszystko w takim samy formacie
#11
Napisano 22.08.2010 20:37
#12
Napisano 22.08.2010 20:43
22 sierpień 2010 - 20:57:
Dalem " i nadal nie działa baze mam na db.host.sk pomozcie ;pp
#13
Napisano 22.08.2010 22:01
Z cudzysłowami musisz wpisać cvar'y...
WCALE ŻE NIE !! (chyba)
Yyy a pokaz jeszcze logi po dodaniu.
#14
Napisano 22.08.2010 22:16
couldn't exec banned.cfg
L 08/22/2010 - 23:15:08: -------- Mapchange to de_dust --------
Usage:
Setmaster unavailable, start a server first.
[AMXX] Loaded 1 admin from file
L 08/22/2010 - 23:15:10: [nextmap.amxx] WARNING: Couldn't find a valid map or the file doesn't exist (file "mapcycle.txt")
L 08/22/2010 - 23:15:10: 08/22/2010 - 23:15:10 ### MAPA: de_dust ###
Executing AMX Mod X Configuration File
Scrolling message displaying frequency: 10:00 minutes
"diablo_xpbonus" is "5"
"diablo_xpbonus2" is "100"
"diablo_durability" is "10"
"diablo_dmg_exp" is "20"
Menu item 17 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"
Menu item 18 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"
Could not establish connection to Steam servers.
Reconnected to Steam servers.
VAC secure mode is activated.
L 08/22/2010 - 23:15:20: [admin.amxx] Login: "wOw~<1><STEAM_0:0:33631387><>" became an admin (account "STEAM_0:0:33631387") (access "abcdefghijklmnopqrstu") (address "84.193.177.143")
L 08/22/2010 - 23:15:31: Error on Table query: Access denied for user 'loleczek'@'d54C1B18F.access.telenet.be' (using password: YES)
L 08/22/2010 - 23:15:31: Could not connect to SQL database.
wOw~ : /klasa
L 08/22/2010 - 23:15:34: Error on Table query: Access denied for user 'loleczek'@'d54C1B18F.access.telenet.be' (using password: YES)
L 08/22/2010 - 23:15:34: Could not connect to SQL database.
L 08/22/2010 - 23:15:36: Error on Table query: Access denied for user 'loleczek'@'d54C1B18F.access.telenet.be' (using password: YES)
L 08/22/2010 - 23:15:36: Could not connect to SQL database.
Oto logi po wpisaniu klasa
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych