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

  1. K

    Game map instances?

    I was wondering about something like random instances, for special events, quests and so on. I have an idea how to "simulate" such things. For example I can create small part of map, which take only one level, and copy-paste it on all 15 levels. On need, I'd just teleport player to a random one...
  2. K

    [Tutorial] Adding more tiles to game window - Updated 7/6/2018

    //going further down else if (newPos.z > oldPos.z && newPos.z > 8 && newPos.z < 14) { int32_t skip = -1; GetFloorDescription(msg, oldPos.x - Map::maxClientViewportX, oldPos.y - Map::maxClientViewportY, newPos.z + 2, (Map::maxClientViewportX+1)*2, (Map::maxClientViewportX+1)*2, -3, skip)...
  3. K

    [Tutorial] Adding more tiles to game window - Updated 7/6/2018

    In code of Your server try changing value (25) in "configmanager.cpp": m_confInteger[MAX_PACKETS_PER_SECOND] = getGlobalNumber(L, "maxPacketsPerSecond", 25);
  4. K

    Problem with generate in Cmake

    What if I don't want to use MVS? I get: CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMake was unable to find a build program corresponding to "MinGW...
  5. K

    Lua Function "onEquip" launches twice, how to fix that?

    Thank You both for help. I did something like: function onEquip(cid, item, slot) if getPlayerSlotItem(cid, slot).itemid <= 0 then -- Thanks this it goes only once inside. print("Hurray only once!") return true else return true end end function...
  6. K

    255+ of magiceffect

    You have not added ";" at the end of the line. :) Look at: "void sendCreatureSkull(const Creature* creature) const". Other lines ended with "const" have also ";" after it.
  7. K

    Lua Function "onEquip" launches twice, how to fix that?

    Good morning. I faced problem like in a thread title. Anyone can help me? function onEquip(cid, item, slot) print("Picked item: " .. getItemName(item.uid)) return true end Gives in logs: Picked item: "item name" Picked item: "item name" I did the same function for deEquip, and...
  8. K

    Battle Stance / Combat Mode

    I have a question: How can I get "Combat Mode" of player? I mean this green/yellow/red swords in right-top corner of game. Something like: getPlayerCombatMode(cid) << returns 1, 2, 3 doesn't exist in my: "cryingdamson 0.3.6 (8.60) V7". It would be VERY useful to get it. Any ideas? Noone?
  9. K

    Solved another error :s, capped skill lvl's

    If you want to know... Skill has also something like: skillTries. As well as (Level-Experience points) and (Magic level - Mana spent). In engine there is unsinged int as a variable to hold this values and it is like 2^32 what gives us... ~4,300,000,000(value) "ticks" in one skill. When you...
  10. K

    Lua [Question] How to make dialog button?

    Hello! At the beginning, I'm sorry for my not perfect english, and if it's not the proper part of forum, please, move it where should be this post. :$ I have an idea of NPC-System, but... Is there any way, to force player open container? I want to create "bag" with buttons, where player...
  11. K

    Additional script to raid?

    Hello. I was looking for anything on whole Google, and nothing, so I decided to create this thread. If anyone have any information how to do this, please, share his knowledge. I have created small raid with rats: raids.xml <?xml version="1.0" encoding="UTF-8"?> <raids> <raid name="Rats"...
Back
Top