• 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!

Search results

  1. G

    Lua Compare sql result with null

    Well, If anyone need anything like this... I solve my problem this way: local status = db.getResult("SELECT count(`id`) FROM `accounts` WHERE `id` = "74712885";") local infor = status:getDataInt("count(`id`)") if infor == 0 then ... Thanks, can close the topic!
  2. G

    Lua Compare sql result with null

    Hi, Anyone can tell me how should I compare a result of a line on DB to null? For example: db.getResult("SELECT `id` FROM `accounts` WHERE `id` = "74712885";") This will return NULL on mysql, how should I verify this with an if? I'm trying like this: local status = db.getResult("SELECT...
  3. G

    Lua Script give random exp?

    bump
  4. G

    Lua Script give random exp?

    Hi, I think is not that I want.. Is 'semi' that, but take exp forever, if are in this tile you receive 10k exp with a random time forever.. But I tried teckman's script and error... But are missing ")", then: function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)...
  5. G

    Lua Script give random exp?

    Yep!
  6. G

    Lua Script give random exp?

    cant do it automatically? for example each 10 seconds he gain 10k exp? or to easily that, in this globalevent by Znote, can it do the exp only to who have X storage? Thanks!
  7. G

    Lua Script give random exp?

    Hmm, thanks but I wanna do a 'tile', for example, or action or other thing to give the random exp to 'one' player understand? Sorry for bad explain! Thanks!
  8. G

    Lua Script give random exp?

    I'm trying do a script to do this: In a random time, for example, for each 10 seconds it will give a random experience between 5k and 10k. I tried and failed, as have someone help me please? I'm so bad with lua. Thank you!
  9. G

    Lua Anti Dupe Help

    BUMP Help please
  10. G

    Lua Anti Dupe Help

    Bump. Help please!
  11. G

    Lua Anti Dupe Help

    Hello everyone! I'm trying to put an anti dupe system on my server. But I dont understand about that. What I need to know are: How to delete items with same ID? My shop.lua provide the name and ID of a item(code below) but how to delete items with same id? -- ### CONFIG ### --...
  12. G

    Lua See IP

    Oh, That's what I need Thanks andypsylon!
  13. G

    Lua See IP

    But isn't command /info Only look player and show IP... What flag I have to change?
  14. G

    Lua See IP

    Hello! Sorry for my bad english but I have a question: My CM and my GM are seeing the IP of all, can I take away this permission? Thanks!
  15. G

    Lua Debug

    Olá! Quando tem em um stack muita gente fazendo muita coisa tipo: Usando pot + Antipush + Magias + rodando = debug Precisa de umas 10 pessoas fazendo pra debugar.. As pessoas estão fazendo isso e matando os outros no meu servidor, o que faço? Obrigado...
  16. G

    How to Multiworld to not same database?

    Sorry for double post! Delete this plss
  17. G

    Gesior World_Id

    Bump
  18. G

    Gesior World_Id

    But that u said will load characters from world_id 0, and the players should be world_id 1. Then don't show nothing..
  19. G

    Gesior World_Id

    How to do 2 websites on same computer? Not 1 website to 2 servers.. I need 2 websites to 2 servers.. Separate by folders.. But When I will config.php happen this.. Server 1: $config['site']['worlds'] = array(0 => 'Server 1'); Works perfectly But Server 2: $config['site']['worlds'] =...
Back
Top