Jump to content

SanZoR.Sr

Members
  • Posts

    115
  • Joined

  • Last visited

Everything posted by SanZoR.Sr

  1. Yes, that one is tested, and i use it in my server (DD & FUN) That script gives one more wins for some players. If not, thats coz MTA cannot found winner players nick. But if MTA found it, that works 100%. Tip: Some special letters are buggy ($/()<>& etc) And script wont give him one more wins. I try fix it, but i think problem is in MTA:MA. This is best DD script what is in multi theft auto forums, so search is just time wasting. So... This one works usually, thats all what i can say whit my bad eng, lol... - PXL And if you have DD & Racing server, that script is really buggy. It freezes and gives one more wins for some players, but if u just unfreeze him, and it doesnt freezes any1 anymore during that map. And in only DD server that is good script.
  2. Omg, that doesnt works in MTA:SA racing mod, and do you mean this: /* RaceList Updater v1.1 by lil_Toady Special thanks to [uVA]Scooby and Aeron (bastid) Updated by Aeron The script will be automaticly updating the races list untill it gets all the maps. If you still think it is missing maps do: !updateraces (admins level 2) If you want to put it into your script here are the aliases you'd want to know: mta.races.check - Checks for missing maps, if so it starts the updater (not accurate) mta.races.update - Starts the updater */ on *:SIGNAL:mta.command:{ if (!updaterace* iswm $3) { if ($mta.level($1,$2) > 1) { mta.text $1 Updating the race list. mta.races.update $1 } } } on *:SIGNAL:mta.racelist:{ mta.races.check $1 } alias mta.races.check { var %a = $ini($mta.dir $+ $1.ini,Races,$ini($mta.dir $+ $1.ini,Races,0)) if (%a > $ini($mta.dir $+ $1.ini,Races,0)) mta.races.update $1 } alias mta.races.update { mta.echo $1 * Racelist: Updating... !bset &b 1 109 0 $did(mta,$1 $+ 22) $mta.dex($did(mta,$1 $+ 12)) 124 $mta.dex(mta.races. $+ $rand(1000,9999)) 0 !sockudp -k mta.races.sock. $+ $1 $did(mta,$1 $+ 10) $did(mta,$1 $+ 11) &b !.timermta.races.timer. $+ $1 1 10 !sockclose mta.races.sock. $+ $1 } on *:udpread:mta.races.sock.*: { !sockread &a var %a = $right($sockname,-15),%b = $bvar(&a,3),%c = $bvar(&a,2) if (%c == 1) { mta.echo %a * Racelist: Updating failed. ( $+ $gettok(User:Incorrect password:Races updater already connected:Timed-out:To much connections:Banned:Name in use:Invalid Version,$calc(%b + 1),58) $+ ) if (%b == 5) mta.unban %a $ip elseif (%b == 1) mta.echo %a * Racelist: Updating stopped. else !.timermta.races.timer. $+ $1 1 15 mta.races.check %a !sockclose $sockname } elseif (%c == 2) { !bset &b 1 109 2 !sockudp -k $sockname $did(mta,%a $+ 10) $did(mta,%a $+ 11) &b } elseif (%c == 18) { if ($mta.server(%a).version == 2) { if (%b == 1) { %c = $calc($bvar(&a,5) * 256 + $bvar(&a,4)) if (!$readini($+($mta.dir,%a,.ini),Races,%c)) { if (!$didreg(mta,%a $+ 16,$didreg(mta,%a $+ 16,$bvar(&a,6,50).text))) !did -a mta %a $+ 16 $bvar(&a,6,50).text !writeini -n $+(",$mta.dir,%a,.ini") Races %c $bvar(&a,6,50).text !sockmark $sockname $calc($sock($sockname).mark + 1) } } elseif (%b == 2) { mta.echo %a * Racelist: Updated. ( $+ $iif($sock($sockname).mark,$v1,No) missing maps retrieved) !bset &b 1 109 1 !sockudp -k $sockname $did(mta,%a $+ 10) $did(mta,%a $+ 11) &b !sockclose $sockname !.timermta.races.timer. $+ %a off !.signal mta.racelist %a } } } } on *:SIGNAL:mta.disconnect:{ if ($sock(mta.races.sock. $+ $1)) { !bset &b 1 109 1 !sockudp -k mta.races.sock. $+ $1 $did(mta,%a $+ 10) $did(mta,%a $+ 11) &b !sockclose mta.races.sock. $+ $1 !.timermta.races.timer. $+ $1 off } } ???
  3. Okay. I wanna type this topic for ppl, who wanna starts their own MTA:SA server. There u can see system requirements and how fast internet u need for each players whit low ping and no lagg. But first system requirements: - Intel celeron or AMD athlon at least 1GHZ - 256 RAM/DDR/DDR2 (Recommended is 512MB DDR2) - Hard drive is good to be 40GB or more. - Good cooler. Well... I think thats all what matters... Okay, internet speeds: - 1-6 players = 512 kb/s Upload speed. (Recommended is 1 mb/s) - 6-10 players = 1 mb/s Upload speed. (Recommended is 2 mb/s) - 10-14 players = 2 mb/s Upload speed. (Recommended is 3 mb/s) - 14-18 players = 4 mb/s Upload speed. (Recommended is 5 mb/s) - 18-20 players = 5 mb/s Upload speed. (Recommended is 6 mb/s) - 20-25 players = 7mb/s Upload speed. (Recommended is 8-10 mb/s) - 25-32 players = 10mbit/s Upload speed. (Recommended is 10+ mb/s) Download speed is good to be 1 mb/s. I hope this 'catalogue' helps you whit your server! Tip: If you see somewhere speed like this: 24mb/1mb/s Upload speed is just 1mb/s. So first number doesnt matters almost anything, second number is important. So 10/10mb/s is good speed for large server. (Sorry my quite bad english, i hope u can read & understand this text!) - PXL
  4. Ps. This is in Ywa:s post, so read first other ppl posts, before you make own.
  5. This ine is tested, and should works fine. I use this one on my server. alias mta.end { if (%cplayers == 1) { var %a = 0 while (%a < $mta.server($1).cmax) { if (!$mta.dead($1,%a)) { mta.text $1 $mta.nick($1,%a) is winner, and gets 1 more point! mta.freeze $1 %a !writeini -n " $+ $scriptdir $+ stats.ini" WINS $mta.nick($1,%a) $gus.add($gus.wins($1,%a),1) !halt } !inc %a } } } on *:SIGNAL:mta.startrace: { set %cplayers $mta.server($1).players } on *:SIGNAL:mta.part: { if (!$mta.dead($1,$2) set %cplayers $calc(%cplayers - 1) mta.end $1 $2 } on *:SIGNAL:mta.death: { set %cplayers $calc(%cplayers - 1) mta.end $1 $2 } on *:SIGNAL:mta.connect: { set %cplayers 0 } This one add one more wins in wins list, no points. But whit lil fix u can get it workin whit points.
  6. Nice work, scooby! But i still support more Tommis's script... This script is hard to edit, if you dont know nothing about scripting... Tommis's script is also easy to edit, cause there are own place for everything... Admins are in own admins.ini file etc. But however, good job And... Who needs this?: General User Commands --------------------- Command !admin Shows Admins in the server !name Shows Current Map Name !seen Shows When selected player was last seen / How long Selected player has been in the server !stat Shows Selected players stats (Total races - finishes - raceratio - 1st/2nd/3rd places Total DM Maps played - Won - DM ratio - Top times held - Total points) !mapstat Shows Selected Players stats for current map - Times played - (Times finished if race/won if dm) - (Personal best time if race/ Ratio if DM)) !racestat Shows details on current race (mapname / times ran on server) !level Shows selected players admin level !mode Shows current map mode - Race Or Deathmatch !rank Shows selected players custom rank !ping Shows selected players ping & average !max Shows current maximum average ping allowed !points Shows selected players points earned !top Shows Top time for current map !best Shows selected players best time for current map !players Shows total players on a Race map / Players Left alive in a Deathmatch !total Shows total amount of maps uploaded !random Shows a Random race (Randomly set at the start of each new map) !toptimes Shows the amount of top times held by selected player !claim Reclaim the top time (eg: if your top time was lost due to a cheater, then deleted by an admin) !upload Shows URL (if set) where you can upload your maps !checkmap Lists Mapnames with selected wildcard - eg: !checkmap blast would list all maps with the word 'blast' in the mapname !rate Shows current map rating + What rating you gave it. Rates the map, if u specify 1 to 10 !top Shows top 3 of selected: 1st 2nd 3rd races finishes raceratio dmratio deathmatches dmwins points level lagger best !time / !date Shows Current Time/Date General Admin Commands ---------------------- Command !alias Shows selected aliases | !alias2 Shows selceted aliases from first 2 ip parts | Alias Any Name / Any IP !pma PM's selected aliases | Any First 2 IP Parts !pma2 PM's selected aliases from first 2 ip parts | In Server Or Out. !getip Shows IP for Any Name !ip Shows Selected players IP !setupload Used to add a custom URL shown to players to upload their maps !redo To restart Current map !addo Used to add 1 individual custom message per admin !o Shows Individual custom message !lostmaps Shows Total Maps Loaded - Total Missing Maps !restartscript Restarts the script Customisable Admin Commands (Individually Set The Required Level Needed To Use These Commands From The PRS Dialog) --------------------------- Command !mute Mutes selected player !freeze Freezes selected player !kick Kicks selected player !ban Bans selected player (if player is in the server) !banip Bans selected IP !unbanip Unbans Selected IP !qm QuickMute - Mutes selected player for a preset Time, Then Unmutes (time specified in dialog) !qf QuickFreeze - Freezes selected player for a preset time, then Unfreezes (time specified in dialog) !deletetime To delete a top time !setping To change the maximum average ping allowed !remmap Temporarily Removes current map (does not delete it, Just stops it from being ran) !restore Restores previously removed maps !setmode Sets the Mode of the current map (level 5 only) With the 'Mode' feature, All maps are set to 'Race' - If u set a map to Deathmatch mode, Make sure the map has NO RESPAWNS. The Server welcome message can be set/changed in the dialog With many people having dynamic IP's Ive left the Admin login To Rcon, which means all admins must be added to the server config, Admins using the server clan tag must login if the function is enabled in the dialog. This will also kick players trying to impersonate admins. The login time (if activated) can be set in the dialog. Login with the usual rcon_login in the console. The PRS only uses 1 ini to store the dialog details, All stats and Race info is saved into text files from hash tables every 5 mins and also on disconnection from the server. Installation (noobs only) ------------ If u dont have mirc, u will need to get that first. http://www.mirc.com if you dont mtama (Multi Theft Auto mIRC Admin) for SA you will need to get that up and running too. (make sure u can connect to ur server) Put the MTA-PRS1.0.mrc file into ur MAIN mirc dir, then close mirc. with nothing running, start mirc at the bottom of ur main mirc window, type: /load -rs mta-prs1.0.mrc Both mtama and prs dialogs will appear, fill out the details in the prs dialog and click save. u can now close this dialog if u want. (top reopen it, type: /prs in ur mirc main window) On ur main mtama dialog, you can now connect to ur server. if you havent added any admins to ur serverconfig yet, leave the 'members required to login' set as 'no' I have tested this script over the last few days and it seem pretty bug free, but if anyone does find any bugs, plz post on the forum. now go and set some top times! Public Release Script Version 1.0 - [uVA]Scooby - http://www.uvaclan.com ... And... This this: !setmode Sets the Mode of the current map (level 5 only) I think there should be CnR maps too?
  7. Well, i fix there some stuff, and get it working, and it gives 1 more wins when u win DD (DM) Map. Have fun =) Works 80% =PPP alias mta.end { if (%cplayers == 1) { var %a = 0 while (%a < $mta.server($1).cmax) { if (!$mta.dead($1,%a)) { mta.text $1 $mta.nick($1,%a) is winner! mta.freeze $1 %a !writeini -n " $+ $scriptdir $+ stats.ini" WINS $mta.nick($1,%a) $gus.add($gus.wins($1,%a),1) !halt } !inc %a } } } on *:SIGNAL:mta.startrace: { set %cplayers $mta.server($1).players } on *:SIGNAL:mta.part: { if (!$mta.dead($1,$2) set %cplayers $calc(%cplayers - 1) mta.end $1 $2 } on *:SIGNAL:mta.death: { set %cplayers $calc(%cplayers - 1) mta.end $1 $2 } on *:SIGNAL:mta.connect: { set %cplayers 0 }
  8. alias mta.end { if (%cplayers == 1) { var %a = 0 while (%a < $mta.server($1).cmax) { if (!$mta.dead($1,%a)) { mta.text $1 $mta.nick($1,%a) is winner! mta.freeze $1 %a !writeini -n " $+ $scriptdir $+ stats.ini" WINS $mta.nick($1,%a) $gus.add($gus.wins($1,%a),1) !halt } !inc %a } } } on *:SIGNAL:mta.startrace: { set %cplayers $mta.server($1).players } on *:SIGNAL:mta.part: { if (!$mta.dead($1,$2) set %cplayers $calc(%cplayers - 1) mta.end $1 $2 } on *:SIGNAL:mta.death: { set %cplayers $calc(%cplayers - 1) mta.end $1 $2 } on *:SIGNAL:mta.connect: { set %cplayers 0 } I tested it.
  9. Ehrm, it seems this one doesnt add one more win in wins list... I think this one works fine, but u must add this text somewhere: !writeini -n " $+ $scriptdir $+ stats.ini" WINS $mta.nick($1,%a) $gus.add($gus.wins($1,%a),1)
  10. i get this working =)))) Add them both, then this works 100% =)))) I tested 10 maps, and everytime someone gets one win more!
  11. So... what is missed word? I have too own DM (DD) Server, so i need this script too =D
  12. Yes, this script will overwrite a old one... And sure you can add lay-out to upload page. Just copy that script in to layout, so it's would works fine. I have this same script on my server, look here: http://www.pixelitaivas.com/mta/upload.htm
  13. Download General use scripts, all what you need is it
  14. This one allow upload just .map files: Select a file Set max file size:
  15. SanZoR.Sr

    !freeze

    Freeze is crap, if you use it for cheaters. Cheaters can move whit he cheat, so best way to freeze cheaters is gave bans
  16. !votekick- function is good to be...
  17. I need some votekick, what checks players online. If i e.g. type !votekick Player121, when Player121 isnt in the game, this script say something like that: Player121 isn't online or something like that. And Accept and Deny commands must to be !accept (Maybe Deny script doesnt needed) So, if this is possible, make me it. Ty.
  18. I dont need anymore RSS. I make own downloading-script, what downloads files in FTP every minute (.map files)
  19. This is MTA:MA ScriptWall ;P So if you have some good scripts for MTA:MA, post them here, so any1 can find script what you need.
  20. SanZoR.Sr

    MTA:ma

    There is another script for MTA:VC. Just search it. You can also download it http://www.pixelitaivas.com/mta/mtavc.zip Note: This isnt my own. I just download it somewhere (I dont remember) And add it in my own server. - I hope this is what u need. - pxl
  21. Who is Today? =D I just know Toady...
  22. Is this what you mean? on *:SIGNAL:mta.command: { if ($3 == !brb) { mta.say $1 $mta.name($1,$4) is AFK } If this is it, you can really simpe make it some other. Just edit $1 $mta.name($1,$4) is AFK And this is it =P
×
×
  • Create New...