[Release] Basic Stats System

Started by umar4911, Dec 02, 2017, 06:43 AM

Previous topic - Next topic

!

#15
Quote from: kennedyarz on Dec 03, 2017, 08:19 PMGarbage
At least he has done something not like being a n*** and asking everyone to make something for him don't forget we all were newbie in past. >:(

Just look at your post while newbie

Quote from: kennedyarz on Mar 19, 2016, 01:11 AMnot hear but every time I ask for help always get a negative response departe scripters I would like to at least give me the registration function for my server because it makes me much needed, this time I would like that was not as usual
;D

Discord: zeus#5155

umar4911

#16
Quote from: KuRiMi on Dec 03, 2017, 05:06 PMNice idea, however I prefer to add up the kills/deaths on the class & save the class in the database once the player leaves. FYI, "Installion" is spelled wrong in which it's spelled "Installation". :3 Your welcome.
I thought of adding class. Now I will modify as I reach my pc and thank you for telling me :P

Edit: Fixed
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

kennedyarz

Quote from: ! on Dec 03, 2017, 09:14 PM
Quote from: kennedyarz on Dec 03, 2017, 08:19 PMGarbage
At least he has done something not like being a n*** and asking everyone to make something for him don't forget we all were newbie in past. >:(

Just look at your post while newbie

Quote from: kennedyarz on Mar 19, 2016, 01:11 AMnot hear but every time I ask for help always get a negative response departe scripters I would like to at least give me the registration function for my server because it makes me much needed, this time I would like that was not as usual
;D


You're right, but I say it because it does not work for me since I do not work with those scripts

Mohamed Boubekri

| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

!

Quote from: kennedyarz on Dec 04, 2017, 01:11 PMYou're right, but I say it because it does not work for me since I do not work with those scripts
Yep just checked the snippet and found a bug in resetstats :)
stats[player.ID].kills = 0;
stats[player.ID].deaths = 0;
stats[player.ID].headshots = 0;
stats[player.ID].rank = 1;
@umar4911 change it to
stats[plr.ID].kills = 0;
stats[plr.ID].deaths = 0;
stats[plr.ID].headshots = 0;
stats[plr.ID].rank = 1;

Discord: zeus#5155

umar4911

Quote from: ! on Dec 06, 2017, 10:58 AM
Quote from: kennedyarz on Dec 04, 2017, 01:11 PMYou're right, but I say it because it does not work for me since I do not work with those scripts
Yep just checked the snippet and found a bug in resetstats :)
stats[player.ID].kills = 0;
stats[player.ID].deaths = 0;
stats[player.ID].headshots = 0;
stats[player.ID].rank = 1;
@umar4911 change it to
stats[plr.ID].kills = 0;
stats[plr.ID].deaths = 0;
stats[plr.ID].headshots = 0;
stats[plr.ID].rank = 1;
I forgot to change to plr. Thank you.
Updated

P.S: kennedyarz replied before changing it to class
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

Bninin...


Xenon

Quote from: Bninin.. on Dec 09, 2017, 02:46 PMPLZ HOW TO DOWNLOAD ???
Copy and paste code to text file? Jesus, too many idiots have recently registered in this forum...

=RK=MarineForce

#23
why commmands not work for me i am doing this in anik register systeam

i am using this  plugins  : ini04rel32 squirrel04rel32 xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 sqlite04rel32 mysql04rel32

umar4911

Quote from: =RK=MarineForce on Dec 18, 2017, 09:18 PMwhy commmands not work for me i am doing this in anik register systeam

i am using this  plugins  : ini04rel32 squirrel04rel32 xmlconf04rel32 announce04rel32 sockets04rel32 hashing04rel32 sqlite04rel32 mysql04rel32
Must be problem in copy pasting. See the playerclass as it already exists in anik registration system. See the function
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

=RK=MarineForce

all function nice works

i will send you script on pm you save him cmds okay

=RK=MarineForce

have problem

if i am do /stats

its show only [#FF0000] Your Stats:

umar4911

Quote from: =RK=MarineForce on Dec 19, 2017, 05:39 PMhave problem

if i am do /stats

its show only [#FF0000] Your Stats:
What is the error and what is the code of stats cmd which you are using
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

Mohamed Boubekri

Not Working For Me.
I Just Create one Line, And is all UPDATED and Sample Not a DataBase.
But Thanks For Your help :P
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].