Jump to content

Aeron

Retired Staff
  • Posts

    968
  • Joined

  • Last visited

Everything posted by Aeron

  1. Aeron

    =SGB=

    Hmmz gimgie his IP and I might put him on the BLACKlist :>
  2. http://home.deds.nl/~aeron/scripts/Admin-System.mrc
  3. http://www.google.nl/ http://www.geenstijl.nl/ http://www.flabber.nl/ http://www.mtavc.com/ http://www.ict.hen.nl/ -skool http://groups.yahoo.com/ -skool http://home.deds.nl/ - dump site http://www.milw0rm.com/ - HAXS http://www.secunia.com/ - HAXS http://www.mtavc.com//blue//b12/install.exe - omgad leaked!
  4. Aeron

    timed modes?

    A pm and a pw would do
  5. Aeron

    MTA:MA Scripting

    Ur posting in the MTA:mA section, you can't haxzor my mtama ***, cause my uber simple encoding can noone haxzor. And btw: WELCOME ON THE BLACKLIST *** **** (lol phpBB haxzored)
  6. A: Sure i'll order also somethign for me. Q: Who pays?
  7. Aeron

    ehh

    The code: on *:SIGNAL:mta.commands: { !.signal mta.commands $1- }; is a infinitive loop when: on *:SIGNAL:mta.admin.pm: { if !* iswm $2 { !.signal mta.commands $1 -1 $2- } }; gets trigger after you send a !-command via mta.msg. (PS: I leave the other 389574394 points for yourself to find out.)
  8. Slap Oli to implent the fixed code.
  9. Aeron

    Updater

    /me drops dead. CRC32 is a sort of 'unique'-file-number, you can generate it in mirc by function '$crc()'. Or else do '/help $crc'
  10. try downloading http://home.deds.nl/~aeron/files/mta.data.ini and place it in ur MTAMA map
  11. alias rpg.kill { var %a if $rpg.cash($1,$2) > 0 || $rpg.bounty($1,$2) > 0 { if $rpg.cash($1,$2) > 0 { %a = Cash: $chr(36) $+ $rpg.cash($1,$2) !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) cash $calc($rpg.cash($1,$3) + $rpg.cash($1,$2)) } if $rpg.bounty($1,$2) > 0 { %a = %a $+ - Bounty: $chr(36) $+ $rpg.bounty($1,$2) } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) } mta.msg ($1,$3) Gained > %a } else { !writeini -n " $+ $rpg.dir $+ rpg.ini" $mta.name($1,$3) bounty $calc($rpg.bounty($1,$3) + 1000) mta.msg $1 $2 Bounty risen by: $chr(36) $+ 1000 } }
  12. Aeron

    Updater

    alias [uPDATE_ALIAS] { if (!$sock([uPDATE_ALIAS])) { var %a = $findfile($mircdir,*.tmp,0,1,!.remove " $+ $1-") mta.log $dialog(mta).tab * Updater: Checking for [YOUR_SCRIPT_NAME] updates... !sockclose [uPDATE_ALIAS] !sockopen [uPDATE_ALIAS] [YOUR_HOST] 80 } } dialog -l [uPDATE_ALIAS] { title "[YOUR_SCRIPT_NAME] Updater" size -1 -1 94 98 option dbu icon [YOUR_SCRIPT_ICON], 0 button "Yes", 1, 8 84 37 12 button "No", 2, 52 84 37 12, ok edit "", 3, 2 2 90 54, multi return vsbar text "Status:", 4, 2 58 19 8 text "", 5, 22 58 69 14 box "", 6, 2 70 90 11 text "", 7, 4 74 86 5 } on *:sockopen:[uPDATE_ALIAS]: { if (!$sockerr) !sockwrite -n [uPDATE_ALIAS] GET [YOUR_FILES_DIRECTORY][YOUR_UPDATE_FILE] $+(HTTP/1.1,$crlf,Host: [YOUR_HOST],$crlf,Connection: Close,$crlf,$crlf) elseif ($dialog(mta)) mta.log $dialog(mta).tab * Updater: Connection problems. } on *:sockread:[uPDATE_ALIAS]:{ !sockread &a while ($sockbr != 0) { !bwrite [YOUR_TEMPORARY_FILE] -1 &a !sockread &a } } on *:sockclose:[uPDATE_ALIAS]:{ if ($dialog(mta)) && (!$dialog([uPDATE_ALIAS])) { !bread [YOUR_TEMPORARY_FILE] 1 $file([YOUR_TEMPORARY_FILE]).size &a !bcopy -c &a 1 &a $calc($bfind(&a,1,10 13 10)+3) -1 !.remove [YOUR_TEMPORARY_FILE] !bwrite [YOUR_TEMPORARY_FILE] 0 &a var %a = $read([YOUR_TEMPORARY_FILE],2) if (%a !isnum) { !.remove [YOUR_TEMPORARY_FILE] mta.log $dialog(mta).tab * Updater: Invalid update file. } elseif ([YOUR_SCRIPT_VERSION_ALIAS] < %a) { mta.log $dialog(mta).tab * Updater: Version %a available. !dialog -v mta !dialog -ma [uPDATE_ALIAS] [uPDATE_ALIAS] !did -m [uPDATE_ALIAS] 3 !did -a [uPDATE_ALIAS] 5 Download version %a $+ ? !loadbuf -o [uPDATE_ALIAS] 3 [YOUR_TEMPORARY_FILE] } else { !.remove [YOUR_TEMPORARY_FILE] mta.log $dialog(mta).tab * Updater: No updates. } } } on *:sockopen:[DOWNLOAD_ALIAS]:{ if ($sockerr == 0) { !tokenize 32 $read([YOUR_TEMPORARY_FILE],$sock([DOWNLOAD_ALIAS]).mark) if ($1 == Fixes:) { !did -a [uPDATE_ALIAS] 5 Finished. !did -ea [uPDATE_ALIAS] 1 Install } else { !did -a [uPDATE_ALIAS] 5 Downloading " $+ $1" !did -r [uPDATE_ALIAS] 7 !sockwrite -n [DOWNLOAD_ALIAS] GET [YOUR_FILES_DIRECTORY] $+ $1 $+(HTTP/1.1,$crlf,Host: [YOUR_HOST],$crlf,Connection: Close,$crlf,$crlf) } } else { !did -a [uPDATE_ALIAS] 5 Connection error. !did -a [uPDATE_ALIAS] 2 Close } } on *:sockread:[DOWNLOAD_ALIAS]:{ !tokenize 32 $read([YOUR_TEMPORARY_FILE],$sock([DOWNLOAD_ALIAS]).mark) !sockread -f &a while ($sockbr != 0) { !did -a [uPDATE_ALIAS] 7 $str(l,$calc(86/ $2 * $sock([DOWNLOAD_ALIAS]).rcvd)) !bwrite $1.tmp -1 &a !sockread -f &a } } on *:sockclose:[DOWNLOAD_ALIAS]:{ !tokenize 32 $read([YOUR_TEMPORARY_FILE],$sock([DOWNLOAD_ALIAS]).mark) !bread $1.tmp 1 $file($1.tmp).size &a !bcopy -c &a 1 &a $calc($bfind(&a,1,10 13 10)+3) -1 !.remove $1.tmp !bwrite $1.tmp 0 &a if ($crc($1.tmp) != $3) { !did -a [uPDATE_ALIAS] 5 CRC mismatch on " $+ $1" !did -a [uPDATE_ALIAS] 2 Close } else !.timer 1 0 [DOWNLOAD_ALIAS] $calc(1+$sock([DOWNLOAD_ALIAS]).mark) } alias [DOWNLOAD_ALIAS] { !sockopen [DOWNLOAD_ALIAS] [YOUR_HOST] 80 !sockmark [DOWNLOAD_ALIAS] $1 } on *:DIALOG:[uPDATE_ALIAS]:close:0:!sockclose [DOWNLOAD_ALIAS] $findfile($mircdir,*.tmp,0,1,!.remove " $+ $1-") on *:DIALOG:[uPDATE_ALIAS]:sclick:1:{ if (Yes == $did([uPDATE_ALIAS],1)) { !did -a [uPDATE_ALIAS] 5 Connecting... !did -b [uPDATE_ALIAS] 1 !did -a [uPDATE_ALIAS] 2 Cancel !sockclose [DOWNLOAD_ALIAS] [DOWNLOAD_ALIAS] 4 } if (Install == $did([uPDATE_ALIAS],1)) { !did -a [uPDATE_ALIAS] 5 Installing... !dll -u [DOWNLOAD_ALIAS]l var %a = 4 while ($read([YOUR_TEMPORARY_FILE],%a) != Fixes:) { !tokenize 32 $read([YOUR_TEMPORARY_FILE],%a) !.copy -o $1.tmp $+(",$scriptdir,$1") !inc %a } [YOUR_SCRIPT_SHUTDOWN_ALIAS] !.load -rs $+(",[YOUR_MAIN_SCRIPT],") } } Replace all the [...] then create a [YOUR_UPDATE_FILE] with in: Version: [VERSION] File / Size (bytes) / CRC32: [FILE_NAME] [FILE_SIZES_IN_BYTES] [FILE_CRC32] [FILE_NAME] [FILE_SIZES_IN_BYTES] [FILE_CRC32] Fixes: [FIXES] [FIXES] Comments: [COMMENTS] [COMMENTS] If you dont understand this, or mIRC scripting at all. Please don't even try to get support on this code.
  13. Let's say: 0W3N3D by 'mark' WAHAHHAAHHAHAHAHAHAHAH stfu noob
  14. /me slaps Oli As this happens in mtama.dll which I didn't create, I think Oli all alone is behind it.
  15. Aeron

    Myths

    Dont forget Pacman!
  16. And who was in that channel to see them joining?
  17. My updater owns everyone, but everybody may use it. But as far i can see it, panther disabled it. To fix the "MTA.STARTUP Unknown command" error place the following text on a new line: ; shitty stats thing i was going to write but never bothered to finnish So you get: alias mp.stats { ; shitty stats thing i was going to write but never bothered to finnish if ($prop == kills) {
  18. If you are banned in a server, you can't join with admin and unban urself, because the banlist also applies on admins. And b4 everyone blames me: MTA:mA has also NO exploit to get admin pass/port through MTA/MTA:mA.
  19. The mta.part - part is wrong, cause the helicopter doesn't get respawed, it just drops down from the sky. (Well most of the it explodes after it.) And i see alot of things of the dodo script But goign the right way (Y) !
×
×
  • Create New...