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

    What distro is the best?

    Take 1.4.1 i think is good. 1.4.2...has several bugs
  2. L

    TFS 1.X+ TFS 1.4.1 - save not pickupable item in house

    I eat all day for this. This is flag You don't need code in c++, Just - <attribute key="forceSerialize" value="1" /> This flag allow to save item in house.
  3. L

    TFS 1.X+ TFS 1.4.1 - save not pickupable item in house

    Hi How to save in house non pickupable items, grounds etc. For example i create item /i 2737 (growing wheat) in house and i want to save this I think this is a code bool IOMapSerialize::saveHouseItems() { int64_t start = OTSYS_TIME(); Database& db = Database::getInstance()...
  4. L

    OTClient How to switch OTClient from 32x32 to 64x64

    I created new asset with size 64x64 and i add item (ground) to items ID 100 and this is a result: why is it not displayed correctly? I tried on OTClient and OTClient V8(default 64x64)
  5. L

    TFS 1.X+ [LUA] - On spawn - spawn random monster

    I have a bit of a strange question. I would like to spawn snake, but i want to get random snake, for example cobra, grass snake or viper function Monster:onSpawn(position, startup, artificial) if (artificial or startup == true or false) and (self:getName() == "Snake") then local...
  6. L

    TFS 1.X+ TFS 1.4 LUA or C++, after start server add random damage for all monsters

    local condition = Condition(CONDITION_FIRE) condition:setParameter(CONDITION_PARAM_DELAYED, true) condition:addDamage(5, 3000, -25) function Monster:onSpawn(position, startup, artificial) if (artificial or startup == true or false) then self:addCondition(condition) end if...
  7. L

    TFS 1.X+ TFS 1.4 LUA or C++, after start server add random damage for all monsters

    Hi, how to in LUA or C++ get all spawned monsters and add random damage for each. damage shouldn't be more than maxhealth how to get all spawned monsters in lua? I tried something like this i set <event class="Monster" method="onSpawn" enabled="1" /> and add in monster.lua function...
Back
Top