Author Topic: Winning Streak Script  (Read 5905 times)

0 Members and 2 Guests are viewing this topic.

Offline Demiveil

  • Administrator
  • Nub
  • *****
  • Posts: 257
  • Yay or Nay +7/-2
    • View Profile
    • Speed is King
Winning Streak Script
« 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.


Offline Full_Metal

  • OM
  • [SiK] Member
  • Semi-Pro
  • ***
  • Posts: 819
  • Yay or Nay +9/-1
  • Awesome One
    • View Profile
Re: Winning Streak Script
« Reply #1 on: November 06, 2009, 09:54:23 PM »
fucking sweet as, thats going to rock

From the mutilated burnt carcass of PHS, SiK arose from the ashes to conquer, destroy and decimate any opposing opposition that came in it's way.
This reign of terror has lasted for 10 glorious years.
And will continue to do so for many more.

Offline DemonSeed

  • Facts don't care about your feelings.
  • Administrator
  • A God
  • *****
  • Posts: 2285
  • Yay or Nay +4382/-4074
  • Don't try to force your PC dick down my throat.
    • View Profile
    • Speed is King
Re: Winning Streak Script
« Reply #2 on: November 06, 2009, 09:59:45 PM »
nice work man :)
Created by 1thwonder

MaD-MaX

  • Guest
Re: Winning Streak Script
« Reply #3 on: November 06, 2009, 11:22:25 PM »
Nice job Demi. I saw that script  born. :) 

Offline mezcaline

  • Nooblit
  • *
  • Posts: 27
  • Yay or Nay +0/-0
    • View Profile
Re: Winning Streak Script
« Reply #4 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.

Offline Demiveil

  • Administrator
  • Nub
  • *****
  • Posts: 257
  • Yay or Nay +7/-2
    • View Profile
    • Speed is King
Re: Winning Streak Script
« Reply #5 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.

Offline PacMaan

  • [MgC] Member
  • Nooblit
  • *
  • Posts: 117
  • Yay or Nay +14/-0
  • /o\
    • View Profile
Re: Winning Streak Script
« Reply #6 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

Offline Demiveil

  • Administrator
  • Nub
  • *****
  • Posts: 257
  • Yay or Nay +7/-2
    • View Profile
    • Speed is King
Re: Winning Streak Script
« Reply #7 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.
« Last Edit: November 07, 2009, 06:46:31 AM by Demiveil »

Offline asablic

  • Nub
  • **
  • Posts: 328
  • Yay or Nay +3/-0
    • View Profile
Re: Winning Streak Script
« Reply #8 on: November 07, 2009, 07:07:25 AM »
Nice job, i am going to test it :)

DOOMSGOD

  • Guest
Re: Winning Streak Script
« Reply #9 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

Offline PacMaan

  • [MgC] Member
  • Nooblit
  • *
  • Posts: 117
  • Yay or Nay +14/-0
  • /o\
    • View Profile
Re: Winning Streak Script
« Reply #10 on: November 07, 2009, 07:56:21 AM »
Like this?


Offline TD Mystic

  • [SKC] Member
  • Nooblit
  • *
  • Posts: 79
  • Yay or Nay +6/-2
  • Don't worry, Be Happy
    • View Profile
Re: Winning Streak Script
« Reply #11 on: November 07, 2009, 08:01:31 AM »
hmm... where do I recognize this idea from? :P

Offline DemonSeed

  • Facts don't care about your feelings.
  • Administrator
  • A God
  • *****
  • Posts: 2285
  • Yay or Nay +4382/-4074
  • Don't try to force your PC dick down my throat.
    • View Profile
    • Speed is King
Re: Winning Streak Script
« Reply #12 on: November 07, 2009, 08:08:09 AM »
oh please, you guys haven't copyrighted this.
Created by 1thwonder

Offline TD Mystic

  • [SKC] Member
  • Nooblit
  • *
  • Posts: 79
  • Yay or Nay +6/-2
  • Don't worry, Be Happy
    • View Profile
Re: Winning Streak Script
« Reply #13 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

Offline PacMaan

  • [MgC] Member
  • Nooblit
  • *
  • Posts: 117
  • Yay or Nay +14/-0
  • /o\
    • View Profile
Re: Winning Streak Script
« Reply #14 on: November 07, 2009, 02:14:32 PM »
...or some REAL CASH PRIZES.... 


Nah thats a lame idea aint it ;D