←  Problemy

AMXX.pl: Support AMX Mod X i SourceMod

»

Dziwne error logi

Mexas - zdjęcie Mexas 19.03.2013

Witam,

Zauważyłem iż w logach pojawiło mi się coś takiego:
L 03/18/2013 - 19:44:56: Start of error session.
L 03/18/2013 - 19:44:56: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20130318.log")
L 03/18/2013 - 19:44:56: [MySQL] Invalid handle: 0
L 03/18/2013 - 19:44:56: [AMXX] Displaying debug trace (plugin "amxbans.amxx")
L 03/18/2013 - 19:44:56: [AMXX] Run time error 10: native error (native "SQL_FreeHandle")
L 03/18/2013 - 19:44:56: [AMXX]    [0] amxbans.sma::plugin_end (line 618)
Co może być tego powodem?
Odpowiedz

  • +
  • -
DriveR.` - zdjęcie DriveR.` 19.03.2013

pierw dopisz do amxbans debug

czyli

w plugins.ini

amxbans.amxx debug
Odpowiedz

Mexas - zdjęcie Mexas 19.03.2013

W tym problem, że mam dopisane:
; AMX Mod X plugins
; 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)
amxbans.amxx debug
; 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)
reasonkicker.amxx
plmenu.amxx  ; players menu (kick, ban, client cmds.)
;telemenu.amxx  ; teleport menu (Fun Module required!)
mapsmenu.amxx  ; maps menu (vote, changelevel)
pluginmenu.amxx  ; Menus for commands/cvars organized by plugin
statsx.amxx
; Chat / Messages
adminchat.amxx  ; console chat commands
antiflood.amxx  ; prevent clients from chat-flooding the server
scrollmsg.amxx  ; displays a scrolling message
imessage.amxx  ; displays information messages
adminvote.amxx  ; vote commands
; Map related
nextmap.amxx  ; displays next map in mapcycle
mapchooser.amxx  ; allows to vote for next map
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
; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
alt_end_round_sounds.amxx				 ; Round Sound na serwerze.
ad_manager.amxx						   ; Kolorowe reklamy na serwerze!
mutemenu.amxx							 ; Mozliwosc zmutowania danego gracza!
hpk_pl.amxx							   ; Wyrzuca graczy z dużym pingiem!
descriptive_fire_in_the_hole.amxx		 ; Kolorowe napisy granatow!
grenade_trail.amxx					    ; Kolorowe smugi za granatami!
zarzadca_interpu.amxx					 ; Menu wyboru interpu.
c4.amxx								   ; Licznik wybuchu bomby
adminlisten.amxx						  ; Admin widzi wszystkie rozmowy
ptb.amxx								  ; Balansuje i wyrównuje drużyny
afkbombtransfer.amxx					  ; Gdy gracz z bomba jest AFK, bomba zostaje przeniesiona do innego gracza
Admin_Screen3v15.amxx					 ; Admin moze robic ssy graczom.
csnadedrops.amxx						  ; Granaty wypadają po śmierci.
admin_spec_esp.amxx					   ; Admin posiada ESP na spectate.
ultimate_sounds.amxx					  ; Dzwięki typu headshot
bs_limiter.amxx						   ; Brak możliwości położenia paki na B gdy jest mała ilość CT
dib3.amxx								 ; Linia - skąd zostałeś zabity
dd2_final.amxx						    ; Restartsowanie mapy itp.
m_afk_guard.amxx						  ; Wyrzuca graczy AFK
vip.amxx								  ; Dodaje VIP'a
amx_ip.amxx							   ; Wyswietla IP wszystkich graczy grajacych na serwerze.
flash.amxx							    ; Pokazuje przez kogo zostales oslepiony i kogo oslepiles.
Odpowiedz

  • +
  • -
Andrzejek - zdjęcie Andrzejek 19.03.2013

pierw dopisz do amxbans debug

czyli

w plugins.ini

amxbans.amxx debug


Czemu wywnioskowałeś ze trzeba dodać debug? Jak by było trzeba to by był wpis w logu "debug"

A do tematu to tak:

Otwórz amxbans.sma
i zmień cały public plugin_end na to:
public plugin_end()
{
if (g_SqlX)
SQL_FreeHandle(g_SqlX)
}

i skompiluj i powinno śmigać ;d
Odpowiedz

  • +
  • -
Kawon - zdjęcie Kawon 19.03.2013

Automatyczna wiadomość


Ten temat został przeniesiony z forum

AMX Mod X > Problemy

do

Mody > AMXBans > Problemy
Odpowiedz