Jump to content

Oli

Retired Staff
  • Posts

    1,993
  • Joined

  • Last visited

Everything posted by Oli

  1. ok, the FMJ server has now got a host name: fmj.game-host.org:2000 its a faster way of connecting for regular visitors.
  2. Oli

    MTAMA Scripting

    andy i juat made AND TESTED this script and it works, if it doesnt for u then uve got a prob with mirc or mtama: alias mta.start { .timerping 0 10 checkpings } alias mta.join { ;$1 = Server ;$2 = Player ID if ( $mta.name($1,$2) == Unknown || $2 > $mta.maxplayers($1) ) { mta.dis $1 Unknows detected! mta.con $1 } %isoc. [ $+ [ $1 ] $+ . $+ [ $2 ] ] = false set %isoc. [ $+ [ $1 ] $+ . $+ [ $2 ] ] false if ( $chr(36) isin $mta.name($1,$2) ) { mta.say $1 $mta.name( $1 , $2 ) , dollar signs are not allowed. Please remove it before joining mta.kick $1 $2 } elseif ( $chr(32) isin $mta.name($1,$2) ) { mta.say $1 $mta.name( $1 , $2 ) , spaces are not allowed in nickname. Please remove it before joining mta.kick $1 $2 } elseif ( [OC] isin $mta.name($1,$2) ) { mta.say $1 OC Member $mta.name( $1 , $2 ) joined! %isoc. [ $+ [ $1 ] $+ . $+ [ $2 ] ] = true } unset %ping. [ [ $+ [ $1 ] $+ . $+ [ $2 ] ] $+ ] * unset %averageping. [ [ $+ [ $1 ] $+ . $+ [ $2 ] ] ] } alias mta.part { ;$1 = Server ;$2 = Player ID ;$3- = Reason %isoc. [ $+ [ $1 ] $+ . $+ [ $2 ] ] = false set %isoc. [ $+ [ $1 ] $+ . $+ [ $2 ] ] false } alias mta.text { ;$1 = Server ;$2 = Player ID ;$3- = Text if ( (!setping isin $3) && ( [OC] isin $mta.name($1,$2) ) ) { if ( $4 isnum ) { mta.say $1 $mta.name($1,$2) set the max ping to $4 set %max $4 } else { Syntax: !setping } } elseif ( $3 == !max ) { mta.say $1 Max ping: %max } if ($3 == !ping) { if ($4 == $null) { mta.say $1 $mta.name( $1 , $2 ), your ping is $mta.ping( $1 , $2 ) . Average $round(%averageping. [ $+ [ $1 ] $+ . $+ [ $2 ] ],0) } else { mta.say $1 The ping of $mta.name( $1 , $4 ) is $mta.ping( $1 , $4 ) . Average $round(%averageping. [ $+ [ $1 ] $+ . $+ [ $4 ] ],0) } } } alias mta.kill { ;$1 = Server ;$2 = Player ID ;$3 = Killer ID } alias mta.admin { ;$1 = Server ;$2- = Text } alias mta.action { ;$1 = Server ;$2 = Player ID ;$3- = Text } alias mta.pm { ;$1 = Server ;$2 = Player ID ;$3 = Player's Nick ;$3- = Text } alias mta.connect { ;$1 = Server set %online. [ $+ [ $1 ] ] true } alias mta.disconnect { ;$1 = Server ;$2- = Reason unset %online. [ $+ [ $1 ] ] } alias checkpings { set %server 0 if ( %max == $null ) echo -a Maximum ping not set, pingkick off set %ping_counter $calc( %ping_counter + 1 ) if ( %ping_counter > 12 ) { set %ping_counter 0 } while ( %server < 9 ) { if ( %online. [ $+ [ %server ] ] == true ) { set %playerid 0 while ( %playerid < 27 ) { set %ping. [ $+ [ %server ] $+ . $+ [ %playerid ] $+ . $+ [ %ping_counter ] ] $mta.ping( %server , %playerid ) set %dummy 0 set %totalping 0 while ( %dummy < 13 ) { inc %totalping %ping. [ $+ [ %server ] $+ . $+ [ %playerid ] $+ . $+ [ %dummy ] ] inc %dummy 1 } set %averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] $round($calc( %totalping / 13 ) , 0 ) ;echo -a %averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] if ( %averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] > %max ) { echo -a %server Kicking $mta.name( %server, %playerid ) for a ping of %averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] , maximum is %max if ( %isoc. [ $+ [ %server ] $+ . $+ [ %playerid ] ] == false || !%isoc. [ $+ [ %server ] $+ . $+ [ %playerid ] ] ) { mta.say %server Kicking $mta.name( %server, %playerid ) for ping > %max mta.kick %server %playerid unset %averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] unset %ping. [ $+ [ %server ] $+ . $+ [ %playerid ] $+ ] * } } ;echo -a %server - %playerid - %averageping. [ $+ [ %server ] $+ . $+ [ %playerid ] ] inc %playerid 1 } } inc %server 1 } unset %server }
  3. Oli

    MTAMA Scripting

    Eey michael Ik plaats hem in mijn scripts onder die alias.mta.join maar hij werkt niet kun je me ff helpen plz ENGLISH ONLY another idiot Ok srry then but i onlt wonmt help i talk english before okay !? And have someone a Working Warn script for me ?? My warn script is posted in this thread if im right. Its about 8 pages back or so.
  4. m8, i spoke to u TODAY on msn maybe all this posting si getting to u
  5. ok sure, we have KFC this weekend again i think and i want aone with some EU clans like DBC or CNP but next week should be cool.
  6. sure gary, u know FMJ are always up for a friendly.. ill talk with u or bishop about it later, im off to drink some beer now
  7. LMAO dan u stupid bastard.. i know ure not that smart (trying to hack my site for one thing) but this lasted what 3 days. Please dont come back again
  8. Oli

    OC192 Servers

    Its the FMJ No Cheating Killing Fest.. 26 players Efrag server. Took about 9 months to get a good base of admins like that. 213.228.215.6:2000
  9. Oli

    OC192 Servers

    yeah ill admit 10-15 isnt strictly necessary, but tis good if u have that many.. ive got 14 good ones atm and the server ALWAYS has some admins about and if it doesnt ive got an audio alert for me if im idle, so i can always jump in and admin if neccessary. And thanks to this the server is never empty
  10. Oli

    OC192 Servers

    lol i think its utopias aim to post in EVERY thread at least 5 times.. so he is just trying to fullfil that
  11. ok i jpg'd all the pics and put em in a rar.. its about 4MB to download.. well worth it if you were there. http://www.mta-euleague.com/gangwar.rar
  12. Oli

    stuntmenUK (sUK)

    aww thanks xerox, thanks goes to domspy for that... he likes his banners lol.. u should see how many he posts in the FMJ forums
  13. Oli

    stuntmenUK (sUK)

    Stunt night is going to be this tuesday... All sUK members are welcome.. The server: 213.228.215.11:2001 cu all there
  14. Oli

    MTAMA Scripting

    rambo read the rest of my post yeah...
  15. FMJ has taken 3 new members in the past week: [FMJ]maq, [FMJ]U.F.F.E AND [FMJ]Regime. We also have a script update check the readme for more details.
  16. Oli

    OC192 Servers

    yeah the bain of owning large fast servers is u need constant admin cover... then u need a base of 10-15 GOOD trustworthy admins who are around a lot and play in your server. You might wanna get some sort of script system going aswell, always makes the players happy when they can play with scripts plus u can then assign admins to the server without them having to actually login to the admin cp, which keeps ure admin details more secret.
  17. Oli

    MTAMA Scripting

    what u talking about??... mine r all in 1, like 130KB of them.. Yeah but ive got a mail [email protected] plz send them to my mail plz plz and when my box is overload please send theme then to [email protected] plz plz im searching very long and i cant add them self plz send me your script file of 130kb plz plz ok rambo, im pretty generous with ppl and the scripts i do for them, but im not gonna make one from scratch for u, and im certainly not sending u MY script. If you want help MAKING ure own script then ill be happy to help but im not just gonna put one together for u. PS.. uve given us no details on what u want in it.
  18. Oli

    MTAMA Scripting

    sounds like a prob with ure mtama not the script, try reinstalling and deleting all your variables etc.
  19. Oli

    MTAMA Scripting

    your right it is
  20. Oli

    MTAMA Scripting

    what u talking about??... mine r all in 1, like 130KB of them..
  21. Oli

    MTAMA Scripting

    Here are several additions to the !ban script that most people use. These additions have the following features: !ban - logs the reason, date, time, ip and banner in an ini. !unban - checks the ini and unbans if they were banned. !banned - checks if has been banned and returns the reason, date, time and banner details. If a player is banned and then rejoins with the same name there is a warning saying they were banned. If a person joins with the same 2 or 3 parts of the ip of a banned person then the scrips warns of who was banned in that subnet. (this is basically a subnet warning for banned people, regardless of name). If a player is banned and then unbanned there is a warning of rejoining that they were unbanned by the name of the unbanner. This script is very useful for warning of people using proxies to get around bans as the admin is instantly aware of the details and can check the ip's further. alias mta.join { if ( $read(subnet.txt,w,$gettok($mta.ip($1,$2),1-2,46) ) ) { set %subnet $read(subnet.txt,w,$gettok($mta.ip($1,$2),1-2,46) ) set %network $gettok($mta.ip($1,$2),1-3,46) set %bannedname $readini( "MTAwarn.ini", subnets, %subnet ) set %bannedip $gettok($readini( "MTAwarn.ini", bannedip, %bannedname ),1-3,46) if ( %bannedip == %network ) { mta.say $1 Warning: $mta.name($1,$2) - First 3 ip groups match $readini( "MTAwarn.ini", subnets, %subnet ) $+ , who was banned. } else { mta.say $1 Warning: $mta.name($1,$2) - First 2 ip groups match $readini( "MTAwarn.ini", subnets, %subnet ) $+ , who was banned. } unset %subnet unset %network unset %bannedname unset %bannedip } elseif ( $readini( "MTAwarn.ini", main, $mta.name($1,$2) ) == 4 ) { mta.say $1 Warning: $mta.name($1,$2) has been previously banned. } elseif ( $readini( "MTAwarn.ini", main, $mta.name($1,$2) ) == 5 ) { mta.say $1 Warning: $mta.name($1,$2) was previously banned, but was unbanned by $readini( "MTAwarn.ini", unbanned, $mta.name($1,$2) ) } } alias mta.text { if ($3 == !ban && %isadmin. [ $+ [ $1 ] $+ . $+ [ $2 ] ] == true ) { if ( $mta.name($1,$mta.getid($1,$4)) == unknown ) { mta.say $1 $mta.name( $1 , $2 ) $+ : Error - unable to ban absent ID. } else { if ($5 != $null) { mta.say $1 $mta.name( $1 , $mta.getid($1,$4) ) ( $+ $mta.ip( $1 , $mta.getid($1,$4) ) $+ ) is banned by $mta.name( $1 , $2 ) $+ . Reason: $5- set %kicks $calc($readini("MTAScript.ini",kicks,$mta.name( $1 , $2 )) + 1) writeini -n "MTAScript.ini" kicks $mta.name( $1 , $2 ) %kicks echo -a Server $1 : $mta.name( $1 , $2 ) kicked nr. %kicks writeini "MTAwarn.ini" main $mta.name($1,$mta.getid($1,$4)) 4 writeini "MTAwarn.ini" banreasons $mta.name($1,$mta.getid($1,$4)) $5- $date $time $mta.name($1,$2) writeini "MTAwarn.ini" bannedip $mta.name($1,$mta.getid($1,$4)) $mta.ip($1,$mta.getid($1,$4)) $date $time $mta.name($1,$2) writeini "MTAwarn.ini" subnets $gettok($mta.ip($1,$mta.getid($1,$4)),1-2,46) $mta.name($1,$mta.getid($1,$4)) write subnet.txt $gettok($mta.ip($1,$mta.getid($1,$4)),1-2,46) mta.ban $1 $mta.getid($1,$4) } else { mta.say $1 $mta.name( $1 , $mta.getid($1,$4) ) ( $+ $mta.ip( $1 , $mta.getid($1,$4) ) $+ ) is banned by $mta.name( $1 , $2 ) set %kicks $calc($readini("MTAScript.ini",kicks,$mta.name( $1 , $2 )) + 1) writeini -n "MTAScript.ini" kicks $mta.name( $1 , $2 ) %kicks echo -a Server $1 : $mta.name( $1 , $2 ) kicked nr. %kicks writeini "MTAwarn.ini" main $mta.name($1,$mta.getid($1,$4)) 4 writeini "MTAwarn.ini" banreasons $mta.name($1,$mta.getid($1,$4)) some reason $date $time $mta.name($1,$2) writeini "MTAwarn.ini" bannedip $mta.name($1,$mta.getid($1,$4)) $mta.ip($1,$mta.getid($1,$4)) $date $time $mta.name($1,$2) writeini "MTAwarn.ini" subnets $gettok($mta.ip($1,$mta.getid($1,$4)),1-2,46) $mta.name($1,$mta.getid($1,$4)) write subnet.txt $gettok($mta.ip($1,$mta.getid($1,$4)),1-2,46) mta.ban $1 $mta.getid($1,$4) } } } elseif (($3 == !unban) && %isadmin. [ $+ [ $1 ] $+ . $+ [ $2 ] ] == true ) { if ($4 != $null) { if ( $readini( "MTAwarn.ini", bannedip, $4 )) { set %unban $gettok($readini( "MTAwarn.ini", bannedip, $4 ),1-2,46) mta.say $1 $mta.name($1,$2) $+ : UnBanned $4 mta.unban $1 $readini( "MTAwarn.ini", bannedip, $4 ) writeini "MTAwarn.ini" main $4 5 writeini "MTAwarn.ini" unbanned $4 $mta.name($1,$2) remini "MTAwarn.ini" banreasons $4 remini "MTAwarn.ini" bannedip $4 remini "MTAwarn.ini" subnets %unban write -ds [ $+ [ %unban ] ] subnet.txt unset %unban } else { mta.say $1 $mta.name($1,$2) $+ : Error - $4 is not banned. } } else { mta.say $1 $mta.name($1,$2) $+ : Syntax: !unban } } elseif ($3 == !banned) { if ($4 != $null) { if ( $readini( "MTAwarn.ini", bannedip, $4 )) { mta.say $1 $4 has been banned at this server. mta.say $1 Deatils: $readini( "MTAwarn.ini", banreasons, $4- ) } elseif ( $readini( "MTAwarn.ini", main, $4 ) == 5) { mta.say $1 $4 was banned, but was then unbanned by $readini( "MTAwarn.ini", unbanned, $4 ) } else { mta.say $1 $4 has not been banned at this server. } } else { mta.say $1 $mta.name($1,$2) $+ : Error - Syntax: !banned } } } kooper, here is your script. Manhunt that runs only once when active. You can select players aswell, do !mh player from admin. It has a vote on function for players aswell. They type !manhunt and if half the ppl vote for it then it turns on. Here is the script: alias mh { if ($2 isnum) { if ($2 == 0) { mta.say $1 $mta.name($1,% [ $+ [ $1 ] ]) survived for 10 mins! } else { mta.say $1 $mta.name($1,% [ $+ [ $1 ] ]) you must survive for $2 more mins! .timermh $+ $1 1 60 mh $1 $calc($2 - 1) } } if ($2 == on) { mh.pick $1 .timermh $+ $1 1 60 mh $1 9 mta.say $1 ManHunt has begun! mta.say $1 $mta.name($1,% [ $+ [ $1 ] ]) is the fugitive, find and kill him! } if ($2 == player) { if ( $3 != $null ) { if ( $mta.name($1,$3) == unknown ) { mta.say $1 Player $3 not present } else { % [ $+ [ $1 ] ] = $3 .timermh $+ $1 1 60 mh $1 9 mta.say $1 ManHunt has begun! mta.say $1 $mta.name($1,% [ $+ [ $1 ] ]) is the fugitive, find and kill him! } } } if ($2 == off) { unset % [ $+ [ $1 ] ] mta.say $1 ManHunt stopped! .timermh $+ $1 off } } alias mh.pick { if ($mta.players($1) <= 3) { mta.say $1 ManHunt stopped! To few players! unset % [ $+ [ $1 ] ] .timermh $+ $1 off halt } else { % [ $+ [ $1 ] ] = 30 while (!$ini($+($scriptdir,$1,.ini),ID $+ % [ $+ [ $1 ] ])) { % [ $+ [ $1 ] ] = $rand(0,25) } return } } alias mta.admin { if (!mh == $2) mh $1 $3 } alias mta.join { if (% [ $+ [ $1 ] ]) { mta.say $1 Hello $mta.name($1,$2) Server is running in Manhunt mode, find and kill $mta.name($1,% [ $+ [ $1 ] ]) ! } } alias mta.part { if (% [ $+ [ $1 ] ] == $2) { mta.say $1 $mta.name($1,% [ $+ [ $1 ] ]) gives up! mh.pick $1 mta.say $1 $mta.name($1,% [ $+ [ $1 ] ]) is now the fugitive, kill him! .timermh $+ $1 1 60 mh $1 9 } } alias mta.text { ;$1 = Server ;$2 = Player ID ;$3- = Text if ( $3 == !manhunt ) { mh.voteon $1- } elseif ( $3 == !mh ) { mh.vote $1- } } alias mta.kill { if (% [ $+ [ $1 ] ] == $2) { if (($3 == % [ $+ [ $1 ] ]) || ($3 >= 254)) { mta.say $1 $mta.name($1,% [ $+ [ $1 ] ]) couldn't take the pressure! mh.pick $1 mta.say $1 $mta.name($1,% [ $+ [ $1 ] ]) is now the fugitive, kill him! .timermh $+ $1 1 60 mh $1 } elseif ($3 <= 253) { % [ $+ [ $1 ] ] = $3 mta.say $1 $mta.name($1,$3) killed the fugitive! mta.say $1 $mta.name($1,$3) is now the fugitive, find and kill him! .timermh $+ $1 1 60 mh $1 9 } } } alias mh.cancel{ mta.say $1 Not enough people voted for Manhunt to be on. Manhunt Stopped. unset %vote.voters. [ $+ [ $1 ] ] unset %mhon } alias mh.voteon { if ( %mhon == on ) { mta.say $1 Manhunt vote is already running } else { set %mhon on set %vote.voters. [ $+ [ $1 ] ] $null mta.say $1 Manhunt: "!mh" if u think that Manhunt should be activated. [ $calc($left($did(mta,$1 $+ 21),2) / 2) votes needed][60 sec] .timervote [ $+ [ $1 ] ] 1 60 mh.cancel $1 } } alias mh.vote { if ( %mhon == on ) { if ($2 !isin %vote.voters. [ $+ [ $1 ] ]) { %vote.voters. [ $+ [ $1 ] ] = %vote.voters. [ $+ [ $1 ] ] $2 mta.say $1 $numtok(%vote.voters. [ $+ [ $1 ] ],32) votes for Manhunt to be on! if ($numtok(%vote.voters. [ $+ [ $1 ] ],32) >= $calc($left($did(mta,$1 $+ 21),2) / 2)) { mta.say $1 !mh on unset %vote.voters. [ $+ [ $1 ] ] unset %mhon .timervote [ $+ [ $1 ] ] off } } else mta.say $1 $mta.name($1,$2) You have already voted } else { mta.say $1 Manhunt vote not running. } } hope it works ok, i havnt tested it too much so im not sure of everything. Can anyone let me know if they have a problem with these advanced banning features, as this script was taken out of my larger script so isnt tested individually.
  22. oh crap its dan again ...hope u do a better job this time m8
  23. Oli

    MTAMA Scripting

    i purposefully did that, its just so OC ppl dont get kicked by it, not an admin script. I think ive found the prob anyways.
  24. Oli

    MTAMA Scripting

    took about 4 mins actually lol... ill send u later today m8
×
×
  • Create New...