• 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. ConAn Edujawa

    C++ buy from bank balance

    Is there any way to make NPC remove money from the bank if the player doesn't have money in the backpack.? 0.3.7
  2. ConAn Edujawa

    C++ monster onDeath

    how i can check player->getplayerBouns() in monster.cpp in bool Monster::eek:nDeath() want to add (uint32_t)random_range(1, 100) < player->getplayerBouns()) 0.4
  3. ConAn Edujawa

    monster armor and defense

    hello guys i set my monster armor and defense 500 and monster still get higher damage if set armor and defense 500 its same damage when set armor and defense 1 i think when add higher number its mean block damage right ? how armor and defense formula for monster work ? 0.4
  4. ConAn Edujawa

    random items stats

    hello guys i use this mod https://otland.net/threads/mod-random-item-stats.130295/ when when add <item id="2487;2488;2491" chance="100000"/> in monster loot give me error in this line f.stackable and random % i.count + 1 or and this local tmp, ret = createLoot(v.loot, ext, cid) the error...
  5. ConAn Edujawa

    getstorage

    what the wrong in this code std::string value; for (int32_t i = 952610; i <= 952621; i++) player->getStorage(i, value); int32_t tmp = (int32_t)atoi(value.c_str()); if(tmp > 0) ss << " amount: " << tmp << "."...
  6. ConAn Edujawa

    getCreatureStorageList

    what this functions do ? 0.4 int32_t LuaInterface::luaGetStorageList(lua_State* L) { //getStorageList() ScriptEnviroment* env = getEnv(); StorageMap::const_iterator it = env->getStorageBegin(); lua_newtable(L); for(uint32_t i = 1; it != env->getStorageEnd(); ++i, ++it)...
  7. ConAn Edujawa

    TFS 0.X total items bonus

    how i can control in total Equipment bonus for each char example max manaGain for knight will be 120 paladin 180 mage 220 max healthGain for knight 220 paladin 180 mage 220 0.4
  8. ConAn Edujawa

    abilities.speed

    hello guy we have in 0.4 setField(L, "speed", item->abilities.speed); setField(L, "speed", item->speed); What is the difference between them Which one can I use when I want to add a speed boost for items
  9. ConAn Edujawa

    doPlayerSendTextMessage

    hello guys i want send text show only storage +1 local power1= getCreatureStorage(cid, 16000) local power2= getCreatureStorage(cid, 16001) local power3= getCreatureStorage(cid, 16002) local power4= getCreatureStorage(cid, 16004) need msg come in storage >=1 example if player have power1 = 1 get...
  10. ConAn Edujawa

    random items stats

    in this mod i found this code local random = math.ceil(math.random(100000) / ext) anyone can explain to me what this code mean 0.4 https://otland.net/threads/mod-random-item-stats.130295/
  11. ConAn Edujawa

    C++ 3884 w cast

    anyone have 3884 w cast work in luinx? tibia 8.60
  12. ConAn Edujawa

    check actionid

    hello guys how i can check items action id for items in backpack if player have scroll with actionid 3214 and chance <-= 10 let him teleport 0.4
  13. ConAn Edujawa

    doItemSetAttribute

    hello guys i try to make this add manaticks to items don't have manaticks use this code but don't work its add +2000 to all items local temp = getItemAttribute(itemEx.uid, "manaticks") if temp < 1000 then doItemSetAttribute(itemEx.uid, "manaticks",2000) end if items have 2 sec manaticks...
  14. ConAn Edujawa

    C++ storage code

    what the wrong with this code std::string value; std::string name = creature->getName(); toLowerCaseString(name); player->getStorage(name, value); int32_t intValue = atoi(value.c_str()); if(intValue > 0)...
  15. ConAn Edujawa

    C++ addAnimatedText

    hello guys i add this cod in player.cpp fuction void Player::onThink(uint32_t interval) char num[4]; sprintf(num, "%d", 5-1); g_game.addAnimatedText(getPosition(), COLOR_YELLOW, num); i need this cod work like g_game.addAnimatedText(getPosition()...
  16. ConAn Edujawa

    TFS 0.X getMonsterLevel

    im use 0.4 and i use this fuction Feature - Creatureevent OnGainExp (https://otland.net/threads/creatureevent-ongainexp.123221/) and im add this for monster level int32_t LuaInterface::luaGetMonsterLevel(lua_State* L) { // getMonsterLevel() ScriptEnviroment* env = getEnv()...
  17. ConAn Edujawa

    Lua spell with params

    hello guys i want to make spells add storage to params example reviv "playername add storage to player 0.4
  18. ConAn Edujawa

    Lua onGainExp 0.4

    helllo guys i use this system https://otland.net/threads/creatureevent-ongainexp.123221/ but i want this system to check monster skull if red skull value*3
  19. ConAn Edujawa

    C++ party share exp

    hello guys i use 0.4 i use this system party share exp but this system make this bug https://otland.net/threads/exp-from-killing-player.272215/ exp from player is very hight how i can make this system work on monster only. player.cpp uint32_t Player::getBaseVoc() { uint32_t curVoc =...
  20. ConAn Edujawa

    Lua magic wand add action id

    hello guys i need help in my idea. magic wand when use on box player got chance to add action id on his weapon or armor or shield. if items 8301 and 8302 and 8305 with sword in box and and chance = 10% add action id 45874 to weapon or armor or shield. like in photo if he have items and chance...
Back
Top