Aeron Posted March 13, 2005 Share Posted March 13, 2005 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 Link to comment
Oli Posted March 13, 2005 Author Share Posted March 13, 2005 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. Link to comment
[KFC]KungFu Posted March 13, 2005 Share Posted March 13, 2005 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 Link to comment
Oli Posted March 15, 2005 Author Share Posted March 15, 2005 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 Link to comment
Jani Posted March 15, 2005 Share Posted March 15, 2005 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 Link to comment
Oli Posted March 17, 2005 Author Share Posted March 17, 2005 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. Link to comment
Oli Posted March 19, 2005 Author Share Posted March 19, 2005 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. Link to comment
Jani Posted March 19, 2005 Share Posted March 19, 2005 nooo. you kept the old database right? people worked hard to get up there. Link to comment
Si|ent Posted March 19, 2005 Share Posted March 19, 2005 l'd not complain if I were you LoL h4xe5, as you are one of the people who have made this change neccessary Link to comment
Jani Posted March 20, 2005 Share Posted March 20, 2005 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 Link to comment
Si|ent Posted March 20, 2005 Share Posted March 20, 2005 Odd how it was you that had the rediculously high score. Link to comment
Jani Posted March 20, 2005 Share Posted March 20, 2005 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 Link to comment
Si|ent Posted March 20, 2005 Share Posted March 20, 2005 I'm well aware of who you are. Link to comment
MrJax Posted March 20, 2005 Share Posted March 20, 2005 I thought the client could only send out death packets, so the one with the high score wouldnt neccesarily be the one to blame Link to comment
Jani Posted March 20, 2005 Share Posted March 20, 2005 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. Link to comment
Oli Posted March 20, 2005 Author Share Posted March 20, 2005 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. Link to comment
Jani Posted March 20, 2005 Share Posted March 20, 2005 oli...have you blocked me on msn? i need to talk some stuff about the Clan RPG script....like major flaws it has. kthnxbye Link to comment
MrJax Posted March 20, 2005 Share Posted March 20, 2005 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 Link to comment
Oli Posted March 21, 2005 Author Share Posted March 21, 2005 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. Link to comment
XcR Posted March 21, 2005 Share Posted March 21, 2005 nice, the website is alot faster now Link to comment
Jani Posted March 21, 2005 Share Posted March 21, 2005 problem with gstats: MTA:mA:GRS Global Statistics is disabled. Click 'Enable Global Statistics' to reactivateConnecting... Connection timed out Connecting... Connection timed out it goes on Link to comment
XcR Posted March 21, 2005 Share Posted March 21, 2005 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 Link to comment
Oli Posted March 21, 2005 Author Share Posted March 21, 2005 ok we fixed the flaw in the server and it is running again. Link to comment
=BDC=Kenny Posted March 21, 2005 Share Posted March 21, 2005 Is there global stats for 0.41? btw look at [FMJ]Oli's posts-It reads 1337 lol Link to comment
Recommended Posts