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

Recent content by Zinglol

  1. Z

    [GERMANY] [10.98 ] SANIC Custom OT | RL CASH PRICEPOOL | RPG | WAR | STARTING IN 3 DAYS

    18 hours to go! Bump and Happy new years!!
  2. Z

    Lua [TFS 1.3] Get script to fetch player.id (from database)

    player:getGuid() is probably nil, since you're kicking the player? Try this: 1. Store the players GUID in a variable. 2. Kick the player. 3. Run the SQL Query else player:setSkull(skulls[1]) item:remove(1) -- Store the ID in a local variable. local playerGUID =...
  3. Z

    Lua [TFS 1.3] Get script to fetch player.id (from database)

    db.query("UPDATE `players` SET `skulltime` = '0' WHERE `name` = '" .. player:getName() .. "';") Use db.query instead. You shouldn't get any errors, I tried this on my own server. Make sure the script is loaded into the server.
  4. Z

    Lua [TFS 1.3] Get script to fetch player.id (from database)

    Try this: db.storeQuery("UPDATE `players` SET `skulltime` = '0' WHERE `name` = '" .. player:getName() .. "';")
  5. Z

    Lua Exp ring or necklace TF 1.3

    Try this :) function Player:onGainExperience(source, exp, rawExp) if not source or source:isPlayer() then return exp end -- Soul regeneration local vocation = self:getVocation() if self:getSoul() < vocation:getMaxSoul() and exp >= self:getLevel() then...
  6. Z

    Lua [TFS 1.3] Get script to fetch player.id (from database)

    function onUse(player, item, fromPosition, target, toPosition, isHotkey) local playerID = player:getId() -- <- Player ID local playerGuID = player:getGuid() -- <- Player GuID return true end
  7. Z

    Windows Znote Website cant create characters

    If I were you, then I would wipe the DB (since I am assuming you have just initialized it). And then insert the tables which you get from setting up your Znote Website. It does seem like you are missing some tables, yes. Edit: I helped him out with a personal call through Discord. We...
  8. Z

    Lua Special rune charge remover

    I believe that in spells.xml you can set the attribute "charges". Here is an example as to how sudden death rune works: The actual spell script: local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA)...
  9. Z

    Lua Exp ring or necklace TF 1.3

    Okay, let's try this: function Player:onGainExperience(source, exp, rawExp) if not source or source:isPlayer() then return exp end -- identify the necklace slot. local necklace = player:getSlotItem(CONST_SLOT_NECKLACE) -- if the necklace is our "extra XP item"...
  10. Z

    Lua Exp ring or necklace TF 1.3

    Share your Player:onGainExperience code from: /data/events/scripts/player.lua And perhaps I can help you convert Sarah's suggestion to your code base :)
  11. Z

    [France] [8.60] Frozeria High Exp Custom OT | War&RPG | Ferumbras Ascension

    👍 Looks great. May I ask how much work have you put into customizing it?
Back
Top