Jump to content

SanZoR.Sr

Members
  • Posts

    115
  • Joined

  • Last visited

Posts posted by SanZoR.Sr

  1. I have a Spam checker in The PRS script, in hash, however it should work okish in an ini, i havent tested this, but it should be ok.

    alias spamcheck {
     if ($readini(spamtemp,id,$1 $+ $2) == spam) {
       mta.pm $1 $2 WARNING - DO NO SPAM!!! (30 sec mute)
       mta.mute $1 $2
       .timerunmute $+ $2 1 30 mta.unmute $1 $2
     }
     !writeini spamtemp id $1 $+ $2 spam
     .timerspam $+ $1 $+ $2 -m 1 900 !remini spamtemp id $1 $+ $2
    }

    also, add to ur first line of mta.text and mta.command,

    spamcheck $1-

    the 900 is the delay in miliseconds, if ur not happy with the time, u can change this number, but i tested it in my script and it seemed ok.

    Ah, thats nice so i dont have to type in all commands again.

    Does this work in mtavc version to?

    There is no mta.mute in VC so it wont work, however, u could change it slightly to make it kick the player.

    by changing:

       mta.pm $1 $2 WARNING - DO NO SPAM!!! (30 sec mute)
       mta.mute $1 $2
       .timerunmute $+ $2 1 30 mta.unmute $1 $2
    

    to:

      mta.msg $1 $2 Warning - Do Not Spam In This Server!
      mta.kick $1 $2
    

    this should work.

    Really? I think mute is in every MTA version... Well, im not playing VC, so thats clearly i dont know anything about it. lol.

  2. Look yourself: There ARE some same stuff:

    Tommis's script:

    Final Version Released!

    Hey,

    Alright, well as some of you probably know i have just finished exams, and well i had some free time on my hands, and i was looking to learn more. I came up with these scripts (Addon to mtama made by Aeron) for MTA San Andreas because, well, aint it worth tryng to make MTA San Andreas a better place to be? :P Well, took quite alot of trial and error but i am finally done. This has a full and working admin system and later on i will update this script to make it more safe. For example, admin pm's are not synced yet so you cant have a login script made in this. Well, ill cut the crap and get to the main stuff as for you all probably dont want to sit here reading all this booring stuff...eh? :P Alright, here u go..

    Info:

    - Made for Multi Theft Auto :: San Andreas

    - Runs off the platform of mIRC

    - Extension off MTA:mA Admin Pannel

    Installation:

    1) Unzip the packaged file you will download all into a Folder.

    2) Download, Install mIRC.

    3) Put all the unzipped files into mirc MAIN directory (Program Files\mIRC\)

    4) Open mIRC (Usually desktop icon)

    5) In the main window of mirc type "/load -rs mta.mrc"

    6) Type in all the settings of your server (IP, Port, Admin Port ect..) and choose Gereral > Load (Locate mtagus.mrc)

    7) Connect!

    -----------------------------

    8) Open Multi Theft Auto :: San Andreas

    9) Connect to the Server witch you are hosting scripts on. (Using your future Adminname)

    10) Type "!set"

    11) You can only use that command once! Dont mess up!

    12) Type "!Commands" or look below for a list of commands!

    13) Dont edit my name plz...Now Play!

    Commands:

    Level 1 - 3:

    !stats - The statistics of a player

    !popular - The most popular maps

    !admin/s - Indicates the online admins (With levels)

    !vote - Indicates how to vote

    !level - Indicates the level of that player.

    !upload - Indicates the upload URL to upload Maps.

    Level 3 - 7:

    !stats - The statistics of a player

    !popular - The most popular maps

    !admin/s - Indicates the online admins (With levels)

    !vote - Indicates how to vote

    !level - Indicates the level of that player.

    !mute - Mutes a selected player

    !unmute - Unmutes a selected player

    !freeze - Freezes a selected player

    !unfreeze - !unfreezes a selected player.

    !kick - Kicks the selected player.

    !changemap - Changes the map to that map givin ***Special!

    !upload - Indicates the upload URL to upload Maps.

    !getip - Gets the IP of the givin name (Anyone who has been in the server ever)

    !alias - All the names on that IP

    !subalias - All the names on that Subnet

    !ip - Indicates the IP of that person

    (level 5+) !setdeathlimit - Sets the limit for the amount of deaths on the map given ( currently only works with the current map ( !setdeathlimit current ) )

    Level 8 - 10:

    !stats - The statistics of a player

    !popular - The most popular maps

    !admin/s - Indicates the online admins (With levels)

    !vote - Indicates how to vote

    !level - Indicates the level of that player.

    !mute - Mutes a selected player

    !unmute - Unmutes a selected player

    !freeze - Freezes a selected player

    !unfreeze - !unfreezes a selected player.

    !kick - Kicks the selected player.

    !changemap - Changes the map to that map given ***Special!

    !setlevel - Changes the admin level to the level givin

    !addadmin - Adds that admin to the server.

    !addban - Bans that ip or name (Gets the ip)

    !ban - Bans that player from the server.

    !unban - Unbans the givin IP or name (Gets the ip)

    !upload - Indicates the upload URL to upload Maps.

    !setupload - Sets the Upload URL.

    !getip - Gets the IP of the givin name (Anyone who has been in the server ever)

    !addban - Bans the selected person

    !alias - All the names on that IP

    !subalias - All the names on that Subnet

    !lastname - The most latest name for that IP

    !ip - Indicates the IP of that person

    !setwelcomemsg - Changes the Welcome message

    !setinstructions - Set the instructions for a map, so when its started it indicates the instructions. ( currently only works with the current map ( !setinstructions current ) )

    !changemap - Changes the map to that map givin

    !setdeathlimit - Sets the limit for the amount of deaths on the map given ( currently only works with the current map ( !setdeathlimit current ) )

    -----------------------------------

    Some Cool Features:

    - 1/10 Admin Level System

    - Remove Map Command

    - Stats

    - Instructions

    - All Admin Commands, can be done from ingame.

    - More, check it out! :)

    -----------------------------------

    Download: (Updated) (x16) (Updated June 10, 2006)

    Download --> http://www.mta-xe.com/gus/Setup.exe

    Just Scripts --> http://www.mta-xe.com/gus/GUSx16.zip

    Tutorial --> http://www.mta-xe.com/gus/Multi%20Theft%20Auto.htm

    -----------------------------------

    Credits:

    [XE]Tommis (Creation)

    --> DNSstuff.com (Used for Trace)

    [uVA]Kevuwk (Updater and helped with many problems)

    [XE]CeoZ (Testing)

    {ULK}Dome (Testing)

    [TTH]NapsK (Testing)

    -XE-aWk^ (Testing)

    [XII]Zbi^ (Testing)

    [FMJ]Master (Teaching me how to script :P)

    [XII]Tweak (Alias MTA.GetID)

    Everyone else who helped ;)

    ....

    -----------------------------------

    My Information:

    Email/MSN: [email protected]

    XE Clan Site: http://www.mta-xe.com

    Forum: http://www.forum.mta-xe.com

    Thank you,

    [XE]Tommis

    Your script:

    Public Release Script Version 1.0

    By [uVA]Scooby - http://www.uvaclan.com

    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

    !pma - PM's selected aliases -

    !pma2 - PM's selected aliases from first 2 ip parts

    !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 alias function works for Any Name / Any IP / Any First 2 IP Parts on players in or out of the server.

    This script is not interchangeable with GUS, so please do not post ur gus problems here.

    PRS 1.0 OUT NOW! - Updated: 13-02-07 19:30(gmt)

    There ARE same stuff, as you can clearly see!

  3. i understand something. You need script for DD maps, and it give one more wins? If you are searching for it, please, use first search button. i can post them here:

    DD script WHIT freeze:

    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
    }

    DD script WHITOUT freeze:

    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!
    !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 hope this is what you are searching for...

  4. Is he using google translator to chamge french message to eng? OMG :lol:

    i understand if he just cannot type eng, but just so :lol::lol:

    :D:D:D Im not good whit eng too, but i still can type something. Maybe in france are no english lessons into school? Thats wierd :?

  5. Im sorry, but i cant just now =S Im not at home, and there were i am, doesnt have MTA...

    Note: If you have in your server DD & Race maps, this script will be really buggy. It freezes in Racing map random player, so you need unfreeze him. This is recommended for ONLY DD servers. Thats good thing you askef me to remove that freezing part. That will be really laggy in race maps. But still if you have racing maps this script will give ppl reasonless wins.

  6. This one doesnt freezes:

    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!
    !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
    }

    Btw, it seems you are not good scripter? ;P That is really easy to edit stuff;

    Normal DD script:

    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
    }

    Remove this text:

    mta.freeze $1 %a

    Okay, first doesnt freezes.[/url]

  7. Easy way to add this script in GUS is:

    1. Create a new text file into GUS folder.

    2. Copy this code into that text file:

    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
    }

    3. open MTA mIRC and add that text file into mIRC. Then it should works. And if you dont have GUS in dont know how get this script working, cause it uses GUS's WINS as you can clearly see. i hope this helps you to gettinng started, if not, sry my bad english. Thats why i cant explain maybe enought good how put this script into your server.

  8. Ok, First of all I know this has been suggested before but before anyone stops reading let me make a point; no one has given a good reason why changing the water levels is a good idea. Well, here is my Idea for changing water levels to be an amazing and unique game mode for the upcoming MTA DM.

    First suggestion:

    The water level should be an option under the Death match settings along with time, weather etc. Also wave height would be a good option to like in Edisoncarter’s wave modifier. And yes I realize that the water height and wave height would need to be synced.

    Second suggestion:

    To be able to have the water rise up as the game time progresses. This would require a script however (can’t be too hard if its possible, It would be a lot easier than having to script every map object a lower to create a flood effect.

    Why I would like this:

    Because, I am planning to make a map that will be like a modern day Titanic, and the last player to drowned is the winner. In the beginning players will franticly try to find their way up to higher levels (the ship will be submerged in about 10 minuets) (and ship will consist of a bunch of connected ship hallways and all exits form the ship will be closed off.) All of the players will spawn in the lowest level of the ship, the engine room, around them is raising water ad several leaks in the hull (the waterfall obj). Above them will be short-circuiting lights (I’m planning on using the bullet spark effect for that), on the players way up they will come across several gates blocking their path ( I may make the gates alternate every once in a while to create further panic via a script.)

    I have already made some of the ship in MTA race is looks good so far. I just want the water level to raise to create this flooding game mode!

    Nice ideas!

  9. Hiyas...first post here in a long while, I got a suggestion.

    I think one of the biggest problems with MTA SA is in races, it's way too much reliant on how you spawn. Do you get lucky and spawn in front or get unlucky and spawn in a big cluster of all the other players that all crash into you or turn you around? This all factors in way too much into the results of the race. What I suggest is having a time period at the beginning of all races (not Car DM matches) where all the players can't hit eachother. Say make it 20 seconds, that gives everyone a good chance to get off to a good start and clear out of eachother's way. This would make the game much better/funner. How you perform in a race shouldn't be so heavily dependent on how/where you spawn.

    So what if cars are still touching each other at the end of the 20 second "rolling start" period? That's the tricky part, I would just assume they would crash, which would still be more fair than how it is now. 20 seconds gives people a lot of time to space out from eachother, and if they can't do by the time 20 seconds is over, then they collide with eachother. Another tricky aspect of this is how would it be enabled on races and not car DM matches? Having a 20 second time period in Car DM matches where no one can hit eachother would definitely be annoying. I hope the devs can overcome these things, if they even consider my suggestions.

    I would really love to see it happen, or at least give admins the option of doing it. Also what might be neat is a ghost race option, where players can't collide with eachother the entire race, that would also be real cool, and the races would be based much more on skill than luck. I'm not saying all the races now are determined by luck, but it certainly plays a bigger factor than it should.

    Anyone like these ideas? It might of been mentioned before or some sort of variation of it. I really enjoy MTASA online but think these options would make it much better. Thanks.

    Thats right!

    I got bug whit quotes?

×
×
  • Create New...