References for custom ranking system?
Hi, I'm trying to build a custom ranking system similar to HLStatsX:CE but with a more detailed kill report and also the player will have the ability to purchase various items, equipments, traps, weapons, powers etc. in an online market with the money received with each kill and will also be able to upgrade various skills with the experienced points received with each kill however I'm new to writing with Pawn and It's the only thing that keeps me to start working on the remote daemon and the web interface
What do I need: I need references to tutorials or snippets related to monitoring various events such as bullet fired, bullet hit etc. I need references to tutorials or snippets related to extracting various information when a player is killed or kills someone, information such as position, weapon, distance players in range, etc. Basically anything that could help me build a good kill tracking system :D The code bellow is for the plugin which monitors the player kills and only contains a few indexes used to send information to the daemon and that daemon must recognize those indexes and process the data accordingly PHP Code:
Not much information will be stored on the plugin and only the logic to build a comprehensive log and send it to the remote daemon is needed that's why there are so many defines because they mus correlate with the ones on the daemon when analyzing the sent data This is only the plugin which handles the kills and reports them to the daemon There will be other plugins which will have to do the following: Handle Player Authentication (To protect your server against cheaters you can make your server available only to registered users also make the registration available only through invitation) Handle Player Vault (Each player will have a personal vault containing all bought items, traps, weapons, earned money etc.) Administration Plugin (Each server can have administrators with different levels of access to commands and an integrated banning system) In other words this will be some kind of new mod for Counter-Strike with a personalized ranking system and an advanced web application which can help administrators manage everything on their servers from anywhere The web application will feature: Player Profile: You can have one global user account and every kill, event, action you make in the game will be assigned to that profile no mater the server you play in Social Sharing: You can share your most spectacular kills on social sharing sites or to your buddies since the web application will be more like a social sharing but for counter-strike Live Stats: People can view your kills, actions, events, achievements etc. live on your profile page or server page Many more features will be added when I have a working prototype :D However I'm stuck and I cannot start building the rest of the application until I have a working plugin that thoroughly monitors each player kill and reports it it the remote daemon If anyone is interested in helping me to start building this kind of project please send a PM I have experience on building web applications in PHP, HTML, CSS etc. I'm currently learning Python and Pawn to build the Daemon and the AMX Plugins however pawn is just too much for me right now and I'm afraid to make any mistakes when I start coding because the I might have to re-write the whole plugins again later plus I'm the kind of Performance FREAK when it comes to programming Web Application will be build using: CodeIgniter Framework for the Server-Side processing Bootstarp Framework for the Client-Side Desktop UI jQuery Framework for the Client-Side JavaScript jQuery-UI Framework Core for the Client-Side Desktop UI manipulation jQuery-Mobile Framework for the Client-Side Mobile UI Others may be used depending on the requirements ... Remote Server Controller and Daemon will be using the latest Python 3 Any help, reference, advice, snippet etc. related to this kind of project is kindly appreciated I personally thank you for your lost time reading this post no matter you were interested or not :D FAQ for curious users: Q - Why don't you start searching by your self you lazy creep and come here to bother us ? A - While I might seem lazy for not searching by my self I'm sure you as a newbie saw how hard is to find specific help for AMX on the required subjects Q - Why do you even want to build this kind of project when you know you can't program in pawn? A - I'm not sure however It's not like I'm not contributing with nothing and expect others to do everything I only need a "kick" to start from there and begin extending while learning Q - Why do you need us to loose our time giving you specific references, snippets etc? A - A good project is much more easy to maintain if it has a good start and I as a newbie I might not offer a solid base to this project so that's why I'm asking the opinion of people with experience Q - What makes this project different from the others? A - As you can see this ranking system aims to collect every possible data about the user kills and reward the user accordingly also my aim is to make as more kill styles a possible to make players try the most spectacular kills and not just put a bullet in the enemy and rank him as a good player |
Re: References for custom ranking system?
This is a really big project for a begginer in Pawn and I think it's crazy. However I will help you. :D
Quote:
PHP Code:
|
Re: References for custom ranking system?
Didowee your also a beginner. Half of the code you posted is wrong / won't work.
Please don't try to help. |
Re: References for custom ranking system?
Quote the wrong :)
|
Re: References for custom ranking system?
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 :D It will help me when I start working on the tracking system |
Re: References for custom ranking system?
Quote:
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. |
Re: References for custom ranking system?
@hornet Very very very... Interesting tutorial Thank YOU :D
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:
|
Re: References for custom ranking system?
Quote:
|
| All times are GMT -4. The time now is 16:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.