SA-MP Forums Archive
[FilterScript] [FS] rRace v0.2a ~ RyDeR`s Race System [26/04/2010] [v0.2a] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] rRace v0.2a ~ RyDeR`s Race System [26/04/2010] [v0.2a] (/showthread.php?tid=143764)

Pages: 1 2 3 4


[FS] rRace v0.2a ~ RyDeR`s Race System [26/04/2010] [v0.2a] - RyDeR` - 24.04.2010

Info
v0.2av0.1a Features
Added/Fixed in v0.2a - /startautorace: This will enable that the script starts automaticly a race after the previous one is done!
- /stopautorace: This will disable the process above.
- /exitrace: To exit the race safely.
pawn Код:
/*
    Release:
        » Race System Filterscript

    Author:
        » » RyDeR «
       
    Last Update:
        » 26/04/2010
       
    ChangeLog:
        » v0.1a:
                - Initial release
               
            » v0.2a:
              - Major Bugs fixed!
              - Racing in other worlds added (enable/disbable with uncomment/comment-ing the define)
              - New Commands added:
                        - /startautorace: You can enable that the script starts automaticly a race after the previous one is done.
                        - /stopautorace: You can disable the command above.
                        - /exitrace: To exit the race safely
                - Best Race Times added (Top 5 best time laps; You will see a message when the record is broken).
                - Crash while creating a race is fixed.
                - Etc..
               
    Bugs:
        » No bugs
       
    Version:
            » v0.2a

    Functions:
            » IsPlayerInRace(playerid);  >> UseFull in stunt servers to disable speedhack, nitro etc. while racing.

    Credits:
            » Joker: He knows why ;)
            » Joe Torran C, ModrLicC: For testing.
            » DracoBlue: 'Dini' include.
        » ******: 'IsOdd' function.
        » Seif_: 'function' function.
        » ZeeX: 'zcmd' include.
            » Switch: InRace Position function.
*/
+ Features from v0.1a - Name
- How much checkpoints to go
- Race Time (How much time left before race ending)
- Race Position (e.g. like 1 / 10 st. This means you are first between those 10 racers)

- /startrace [racename] ~ By using this command you can start a race you have created. (e.g. /startrace FagRace)
- /stoprace ~ To stop to the race that's currently busy.
- /joinrace ~ This command is for the players. If they write it they will join the race.
- /buildrace ~ With this command you can build a new race. It's easy in just 4 steps with dialogs.

- IsPlayerInRace(playerid); >> This function can be usefull in servers where are nitro cmd's or speedhack keys etc. To disable them while racing How can I build a race?
Well it's not difficult. It's easy and fast.
1) Type: /buildrace (you must be a rcon admin) and a dialog will appear which asks you what kinda race it is. (Air Race, or a normal race) and Click next.
2) A dialog will appear which asks you to give the name of the race. Click next to continue.
3) A dialog will appear which ask you the name/id of the vehicle that's going to be used while racing. (e.g. Tourismo, or 451)
4) You're almost done now. If you click OK you are free. And you have to take 2 positions where the racers should stand. (Left side of the road and right side). With Key Fire you can set the positions.
5) After this there will appear automaticly another dialogs which asks you to set the checkpoints. Press OK and use Key_Fire to set the checkpoints. Press ENTER when you're done.
6) A dialog will appear which tells you that the race is created. All you have to do is /startrace 'RaceNameYouCreatedHere'.


VERY IMPORTANT FOR UPDATING TO 0.2a:
Quote:
Originally Posted by README
************************************************** ***********
- Delete the old version of the script or replace it.
- Use the new rRaceSystem directory in scriptfiles because there's a new file added.
************************************************** ***********
************************************************** ***********
NOTE: If you created races you have to add at the end of them (under TotalCP), otherwise it will bug and you can't break a record.: >>
BestRacerTime_0=0
BestRacer_0=noone
BestRacerTime_1=0
BestRacer_1=noone
BestRacerTime_2=0
BestRacer_2=noone
BestRacerTime_3=0
BestRacer_3=noone
BestRacerTime_4=0
BestRacer_4=noone
BestRacerTime_4=0
************************************************** ***********
NOTE2: Also if you have created races again you have to update RaceNames in scriptfiles/rRaceSystem/RaceNames:
Currently you will see this: >>

TotalRaces=4
Race_0=FagRace
Race_1=LVAirRace
Race_2=BMX
Race_3=NRG

If you created for example a race named "mountainrace"
You should +1 and write the name near it the value of race and change TotalRaces to 5 (Count!!). Like: >>

TotalRaces=5
Race_0=FagRace
Race_1=LVAirRace
Race_2=BMX
Race_3=NRG
Race_4=mountainrace

If you create a race from now on it will automaticly change RaceNames.txt; it's only for the races you created before and will add also the best racer times; so don't worry.
************************************************** ***********

And for the rest Enjoy


RyDeR
Some pictures + Info
v0.2a

Here I broke a new record (my own record lol xD)


Waiting till "NRG" starts.


Taking those CP's

+ Pictures from v0.1a (almost same in sight)
Air Race: >> (This is LVAirRace btw.)

Here I'm waiting till the race starts.


The race started, I'm going to take those checkpoints.


Same..

Normal Race: >> (This is FagRace btw.)

Here I'm waiting till race starts.


The race started, I'm going to take those checkpoints


I'm near the finish..


I'm 'first' place.
In 2 minutes 10 seconds and 623 ms.
I won $11870 and + 10 score.

Download

// v0.2a:
>> Mirror: SolidFiles || Version: v0.2a - RECOMMENDED! || Uploaded by me

Quote:
Originally Posted by XRVX
Mirrors for v0.2a
// Deleted. Reason: Changed something in download link.
XRVX: You don't have to reupload anymore, I think MultiUpload is more of enough but thanks =)
// v0.1a: OLD
>> Mirror: SolidFiles || Version: v0.1a - Not Recommended! Old ..|| Uploaded by me

Mirror's
Not anymore please ..

Suggestions?
If you have any suggestions/ideas I can add to this to upgrade; please tell me.

Bugs
There were bugs in v0.1a, but I think they're fixed now (in v0.2a).

Specially thanks to:
- ♣ Joker ♠ - He knows why
- Joe Torran C and Modrlicc - For testing
- DracoBlue - For his 'dini' include. (Included in the download packet)
- ****** - 'IsOdd' function.
- Seif_ - For his 'function' macros.
- ZeeX - For his 'ZCMD' include. (you can find here http://forum.sa-mp.com/index.php?topic=116240.0)
- switch - In Race Position function from his GM.

Importane Note:
If you got those errors below you have to use the dini in the download packet.
Код:
C:\---\---\---\filterscripts\rRace.pwn(39) : error 017: undefined symbol "ret_memcpy"
C:\---\---\---\filterscripts\rRace.pwn(525) : error 017: undefined symbol "isNumeric"
Pawn compiler 3.2.3664      Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Have fun


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - rbN. - 24.04.2010

You automaticly start on the starting point, right?
Gonna use this I think ,

EDIT:
Maybe for next update auto start race every 15 min or something? Should be much easier, if you wanna race but no admin = on.

O what I really like is that you need to wait 3 sec on the end . Like, then you think. Lets go fast, I gonna win, and then you need to wait 3 sec on it and then you fall off a cliff XD.

Hm.. Epic =D>_<


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - [03]Garsino - 24.04.2010

Nice work


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - RyDeR` - 24.04.2010

Quote:
Originally Posted by RobinOwnz
You automaticly start on the starting point, right?
Gonna use this I think ,

EDIT:
Maybe for next update auto start race every 15 min or something? Should be much easier, if you wanna race but no admin = on.

O what I really like is that you need to wait 3 sec on the end . Like, then you think. Lets go fast, I gonna win, and then you need to wait 3 sec on it and then you fall off a cliff XD.

Hm.. Epic =D>_<
Yeah, it gives eveyone automaticly a place nice on the road.
And thanks nice idea; I write it in notepad.

Quote:
Originally Posted by [03
Garsino ]
Nice work
Thanks =)


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - Hip-hop - 24.04.2010

Good Work !


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - Karlip - 24.04.2010

Hot FS, i might even use this.


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - RyDeR` - 24.04.2010

Quote:
Originally Posted by Karlip
Hot FS, i might even use this.
Hahaha do you mean that 'skin' on the pic is hot ?
joke, thanks
_________________________________________________
Quote:
Originally Posted by Hip-hop
Good Work !
Thanks man =)


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - [Mr]Fred - 24.04.2010

Cool, GOOD WORK!


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - Modrlicc - 24.04.2010

It's Testing*

And Well done Bro.


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - Ibanez - 24.04.2010

Epic, great work once again


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - RoamPT - 24.04.2010

Damn you Ryder, stop making such awesomes scripts(jkg) :P

Awesome work as always, uhh gonna use this btw :P


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - [Mr]Wallace - 24.04.2010

File scanned No virus Founded

http://www.virustotal.com/fr/analisi...4ee-1272115028

#include <zcmd> ==> 1 Error In Total


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - shady91 - 24.04.2010

Quote:
Originally Posted by [Mr
Wallace ]
File scanned No virus Founded

http://www.virustotal.com/fr/analisi...4ee-1272115028

#include <zcmd> ==> 1 Error In Total
Why would there be a virus in this?

» RyDeR « Great work this is just another peace of great work you've made.


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - Zh3r0 - 24.04.2010

Quote:
Originally Posted by [Mr
Wallace ]
File scanned No virus Founded

http://www.virustotal.com/fr/analisi...4ee-1272115028

#include <zcmd> ==> 1 Error In Total
Ur an idiot >.<....

Just, amazing, good job Ryder, keep em cooming, and i mean it!!!
Gj!


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - RyDeR` - 24.04.2010

Quote:
Originally Posted by [Mr
Wallace ]
File scanned No virus Founded

http://www.virustotal.com/fr/analisi...4ee-1272115028

#include <zcmd> ==> 1 Error In Total
lol, it's just a filterscript.. Why shall I put a virus on it? Stupid.. -_-'
_________________________________________________
Quote:
Originally Posted by Modrlicc
It's Testing*

And Well done Bro.
Thanks. Changed.

Quote:
Originally Posted by [SU
Ricky ]
Cool, GOOD WORK!
Quote:
Originally Posted by RoamPT
Damn you Ryder, stop making such awesomes scripts(jkg) :P

Awesome work as always, uhh gonna use this btw :P
Quote:
Originally Posted by Geo_
Epic, great work once again
Quote:
Originally Posted by Shady91
Why would there be a virus in this?

» RyDeR « Great work this is just another peace of great work you've made.
Quote:
Originally Posted by PlayON
Ur an idiot >.<....

Just, amazing, good job Ryder, keep em cooming, and i mean it!!!
Gj!
Thanks guys Glad to hear it at all.


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - XRVX - 24.04.2010

again amazing job ryder, well done
keep it up

Here some mirros
Megaupload
Hotfile
Depositfiles
Easy-Share




Re: [FS] rRace v0.1a ~ RyDeR`s Race System - RyDeR` - 24.04.2010

Quote:
Originally Posted by XRVX
again amazing job ryder, well done
keep it up

Here some mirros
Megaupload
Hotfile
Depositfiles
Easy-Share

Thanks.
And thanks for the mirrors but I already had them
Check the second download link.

Edit: Except of EasyShare. I will add it


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - XRVX - 24.04.2010

here some more u dont have

Missupload
Mijnbestand
Turboupload
Filefactory
Sendspace


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - RyDeR` - 24.04.2010

Quote:
Originally Posted by XRVX
Thanks, I think those links will keep alive for years!


Re: [FS] rRace v0.1a ~ RyDeR`s Race System - RenisiL - 24.04.2010

Nice, Race System