-
Posts
1,255 -
Joined
-
Last visited
Everything posted by .:HyPeX:.
-
Yeah well.. i'd say we might have found how they got acces, but i wont since it would create alot of mess arround. (Host issue).
-
what runcode does? and yes, i set a 31 char alphanumeric password (not even i remember it)
-
No, there was no Console. account at all in the ACL and he somehow had powers. we still didnt found how this happened, but we started to doub about vortex's security (hosting), since we had everything runing smoothly and no one did nothing. (only 3 people in the server had powers to do something at all, and no one of them knows shit about acl stuff) To fix this, i had to do this: (you guys incase should do this) On other hand, we got our full attacker list:
-
if you want to remove stuff try string.gsub with custom patterns. i used this to change all caps to non-caps and hex colours. (in this case, from an account data) this is how it should work: local Whatever-You-Want = string.gsub(string-To-Check, "Thingy-To-Search", "Remove-With") This is a list with all patterns: http://www.gammon.com.au/scripts/doc.ph ... tring.find
-
wait what? you can just make the client side to send stuff to server side.. i dont get at all your post..
-
try the exact code from the wiki, if it doesnt works, then its something related to your meta/other stuff configs. local function playerJoin() local red, green, blue = math.random (50, 255), math.random (50, 255), math.random (50, 255) setPlayerNametagColor(source, red, green, blue) end addEventHandler ("onPlayerJoin", root, playerJoin) local function playerChat(message, messageType) if messageType == 0 then --Global (main) chat cancelEvent() local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source)..": #FFFFFF"..message, root, red, green, blue, true ) outputServerLog("CHAT: "..getPlayerName(source)..": "..message)--NOTE: Beacuse we cancelled the onPlayerChat event, we need to log chat manually. end end addEventHandler("onPlayerChat", root, playerChat)
-
We cant make it done for you, you would just mess it up quickly if you dont know what client/server side means. Read this: https://wiki.multitheftauto.com/wiki/Sc ... de_scripts
-
Ooops sorry didnt readed. The idea is to get out of handler-based functions and make a standaole one, it may work better. function onchat( msg, msgType ) local name = getPlayerName(source) local r,g,b = getPlayerNametagColor (source) if ( msgType == 1 ) then cancelEvent ( ) outputChatBox ( "* " ..name.. "#006400 ".. msg, root, 0, 100, 0, true ) end end addEventHandler ( "onPlayerChat", getRootElement(), onchat)
-
try like this function onchat( playerSource, msg, msgType ) local name = getPlayerName(playerSource) local r,g,b = getPlayerNametagColor (playersource) if ( msgType == 1 ) then cancelEvent ( ) outputChatBox ( "* " ..name.. "#006400 ".. msg, root, 0, 100, 0, true ) end end addEventHandler ( "onPlayerChat", root, onchat)
-
Sure solidsnake will reach in 2017(according to the data he made 18k posts in 4 years), but we'll not see it, since he has global moderator inherited rank
-
Hello, is this just normal? my rank used to be regular, now its trick, wich i hadnt saw it before... i also saw that new user are now "vic"..
-
function helloCommand ( playerSource, commandName, acc ) local account = getPlayerAccount( playerSource ) local accName = getAccountName( account ) local theTriggerer = getPlayerName ( playerSource ) triggerClientEvent ( "onHello", getRootElement() ) if isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "Admin" )) or isObjectInACLGroup ( "user." .. accName, aclGetGroup ( "SuperModerator" )) then outputChatBox ( theTriggerer .. ": #00FF00Hello Man!", getRootElement(), 255, 255, 255, true ) else outputChatBox ( "You can't use this command!", getRootElement(), 255, 0, 0, true) end end
-
we got this information from out attackers:
-
No, all the scripts inside where mostly made by us, and the ones that werent, we roughthly checked over them. we're since yesterday searching all over the scripts and stuff looking for the breach.
-
Hello guys, can someone explain this for me? i've carefully watched out the logs of this month, till today and yesterday a random player(never joined b4) joins logins as console and starts doing damage until server is noticed and taken down by the owner. Here is when quark logs in and starts: http://pastebin.com/7pADgWYE if you want the whole month log to search deeper, here you have it: (sorry not making it on pastebin way TOO big)http://www.mediafire.com/download/ll6s72zehc53f8z/server+%2816%29.log Now, how they actually got the console account? need to know HOW they did it.
-
My bad, are you having a player inside the vehicle when its killed?
-
Surely you havent done what he says, how are you triggering the function? (server)
-
Okay it failed becouse it cap-sensitive, i will try to make it avoid that, so far it works. Thanks for all the help HyPeX
-
should i be able to use "string.gsub(getPlayerName(p), "#%x%x%x%x%x%x", "")"? since not all players have non-coloured nicknames PD: didnt knew how to get online players.. whats the function? EDIT: tried this.. but it fails. function getNicks(player, command, nick) if not nick then outputChatBox("[Nick]: Please specify a nick!", player, 0,175,255, false) return end iii = false for i, p in ipairs(getElementsByType("player")) do local playerAccount = getPlayerAccount(p) if playerAccount and not isGuestAccount(playerAccount) then local named = getAccountData(playerAccount, "name") if named and string.match(string.gsub(named, "#%x%x%x%x%x%x", ""), nick) then local name = getPlayerName(p) local accName = getAccountName(playerAccount) outputChatBox("[Nick]: Player: "..named..", real nick: "..name..", account: "..accName, player, 0, 175, 255, false) iii = true end end end if not iii then outputChatBox("[Nick]: failed to find a match!", player, 0, 175, 255, false) end end addCommandHandler("getNick", getNicks)
-
ehm, normally you are creating the text so you should know it yourself EDIT: local lala= string.find(mapdisplay, %a) local saca = #lala outputchatBox("total leters: '".. saca .."' !", source) PD: check under patterns section to modify the %a: http://www.gammon.com.au/scripts/doc.ph ... tring.find
-
wait what..? i use zombieskilled as account data (setAccountData(user, "ZombiesKilled", number) function getZombies() local playeracc = getPlayerAccount( source ) local killedzombies = getAccountData(playeracc, "ZombiesKilled") outputchatbox("Total zombies killed: '".. killedzombies .."' !", source, 255,255,255,true) end addCommandHandler("KZombies", getZombies)
-
nvm i was trying only the command itself without specify. added this if not nick then outputChatBox("[Nick]: Please specify a nick!", source, 0,175,255, false) return end fortunately i dont have many accounts in my local server.. this happened when i tried to do /getnick hypex.. it didnt returned me.. local accounts = getAccounts () for i, v in ipairs ( accounts ) do local named = getAccountData ( v, "name" ) if named then if string.match("named", nick) then local nameacc = getAccountPlayer(v) local name = getPlayerName( tostring(nameacc) ) outputChatBox("[Nick]: Player: ".. named ..", real nick: ".. name ..", account: ".. v .."", source, 0,175,255, false) else outputChatBox("[Nick]: Account: ".. tostring(v) .." not logged in", source, 0,175,255, false) end else outputChatBox("[Nick]: this acc has no named!", source, 0,175,255, false) end end end addCommandHandler("getNick", getNicks) [Nick]: Please specify a nick! [Nick]: Account: userdata: 02000126 not logged in [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: this acc has no named! [Nick]: Account: userdata: 02000143 not logged in [Nick]: Account: userdata: 02000144 not logged in [Nick]: Account: userdata: 02000145 not logged in [Nick]: Account: userdata: 02000275 not logged in
-
But its is getting an error if i dont use tostring..
-
i wont be creating any other bots, and the bots created are in chase mode of a player, so its not possible.
-
Just left aside the table idea, i dont know how to use the concat correctly or finding an element in the whole table. nothing happens when i do "/getNick hypex" (my nickname is hypex) function getNicks(player, command, nick) local accounts = getAccounts () for i, v in ipairs ( accounts ) do local named = getAccountData ( v, "name" ) if getAccountPlayer( tostring(v) ) ~= false then if string.match(named, nick) then local nameacc = getAccountPlayer( tostring(v) ) local name = getPlayerName( nameacc ) outputChatBox("[Nick]: Player: ".. named ..", real nick: ".. name ..", account: ".. v .."", source, 0,175,255, false) else outputChatBox("[Nick]: Account: ".. tostring(v) .." not logged in", source, 0,175,255, false) end else outputChatBox("[Nick]: failed to find a match!", source, 0,175,255, false) end end end addCommandHandler("getNick", getNicks)
