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

    Lua player:sendTextMessage tile

    try this function onStepIn(creature, item, position, fromPosition) if creature:isPlayer() and creature:getPlayer():getPremiumDays() > 0 then local cid = creature:getId() sendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "His stamina began to regenerate.")...
  2. pasiak12

    Lua player:sendTextMessage tile

    create if statement with player:getPremiumDays() function
  3. pasiak12

    Dragon Ball Omega | Project (Very soon) | Modded Cliente | Looking for help!

    https://imgur.com/KtTfTIY The smallest dragon head. Next level is black square
  4. pasiak12

    Solved RME Missing Sprites

    So you need to find those items id. There are possible solutions: 1. Find those item on ots map, and check theirs ids 2. Download some map that contains those items 3. If you know name of those items, you can find them in file items.xml (Only if they were added there, sometimes the new items...
  5. pasiak12

    Dragon Ball Omega | Project (Very soon) | Modded Cliente | Looking for help!

    I have put the impossible dragon head on the 32x32 :) https://imgur.com/a/dhnOE Im not best at shading, but maybe this will help you hehe
  6. pasiak12

    Solved RME Missing Sprites

    Have you tried: Righ click on item -> select raw/somebrush ? Make sure you are on the same floor level as the items (floor 7 probably)
  7. pasiak12

    Skulls System for WAR OT 8.60

    well.. I was bored so I made it, but on 1.2. Maybe someone will use it. Most of the changes are commented, explaining why they were introduced. combat.cpp find and remove/comment commented lines //if (attacker->getSkull() == SKULL_BLACK && attacker->getSkullClient(target) == SKULL_NONE) {...
  8. pasiak12

    Skulls System for WAR OT 8.60

    Sorry, I am working on 1.x. If you want I can implement that on 1.2 version.
  9. pasiak12

    Skulls System for WAR OT 8.60

    tfs 1.2?
  10. pasiak12

    Changing xp necessary to level up

    player.h static uint64_t getExpForLevel(int32_t lv) { lv--; return ((50ULL * lv * lv * lv) - (150ULL * lv * lv) + (400ULL * lv)) / 3ULL; } function that returns amount of exp for specific lvl
  11. pasiak12

    Lua Get item attribute from players slot

    I have item from slot local item = player:getSlotItem(CONST_SLOT_LEFT) I need to get attribute, for example attack. I can get it from itemType:getAttack() But I don't know how to get itemtype from item object. Is it possible with unmodified tfs 1.2/1.3 ?
  12. pasiak12

    stable TFS 1.2 , 10.96 client

    Hi I am looking for TFS 1.2 that supports 10.96 client. The github repository https://github.com/otland/forgottenserver contains the latest version 1.3 for 10.98 This branch https://github.com/otland/forgottenserver/tree/1.2 contains 1.2 for 10.98 From history I can see jump from 10.77 to...
  13. pasiak12

    Lua Frags times Red and black skull

    I am working on tfs 1.2, haven't modified anything related to pvp skulls yet. I have tried find the red skull time variable in sources, and it's wierd because red skull time equals to frag_time x kills_to_get_redSkull. Check if your system works the same way, if yes then I can try to edit that.
  14. pasiak12

    pvp system

    You need to enable those in sources. TFS version?
  15. pasiak12

    Exori Frigo/Tera Balance Simple Script

    With this formula, the player with level 1 and magic lvl 0 will heal for 4k~ points instead of dealing dmg until reaching 82 magic lvl where his dmg will be able to hurt enemies.
  16. pasiak12

    Exori Frigo/Tera Balance Simple Script

    200lvl, 95 magic lvl should be able to deal 700dmg on demon 460lvl, 110magic lvl , deals 1400dmg on monster (demon too?) 500lvl, 125 mlvl deals 2200 dmg (max) Demon is taking 110% ice damage from Demon.xml <element icePercent="-10" /> Is it right?
  17. pasiak12

    Stop frame before first step in game

    Not much can be done with 'first move lag' https://otland.net/threads/start-movement-with-keyboard-mini-lag-bad-coded.248449/
  18. pasiak12

    Lua Reduce lua code

    Works correctly. If the 'i' is removed, there's no dmg.
  19. pasiak12

    Lua Reduce lua code

    Thanks for response! What's the purpose of this line? local callback = math.random(999999999)
  20. pasiak12

    Lua Reduce lua code

    Hi! I would like to reduce my lua code. There are a lot of repeated functions but with another variables. I'd like to use there some table initialization like in c++, but in LUA. Example spell: local combat1 = Combat() combat1:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)...
Back
Top