Oli
Retired Staff-
Posts
1,993 -
Joined
-
Last visited
Everything posted by Oli
-
awww i love u too patolider
-
not with my stupid script u cant
-
lol i told u that script was crap
-
write a script to do it although ull prob screw up the brackets.. and it wont work.. and itll be pointless
-
mike u got a bracket mismatch on line 3
-
lmao thats a stupid rule.. how do u plan to enforce that?? i suppose a script... on *:SIGNAL:mta.exit:{ if $findtok(11 12 13 50,$3,1,32) { var %a = 1 while (%a <= 5) { mta.slap $1 $2 !inc %a } } } that might do
-
on *:SIGNAL:mta.join:{ if ($readini($grs.dir $+ options.ini,main,serverpassword) != $null) { mta.msg $1 $2 A gangwar is in progress, please enter the password by typing /msg gw . You will be kicked in 20seconds $+(!.timer,$1,.,$2) 1 30 mta.kick $1 $2 } } on *:SIGNAL:mta.part:{ $+(!.timer,$1,.,$2) off } on *:SIGNAL:mta.pm:{ if ($3 == gw) { if ($4 == on) { if (($5 != $null) && ($5 != on) && ($5 != off)) { if ($mta.level($1,$2) >= 4) { mta.say $1 Server passworded !writeini " $+ $grs.dir $+ options.ini" main serverpassword $5- } else mta.msg $1 $2 Insufficent privileges } else mta.msg $1 $2 Invalid password } elseif ($4 == off) { if ($5 == $readini($grs.dir $+ options.ini,main,serverpassword)) { if ($mta.level($1,$2) >= 4) { mta.say $1 Server unpassworded !remini " $+ $grs.dir $+ options.ini" main serverpassword } else mta.msg $1 $2 Invalid password } else mta.msg $1 $2 Insufficent privileges } elseif ($4 == $readini($grs.dir $+ options.ini,main,serverpassword)) { mta.msg $1 $2 ' $+ $mta.name($1,$2) $+ ', you have logged into the gangwar $+(!.timer,$1,.,$2) off } else mta.msg $1 $2 Syntax: /msg gw } } THere we go.. wrote that into the forum box.. and its untested.. but should be ok Commands: /msg gw on - Admin level 4+ /msg gw off - Admin level 4+ /msg gw - logs u in Edit: Mike.. lol.. just beat me ... but ures wont work on more than 1 server at once very well
-
Version: 4.03 File / Size (bytes) mtama.mrc 229970 mtama.dll 139776 grs.dll 61440 wizard.bmp 21816 admin.ini 907 ping.jpg 31435 splash.jpg 16133 GRS_MANUAL.TXT 10685 GRS_CONDITIONS.TXT 2363 Fixes: *Challenge script added (optional) *Multiple challenges possible in same server at once *Challenges do not interfere with other MTA servers connected with MTA:mA *!ch added *Challenge limit option added - !ch (Optional) *Admin level 5: !ch off added *!setcommand added for admin level 5 *!alias fixed for results larger than 255 chars *Carkill kicker fixed for GTA3 *!stat* & !pmstat* updated for MTA:VC Stunt have fun
-
omg: ouch instead: if u want to use more than one, use $findtok(), EG: elseif $findtok(xcr talidan,$mta.name($1,$2),1,32) { And here is the script debugged as far as i can see. There were some bracket mismatches and some var sets which wernt needed: (Note, there is a !timer* off in this script... this could cause MTA:mA to time out, depends on aerons timer methods. It could mess up GRS's Global ping system and pingkicker aswell, if ure using it, although GRS does have a timer check system, so it would prob be ok ) */ Deathmatch Script by XcR, idea by Talidan. Please do not extract code without asking the author. This script is free to use and distribute. Special thanks: Talidan for the idea, MTA team for their mod, and [uVA]_ZzZ. */ on *:SIGNAL:mta.join:{ !.timer 1 0 mta.msg $1 $2 $mta.name($1,$2) $+ , the server is currently running the Timed Deathmatch script. !.timer 1 1 mta.msg $1 $2 Type !rules for more info. } on *:SIGNAL:mta.command:{ if $3 == !rules { !.timer 1 0 mta.say $1 DEATHMATCH SCRiPT RULES !.timer 1 1 mta.say $1 No glitching/cheating/modding/helikilling/spawnkilling/carkilling. } elseif $3 == !info mta.say $1 Deathmatch Script by XcR, idea by Talidan. ;put in any names u want here... seperate with a space elseif $findtok(xcr talidan,$mta.name($1,$2),1,32) { if $3 == !start { mta.roundstart $1- } elseif $3 == !stop { mta.gamefinish $1- } } } alias mta.roundend { var %e = $readini(roundsdone.ini,done,done) !.timer 1 0 mta.say $1 Deathmatch script > Time limit of round %e is up! !.timer 1 1 mta.topscore $1- !.timer 1 2 mta.say $1 Everyone now must respawn - round is over. !.timer 1 3 mta.kill1 $1- !writeini roundsdone.ini done done $calc(%e + 1) if %e == 3 { mta.gamefinish $1- } } alias mta.topscore { var %a = 0,%b = 0,%c = 0 var %d = $readini(champ.ini,champpoints,$mta.name($1,%a)) while %a < 26 { if $mta.score($1,%a) > %b { %b = $mta.score($1,%a) | %c = $mta.name($1,%a) } !inc %a !return The top scorer is %c with %b points! } !writeini champ.ini champpoints %c $calc(%d + 1) !writeini champ.ini score %c %b !.timer 5 60 mta.say $1 The champ of the last round was %c $+ , with a score of %b $+ ! mta.roundstart $1- } alias mta.kill1 { var %a = 0 while %a < 26 { if $mta.health($1,%a) > 0 { mta.slap $1 %a } !inc %a } } alias mta.roundstart { var %e = $readini(roundsdone.ini,done,done) !writeini roundsdone.ini done done 1 mta.say $1 Deathmatch round ' $+ %e $+ ' started. !.timer 1 1800 mta.roundend $1- mta.resetscores $1- } alias mta.gamefinish { var %a = 0,%b = 0,%c = 0 var %d = $readini(champ.ini,champpoints,$mta.name($1,%a)) while %a < 26 { if %d > %b { %b = %d | %c = $mta.name($1,%a) } !inc %a !return Deathmatch gamemode script ended: the winner of the game was %c with a champion score of %d $+ ! } !.timer* off } Dan, '=' is when ure setting something to something else, ie: %b = 1 - sets %b to 1 %b == 1 - if %b equals 1 then do { } %b === 1 - if case sensitive %b equals 1 then do { }
-
Version: 4.02 File / Size (bytes) mtama.mrc 215795 mtama.dll 139776 grs.dll 61440 wizard.bmp 21816 admin.ini 883 ping.jpg 31435 splash.jpg 16133 GRS_MANUAL.TXT 9996 GRS_CONDITIONS.TXT 2363 Fixes: *!lagging <-a/-f> updated *!clones script added for admin level 1 *ping kicker fixed for admin immunity *!commands script for admins added *CRC check rewritten to v.06
-
chuck us in then
-
blade - take off admin+ to reduce CPU usage.
-
ill look into it.. ive no idea whats causing it atm
-
/slap Talidan v4.01 released.. itll let u know next time u start it up. Few fixes to some of the features. Enjoy
-
v4.01 released. Version: 4.01 File / Size (bytes) mtama.mrc 210654 mtama.dll 133632 grs.dll 61440 wizard.bmp 21816 admin.ini 859 ping.jpg 31435 splash.jpg 16133 GRS_MANUAL.TXT 9615 GRS_CONDITIONS.TXT 2363 Fixes: *!fav script fixed for compatibility with MTA:mA v3.20 */msg login fixed for non registered players *!lagging script added *!setlevel fixed for setting members */msg away fixed enjoy
-
u need MTA:mA and MTA:mA:GRS. both links can be found on the current MTA front page... http://www.mtavc.com
-
The ports are to do with what YOU type into the client port box in MTA:mA... so someone is prob pissing about with that
-
atm 65% of the kills in there are from 0.4.1 when we were beta testing the GRS server/client interfaces. It'll be more accurate in a few weeks. NOTE: before 0.5 came out Stubby was at 53%, and its gone down by 4% in the few days since GRS was released
-
depends what u want... for example, if u want something to be in the form of an IP adress... u could use: if *.*.*.* iswm $1- u cant do that as easily with isin
-
hmm i looked on ebay but darn cant find any how is someone supposed to gain intellegience if they dont ask stupid things? its like u go to an interview for first they and they as u u got any job expereience and u rlike wtf this is my first job interview . anyways what u mean servers can break ur pc ?? so what measures to take if i decide to like one day start a server? Blade... maybe u just shouldnt use the internet.. its far too risky
-
if hello isin $1- This means if the string "hello" is in the whole sentence. if hello* iswm $1- this means if the sentence STARTS with "hello"
-
Blade: please research the internet and how it works before jumping to such ludicrous conlusions. GRS simply connects to a GRS server. We made the netcode very secure so u cant fake it, and no, the server cant break ure PC. Please gain some more intelligence from somewhere (can u buy intelligence in ebay these days?) before next posting.
-
ok u can disable ure nickserv in the /menu Due to the way we programmed GRS, you cannot run gstats on 1 server from more than 1 grs client at one time.. the server wont allow it. So u dont have to worry. IE: if ure connected with gstats.. then nutz turns his on, itll tell him there is another grs running and wont accept stats from his. Then u turn ures off.. and his will immediately take over from ures and start accepting stats. Its basically a queue system we put in place. Ure other scripts will work fine if gstats is disabled btw
-
yes this was known before release.. but we decided to release and fix it after (ie today). Its cos it was written in 0.4.1 and then the 0.5 game mdoes screwed it up on the weapons basically. Itll be fixed soon. Also.. like 40,000 kills in that database are from 0.4.1, so bear that in mind
