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

    C++ Class has no member named

    Hello. So I am trying t include the code from: Fix monsters walking over fields. by Mkalo · Pull Request #2207 · otland/forgottenserver to into the tfs 0.3.6 crying damson version and everything works well, except this. If I add to the combat.h int32_t getDamage() const {...
  2. waqmaz

    TFS 0.X 0.3.6 - doTransformItem on tile makes item non-moveable.

    I use script doTransformItem(getTileItemById()) to tansfor a moveable corpse of rat with id 2813 to moveable corpse of rat with id 2814. After that the corpse with id 2814 is non-moveable in game. I tried to set its aid with function const ItemType& it =...
  3. waqmaz

    TFS 0.X How to check which item (corpse) is no-moveable?

    After 3 days and 5 hours of searching for that, I totally give up. Corpses of my monsters are non-moveable. I want to change them all as moveable by default. How can I do it or where can I find it? I use source 0.3.6 Thank you. /edit looks like it's client side. checked objectbuilder...
  4. waqmaz

    TFS 0.X Compilation of TFS 0.3.6 using 64 bit Windows 10

    Is it possible to compile TFS 0.3.6 using 64 bit Windows 10? Is it better to compile using microsoft visual c++ or dev-c++? And why? Where can I find all the required libraries to compile TFS 0.3.6 under windows 10?
  5. waqmaz

    Compiling Can't find project for Cryingdamson 0.3.6 V8.2

    Hi, I downloaded Cryingdamson 0.3.6 V8.2 source version and I want to compile it, using MSVS 10 Express, but MSVS can't find project in dev-cpp folder. How can I get a project? I use this tutorial [Compiling]MSVC - Compiling TFS under Windows - EASY WAY! Imgur: The most awesome images on the...
  6. waqmaz

    Lua [TFS 0.3.6] What is the best way to check if player stand 1 square to you?

    What is the best way to check if player stand next to you? It doesn't need to be head to head, just one square to you. I need it, because I've done a new spell in lua and that spell works in every range, and it is for a knight, so it should be in 0 range. There are some functions...
  7. waqmaz

    Lua How to store a function inside a variable for future purpose? It returns nil. :(

    How to store a function inside a variable for future purpose? It returns nil. :( attackBefore = getItemAttribute(item.uid, 'attack') attackAfter = 1 doItemSetAttribute(item.uid, 'attack', attackAfter) print('Attack changed from '..attackBefore..' to '..attackAfter) I gives:
  8. 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.
  9. 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 =...
  10. 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...
  11. 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
  12. 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...
  13. waqmaz

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

    I try to write a bank script on my own, but the only thing I do not know how to do is how to get a value from a variable that player has writed? Here is the code: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) local talkState = {}...
  14. waqmaz

    Lua Task - kill x monster. A question.

    Is there a way to make a task, using lua language without using storage? Like storing a variable in global table or something. I do not want to store the variable in a database. Lags.
  15. waqmaz

    Lua FOR LOOP (Display text inside a foor loop one time)

    I know that it should be asked for example using stackoverflow, but it can be a curiosity for many otland users. for i=1,5 do doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Text 5 times.') end To avoid this problem I always do something like this: local i = 0 for i=1,5 do i = i...
  16. waqmaz

    Lua How to combine this array with a function?

    File1.lua: sorcerer_spells = { [1] = {spell = 'Death Strike'}, [2] = {spell = 'Flame Strike'}, [3] = {spell = 'Energy Strike'}, [4] = {spell = 'Fire Wave'}, [5] = {spell = 'Energy Beam'}, [6] = {spell = 'Great Energy Beam'}, [7] = {spell = 'Energy Wave'}, [8] =...
  17. waqmaz

    Compiling Compiled app doesn't run.

    I've compiled TFS 0.3.6 TheForgottenServer and compiling has been done OK. I can't run an application. When I click in application it does nothing. It looks like this: https://imgur.com/a/dmOR0
  18. waqmaz

    Lua WTF is going on with that array? O_O

    local t = {5518,5517,5516,5515,5514,5513,5512,5511,5510,5559,5558,5557,5556,5555,5554,5553,5552,5551} -- uid itemkow ze splashem function onStepIn(cid, item, fromPos, item2, toPos) registerCreatureEvent(cid, "waterSplash") for i = 1, #t, 1 do if item.uid == t[i] then...
  19. waqmaz

    Remeres Map Editor - how to change no logout zone color?

    Is it possible to change no logout path color from yellow to whatever? Sometimes I do not se that little yellow no logout color on map or it is really hard to see, if there are all squares coloured, i would like to change it to for example black. Thanks.
  20. waqmaz

    Lua Show storage of few players to these players does not work after setting storage to -1.

    TFS 0.3.6 How can I reset storages of all players and still display message from a loop? function onKill(cid, target) if isMonster(target) and isPlayer(cid) then local tmp = bossHighestDmg[getCreatureName(target):lower()] local players = {} if tmp then...
Back
Top