// 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 "planetadiablo.xaa.pl" diablo_sql_user "planetad_mod" diablo_sql_pass "+++++++" diablo_sql_database "planetad_diablowow" diablo_sql_table "diablo" amx_sql_type "mysql"
Potem dodaje cvary:
diablo_sql_host "planetadiablo.xaa.pl" diablo_sql_user "planetad_mod" diablo_sql_pass "*************" diablo_sql_database "planetad_diablowow" diablo_sql_table "diablo" diablo_sql_save "0" ;0 ;1 ;2 diablo_classes "abcdefgh" ; a Mag ; b Paladyn ; c Mnich ; d Zabojca ; e Barbarzynca ; f Nekromanta ; g Ninja ; h Hunter diablo_avg "1" ;0-off ;0> (1,2,3...) od jakiego lvl'a zlicza srednia (im mniejsza liczba tym bedzie ona gorsza) diablo_xpbonus "10" diablo_xpbonus2 "100" diablo_durability "10" SaveXP "1" diablo_dir "addons/amxmodx/diablo/" diablo_show_health "1" diablo_knife "20" diablo_knife_speed "1000" diablo_arrow "120" diablo_arrow_multi "2.0" diablo_arrow_speed "1500" diablo_klass_delay "2.5"I baza nadal nie może się połączyć o czym świadczą dosyć długie logi:
[warn=Pavulon]400 linijek powtarzającego się kodu[/warn]
Na koniec dodam tylko że moduls msql jest odblokowany:
;;; ; To enable a module, remove the semi-colon (<img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.gif' class='bbc_emoticon' alt=';)' /> in front of its name. ; If it's not here, simply add it its name, one per line. ; You don't need to write the _amxx part or the file extension. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SQL Modules usually need to be enabled manually ;; ;; You can have any number on at a time. Use ;; ;; amx_sql_type in sql.cfg to specify the default ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; mysql sqlite ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Put third party modules below here. ;; ;; You can just list their names, without the _amxx ;; ;; or file extension. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; These modules will be auto-detected and loaded ;; ;; as needed. You do not need to enable them here ;; ;; unless you have problems. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; fun engine fakemeta geoip sockets regex nvault cstrike csx hamsandwichKończąc mojego posta chciałbym dodać że ip serwera wygląda tak: 91.204.161.120 Port: 27094