EventScripts Forums
Mattie's EventScripts and Source Forums
Mattie recommends...
Premier Sponsor:Platinum Sponsor:
 
Script Categories
addon (49) admin (269) admins (14) advert (15) adverts (19) afk (15) alerts (12) ammo (23) anti (15) auth (16) automatic (12) awp (23) ban (18) ba_jail (17) bhop (19) block (19) bomb (40) bonus (23) bot (24) bot-management (19) bots (17) bunnyhop (11) Buy (21) cash (65) chat (57) cheat (11) clan (16) classes (22) color (21) colors (18) command (20) commands (18) config (22) connect (42) CS:S (16) css (2498) Damage (35) database (11) dead (15) death (19) deathmatch (70) deathrun (12) disconnect (18) Dissolve (11) dm (20) dod:s (11) dods (386) easy (17) effects (120) English (15) entity (21) es_tools (12) Eventscript (12) flashbang (25) français (99) french (36) fun (286) funny (16) Gabeee (11) gameplay (174) give (16) gravity (11) grenade (25) grenades (29) gun (14) GunGame (26) GunGame5 (11) guns (17) Hack (15) headshot (32) health (54) hegrenade (13) hl2dm (329) HP (13) info (48) information (16) jail (26) jailbreak (11) join (23) jump (12) kick (23) kill (44) kills (22) knife (57) leveling (36) management (14) mani (15) map (25) map-management (27) maps (15) match (17) menu (106) message (20) messaging (52) mod (109) model (14) models (32) money (42) motd (12) music (29) mute (18) nades (18) name (13) noblock (35) player (40) player-management (31) player-tracking (28) popup (55) props (23) protection (27) punishment (50) python (63) quake (18) radio (21) random (36) rank (35) rates (16) rcon (13) realism (21) respawn (61) restrict (36) round (20) rpg (24) rules (42) say (11) scout (19) Script (20) script-helper (25) scriptpack (33) sdk (149) server (44) server-tools (42) shop (12) silly (31) simple (27) skins (24) slay (13) soccer (11) sound (45) sounds (92) spawn (62) speed (25) statistics (13) stats (48) STEAMID (23) Superhero (13) surf (31) Team (25) team-balance (14) teleport (11) text (14) TF2 (143) time (17) timer (14) tools (15) tracers (17) triggers (11) uedi (18) uses_auth (18) utility (11) vip (11) vote (36) voting (22) war (20) wcs (24) wcs:Python (32) weapon (77) weapons (114) web (14) welcome (12) zm (24) zombie (90) zombiemod (51) zombies (11)
Script Authors
*XYZ*SaYnt (12) .:MiB:. (11) .eMko* (6) 101satoon101 (10) 3R10N (24) 4u571n91 (5) 7355608 (9) Absolute (8) Ace Rimmer (40) adminc (5) Adz (8) AgathaKnuppelkuh (8) aidden (8) ajax (5) ak_47 (6) Al3c Tr3v3lyan (6) allstareng (5) ashbash1987 (9) ATAMAH (7) aznone (5) B00M (5) BackRaw (41) BFH_RedBull (8) bigfabi (7) Bioko (7) Blade (10) bladesback (13) bobdole (11) bodzsar1 (8) bonbon (36) Brainsucker (30) cagemonkey (8) carbon-14 (10) CaskioUTF (5) cbirou (15) ChaCaLz2psy4 (5) CharlesT (5) Chrisber (5) chrismrulz (9) Chun (6) cladiron (10) clipz934 (8) Colster (21) Cookieman8 (7) craziest (10) DanielB (19) Darkness123 (8) Dave (9) dbozan99 (7) deathx9 (5) Deathyy (15) dhack (16) Di[M]aN (12) DoCky (27) Don (15) dordtcore (8) DragonFreddo (8) Drassil (5) Einlanzers (42) EmbouT (10) emilplov (7) Errant (10) Eun (6) Fantole (9) Franc1sco (9) freddukes (18) Frequency (6) Fulmine (5) GAMEREN2 (8) german9114 (13) GODJonez (38) GoodfellaDeal (5) Hansi (6) HitThePipe (7) HOLLDIDAY (9) Icetouch (6) ichthys (25) infamous1 (9) Jeff91 (45) JoeyT2006 (30) Juba_PornBorn (12) jxl180 (10) KDBFame (6) L'In20Cible (7) Largo Usagi (10) Lobe (11) loKkdoKk (7) lolo-le-haricot (7) LosNir (5) Lumpi@Work (9) M4rc3L-XCN (7) macshot (6) Matth (5) Mattie (20) MBchrono (15) McFly (20) Medda (5) Memphis-84 (10) Messiah93 (12) Mickyy (5) micmacx (6) Mitchell (5) Mordavolt (7) MrScriptaz (5) mryoung (6) Nicolous (26) ojii (31) Omega_K2 (6) Owned|Myself (8) P3N (7) pand3mic (5) parsimba (5) Pascal257 (9) PatPeter (7) PDrop (10) Phaedrus (18) PhantOm Fury (7) phoenix131 (8) pinkyyy -.- (5) pitbull0993 (7) randomknifer (9) Ratzee (6) ReaCtioN2oo9 (6) Rennnyyy (17) revolutionfighters (6) RideGuy (12) Rio (9) Roeliekt (6) runamagic (13) sandking220 (6) Sarcasm_Poisoning (10) saRs| Johnny-5 (13) Schubaal (10) sea212 (5) sega74rus (7) sgt.angel (6) sicilia (5) sicman_adrian (22) skillz92 (7) sn4k3 (18) snake38 (10) sonicsight (7) spoonman184 (8) stabby (22) stas (22) Strontium Dog (30) SumGuy14 (25) SuperDave (45) surfteam (5) TaCo (5) TanaToS (17) Tealk (6) teowow (16) TheCheeTaH (20) TheDonFather (5) theresthatguy (6) Tiny Tod (7) Totyahun (9) uedi (38) Undead (25) usernamesaretaken (15) Warren (13) westham (6) WhiteAvenger (7) Wonder (14) X-Mania (5) XE_ManUp (13) xfalcon61 (5) zSweetXz (5) [Cs]Lord_Inferno2 (11) [NATO]Hunter (28) ||Wolf|| (10)
Search

Post new topic Reply to topic
Go to page 1, 2, 3  Next
Author Message
User avatar
Newbie
Profile

Posts: 44
 
New postPosted: 2008-09-25, 12:10 am 
   Post subject: c-Stats (Free Ranking System)

Some of you tried my older version 'menz.Stats', but unfortionatly that addon had so terrible much unexpected bugs that I started over from scratch.

I'm keeping this in beta state for now, so if you find any bugs, please post them here.

I'll keep this post updated with newest bugs / fixes.


http://addons.eventscripts.com/addons/view/cstats

_________________
I'r menz.Bean =]





User avatar
Power User
Profile

Posts: 691
 
New postPosted: 2008-09-25, 12:30 am 

Looks cool

_________________
http://Fire-Friendly.com


User avatar
Guru
Guru
Profile

Posts: 1791
 
New postPosted: 2008-09-25, 4:35 am 

Why you removed the lost point when a player is killed?

Could you make a language which would translate your script in several languages

_________________
Image
Image


User avatar
Newbie
Profile

Posts: 44
 
New postPosted: 2008-09-25, 10:45 am 

Quote:
Why you removed the lost point when a player is killed?


I didn't remove it. I just removed the message.
Actually, the player losing points for being killed is more accurate now.

Example:
If your rank is 4
and your enemy's rank is 40 and he kills you, he'll actually gain lots of points for your kill, and you'll lose more for being killed by someone having a longer rank than you.

This way, once you're in the top ranks, its harder to stay in it if the server is nicely populated.

About the language:

I could make something for this I think... I'll try to experiment a bit with external files to define language strings.


Could you give me some feedback about the addon as it is right now?
I'd like to know if it works now on a clean server without giving errors.
Before I'm continuing any further, I really want to know how this thing runs on other servers.

Thanks in advance ;3


~ menz.Bean

_________________
I'r menz.Bean =]


User avatar
Guru
Guru
Profile

Posts: 1791
 
New postPosted: 2008-09-25, 12:16 pm 

Tomorrow I will test the new version.

_________________
Image
Image


User avatar
Experienced
Profile

Posts: 446
Location:
Yes.
 
New postPosted: 2008-09-25, 2:11 pm 

A Few things:

1. This module needs to be threaded. If the mysql database goes away while the module is running (this does happen), then the server will freeze.

2. Something that would be really nice would be if the tables were easily changeable. With the way you have it set up now, the tables are set and cannot be changed, even if data is already in the db.

3. You are missing some causes of deaths. If a player gets killed by an exploding barrel, the kill would not go to the right player. IE: player A shoots a barrel next to B , B dies, player A gets nothing.

_________________
Image


User avatar
Newbie
Profile

Posts: 44
 
New postPosted: 2008-09-25, 2:43 pm 

Ew...Good point lol... Didn't think of that =x
I'm litterally still a noob at python, so don't expect that much of it lol.

How would you make something a running thread with python? :o

_________________
I'r menz.Bean =]


User avatar
Experienced
Profile

Posts: 446
Location:
Yes.
 
New postPosted: 2008-09-25, 2:55 pm 

You can start a new thread: use

thread.start_new_thread(function, args )

where function is the name of the function, and args is a tuple of arguments to pass your function.

_________________
Image


User avatar
Guru
Guru
Profile

Posts: 1791
 
New postPosted: 2008-09-25, 3:01 pm 

place, rank, statsme, session, kpd works.



A language module would be highly appreciated to bring any words.

_________________
Image
Image


User avatar
Newbie
Profile

Posts: 44
 
New postPosted: 2008-09-25, 3:09 pm 

adminc wrote:
You can start a new thread: use

thread.start_new_thread(function, args )

where function is the name of the function, and args is a tuple of arguments to pass your function.


Mhmm... So that starts a thread, but... How would you apply that in an addon like this? I mean, when the player_death event is triggered, it doesn't first save the values or anything, so..What's the point of using threads in something like this, and if it really is that useful, how would you implent it?

Nothing is "repeatable" in this addon, so no loops or anything, just the events, how would you make a thread of something like this?

Maybe I've got the whole idea of threads wrong here, I don't know. The only threading processes I know is how to make / use them in C++ and C#. So... Maybe I'm missing the point? =o


As for the languages, I'll make a note of it and put it in the next version release.
Oh, btw Eric...Compared to the menz.Stats thingy, I've also implented a "next" feature here. Thought it might come in handy for some players ;)

_________________
I'r menz.Bean =]


User avatar
Guru
Guru
Profile

Posts: 1791
 
New postPosted: 2008-09-25, 6:15 pm 

If the web server is offline, the script automatically turns off

That's perfect! :wink:

_________________
Image
Image


User avatar
Newbie
Profile

Posts: 44
 
New postPosted: 2008-09-26, 3:19 am 

@adminc: It's actually a requirement to run the mysql server on the same computer as where the dedicated server runs, so downtime for the mysql db is really rare.

_________________
I'r menz.Bean =]


User avatar
Guru
Guru
Profile

Posts: 1791
 
New postPosted: 2008-09-26, 8:03 am 

There is a bug when the player connects, his rank is not shown but the yes

_________________
Image
Image


User avatar
Newbie
Profile

Posts: 44
 
New postPosted: 2008-09-26, 8:21 am 

...but the yes what?

When a player connects, and his data isn't stored in the database yet, his rank will show up as a stroke ( - ). Nothing wrong with that.

_________________
I'r menz.Bean =]


User avatar
Guru
Guru
Profile

Posts: 1791
 
New postPosted: 2008-09-26, 9:00 am 

ok

_________________
Image
Image


User avatar
New User
Profile

Posts: 1
 
New postPosted: 2008-09-26, 9:50 am 

Code:
Can't load addon (cstats): /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4' not found (required by /home/gameserver/css/cstrike/addons/eventscripts/_engines/python/Lib/site-packages/_mysql.so)


What's wrong? :cry:


User avatar
Newbie
Profile

Posts: 44
 
New postPosted: 2008-09-26, 8:27 pm 

It seems like you need to manually install the python mysqldb library. Looks like you're running your server under Linux... Unfortionatly, I dont know anything about linux, so I'm afraid I can't really help you there... =x

Try to find the Python MySQLdb library for linux on google. It shouldn't be that hard to find.

_________________
I'r menz.Bean =]


User avatar
Guru
Guru
Profile

Posts: 1791
 
New postPosted: 2008-09-27, 4:13 am 

You have a version of Glib who is too old. S you're running Debian, you will pass under the Lenny ...

_________________
Image
Image


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group