SiK Speed is King

Multi Theft Auto => Multi Theft Auto Discussion => Topic started by: Demiveil on November 06, 2009, 09:00:20 PM

Title: Winning Streak Script
Post by: Demiveil on November 06, 2009, 09:00:20 PM
Well it took me a lot longer than I intended but I finally got it working.

The server now has a winning streak script installed.
The idea is simple and I'm sure you all know it, but basically it counts the number of wins in a row of a racer and outputs it to the chatbox whenever that racer increases their streak.
Additionally it keeps track of the best ever streak, and will output when this best streak is beaten.

Also you can use /streak to view the current best streak.

Took me fricken ages to make but I believe it works now. Let me know if you notice any issues.

Title: Re: Winning Streak Script
Post by: Full_Metal on November 06, 2009, 09:54:23 PM
fucking sweet as, thats going to rock
Title: Re: Winning Streak Script
Post by: DemonSeed on November 06, 2009, 09:59:45 PM
nice work man :)
Title: Re: Winning Streak Script
Post by: MaD-MaX on November 06, 2009, 11:22:25 PM
Nice job Demi. I saw that script  born. :) 
Title: Re: Winning Streak Script
Post by: mezcaline on November 07, 2009, 02:35:53 AM
What if player is playing on server alone or with weak opponents and just getting wins in a row so easy? Thats not fair i think.
Title: Re: Winning Streak Script
Post by: Demiveil on November 07, 2009, 04:40:01 AM
Well at the moment its a temporary storage anyway so its more just for fun.....

But what I could do is determine a score based on the number of players in each race, and the streak with the highest sum of these points is regarded the top streak.
I could just make it so each player is equal to a point.
So say on race one there were 14 racers, thats 14 points. next race there was 8 players, so a total of 22 points, then gets beaten.
At that stage could say the best streak is 2, beating a total of 20 racers along the way.
A better streak would be one race with 24 people in it, or two races with 12 people in them etc etc.
Title: Re: Winning Streak Script
Post by: PacMaan on November 07, 2009, 04:42:53 AM
Damn i thought this was gonna let me jump out the car and run across the track naked  :o

Good job Demi  ;D
Title: Re: Winning Streak Script
Post by: Demiveil on November 07, 2009, 05:11:40 AM
I know this is an R18 game...but no one wants to see that PacMaan

Post Merge: November 07, 2009, 06:46:31 AM
Ok implemented the system I mentioned two posts a go.

Seems to work just fine, but let me know  :)

I'll probably tweak the messages a little bit when I get up.
Title: Re: Winning Streak Script
Post by: asablic on November 07, 2009, 07:07:25 AM
Nice job, i am going to test it :)
Title: Re: Winning Streak Script
Post by: DOOMSGOD on November 07, 2009, 07:31:22 AM
i wanna see pacman streak naked gives me a new hit and run target   ^-^ waka waka anyways great script i tried it out eariler :) thank yoouuu
Title: Re: Winning Streak Script
Post by: PacMaan on November 07, 2009, 07:56:21 AM
Like this?

Title: Re: Winning Streak Script
Post by: TD Mystic on November 07, 2009, 08:01:31 AM
hmm... where do I recognize this idea from? :P
Title: Re: Winning Streak Script
Post by: DemonSeed on November 07, 2009, 08:08:09 AM
oh please, you guys haven't copyrighted this.
Title: Re: Winning Streak Script
Post by: TD Mystic on November 07, 2009, 08:34:28 AM
what? lol
just a random thought in my head, nothing more xD

btw, since SiK still is the most popular race server, how about some stats? :) I know of some dudes who would really appreciate that :D
Title: Re: Winning Streak Script
Post by: PacMaan on November 07, 2009, 02:14:32 PM
...or some REAL CASH PRIZES.... 


Nah thats a lame idea aint it ;D
Title: Re: Winning Streak Script
Post by: TD Mystic on November 07, 2009, 02:27:04 PM
haha, 0-1 lol

't was an idea from hitman, the dude wanted to give 10 pounts to the winner, why the hell would we say no to that? :P
If it worked: lavly
If it didn't: not our money  :D

Gotta say though, was a crazy month, lots of nice racing and competing for the win, it certainly didn't hurt the general activity of the server :)
Title: Re: Winning Streak Script
Post by: Demiveil on November 07, 2009, 04:27:22 PM
hahahaha yes cause a winning streak system is not at all popular in any kind of game....only an SKC genius could come up with that kind of idea and anyone else that uses it clearly copied them...

And I'm no good enough at scripting to make a stats system yet. Have no idea how to create and access a database which is really the best system.
Title: Re: Winning Streak Script
Post by: mrselfdestruct on November 08, 2009, 08:02:32 AM
Can't you borrow one from somewhere??? hmmmmmm.....
Title: Re: Winning Streak Script
Post by: PacMaan on November 08, 2009, 09:04:44 AM
Doesn't Scooby do scripts for the new version? I havent spoke to him for a long time  :-[
Title: Re: Winning Streak Script
Post by: Blacky on November 12, 2009, 04:32:27 PM
why the wining streak is not working now?
Title: Re: Winning Streak Script
Post by: DemonSeed on November 12, 2009, 06:38:17 PM
I think demi did something to it.
Title: Re: Winning Streak Script
Post by: mezcaline on November 30, 2009, 03:20:55 PM
some people spam chat with this script, its annoying but we cant do anything
can u make limit or something?