• 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. bomba

    PHP Script

    Edit, now is returning only numbers on table. I need to return the name of player: Look: "SELECT * FROM `player_storage` WHERE `player_storage`.`key` = 971714014 ORDER BY `player_storage`.`value` DESC LIMIT 0, 10"; echo "<tr><td>".$row["player_id"]."</td><td> ".$row["value"]."</td></tr>";
  2. bomba

    [Error] Last Man Standing

    local t = { tmp = { {x = 376, y = 461, z = 7}, -- quina à noroeste (acima e à esquerda) da area onde os players devem estar para ingressar no evento {x = 392, y = 475, z = 7} -- quina à Sudeste (abaixo e à direita) }, arena = { {x =...
  3. bomba

    Monster walk only north and south

    Why the monsters of my otserv are walking only to the north and to the south? When attack a player. I'm using TFS 0.4.
  4. bomba

    Get Killer

    How to get the killer? Look the script: function onDeath(cid, corpse, deathList) local drop, nDrop = doCreatureSetDropLoot(cid, true), doCreatureSetDropLoot(cid, false) local killer = ????????? if getPlayerLevel(cid) <= 50 then if isMonster(killer) == true then...
  5. bomba

    Windows Can I host a TFS 0.4?

    Can I host TFS 0.4 - 8.6, on windows server 2003 SP2 64x?
  6. bomba

    Simple example of summon in area

    Need a simple example to create monsters in certain area, like this: local config = { monster = "Rat", ammout = 5, topL = {x=100, y=100, z=7}, botR = {x=200, y=200, z=7} }
  7. bomba

    Why notthing happens?

    Why notthing happens when I logout and relogin? function onLogout(cid) -- if isPelejador(cid) == true then local formula = (10+getPlayerLevel(cid)*1.5) if formula >= 140 then return 140 else db.executeQuery("UPDATE `player_skills` SET `value`...
  8. bomba

    CreatureEvent [RPG] Sleep

    In a Lib, add this: storDormir = 971714026 valorX = 971714027 valorY = 971714028 valorZ = 971714029 In creaturescripts, logout2.lua: local function deslogar(cid) if isPlayer(cid) == true then if getPlayerStorageValue(cid, storDormir) >= 1 then setPlayerStorageValue(cid...
  9. bomba

    Set player skill

    Need a function to set player skill, and a function to get weapon skill, example: local function value(cid) local lv = (getPlayerLevel(cid)/2) if lv <= 10 then return 10 else return lv end return true end local function getWeaponSkill(cid) -- if equiped...
  10. bomba

    Waypointer NPC

    I've posted a topic with a waypointer system NPC, with video. But I want to simplify the script: -- [[ Feito por Anderson (BomBa)]] waypoint_royalFufu = 971714008 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler)...
  11. bomba

    NPC RPG - Royal Fufu

    Have you thought about creating a NPC with artificial intelligence ? I 've thought , and created ! This NPC I created will walk through a pre determined way , and will return. He will speak some cool phrases too, automatically. On the route that the NPC does , it stops for a while. The moment...
  12. bomba

    New fishing sytem

    I wanna a new fishing system like this: Look at this sketch: local listOthers = {2226, 2240, 5417, 10583, 5951} config = { [3877] = {bait = {8297}, obtain = {{2667, 70, math.random(1, 4)}, {listOthers[math.random(#listOthers)], 29, math.random(1, 5)}, {5895, 1, 1}}} -- Example: {Item, Chance...
  13. bomba

    Windows Database

    I wanna get the value of "antigoNome" in my database. Database name: vicesera Table name: players Colum name: antigoNome I tryed: SELECT DATABASE `vicesera` FROM `players`, `antigoNome` WHERE `players`.`name`= 'Andezsacan'
  14. bomba

    Windows Website error

  15. bomba

    Solved NPC error.

    Ignore the title, because before it was a mistake and got put away , but now I have the following questions : How do I add extra options ? Example: When I say "trade" to the NPC, then "trade" got 2 modal options: "Buy"; "Sell"; Then "Buy" got new sub-options: "Buy" > "Spear"; "Buy" > "Arrow"...
  16. bomba

    isWalkable

    Function isWalkable to TFS 1.1?
  17. bomba

    How to do this?

    .
  18. bomba

    Attempt to call method 'getSkullStype'

    function onKill(player, target, lastHit) if player:isPlayer() == true then if player:getStorageValue(factionStorage) == target:getStorageValue(factionStorage) then if target:getSkullType() >= 3 then player:setStorageValue(honorStorage...
  19. bomba

    Change skull TFS 1.1

    What is the function to change skull in tfs 1.1? I tryed: function onLogin(cid) if getPlayerStorageValue(cid, honorStorage) >= 500 then doCreatureSetSkullType(cid, 0) else doCreatureSetSkullType(cid, 4) end return true end But don't work
  20. bomba

    doPlayerSendChannelMessage - TFS 1.1

    How to use the function "doPlayerSendChannelMessage"? doPlayerSendChannelMessage(cid, "Daragnus Neverker", "Sou um tipo de anjo, e irei lhe ajudar.", msgType, channel) I wanna help to use this function in version 1.1
Back
Top