• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. beliar34

    UniServer Problem/Problems

    Port forwarding on router.
  2. beliar34

    C++ Damage absorb

    @pasiak12 My whole Game.cpp [C#] //////////////////////////////////////////////////////////////////////// // Ope - Pastebin.com line 4182 starts my function in bool Game::combatChangeHealth(CombatType_t combatType, Creature* attacker, Creature* target, @psychonaut Sup bro, can you check this out
  3. beliar34

    Lua Diablo 2 teleport

    function onUse(cid, item, frompos, item2, topos) local temple = getPlayerMasterPos(cid) if hasCondition(cid, CONDITION_INFIGHT) == false then if getPlayerStorageValue(cid, 80000) == 0 then doSendMagicEffect(temple, 41) setPlayerStorageValue(cid,80001,frompos) setPlayerStorageValue(cid,80000,1)...
  4. beliar34

    Lua Reduce damage PVP

    if(combatType == COMBAT_PHYSICALDAMAGE && target && target->getPlayer()) { double absorbPower = 0, damageChange = 0; int32_t hape = target->getPlayer()->getHealth(); //hape = 10...
  5. beliar34

    C++ Damage absorb

    absorbPower = (std::floor(skillShield / 5) - 2) * 1; // why * 1? << there should be -1 my mistake :D (1 try to stop bug with 1 health players) // 60~ skill for 10% dmg redu? << 5 skill 1% redu so yes at 60 shielding we got 10% becouse i delete first 10 skills (-2 in here : (skillShield / 5) -...
  6. beliar34

    Lua Reduce Damage on OnStatsChange helpme!

    if(combatType == COMBAT_PHYSICALDAMAGE && target && target->getPlayer()) { double absorbPower = 0, damageChange = 0; int32_t hape = target->getPlayer()->getHealth(); int32_t skillShield =...
  7. beliar34

    Linux Physical Damage / Hit Randomization - Source C++

    After 1 year BUMP same problem with 1
  8. beliar34

    Summon that explode

    I am wondering how to make spell that summon 4-5 monsters that go to "targeted enemy" and explode, damage based on level of player
  9. beliar34

    Lua storage talkaciton

    Close.
  10. beliar34

    C++ Damage absorb

    if(combatType == COMBAT_PHYSICALDAMAGE && target && target->getPlayer()) { double absorbPower = 0, damageChange = 0; int32_t hape = target->getPlayer()->getHealth(); int32_t skillShield =...
  11. beliar34

    Lua storage talkaciton

    function onSay(cid, words, param) storage = 45000 -- 45000 to 45039 used. -- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 damage_types = {0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 2014, 2048} damage_type_names = {"none", "physical", "energy", "earth", "fire"...
  12. beliar34

    Lua creaturescripts + talkaction

    b3liar#4457 -- player, date, value -- 13 + 13 + 13 = 39 global storages. -- 00 > 13 > 26 local storage = 45000 -- 45000 to 45039 used. -- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 local damage_types = {0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 2014, 2048} local...
  13. beliar34

    Solved changegold index nil value tfs 1.0

    function onUse(cid, item, frompos, item2, topos) if item.itemid == 2148 and item.type == 100 then doRemoveItem(item.uid,item.type) doPlayerAddItem(cid,2152,1) doPlayerSendTextMessage(cid,22,"You have changed 100 gp to 1 platnium coin") elseif item.itemid == 2148 and item.type <...
  14. beliar34

    Lua creaturescripts + talkaction

    No errors when stats change my friend But console log as you wish (dont comment my errors mess ) The Forgotten Server, version 0.3.5 (Crying Damson) Compiled with GNU C++ version 4.8.4 at Dec 5 2017, 20:59:32. A server developed by Elf, slawkens, Talaturen, KaczooH, Lithium, Kiper...
  15. beliar34

    Lua creaturescripts + talkaction

    <event type="combat" name="tester" event="script" value="tester.lua"/> IN LOGIN.LUA registerCreatureEvent(cid, "tester") in monster <script> <event name="tester"/> </script> Only one error : SHUt your play! [Warning - Event::loadScript] Event onCombat not found...
  16. beliar34

    Lua Fast east talkaction

    Try whaT? i dont get you 0.0
  17. beliar34

    Lua Fast east talkaction

    function onSay(cid, words, param) new_skill = getPlayerSkill(cid,5) formula = (((new_skill * 5)-2)/100) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Your absorb in % is " .. formula .. ".") return TRUE end Thread to close
  18. beliar34

    Lua Fast east talkaction

    I need talkaction thats print in deafult chat message: "You'r absorb level is : (Shielding skill/5)-2" with max 1 number after "," Easy peasy you can do it guys :)
  19. beliar34

    Lua creaturescripts + talkaction

    I will wait :)
  20. beliar34

    C++ Weapon works as shield

    @pasiak12 Thanks for answer, my script worked if(weapon) { extraDefense = weapon->getExtraDefense(); defenseValue = baseDefense + weapon->getDefense(); defenseSkill = getSkill(SKILL_SHIELD, SKILL_LEVEL); } <<<< This is edited part and this says that Shielding...
Back
Top