Raised This Month: $51 Target: $400
 12% 

[DoDx] stats_logging.sma - get_user_wstats


  
 
 
Thread Tools Display Modes
Author Message
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 03-21-2005 , 13:13   [DoDx] stats_logging.sma - get_user_wstats
#1

getting about 30 of these per each time the error happens:
Code:
[AMXX] Native error in "get_user_wstats" on line 27 (file "stats_logging.sma").
[DODX] Invalid player 19
Plugins:
Code:
name               version  author            file             status   
Admin Base (SQL)   1.01     AMXX Dev Team     admin.amxx       running  
AMXBans            4.0      LuX / YoMama      amxbans.amxx     debug    
Admin Commands     1.01     AMXX Dev Team     admincmd.amxx    running  
Admin Help         1.01     AMXX Dev Team     adminhelp.amxx   running  
Multi-Lingual Sys  1.01     AMXX Dev Team     multilingual.am  running  
AdminReservation   1.0      [RST] FireStorm   adminreservatio  running  
AdminModX          0.9j     AMXX DoD Communi  adminmodx.amxx   running  
Menus Front-End    1.01     AMXX Dev Team     menufront.amxx   running  
Commands Menu      1.01     AMXX Dev Team     cmdmenu.amxx     running  
Players Menu       1.01     AMXX Dev Team     plmenu.amxx      running  
Teleport Menu      1.01     AMXX Dev Team     telemenu.amxx    running  
Maps Menu          1.01     AMXX Dev Team     mapsmenu.amxx    running  
AMXBans Menu       4.0      YoMama            amxbans_menu.am  running  
Admin Chat         1.01     AMXX Dev Team     adminchat.amxx   running  
Anti Flood         1.01     AMXX Dev Team     antiflood.amxx   running  
Scrolling Message  1.01     AMXX Dev Team     scrollmsg.amxx   running  
Info. Messages     1.01     AMXX Dev Team     imessage.amxx    running  
Admin Votes        1.01     AMXX Dev Team     adminvote.amxx   running  
AdminVoiceAll      1.0a     [RST] FireStorm   amx_voiceall.am  running  
NextMap            1.01     AMXX Dev Team     nextmap.amxx     running  
TimeLeft           1.01     AMXX Dev Team     timeleft.amxx    running  
DeagsMapManage     2.10i    Deags             mapmanager.amxx  running  
Pause Plugins      1.01     AMXX Dev Team     pausecfg.amxx    running  
Stats Configurati  1.01     AMXX Dev Team     statscfg.amxx    running  
Server Binds       1.1      FullThrottle      server_binds.am  running  
DoD Stats          1.01     AMXX Dev Team     stats.amxx       running  
DoD Sounds Precac  1.01     AMXX Dev Team     statssounds.amx  running  
Stats Logging      1.01     AMXX Dev Team     stats_logging.a  debug    
One Weapon         0.2      SidLuke           dod_oneweaponmo  running  
FlameThrower [DoD  1.0.0    SidLuke           dod_flamethrowe  running  
Admin FF           0.21     JustinHoMi        admin_ff.amxx    running  
Jedi Force Grab    1.1      SpaceDude         jedi_force_grab  running  
SQL Stats          0.5c     Amxmodx DoD Comm  sql_stats.amxx   debug    
33 plugins, 30 running
modules:
Code:
name                    version  author              
Fun                     1.01     AMX Mod X Dev Team  
Engine                  1.01     AMX Mod X Dev Team  
FakeMeta                1.01     AMX Mod X Dev Team  
MySQL                   1.01     AMX Mod X Dev Team  
RegEx                   1.01     AMX Mod X Dev Team  
DoD Fun                 1.01     AMX Mod X Dev Team  
DoDX                    1.01     AMX Mod X Dev Team  
7 modules
Running:
  • AMXX v - 1.0.1
    MySQL v - 4.0.18-nt
    Metamod v - 1.17.4
    Windows 2003 Server
    Dual 2.8 Xeon
    1 gig RAM
1 HLDS server running
__________________
pendragon is offline
Send a message via ICQ to pendragon
pcrage69
New Member
Join Date: Mar 2005
Old 03-26-2005 , 22:06  
#2

I am also getting the same type of errors.
pcrage69 is offline
Zor
Veteran Member
Join Date: Mar 2004
Location: Toronto, ON
Old 03-27-2005 , 07:04  
#3

Same as pendragon.
__________________
Zor is offline
Send a message via AIM to Zor Send a message via MSN to Zor Send a message via Yahoo to Zor
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 03-27-2005 , 10:40  
#4

most likely the user's already disconnected in that case as the buffer
between client_disconnect and the real disconnect of the player
is pretty small.
you can simply add a check for the connection status of the user
to the plugin, but then again in most of the times nothing would be logged.

just try it with changing:
Code:
if ( is_user_bot( id ) || !isDSMActive() ) return PLUGIN_CONTINUE
to
Code:
if ( is_user_bot( id ) || !is_user_connected(id) || !isDSMActive() ) return PLUGIN_CONTINUE
at least worth a try if you ask me
FeuerSturm is offline
Zor
Veteran Member
Join Date: Mar 2004
Location: Toronto, ON
Old 03-27-2005 , 12:36  
#5

Will check it out...hey FireStorm...hows it going!

Heheheh

Cheers!
__________________
Zor is offline
Send a message via AIM to Zor Send a message via MSN to Zor Send a message via Yahoo to Zor
BAILOPAN
Join Date: Jan 2004
Old 04-05-2005 , 10:48  
#6

Fixed in CVS, thanks FireStorm!
__________________
egg
BAILOPAN is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode