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

    Auto regeneration

    wtf is kek xd Now a script with an array! A super edition from an universe! Buy me a pack of Lays! - please.
  2. waqmaz

    Lua [TFS 0.3.6] What is an itemEx?

    You are the best! :cool:
  3. waqmaz

    Windows Znote AAC cURL disabled

    php.ini is in your linux/windows etc. server. For example a XAMPP has a path to php.ini like: C/XAMPP/PHP/php.ini. Open that file and find: ;extension=php_curl.dll To uncomment this code just remove ";" and save the file. Now restart server (xampp here). If I helped you, like this post. :)
  4. waqmaz

    Lua [TFS 0.3.6] What is an itemEx?

    For example in: function onUse(cid, item, fromPosition, itemEx, toPosition) what is an itemEx? xd I program using TFS 0.3.6 a long time, but have never using that itemEx.
  5. waqmaz

    [TFS 0.3.6 Crying Damson] Repairing of bugged playerExists() function.

    int32_t LuaScriptInterface::luaGetPlayerGUIDByName(lua_State* L) { //getPlayerGUIDByName(name[, multiworld = false]) bool multiworld = false; if(lua_gettop(L) > 1) multiworld = popNumber(L); std::string name = popString(L); uint32_t guid; if(Player* player =...
  6. waqmaz

    Auto regeneration

    Add to config.lua -- Auto regeneration HP & MP by waqmaz. Set this global variable to "false" if you want to disable auto regeneration in your Open Tibia Server autoRegeneration = true In login.lua above: registerCreatureEvent(cid, "Mail") Add: registerCreatureEvent(cid, "regenerating") In...
  7. waqmaz

    Programmer LUA, MySQL, HTML, CSS, PHP, jQuery (OOP) - looking for job.

    Hello. I am Wojciech, 23 years old. I program in LUA, MySQL, HTML, CSS, PHP, jQuery. I started lua 4 months ago, but the rest of that luanguages I know since around 10 years. I am looking for job. I can program scripts for Open Tibia Server, I know TFS 0.3.6 very well. I wrote the following...
  8. waqmaz

    Zombie event - NEW version, bug free, updated

    You haven't pasted every script correctly.
  9. waqmaz

    Zombie event - NEW version, bug free, updated

    TFS 03.6 [8.6 Tibia] I do not think it is bug free script:
  10. waqmaz

    Graphic Designer Looking for someone who created cool 2D graphic for websites.

    Looking for someone who creates cool 2D graphic for websites. We pay 330$ for a good template. Example of required drawing abilities: https://imgur.com/a/BE6Co Languages: english or polish
  11. waqmaz

    [8.60] The Forgotten Server 0.3.6 (Crying Damson) V8

    Data/creaturescripts/scripts/spellup.lua. Please like my comment.
  12. waqmaz

    Lua getPlayerGUIDByName dosn't work?

    Sorry, it was working. I did something wrong and thought that it didn't work. But it worked. ve'updated the post above
  13. waqmaz

    Lua getPlayerGUIDByName dosn't work?

    FIX: nil instead of -1: local function typeName(text) return text end if msgcontains(msg, typeName(msg)) player = typeName(msg) if getPlayerGUIDByName(player) == nil then -- this C++ function returns a nil value, not a number value selfSay('Please...
  14. waqmaz

    Lua getPlayerGUIDByName dosn't work?

    There is a problem with the function getPlayerGUIDByName. I've checked it this way: local function sayName(text) return text end if msgcontains(msg, sayName(msg)) then local player_name = msg if getPlayerGUIDByName(player_name) ~= 0 then...
  15. waqmaz

    Auto regeneration

    add HP and MP every 2 seconds in creaturescript's onThink(cid, interval) function. you can specify a vocation too
  16. waqmaz

    Lua [Help] This chest system does not work :(

    Try change return TRUE to return true
  17. waqmaz

    Lua getPlayerGUIDByName dosn't work?

    Yeah, I have written the same code before. I the player doesnt exist it returns error: [16/08/2016 09:01:49] [Error - Npc interface] [16/08/2016 09:01:49] data/npc/scripts/bankerrothschild.lua:onCreatureSay [16/08/2016 09:01:49] Description: [16/08/2016 09:01:49] data/npc/lib/npc.lua:54: attempt...
  18. waqmaz

    Lua getPlayerGUIDByName dosn't work?

    I would like to make a script, which checks if a player exist in database or not. This script has to be used inside a creatureSayCallback(cid, type, msg) as a msgcontains(msg, 'playername') function. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler)...
  19. waqmaz

    Lua getPlayerGUIDByName dosn't work?

    Why this code throws the error above? The error appears instead " msg..''does not exist'" only when the code can't find the player. if msgcontains(msg, selectPlayerName(msg)) then if getPlayerGUIDByName(selectPlayerName(msg)) ~= 0 then selfSay('Nick exists...
  20. waqmaz

    Lua Function creatureSayCallback and how to get a variable's value?

    Bad answer, even with this function does not work. local function getCount(s) -- -1 domyślnie local b, e = s:find('%d+') return b and e and math.min(4294967295, tonumber(s:sub(b, e))) or -1 end k, works, ty. if msgcontains(msg, 'deposit '..getCount(msg)) then money =...
Back
Top