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

    Lua Problem with isInArea script.

    Did u take updated script? #Up Its the same as mine, but I edited it 10 minutes ago xd
  2. GarQet

    Lua Problem with isInArea script.

    Try this one: function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { item_uid = 9413, monster_name = "Rahemos", position = {x = 329, y = 278, z = 11}, center_pos = {x = 330, y = 270, z = 11}, effect = CONST_ANI_EARTH...
  3. GarQet

    Lua Problem with isInArea script.

    Move this: local centerPos, nPos = {x=330, y=270, z=11}, {x=329, y=278, z=11} under this: function onUse(cid, item, fromPosition, itemEx, toPosition)
  4. GarQet

    Lua Limit 3 IPs for this script

    You want this: if in guild will be more player with the same IP than 3, sctipt wont give higher exp stage to ppls in guild. Script wont send any message to other players in guild cause it knows that someone want to abuse your system. login: function onLogin(cid) local guild_id =...
  5. GarQet

    remove creatures map

    If you will remove monsters by script for ex. on Startup, they will respawn after time. TFS will think that someone killed monster and will spawn him again for "respawn" time which u had in RME. You need to remove them from RME.
  6. GarQet

    Większa ilość HP niż 2.1B

    Można usunąć/zamknąć temat.
  7. GarQet

    Ingame PostService

    You need to set "town_id" in RME in all depots of Thais
  8. GarQet

    Make EQ increase all damage dealt

    function onStatsChange(cid, attacker, type, combat, value) local config = { item_id = 2222, -- right or left hand more_dmg = 20, -- percent more_dmg_spell = 20 -- percent } if isPlayer(cid) then if((type == STATSCHANGE_HEALTHLOSS or STATSCHANGE_MANALOSS)...
  9. GarQet

    Większa ilość HP niż 2.1B

    Siema wszystkim, mam pewien problem, mianowicie staram się zmienić maksymalną wartość ilość hp dla każdej creatury na serwerze. W zasadzie większość zmieniłem, głównie zmiany polegały na z int32_t na int64_t. Problem mam taki, iż w momencie gdy postać czy też monster ma więcej niż 2.1B HP to...
  10. GarQet

    Lua kill same ip 0.4tfs

    So better for is to transform this script to onDeath. First or second from deathlist will be killer.
  11. GarQet

    Change damage numbers to text (example 10000 to 10k) [TFS 1.2]

    It isn't possible with source edit? It should be, it was in 0.4
  12. GarQet

    Lua kill same ip 0.4tfs

    after "isPlayer(target)" add "and lastHit"
  13. GarQet

    Lua Blue Arrow when drop item rare

    #Edit Just only script onKill: function countdown(pos, timer, effect) if timer < 0 then return true end doSendMagicEffect(pos, effect) addEvent(countdown, 1000, pos, timer - 1, effect) end function onKill(cid, target, lastHit) local rare_items = {5897, 2666, 3976}...
  14. GarQet

    Lua Blue Arrow when drop item rare

    function countdown(pos, timer, effect) if timer < 0 then return true end doSendMagicEffect(pos, effect) addEvent(countdown, 1000, pos, timer - 1, effect) end function onDeath(cid, corpse, deathList, lastHitKiller, mostDamageKiller) local rare_items = {5897, 2666...
  15. GarQet

    C++ Set Creature Name (need help with source)

    You mean that player see old name of monster? Try to check what happen if you change the name of monster which wasnt been seen by anyone. If this way will work, best "fix" for this is to teleport monster somewhere - far from players, change his name and then teleport him back to his latest position.
  16. GarQet

    Lua Random Area

    Wrong :D local areaCombat, combat = createCombatObject(), createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 7) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 5) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC...
  17. GarQet

    Lua Random Area

    So mby move the local posx posy to the function onTargetTile(cid, pos)?
  18. GarQet

    Lua Limit 3 IPs for this script

    put "return true" before last "end"
  19. GarQet

    Lua Random Area

    local areaCombat, combat = createCombatObject(), createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 7) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 5) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -0.2, 1...
  20. GarQet

    Lua Random Area

    What about this :D(?): local areaCombat, combat = createCombatObject(), createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 7) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 5) setCombatFormula(combat...
Back
Top