Jump to content

MTA:mA General Release Script & Readme v4.14


Oli

Recommended Posts

Posted

Oli add for level 5 admin:

on *:SIGNAL:mta.command: {
 if (!download == $3) {
   if ($sock(mta.script)) {
     mta.say $1 Script: Already downloading $+(",$nopath(%mta.file),"...)
   }
   elseif (http://* !iswm $4) {
     mta.say $1 Script: Invalid URL $+(",$4,")
   }
   else {
     !mkdir $+(",$mircdir,Downloaded Scripts,")
     %mta.server = $1
     %mta.url = $4
     %mta.file = $+($mircdir,Downloaded Scripts\,$nopath($4))
     !sockclose mta.script
     !sockopen mta.script $mid($4,8,$calc($pos($4,/,3)-) 80
     mta.say $1 Script: Downloading $+(",$nopath(%mta.file),"...)
   }
 }
}
on *:sockopen:mta.script: {
 if (!$sockerr) {
   !.remove $+(",%mta.file,")
   !sockwrite -n $sockname GET $mid(%mta.url,$pos(%mta.url,/,3),255) $+(HTTP/1.1,$crlf,Host: $mid(%mta.url,8,$calc($pos(%mta.url,/,3)-),$crlf,Connection: Close,$crlf,$crlf)
 }
 elseif ($dialog(mta)) mta.say %mta.server Script: Connection problems
}
on *:sockread:mta.script:{ 
 !sockread &a
 while ($sockbr != 0) {
   !bwrite $+(",%mta.file,") -1 &a
   !sockread &a
 }
}
on *:sockclose:mta.script:{ 
 if ($dialog(mta)) {
   !bread $+(",%mta.file,") 1 $file(%mta.file).size &a
   !bcopy -c &a 1 &a $calc($bfind(&a,1,10 13 10)+3) -1
   !.remove $+(",%mta.file,")
   !bwrite $+(",%mta.file,") 0 &a
   !.reload -rs $+(",%mta.file,")
   mta.say %mta.server Script: Downloaded and (re)loaded $+(",$nopath(%mta.file),")
 }
}

n' sttuff plz thx

  • Replies 365
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

ok ill make a few changes to that, got a few more idea's to do with that.. but yeah itll be in next version.

Posted

Can you add something to the stats script that shows the best player in the server by kill death ratio?

!pwner or some funny command... lol

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

edit... another wish

Can your script report back what someone's computer is running?

Ram, processor and vid card?

Sometimes Im dying to know why ppl are so laggy

Posted

ill add a "top player" script

no i cant get details from a players computer apart from the script runner.. i can get anything from their computer.. but its kinda pointless

Posted

thats what the Mani Admin plugin has for cs source, you type "top10" in the game chat and it shows the top 10 players and their kills, deaths and kd ratio. kinda sweet actually

Posted

I have noticed a bug with the GRS Gstats Connection. The connection seems to stay alive and recons easier when the /menu is on.

If you are having problems with timeouts.. i suggest you leave the menu open till i find a fix for this.

Posted

Due to the global stats site being abused by certain people, it will be offline until the netcode is rewritten and a "grs server admin system" has been added.. allowing us to ban servers from using gstats.

This will take several days to be done, and the current version of MTA:mA:GRS will not connect to the new system. The next version of MTA:mA:GRS will work just as before, but we need to fix these exploits and clean up the database.

Sorry for any inconvenience, hopefully itll be back up and running soon.

Posted

what? i was just pointing out the fact that someone with a hacked mta was abusing it to get a high rank. its not my fault the site code was vulnerable to hackers

Posted

LOL ROFLOMAOL ROFLLOL sorry i cant stop laughing.

im not even on the gstats thing, because ive never played on a server with gstats.

im Jani

Posted

I thought the client could only send out death packets, so the one with the high score wouldnt neccesarily be the one to blame :roll:

Posted

so whats with the "rediculously high score"?

i dont think im even on the grs database, and doubt i ever will be, so please dont accuse me of that. in case you didnt realise, it was done by Jacob and Jay, who both have cracked exe's and can continuously kill each other whilst being out of game.

Posted

im not sure whether this is to do with the GRS netcode or whether its an MTA bot, but in either case ill be adding plenty of ways of stopping this from happening again, this will just take a bit of time.

The current gstats database will remain intact and the flood of kills from these "people" will be removed.

Posted

oli...have you blocked me on msn? i need to talk some stuff about the Clan RPG script....like major flaws it has.

kthnxbye

Posted

1) u shuda posted in the 'Clan-RPG Script' thread

2) u've already told me them

3) i told u to wait for v3

dont bother oli, im sure hes busy 8)

Posted

ok the problem with the gstats has been found, and luckily for all u grs users GRS itself will require no changes :)

We will add a security fix to the server program and itll be back online asap.

Edit: http://www.mta-stats.com is back online.

Posted

problem with gstats:

MTA:mA:GRS Global Statistics is disabled. Click 'Enable Global Statistics' to reactivate

Connecting...

Connection timed out

Connecting...

Connection timed out

it goes on

Posted
Due to the global stats site being abused by certain people, it will be offline until the netcode is rewritten and a "grs server admin system" has been added.

read

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...