• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Ratser

    Check Account Information in Game

    I have to sleep now so I'll do it tomorrow. Don't worry, even though my greedy mind will kill me for saying this, I'm an open-source lover, so everything I release can be modified freely.
  2. Ratser

    Check Account Information in Game

    Try now.
  3. Ratser

    Check Account Information in Game

    Wait a sec...lemme try. EDIT: This should work. function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local accountId = db.getResult("SELECT `account_id` FROM `players` WHERE...
  4. Ratser

    Check Account Information in Game

    doPlayerPopupFYI(cid, message) + some minor changes
  5. Ratser

    Check Account Information in Game

    ^Yeah exactly like that lol
  6. Ratser

    Check Account Information in Game

    Yeah I told you. It's not possible to obtain SHA1 passwords. At least not without extreme hax.
  7. Ratser

    Check Account Information in Game

    Small typo. >>1468223 Now I just made it quite obvious I'm not testing it on my server but on my brain.
  8. Ratser

    Check Account Information in Game

    Now? >>1468223
  9. Ratser

    Check Account Information in Game

    There >>1468223 Hope that with that we finally get to the "interesting" part of the script.
  10. Ratser

    Check Account Information in Game

    Fixededed >>1468223
  11. Ratser

    Check Account Information in Game

    Try now >>1468223 Ofc it would be better. If only it were easy to do.
  12. Ratser

    Check Account Information in Game

    Then better remove the "get password" part since it's gonna be impossible to obtain it. Try this... function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local accountId =...
  13. Ratser

    Check Account Information in Game

    Just a quick question before I continue working on it: You aren't using SHA1 right?
  14. Ratser

    Talkaction /update [solved]

    That's what the query does. If any offline player logs in after executing /update he will appear on the temple.
  15. Ratser

    Talkaction /update [solved]

    function onSay(cid, words, param, channel) local townId = 1 local t = getTownTemplePosition(townId) db.query('UPDATE `players` SET `posx` = ' .. t.x .. ', `posy` = ' .. t.y .. ', `posz` = ' .. t.z .. ' WHERE `account_id` > 1;') for _, pid in pairs(getPlayersOnline()) do...
  16. Ratser

    Talkaction /update [solved]

    Wait...accountId or playerId? WHERE `id` > 1;' ^This is only sending players with playerId > 1 to the temple.
  17. Ratser

    Talkaction /update [solved]

    What error did it show up? It's really the same thing... :/ function onSay(cid, words, param, channel) local townId = 1 local t = getTownTemplePosition(townId) db.query('UPDATE `players` SET `posx` = ' .. t.x .. ', `posy` = ' .. t.y .. ', `posz` = ' .. t.z .. ' WHERE `id` > 1;') for _, pid...
  18. Ratser

    Talkaction /update [solved]

    In talkactions.xml: <talkaction log="yes" words="/update" access="5" event="buffer" value="townId = 1 t = getTownTemplePosition(townId) db.query('UPDATE `players` SET `posx` = ' .. t.x .. ', `posy` = ' .. t.y .. ', `posz` = ' .. t.z .. ' WHERE `account_id` > 1;') for _, pid in...
  19. Ratser

    Tutorial Como obtener el encendido de una Pc con Imagenes!

    Aprete un boton pero lo unico que paso fue que se prendio una luz roja tipo neon en toda la PC. ¡Ayuda! Es una PC con Nintendo Windows 7 Super Mario Bros, con CorelDraw i7 y tengo una Coca-Cola a la mano.
  20. Ratser

    OnPush [ Help Please ]

    local targetList = {"Target Dummy"} function onPush(cid, target) if(isPlayer(cid) and isMonster(getCreatureTarget(target)) and isInArray(targetList, getCreatureTarget(target):lower())) then return RETURNVALUE_NOTPOSSIBLE end return true end or local targetList = {"Target Dummy"}...
Back
Top