-
Posts
2,318 -
Joined
-
Last visited
Posts posted by lil Toady
-
-
Updated Map, removed dead clans / added active clans
Also, if u want your clan on here, then read the rules on the 1st page, PM's will be ignored
make some better quality, its hard to read

-
MTA:mA version 4.15 edited by lil_Toady (Unofficial)
Fixes/Changes:
* A bit changed dialog:
- Took off the mta version box, since now it's being set automaticly
- Added Connect/Disconnect button to the dialog itself
- Added 'Unban IP' and 'Update Races List' to the Server options
- Server settings boxes are being disabled when connected, that will prevent time outs that could be caused by editing this boxes. And * sign is now added to server names in tabs when connected, so you will always know what servers are connected.
- Default number of tabs set to 8
* Fixed races list recieving error with version 1
* Races list is being updated untill it gets all the maps
* Some little tweaks
-
/* RaceList Updater v1.1 by lil_Toady Special thanks to [uVA]Scooby Updated by Aeron The script will be automaticly updating the races list untill it gets all the maps. If you still think it is missing maps do: !updateraces (admins level 2) If you want to put it into your script here are the aliases you'd want to know: mta.races.check - Checks for missing maps, if so it starts the updater (not accurate) mta.races.update - Starts the updater */ on *:SIGNAL:mta.command:{ if (!updaterace* iswm $3) { if ($mta.level($1,$2) > 1) { mta.text $1 Updating the race list. mta.races.update $1 } } } on *:SIGNAL:mta.racelist:{ mta.races.check $1 } alias mta.races.check { var %a = $ini($mta.dir $+ $1.ini,Races,0),%b = $ini($mta.dir $+ $1.ini,Races,%a) if (%b > %a) mta.races.update $1 } alias mta.races.update { mta.echo $1 * Racelist: Updating... !bset &b 1 109 0 $did(mta,$1 $+ 22) $mta.dex($did(mta,$1 $+ 12)) 124 $mta.dex(mta.races. $+ $rand(1000,9999)) 0 !sockudp -k mta.races.sock. $+ $1 $did(mta,$1 $+ 10) $did(mta,$1 $+ 11) &b !.timermta.races.timer. $+ $1 1 10 !sockclose mta.races.sock. $+ $1 } on *:udpread:mta.races.sock.*: { !sockread &a var %a = $right($sockname,-15),%b = $bvar(&a,3),%c = $bvar(&a,2) if (%c == 1) { mta.echo %a * Racelist: Updating failed. ( $+ $gettok(User:Incorrect password:Already connected:Timed-out:To much connections:Banned:Name in use:Invalid Version,$calc(%b + 1),58) $+ ) if (%b == 5) mta.unban %a $ip elseif (%b == 1) mta.echo %a * Racelist: Updating stopped. else !.timermta.races.timer. $+ $1 1 15 mta.races.check %a !sockclose $sockname } elseif (%c == 2) { !bset &b 1 109 2 !sockudp -k $sockname $did(mta,%a $+ 10) $did(mta,%a $+ 11) &b } elseif (%c == 18) { if ($mta.server(%a).version == 2) { if (%b == 1) { %c = $calc($bvar(&a,5) * 256 + $bvar(&a,4)) if (!$readini($+($mta.dir,%a,.ini),Races,%c)) { if (!$didreg(mta,%a $+ 16,$didreg(mta,%a $+ 16,$bvar(&a,6,50).text))) !did -a mta %a $+ 16 $bvar(&a,6,50).text !writeini -n $+(",$mta.dir,%a,.ini") Races %c $bvar(&a,6,50).text !sockmark $sockname $calc($sock($sockname).mark + 1) } } elseif (%b == 2) { mta.echo %a * Racelist: Updated. ( $+ $iif($sock($sockname).mark,$v1,No) missing maps retrieved) !bset &b 1 109 1 !sockudp -k $sockname $did(mta,%a $+ 10) $did(mta,%a $+ 11) &b !sockclose $sockname !.timermta.races.timer. $+ %a off !.signal mta.racelist %a } } } } on *:SIGNAL:mta.disconnect:{ if ($sock(mta.races.sock. $+ $1)) { !bset &b 1 109 1 !sockudp -k mta.races.sock. $+ $1 $did(mta,%a $+ 10) $did(mta,%a $+ 11) &b !sockclose mta.races.sock. $+ $1 !.timermta.races.timer. $+ $1 off } }Fixed the text in mta chat box not returning the value of retrieved maps
Fixed the bug with race not being added to the races list in mtama dialog
*updated the link
-
k Aeron, you're dead
-
Well, since nobody have done that before, me and [uVA]Scooby have written this, a script that will be getting missing maps from the server untill it gets all of them so you wont have any missing maps since now.

You don't have to do anything, it will start the process as soon as you connect your mtama to a server, but if you think that u still have some maps missing you can do !updateraces.
I think thats all, clicky
Enjoy

-
lol yeh, thats the prob, ill need to dl 1000maps and im not sure if im gonna lose maps on localhost

-
You can ban by DNA nucleotide sequence: it doesn't matter. It WILL be spoofed, and it WILL be circumvented. Don't want cheaters? Turn off your server. There is no foolproof method of banning.
Yeah, i totally agree. It's better to have a bit more good admins to watch for the cheaters and ban em the good old way. (Not like you can remember Boss, when in mta0.x there was only one admin on gta.ru, who didnt give any admin rights to other players and who didnt even join the server much himself
) -
woohoo, gj

btw i think i've nearly finished the races list update, but as i told you i have no mta:race server to test
Will need to ask Tommis about one -
oh my god.. one more guy with the some not working suspect script... search the forum, there were 21354236436346 topics about that
not gonna help this time
-
some scripting syntax has changed since 2004, signals have replaced aliases and some other stuff, check the scripting.html in the mtama dir
-
Have you ever seen the mta0.5 encryption, it looks so messy that i believe i'd never hack it, but woah.. it got hacked
-
Well, banning by CPU id doesn't look that good too as there are many ways to go round it. That id has to be sent from the client which is very unsecure, any packet changing will solve your ban. You know that there were lots of bots and client injectors in mta0.x, if they make such for mta:sa they will send any CPU Id they want they could even abuse it. Imagine, a player joins my server, i get his cpu id, then go and hook my mta client to send that cpu id of another player and he gets banned for me everywhere
-
Out of those 200 innocents, how many will be MTA players, and out of that extremely small percentage, how many of them will want to play on your server?
That's the point, they ban thousands of people, and about 100-200 players who visit their server (/me knows that, /me is russian too)
-
1) When a player joins, would the current hay bails be cynced for him?
2) If any rock falls and destroys every hay bail below, would all the players still be able to climb to the top?
3) I have also noticed, that someone's nick was cut as it was too long. IS there any way to avoid it and if yes, why wasn't it made in the video?
4) Is there any way to manage text outputs, like moving them to any point on the screen, changing styles, fonts, sizes etc? If yes, could you please give a sample of the needed function?
1) Yes it will be synced for everyone
2) I'm not sure about this
3/4) Those text displays were made by scripting and you can change their position, size, color etc. It was probably not changed in the video cause of lazy scripter

[lua]textCreateTextItem ( string text, float x, float y, priority, R, G, B, Alpha, Scale )
--This will display "hello" in the center of player's screen
textDisplay = textCreateDisplay ()
textItem = textCreateTextItem ( "hello", 0.5, 0.5, 1, 0, 0, 255, 255, 3 )
textDisplayAddText ( textDisplay, textItem )
textDisplayAddObserver ( textDisplay, myPlayer ) --Display it for myPlayer only[/lua]
-
yeah, first time i posted the script i had 3 global vars, %tr.sid, %tr.pid, %tr.ip, then thought of useing only one variable, edited the post without testing, so got some mistakes
Should be ok now, Thnx -
can't see what did you change
maybe just cause im a bit sleepy. w/e yeh few days ago i updated the script in the first post without testing it, just tested and it was returning "HTTP 1.1 OK" instead of location
fixed already and updated my first post -
have you ever played mta:race? tell me how many times did it crash for you?
never for me -
Client first!!!!

Yeah release client before server! so we have lots of clients but no server to play on
-
yeah, wrote a new one, not that much code
http://forum.mtavc.com/viewtopic.php?t=18961 You can use it if you want 
Your script uses hashes or inis?
-
gj scoob
put !trace into it -
that has been always done like that afaik
-
I got one,
I think i have gave u the script by the way don't know

Make a !spawn & !get script
Hmm don't know anything else!!
not possible with mta:ma scripting
-
Wrong section but w/e do you have a legal copy of the game with no mods installed?
-
Theoden, the only thing you've done is a bracket mismatch and not working "You need to be level 7 to use this command." message....

Gang Headquarters Map (MTA: San Andreas) (Not maintained)
in Gangs
Posted
well it looked better before as far as i remember, btw you could use one of these leet maps like on mta center or mtama