Si|ent Posted February 10, 2004 Author Share Posted February 10, 2004 This is a server weakness rather than an mtama one. We are working on a new server to eliminate this problem as i post. Link to comment
Guest Posted February 11, 2004 Share Posted February 11, 2004 wev got a script to handle server flooders if that would be more helpful then a complete server rerelease -edit- nevermind i just looked at aerons script and seems theyre to fast Link to comment
r14thomas Posted February 11, 2004 Share Posted February 11, 2004 hmm... one more question, whats wrong at this code: alias mta.admin { if ($2 == !welcome on) { writeini -n welcome.ini on mta.say Wilkommenstext aktiviert } elseif ($2 == !welcome off) { .remove welcome.ini mta.say Wilkommenstext deaktiviert } alias mta.join { if ($exist(welcome.ini)) { mta.say $1 Hi $mta.name($1,$2) und wilkommen auf dem Server mta.say $1 visit us at www.[ZENSORED].xx } elseif ($len($mta.name($1,$2)) == 1) { mta.ban $1 $2 } } P.S. i know the IP from the flodder server, i and a few other server admins have written emails to the hoster, who resells the server Link to comment
Aeron Posted February 11, 2004 Share Posted February 11, 2004 hmm... one more question, whats wrong at this code: alias mta.admin { if ($2 == !welcome on) { writeini -n welcome.ini on mta.say Wilkommenstext aktiviert } elseif ($2 == !welcome off) { .remove welcome.ini mta.say Wilkommenstext deaktiviert } alias mta.join { if ($exist(welcome.ini)) { mta.say $1 Hi $mta.name($1,$2) und wilkommen auf dem Server mta.say $1 visit us at www.[ZENSORED].xx } elseif ($len($mta.name($1,$2)) == 1) { mta.ban $1 $2 } } P.S. i know the IP from the flodder server, i and a few other server admins have written emails to the hoster, who resells the server alias mta.admin { if ($2 == !welcome) { %welcome = $3 mta.say $1 Wilkommenstext $3 } } alias mta.join { if (%welcome == on) { mta.say $1 Hi $mta.name($1,$2) und wilkommen auf dem Server mta.say $1 visit us at www.[ZENSORED].xx } elseif ($len($mta.name($1,$2)) == 1) { mta.ban $1 $2 } } Link to comment
Aeron Posted February 11, 2004 Share Posted February 11, 2004 i made a replyca of the flood script but didn't crash the server... Link to comment
Guest Posted February 11, 2004 Share Posted February 11, 2004 just looking at the flooder problem, could you not write a script that logs ips and usernames and if the username is 1 character long put the ip in banned.lst? i dont know what is already possible with mtama as i dont use it. Link to comment
Kent747 Posted February 11, 2004 Share Posted February 11, 2004 no, woulndn't be hard at all for that person to change their program to connect w/ 2 character names etc also, irc scripts are very nice at doing their job, but they arent as fast as C++, not even close... The flood would have done its job before the IRC script could have stopped it. We are working on an updated server as we speak Link to comment
Aeron Posted February 11, 2004 Share Posted February 11, 2004 after the modifications i release MTAMA 2.0 ! Link to comment
[KFC]KungFu Posted February 11, 2004 Share Posted February 11, 2004 after the modifications i release MTAMA 2.0 ! will it include the echo script with trustee support with the built in scripts? *crosses his fingers* I stink at scripting but Im so money at asking for crap. Link to comment
Aeron Posted February 12, 2004 Share Posted February 12, 2004 O cray,bump,ijs,blok ... MTA Team for the new server release: Fix the admin "get nick"-command KFC: I try to make a system for scripts Link to comment
pH Posted February 12, 2004 Share Posted February 12, 2004 Got anything to prevent teamkilling like kick a player that made 2 teamkills? Link to comment
Si|ent Posted February 12, 2004 Author Share Posted February 12, 2004 If u mean killing same class then no as teamplay isnt really built into normal mta, its just suggested with the career choices not enforced. if u mean the team script then yes it could be edited fairly easily to kick a player that teamkills Link to comment
[KFC]KungFu Posted February 12, 2004 Share Posted February 12, 2004 kicking teamkillers after two incidents will force ppl who are not in gangs to work together but it should be separate from a gang teamscript where you want the enemy to kill each other and it might be a tactic to use. also you should build in a timer to keep them out like kotc does. again, I stink as scripting but I am so money at asking for stuff Link to comment
Guest Posted February 12, 2004 Share Posted February 12, 2004 i dont like the idea of forcing non gang people to work together. as most of what iv found they are uninvolved, uninterested whenever a team script shows itself. and most get kicked for not choosing a team. itd be great if they could take off that thing that kicks someone for not choosing a team in the next release, as im to lazy to edit the script myself =P Link to comment
Guest Posted February 14, 2004 Share Posted February 14, 2004 does anyone know how to get the amount of kills back from the server? i was thinking of a script that says when a player gets to a certain amount of kills, maybe 25/50/75/100 or 10/20/30/40...... would be greatful for some advice Link to comment
Aeron Posted February 14, 2004 Share Posted February 14, 2004 (edited) does anyone know how to get the amount of kills back from the server? i was thinking of a script that says when a player gets to a certain amount of kills, maybe 25/50/75/100 or 10/20/30/40...... would be greatful for some advice alias mta.kill { if ($mta.kills($1,$3) == 10) mta.say $1 Woohoo $mta.name($1,$3) has 10 kills! if ($mta.kills($1,$3) == 20) mta.say $1 Woohoo $mta.name($1,$3) has 20 kills! if ($mta.kills($1,$3) == 30) mta.say $1 Woohoo $mta.name($1,$3) has 30 kills! } O yeah Team-play + Gang-war fixed! * EDIT typo's fixed Edited February 14, 2004 by Guest Link to comment
Guest Posted February 14, 2004 Share Posted February 14, 2004 alright this coding looks easy enuf, but what is the {$1, $2} for? what are u declaring by using that. Link to comment
Aeron Posted February 14, 2004 Share Posted February 14, 2004 alright this coding looks easy enuf, but what is the {$1, $2} for? what are u declaring by using that. in alias mta.kill stands $1 = server $2 = killed ID $3 = killer ID Link to comment
pH Posted February 14, 2004 Share Posted February 14, 2004 If u mean killing same class then no as teamplay isnt really built into normal mta, its just suggested with the career choices not enforced. if u mean the team script then yes it could be edited fairly easily to kick a player that teamkills I mean in Mirc addon Team mode Aeron can you pls write down a script for kicking teamkillers after X tk's? Link to comment
Guest Posted February 14, 2004 Share Posted February 14, 2004 alias mta.kill { if ($mta.kills($1,$3) == 10) mta.say $1 Woohoo $mta.name($1,$3) has 10 kills! if ($mta.kills($1,$3) == 20) mta.say $1 Woohoo $mta.name($1,$3) has 20 kills! if ($mta.kills($1,$3) == 30) mta.say $1 Woohoo $mta.name($1,$3) has 30 kills! } the kills are actually 1 behind so for 10 the code is alias mta.kill { if ($mta.kills($1,$3) == 09) mta.say $1 Woohoo $mta.name($1,$3) has 10 kills! } Link to comment
Aeron Posted February 14, 2004 Share Posted February 14, 2004 idd the "score"-packet is coming after the "blah killed blah" command Link to comment
Guest Posted February 14, 2004 Share Posted February 14, 2004 ive got a script and when someone kills themselves i want it to take 1 of the score, any idea how to do this? Link to comment
pH Posted February 14, 2004 Share Posted February 14, 2004 eeee that's already added to the game But if you just mean when they die I dont think it's possible cuz The mirc addon cant change anything game related like the scoreboard Link to comment
Guest Posted February 15, 2004 Share Posted February 15, 2004 i was thinking it might be something like if mta.name$1,$2 == mta.namel$1$3 (but in proper code) dont think i put it like that when i tried it *the score is kept in an ini file because it runs like kotc Link to comment
r14thomas Posted February 15, 2004 Share Posted February 15, 2004 please dont make too many thinks in the new server, we only need a security update, FAST... i was floddet 2 times in 5 minutes, thats not fine Link to comment
Recommended Posts