Jump to content

Harry

MTA Contributors
  • Posts

    580
  • Joined

  • Last visited

Everything posted by Harry

  1. Harry

    MTAMA Scripting

    Can a admin/mod remove this and previous posts, because their not about mtama scriping at all? Tnx
  2. I think it is a great risk... there are too much things you can do with a admin connection... I wouldn't do it... Crashing admintools, multiple connections.. Your server will crash real soon I think.
  3. Harry

    MTAMA Scripting

    I'm thinking of creating a website/script to autogenerate scripts. You'll have to fill in some configuration boxes, check the options you want, and ready... Are there people that will use it, or is it a waste of time.. Let me know!
  4. You could try Shorewall, a IP-Tables configuration tool/firewall, it has traffic shaping as well (I only used firewalling/NAT/Forwards). What's the reason you're trying not to use iptables? Last week i had a floppy version running on my router, with complete iptables support, and Shorewall as well. It runs very nice...
  5. Harry

    MTAMA Scripting

    Dan, is the 'search' option broken?? For a hint: it's in this forum... Sorry for giving this answer, but I don;t want to double-post. I'd like to help you, but it's allreasy here, and it's findable. (This tread is extended by this post as well, but this way other peole see they should use the SEARCH OPTION as well). Sorry to say it again, but i'm not a parrot repeating things.... (except searching...)
  6. Ok.. this looks like routing problems.. contact me on msn so we can determine the exact source of the problem
  7. You should only forward the incoming traffic on the router port 2003 to the IP where the MTAServer is really running. I think that is the IP of you so-called 'host'. Contact me on msn if it doesn't work, I'm not a helpdesk, but I might help. I can't find you in my msn list (too long)
  8. Why do you forward traffic on port 2003 (incoming) to 3 internal ip's?
  9. Properties of the network connection, tab 'Advanced' There is an option 'Internet Connection Firewall' If you can join yourself , it should be ok, and there's a problem with the forwarding. Recheck that please EDIT: Colin, that is the option. So it has to be the forwarding.
  10. Harry

    MTAMA Scripting

    Damn, the bigger your script, the bigger your ego? Try to add 10M of \n, \t, \b , ^h in it.... Maybe you're happy then... Seriously: I forgot to pot the $1 in the mta.maxplayers in my last code, i changed it, but for those who allready used it: my apologies, hope this will work
  11. If you're running Windows XP, check if the standard XP firewall is turned off. (Are you able to connect yourself, on your local ip?)
  12. Harry

    MTAMA Scripting

    DON'T change ANYTHING in mta.mrc! You do not need to modify anything in there ever! What i asked is, are the tabs filled in completely? MTAMA wil connect the server on tab x with mta.con x, but it can't if it doesn't know the connection details...
  13. Harry

    MTAMA Scripting

    eai, I know.. but if they post the flaming timeban script 20 times, there will be much pages. fastphp, are the 2nd and 3rd tab in MTAMA complete? So all connection details are there?
  14. Harry

    MTAMA Scripting

    Ah no.. You only changed some of the messages, and post it again.. wow.. now i know why this thread is allmost 50 pages... How could anybody find something here, if everything is ajusted for just 2 characters, and no real big improvments, and posted over and over and over again?
  15. Harry

    MTAMA Scripting

    You can haven only 1 (ONE!) instance of every alias. This means only one mta.text Combine them together to alias mta.text { if (!stat == $3) { mta.say $1 Name: $mta.name($1,$2) - ID: $2 - Ping: $mta.ping($1,$2) - Kills: $mta.kills($1,$2) - Deaths: $mta.deaths($1,$2) - Online: $duration($mta.online($1,$2)) - Status: $iif($mta.game($1,$2) == 1,Out Game,In Game) } } elseif ($3 == !countdown) { mta.say $1 Count down! .timer 1 1 mta.say $1 5 .timer 1 2 mta.say $1 4 .timer 1 3 mta.say $1 3 .timer 1 4 mta.say $1 2 .timer 1 5 mta.say $1 1 .timer 1 6 mta.say $1 GO! Go! Go! Go! } } Scorpion, please use the search on this topic. I could post it for the 100,000st time., but the topic is long enough, sorry Andys, i didn't test it, I only noticed that } was missing. Plz contact me so i can ask what the problem is exactly
  16. Harry

    MTAMA Scripting

    I think your forgot a closing } there, because seeting %ud true, and then testing for it the next line.. Surprised it is allways true?
  17. Hm, i never connect mIRC, and the list is allways up-to-date. What version are you running?
  18. Harry

    MTAMA Scripting

    Even better dan, even a admin who uses that script will see an average of 0! Where do you fill the variable: averageping. [ $+ [ $1 ] $+ . $+ [ $2 ] ] Don't copy a script if you don't know how it works! Oh, change the var %a = 1 to %a = 0, WHOOPS
  19. Harry

    MTAMA Scripting

    ok, this was STUPID! Try this, without the kick because your own IP equals... your own ip ; Clone kicker var %a = 1 while (%a <= $mta.maxplayers($1)) { if ($ini($scriptdir $+ $1.ini,ID $+ %a) && %a != $2) { if (($mta.ip($1,%a) == $mta.ip($1,$2)) && ($mta.ip($1,$2) != 10.0.10.1)) { mta.say $1 $mta.name($1,$2), multiple connections from 1 IP are not allowed mta.kick $1 $2 } } inc %a }
  20. Harry

    MTAMA Scripting

    By this: ; Clone kicker var %a = 1 while (%a <= $mta.maxplayers($1)) { if ($ini($scriptdir $+ $1.ini,ID $+ %a) && %a != $2) { if (($mta.ip($1,%a) == $mta.ip($1,$2)) && ($mta.ip($1,$2) != 10.0.10.1)) { mta.say $1 $mta.name($1,$2), multiple connections from 1 IP are not allowed mta.kick $1 $2 } } inc %a } That is for 1 ip.. you can change the single not in a not in textfile if you want to allow loads of ips, for just 1 this is faster (but certainly not elegant) EDIT: Fixed a problem with every person kicked, because the old script allso checked you own ip..
  21. Harry

    MTAMA Scripting

    Ok.. in the script there has to be, under mta.join a line like: if (mta.ip($1,$2) == %id) if you change that to if (mta.ip($1,$2) == %ip && %ip != ) only your ip is allowed to play with mote ip's.. If you can't find this line, msn/mail me, i'll find it for you
  22. Harry

    MTAMA Scripting

    Hmm.. Can you be a bit more specific? You're saying you ahve a clonkicking script, but you want to allow clones? Or what?
  23. Harry

    MTAMA Scripting

    Change the last 'elseif' to 'else'
  24. Harry

    MTAMA Scripting

    Ok.. but this way you can only save 1 note for a person.. would that be enough?
×
×
  • Create New...