Page 1 of 1

Give item or xp with RC13 = Server crash

Posted: Thu Feb 12, 2009 9:51 am
by Bend3R
This is really weird with RC13.
My server crashing without error log.
Using latest version of AMX Mod X (v1.8.1.3)

Code: Select all

; 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 -
;admin_amxbans.amxx
amxbans.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.)
telemenu.amxx		; teleport menu (Fun Module required!)
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
;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

; Counter-Strike
restmenu.amxx		; restrict weapons menu
statsx.amxx		; stats on death or round end (CSX Module required!)
miscstats.amxx		; bunch of events announcement for Counter-Strike
;stats_logging.amxx	; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx	; AMX Mod backwards compatibility layer

; Custom - Add 3rd party plugins here
war3ft.amxx debug
Tried with RC12 again and it works correcly.
Some problem with RC13 for me.

Re: Give item or xp with RC13 = Server crash

Posted: Thu Feb 12, 2009 11:19 am
by YamiKaitou
I split your other post, but I forgot to change the title it seems. How are you saving your xp? What flag do you have the admin commands set to?

Re: Give item or xp with RC13 = Server crash

Posted: Fri Feb 13, 2009 12:46 am
by Bend3R

Code: Select all

// Saving Options

wc3_save_xp		1		// Enables saving of experience (default is 0)
wc3_save_xp_db		1		// How should we save XP? (0 = SQLite, 1 = MySQL)

Code: Select all

// Admin Options

wc3_admin_flag		"l"		// Admin flag required to give/take XP (default is m)

Re: Give item or xp with RC13 = Server crash

Posted: Wed Feb 18, 2009 1:49 pm
by YamiKaitou
Is it on specific items or amount of xp or just anything. Does it crash when there are no players in the server or does there have to be players present?

Re: Give item or xp with RC13 = Server crash

Posted: Wed Feb 18, 2009 3:35 pm
by Bend3R
Doesn't matter what or how much I give.
wc3_givexp <player> 1 crash the game.
Also, figured another bug, if you plant the bomb alone, you still receive XP.
A player reported me.
wc3_min_players is worth less right now.

Re: Give item or xp with RC13 = Server crash

Posted: Sat Feb 21, 2009 8:59 am
by Psyhopat
Same problem here... on rc 12 works perfect... on rc 13 when i use amx_givexp command server crashes... does't matter if i'm alone on server/player are connected, or the amount of xp given...

Re: Give item or xp with RC13 = Server crash

Posted: Tue Feb 24, 2009 12:01 am
by whosyourdaddy
admin.inl
change

Code: Select all

get_time( "L %m/%d/%Y %H:%M:%:", szCurrentTime, 31 );
to

Code: Select all

 get_time( "L %m/%d/%Y %H:%M:%S", szCurrentTime, 31 );