PROBLEM:
System po prostu nie chce mi banować i strona www nie widzi serwera.
Zacznijmy od początku używam amxx 1.8.1 (podobno w 6.0.1 nie trzeba mieć nowszej nieoficjalnej wersji amxx).
Skrypt www zainstalował się poprawnie bez żadnych problemów, problemy są od strony pluginu.
a) Skonfigurowałem odpowiedni sql.cfg
amx_sql_host "adres hosta" amx_sql_user "berix_xxx" amx_sql_pass "haslo" amx_sql_db "berix_bans" amx_sql_table "amx" amx_sql_type "mysql"uruchomiłem moduł mysql
c) dałem dostęp bazy mysql dla serwera gier w DirectPanel
d) plik amxbans.cfg poprawnie się otwiera
e) do amxx.cfg dodałem jak to pisał szafran IP "adres:port"
f) tak wyglądają podstawowe pluginy w plugins.ini
; AMX Mod X plugins amxbans_core.amxx amxbans_main.amxx amxbans_freeze.amxx amxbans_flagged.amxx ; Admin Base - Always one has to be activated ;admin.amxx ; admin base (required for any admin-related) ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands ;adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) mapsmenu.amxx ; maps menu (vote, changelevel) pluginmenu.amxx ; Menus for commands/cvars organized by plugin ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server adminvote.amxx ; vote commands timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands
Za cholerę nie wiem za co odpowiadają te pluginy amxbans_freeze.amxx oraz amxbans_flagged.amxx
g) pluginy dobrze się ładują
h) ustawiłem debug dla amxbans_main i oto logi z erroru
L 08/10/2010 - 01:52:26: [MySQL] Invalid info tuple handle: 0 L 08/10/2010 - 01:52:26: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") L 08/10/2010 - 01:52:26: [AMXX] Run time error 10: native error (native "SQL_ThreadQuery") L 08/10/2010 - 01:52:26: [AMXX] [0] cmdBan.inl::cmdMenuBan (line 54) L 08/10/2010 - 01:52:26: [AMXX] [1] menu_stocks.inl::setCustomBanReason (line 264)