Raised This Month: $ Target: $400
 0% 

References for custom ranking system?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
didoWEE
Senior Member
Join Date: Oct 2012
Location: Bulgaria
Old 05-21-2013 , 06:14   Re: References for custom ranking system?
Reply With Quote #1

Quote the wrong
didoWEE is offline
SLC
Junior Member
Join Date: Apr 2013
Old 05-21-2013 , 09:42   Re: References for custom ranking system?
Reply With Quote #2

After Iv'e started to work by my self on the kill tracking plugin Iv'e found out that I first need to build the authentication system and make a quick prototype of the daemon

Why? Because each player profile will have a unique number aka. ID that will be used to identify him an store the related data from every server on that ID That's why I need to work on the daemon first so I just hope I'l have a working prototype in the next few days

Each member will have a unique ID an Key Ex.
ID = 8152634290 (all ID's will start from 1000000000 incrementing by one for each user)
Key = 1a85eaffac6b5a24380c155782f98a2b (this will be different from the user password on the web application and will only give him acces to send logs on that ID)

To enter a server they must add in the console:
setinfo _slcid "8152634290"
setinfo _slckey "1a85eaffac6b5a24380c155782f98a2b"

Anyway thank you for your help It will help me when I start working on the tracking system
__________________

Last edited by SLC; 05-21-2013 at 09:53.
SLC is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-21-2013 , 09:48   Re: References for custom ranking system?
Reply With Quote #3

Quote:
Originally Posted by didoWEE View Post
Quote the wrong
1) The code provided will not even compile.
  • You've used full stops in RegisterHam instead of commas.
  • You've mispelt functions.
  • You cannot define a local static variable.
2) PrimaryAttack() is not called on player entities it is called on weapon entities. Therefore the function header is also incorrect.
3) If you were to hook PrimaryAttack() properly, it would still be by far incorrect for stats logging. Read this thread.
4) You've poorly managed weapon checking.
5) Your return constants are inappropriate in terms of the forward type, and you don't return a final value.

Please try and get the basics down before you go and confuse people.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
SLC
Junior Member
Join Date: Apr 2013
Old 05-21-2013 , 10:44   Re: References for custom ranking system?
Reply With Quote #4

@hornet Very very very... Interesting tutorial Thank YOU

So fwPlaybackEvent() would be called each time someone fired a bullet (that means a lot of calls) so my next question would be Is it possible to get the bullet trajectory and who's in range (player point of view) without overloading the processing power on the machine resources?

I could use that to figure if it's an ambush (which will affect the received points of the killer)
PHP Code:
#define KILL_INFO_AMBUSH 20 // Killer and Victim Ambush (Numerical value specifying how much the victim was outnumbered) 
__________________

Last edited by SLC; 05-21-2013 at 11:07.
SLC 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 16:28.


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