Jump to content

Lovinglife

Members
  • Posts

    98
  • Joined

  • Last visited

Everything posted by Lovinglife

  1. Hey guys, hi all....ive read ur posts...btw i think those codes are not working (just bcuz ive read all posts..included the ones which say codes are wrong...) Ive been thinkin a way to do it...1)such as using a timer and every seconds the code controls if ur hp are more than 100 and if ur armor is more than 0... and 2)antiammohax? I ve seen if u try to hax ur granade ammos u success...while if u got 1 gran and u throw it...then u get 100 gran from s*beit, well those 100 arent synched (tested)...but if u spawn with 1 gran and u add 100 u got 101 gran...x.x....Is there a way to avoid ammohax? im taking a look on mta wiki...if u got any idea please say it Regards Lovinglife
  2. Lovinglife

    Serial ban???

    You'll need to store the banned serial somewhere (for example MySQL as Mini-Missions does) and then when a player connects, check if the player's serial is among the banned list. That's what you'll need. Also a command to ban a serial would be useful. Yes. MTA doesn't have a "shared (official) ban list" like SA-MP has (SprunkBuster) for example. Ok ty for answering 1 and 3 Qs ^^
  3. Lovinglife

    Serial ban???

    Hi guys... Well i have few Quest ç_ç 1)Do i need a resource (banserial cmd) to use this kind of ban? 2)Ban serial works with UNregistered ppl (MTA COMM)? 3)If i get banned, i am banned only in that server right? Its possible to be unbanned by the admin of the server? Regards Lovinglife
  4. Uhm i see, thanks for ur replies...time ago i saw a topic i and i got this script addEventHandler ("onPlayerDamage", getRootElement (), local playerHealth = getElementHealth ( source ) if playerHealth > 100 then kickPlayer ( player kickedPlayer, [ player responsiblePlayer, string reason = "Don't hack your Health!" ] ) end ) *i rly dont remember if it was > o = 100...* But this is not working(>)...i might need smth, a timer or smth that checks ur HP and if u got >100hp u get caught on chat...and if u get armor >0 too, btw ill try to do it too Regards Lovinglife
  5. hi all...i asked to my server hoster to upgrade mta server to 1.0.3...it STILL was 1.0...so i told em and then i tried to join, but it was still 1.0....so today i upped this zip with my explanation about doing the upgrade...http://solidfiles.com/d/8dvJ i told em to replace only the file they see in the .zip...ofc not overwrite the folders...Well they say they did it but now i cannot join my server and i get this in my logs... =========================================================== = Multi Theft Auto: San Andreas v1.0 =========================================================== = Server name : blabla = Server IP address : ipaddress = Server port : 22003 = = Log file : ..10728588377/mods/deathmatch/logs/server.log = Maximum players : 20 = MTU packet size : 1264 =========================================================== [11:40:57] ERROR: Couldn't find meta.xml file for resource 'admin' [11:40:57] Loading of resource 'admin' failed [11:40:57] ERROR: Couldn't find meta.xml file for resource 'admin' [11:40:57] Loading of resource 'admin' failed [11:40:57] ERROR: Couldn't find meta.xml file for resource 'ajax' [11:40:57] Loading of resource 'ajax' failed [11:40:57] ERROR: Couldn't find meta.xml file for resource 'amx' [11:40:57] Loading of resource 'amx' failed [11:40:57] ERROR: Couldn't find meta.xml file for resource 'amx-AAD50E' [11:40:57] Loading of resource 'amx-AAD50E' failed [11:40:57] ERROR: Couldn't find meta.xml file for resource 'amx-area51' [11:40:57] Loading of resource 'amx-area51' failed [11:40:57] ERROR: Couldn't find meta.xml file for resource 'amx-area51M' [11:40:57] Loading of resource 'amx-area51M' failed [11:40:57] ERROR: Couldn't find meta.xml file for resource 'amx-bare' [11:40:57] Loading of resource 'amx-bare' failed and more and more ERRORs.... what happened Regards Lovinglife Edit: they forget to add dll files...now it works..
  6. STAFF NOTE (2020): This topic is severely outdated and contains false information, it was written and answerred long before MTA implemented the anti-cheat it currently has, at all. Hi all... I have known that there is an anticheat in mta client (i guess), id like to know more about this...is a resource of similar? or just a client feat? And i know that if u try to refill ur hp (this doesnt work with armor ) to 100 u get kicked...well there is a way to edit this and show in chat and log(output etc..) This ac works only for what i typed above?
  7. lot of scripts uses clientside money checking ;| hmm i didnt get this...and ppl ty for all ur answers Btw a friend of mine tried a money hax , and actually the server returns to 0$ (or default money u get onplayerspawned, i dont know exatly), that was tried on mode "freeroam, play" since im not doing any resource atm, with money i mean, i cant give u more infos, but that should be more or less sure. And is there a way to see player's intention? i mean i press blablakey and i get caught even if server doesnt add my $...i think that should be possibile, if u ppl say that money hax works on clientside but servers blocks it. Regards Lovinglife
  8. onClientPlayerDamage / onPlayerDamage returns the original damage value, nothing you can do about it except for editing it. Hey..Editing what? i didnt get it
  9. Good news, i did it! Ty for ur help (both u) Regards Lovinglife
  10. i think so coz he is playing sa-mp..btw he cannot reinstall atm...well thank you all to take a look...cya for now Ok he reinstalled and now mta is working, i will keep him away from mods Regards Lovinglife
  11. Hi i will post a little "thing" about this... btw, Dak, tyvm, u help me a lot... and, guys...there's a lil issue, if i start this res and i use my m4 in close range i still see "dmg 50% (for istance) in my injury script (made by rhbk)" even if the REAL dmg is 10%...btw that resource got "locked" code and i cannot do nothing,,,(i can pm him), i got an other dmg script...anyone knows if i can hadle this new issue with LUA? Regards Lovinglife
  12. hey karlis, sup that Json seems kinda hard for me...btw...my warnings system is composed by a cmd to set up "avvisisettati" (the number u cant go on) and a value avvisikick, starts 0, (=avvisisettati+1,each time u if (playerPing > maxPingValue)) when ur aKick is bigger than aSettati u get kicked . and i appreciate ur usefull help but i d like to try alone...btw what i explained above is in server side...should i move that to client side (i think i cant bcuz of CMD(server side, right, only?) or only the thing " if (playerPing > maxPingValue) then TogglePingWarning(thePlayer, true) bla bla avvisiKick = avvisiKick + 1 and if only that piece of code, how? Regards
  13. hey ... i saw "nil" value if i use debugscript3....Attempt to perform on arit on nil value on top i got avvisiSettati=2 avvisiKick=0 i guess i should try avvisisettati or avvisikick as Onresourcestart local value7 = get('avvisisettati') if (value7) then avvisiSettati = value7 end local value8 = get('avvisikick') if (value8) then avvisiKick = value8 end ? @Karlis i didnt understand, i kinda such with lua, damn it Should i do same things on client side? Thanks both ofc !
  14. i think so coz he is playing sa-mp..btw he cannot reinstall atm...well thank you all to take a look...cya for now
  15. hi again...i'm getting this issue... ->>>>>>>>>>>>> http://img651.imageshack.us/img651/8760 ... 161634.png It should be : Each player got his warnings : Vale 3/1, 3/2, 3/3...etc... Jo 3/1, 3/2, 3/3...etc... Instead of Vale 3/1,Jo 3/2, Vale 3/3...etc...Kick. Every player must have his warnings.... This is the code's piece u need to see.... if (maxPingEnabled) then if (playerPing > maxPingValue) then TogglePingWarning(thePlayer, true) avvisiKick = avvisiKick + 1 i think that here i should add something like "for index, thePlayer in ipairs(getElementsByType("player")) do" or "if (isElement(thePlayer))" i rly dont know...i need something that assignes different warnings to each player
  16. uhm...i'll try to get more info about this one....btw on sa-mp this doesnt happen...
  17. Hi ppl. It happened sometimes that i (or an other player) shoot with M4 or mp5 (automatic guns) in close range to my enemy...and i kill my enemy faster than when i shoot from medium distance (range)...HEADSHOT is off... Btw im trying to "show" MTA to my internet friends and so i need to know if u ever get this "issue", bcuz i cannot persuade em properly to play if they notice smth "wrong" than sa-mp.
  18. Any admins or mod could move this topic to https://forum.multitheftauto.com/viewforum.php?f=91, it might get more visibility bcuz i made a wrong to post in this area indeed while i was reading "server side" i posted here, which is an errror, and now i have seen again this topic and its area ty
  19. i already told him to reinstall SA and trying to launch MTA without any mod...i ll let u know
  20. Thank you very much karlis i created a new way to use pingkicker and it is working Regards Lovinglife
  21. Lovinglife

    SA + MTA error!

    Hi a friend of mine is getting an error when trying to connect to a server, his game stops til loading bar reachs 50-60 % then he get this error (if i understand right). http://i42.tinypic.com/2u9se35.jpg He tried to change SA directory...Delete doc files....nothing... his SA (single ) is gettin s8 problem....He got amd athlon 64. 2200 MHz (11 x 200) 3500+, VC is ati hd4800. Regards Lovinglife
  22. yeah i know it btw i get this error ERROR: Client triggered serverside event kickpinger, but event is not added serverside.... Btw i ve been thinkin that i could need a "warningtimes cmd"...for istance, my ping is 130 and i get 1st warning..it appears "blabla got 1/*(value) warning".. when i get the 3rd(if i type /warningtimes 3, so max is 3)warning i get kicked... outputChatBox ("Pingkicker: " .. getClientName(thePlayer) .. "AVVISO UNO (ping alto) (Max: " .. maxPingValue .. ")", getRootElement(), 255, 0, 0) outputChatBox ("Pingkicker: blabla, reason: Too high ping (Max: " .. maxPingValue .. ")", thePlayer, 255, 0, 0) i need something to appy here : outputChatBox ("Pingkicker: " .. getClientName(thePlayer) .. "AVVISO UNO (ping alto) (Max: " .. maxPingValue .. ")", getRootElement(), 255, 0, 0)...<--- this warning should get Value 1....so i may use an other fuct to do what i type... why i need this? to avoid ping bounce...coz i am organizin a tournament...and direct kick is too bad Regards Lovinglife
  23. hey hello, sry but i tried this resource (i mean pingk) and it didnt work
  24. lol i dont mean nothing i mean ur "help" but thats it a "work" more than a simple "help" btw ty again im gonna try the output
×
×
  • Create New...