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

Can few people test this plugin plz


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-20-2012 , 16:47   Can few people test this plugin plz
Reply With Quote #1

Hi,

I've just notice weird things with HLTV event, could few people test this plugin on their server (plugin does nothing on the server, just log some things i need).
Basically i need tests on cs1.6, cz without bots, cz with bots.

Just run that plugin few hours and give me the output of log file.

PHP Code:
#include <amxmodx>

#define PLUGIN "HLTV Log"
#define VERSION "0.0.1"

new const LOGFILE[] = "Event_HLTV.log"

new Float:g_lastGameTime

public plugin_init()
{
    
register_pluginPLUGINVERSION"ConnorMcLeod" )

    
register_event("HLTV""Event_HLTV_New_Round_228""a""1=0""2=228")
    
register_event("HLTV""Event_HLTV_New_Round_0""a""1=0""2=0")
}

public 
Event_HLTV_New_Round_228()
{
    new 
byte_2 read_data(2)
    new 
Float:gametime get_gametime()

    if( 
g_lastGameTime != gametime )
    {
        
g_lastGameTime gametime
        log_to_file
(LOGFILE"Event_HLTV_New_Round_228 ---------------------------------------")
    }

    static 
Float:last_gametime
    
if( gametime == last_gametime )
    {
        
log_to_file(LOGFILE"Event_HLTV_New_Round_228 : TWICE the same gametime !!")
    }
    
last_gametime gametime

    log_to_file
(LOGFILE"Event_HLTV_New_Round_228 : %d , %d , %s , %f"read_data(1), byte_2byte_2 == 228 "Ok":"WRONG BYTE !!"gametime)
}

public 
Event_HLTV_New_Round_0()
{
    new 
byte_2 read_data(2)
    new 
Float:gametime get_gametime()
    
    if( 
g_lastGameTime != gametime )
    {
        
g_lastGameTime gametime
        log_to_file
(LOGFILE"Event_HLTV_New_Round_0 ---------------------------------------")
    }

    static 
Float:last_gametime
    
if( gametime == last_gametime )
    {
        
log_to_file(LOGFILE"Event_HLTV_New_Round_0 : TWICE the same gametime !!")
    }

    
log_to_file(LOGFILE"Event_HLTV_New_Round_0 : %d , %d , %s , %f"read_data(1), byte_2byte_2 == "Ok":"WRONG BYTE !!"gametime)

    
last_gametime gametime

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 08-20-2012 , 17:39   Re: Can few people test this plugin plz
Reply With Quote #2

Cz with bots -> OK.
Cz without bots -> OK.
micapat is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 08-21-2012 , 02:42   Re: Can few people test this plugin plz
Reply With Quote #3

Do you want me to test this on CS 1.6 with bots, because I don't have public server to test it with players ?

Edit: Tested for almost 3 hours and everything is ok.

Last edited by dark_style; 08-21-2012 at 07:09.
dark_style is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-21-2012 , 06:04   Re: Can few people test this plugin plz
Reply With Quote #4

I test it on superhero server. In 2 or 3 hours i put here the result
Jhob94 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-21-2012 , 08:50   Re: Can few people test this plugin plz
Reply With Quote #5

There is logs in my ftp
Hope help you

Sorry for 5 logs in zip, but iam not sure if you just need Event_HLTV log
Attached Files
File Type: zip logs superhero.zip (11.9 KB, 61 views)
Jhob94 is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 08-21-2012 , 10:30   Re: Can few people test this plugin plz
Reply With Quote #6

Quote:
Originally Posted by ConnorMcLeod View Post
Hi,

I've just notice weird things with HLTV event, could few people test this plugin on their server (plugin does nothing on the server, just log some things i need).
Basically i need tests on cs1.6, cz without bots, cz with bots.

Just run that plugin few hours and give me the output of log file.
Sorry I couldn't run it for more than 1 hour
Tested with bots.
Attached Files
File Type: log Event_HLTV.log (49.1 KB, 76 views)
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-21-2012 , 12:59   Re: Can few people test this plugin plz
Reply With Quote #7

Thanks, problems seems to be only with my configuration then

@Jhob94
You have lots of errorlogs about SH
Thans anyway.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-21-2012 , 14:18   Re: Can few people test this plugin plz
Reply With Quote #8

Oh ^^
I open it yesterday and i didnt saw logs yet xD
Jhob94 is offline
dasha
Senior Member
Join Date: Apr 2012
Location: \%STEAM -> $_SESSION
Old 08-22-2012 , 00:57   Re: Can few people test this plugin plz
Reply With Quote #9

Attached Files
File Type: zip Event_HLTV.zip (25.9 KB, 43 views)
dasha is offline
Reply



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 05:11.


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