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

Module: CSX Extended 2.0.1.0


Post New Thread Reply   
 
Thread Tools Display Modes
souvikdas95
Senior Member
Join Date: Mar 2012
Old 03-06-2014 , 11:24   Re: Module: CSX Extended (v1.1)
Reply With Quote #21

@Smiley - If we bring such change, we would have to edit the base structure of the file. Which means, no backward compatibility. Previous stats will be deleted. Please note that this is only an extended version of CSX and not an entirely new project. We want to see how the users of this extended module respond to the changes. We have not changed the calculation of stats.
souvikdas95 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 03-06-2014 , 11:53   Re: Module: CSX Extended (v1.1)
Reply With Quote #22

Quote:
Originally Posted by souvikdas95 View Post
@Smiley - If we bring such change, we would have to edit the base structure of the file. Which means, no backward compatibility. Previous stats will be deleted. Please note that this is only an extended version of CSX and not an entirely new project. We want to see how the users of this extended module respond to the changes. We have not changed the calculation of stats.
FORK! NOT MERGE! Not an addiction to CSX extended. You can post two versions.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
souvikdas95
Senior Member
Join Date: Mar 2012
Old 03-06-2014 , 12:19   Re: Module: CSX Extended (v1.1)
Reply With Quote #23

Yeah we will! But for a start, we will only see the reviews on this. Making additional stats parameters is no issue
souvikdas95 is offline
souvikdas95
Senior Member
Join Date: Mar 2012
Old 03-06-2014 , 12:23   Re: Module: CSX Extended (v1.1)
Reply With Quote #24

for instance, we already know who were the attacker of a dead player. We can easily differentiate the killer as well... what remains are the assists... so simply make another counter to add assists. See, we won't even need to hook an additional event. Everything is already set
souvikdas95 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 03-06-2014 , 18:07   Re: Module: CSX Extended [v1.3]
Reply With Quote #25

+1 Add Played Time
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 03-10-2014 , 09:35   Re: Module: CSX Extended [v1.3]
Reply With Quote #26

What about last time played feature? So we can add prune function of inactive players. Its would be great!
__________________
The functional way is the right way
GordonFreeman (RU) is offline
souvikdas95
Senior Member
Join Date: Mar 2012
Old 03-11-2014 , 04:31   Re: Module: CSX Extended [v1.3]
Reply With Quote #27

Considering so many thoughts, I think a universal stats module should be better where you can create your own stats fields and define them through amxx. Just need a little help with creating dynamic fields in binary files. Rest is as smooth as butter
souvikdas95 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 03-11-2014 , 23:13   Re: Module: CSX Extended [v1.3]
Reply With Quote #28

Quote:
Originally Posted by souvikdas95 View Post
Considering so many thoughts, I think a universal stats module should be better where you can create your own stats fields and define them through amxx. Just need a little help with creating dynamic fields in binary files. Rest is as smooth as butter
??????????????????? Universal stats? what?
Man, features is never bad if it is good implemented.
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
souvikdas95
Senior Member
Join Date: Mar 2012
Old 03-12-2014 , 05:30   Re: Module: CSX Extended [v1.3]
Reply With Quote #29

what if features are decided by you and the module just does the ranking part? ;)

Need some opinions about the following blue print of the module - "Ultimate Stats"

PHP Code:
new Stats:handle StatsCreate Stats_Enum"<FuncForward>" );

// Defination in Plugin - Similar to csstats.amxx ( get_score() )
public <FuncForward> ( DATA[Stats_Enum] )
{
    . . .
    return 
int
}

LoadStats_File Stats:handlepath[] );                return 0/1
SaveStats_File 
Stats:handlepath[] );                return 0/1

LoadStats_SQL 
Stats:handleany:... );                return 0/1
SaveStats_SQL 
Stats:handleany:... );                return 0/1

GetRank_by_Unique 
Stats:handleunique[] );                return int rank )
GetRank_by_User Stats:handleindex );                return int rank )

GetUnique_by_Rank Stats:handlerankoutput[], len );        return 0/1
GetUnique_by_User 
Stats:handleindexoutput[], len );        return 0/1

GetUser_by_Unique 
Stats:handleunique[] );                return int index )
GetUser_by_Rank Stats:handlerank );                    return int index )

GetStats_by_Unique Stats:handleunique[], any:output[] );        return 0/1
GetStats_by_Rank 
Stats:handlerankany:output[] );            return 0/1
GetStats_by_User 
Stats:handleindexany:output[] );            return 0/1

SetStats_by_Unique 
Stats:handleunique[], const any:output[] );    return int ( new rank )
SetStats_by_Rank Stats:handlerank, const any:output[] );        return int ( new rank )
SetStats_by_User Stats:handleindex, const any:output[] );        return int ( new rank )

PushStats Stats:handle, const any:output[] );                return int ( new rank )

DeleteStats_by_Unique Stats:handleunique[] );            return 0/1
DeleteStats_by_Rank 
Stats:handlerank );                return 0/1
DeleteStats_by_User 
Stats:handleindex );                return 0/
Features -
1. Rank Management will take place in module automatically based on the "forwardfunc" just like "GetScore" in CSX
2. Support for Multiple Stats
3. Fully Customized Stats Management

Last edited by souvikdas95; 03-12-2014 at 06:55.
souvikdas95 is offline
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 03-18-2014 , 00:21   Re: Module: CSX Extended [v1.3]
Reply With Quote #30

OK, I think it's something very nice to add new stats' entries to Half-Life 1 based games.
But, I have another idea.

I suggest a completely new module (of course, based on CSX default module) with the same name (CSX Extended) that will contain the CSX default code, further natives, SQLite and MySQL support.

We'll see what we'll be able to do in future. I would like users to be able to use CSX and CSX Extended in the same time, since CSX continues to update by AMX Mod X Development Team. I would like CSX Extended to not interact with CSX anymore, regarding csstats.dat or other files. I will also contribute for a DODX Extended and TFCX Extended ASAP.
__________________

Last edited by claudiuhks; 03-18-2014 at 00:26.
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Reply


Thread Tools
Display Modes

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 16:23.


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