• 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

    Miss System

    put your login.lua and creaturescripts.xml here
  2. GarQet

    Miss System

    Updated.
  3. GarQet

    Miss System

    function onStatsChange(cid, attacker, type, combat, value), remember to add line to login.lua
  4. GarQet

    Lua PZLocked on Spells

    setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, true) add to each combat, mby will work
  5. GarQet

    Miss System

    No, you need to make a spell or smth what can "blind" a player. Then in creaturescripts check if someone have blind, if yes, you need to change his dmg to 0 (return false) example spell: function onTargetTile(cid, pos) local timer = 5 -- how long miss will exist, in seconds local player...
  6. GarQet

    Miss System

    Just add storage with timer to player which have blind, then in statschange (during the attack) make all hits as miss (return false).
  7. GarQet

    monster spwan

    Sorry bro but I won't help you with it. Its too much :)
  8. GarQet

    monster spwan

    Its working like random 1-20% of bonus hp and dmg. Skulls like: black for boosted minimum 15%, red minimum 10%, white minimum 5%.
  9. GarQet

    monster spwan

    #Up Thanks :) #Topic Updated
  10. GarQet

    monster spwan

    Updated a minute ago the scripts, are you sure that you add everything? Show me the error.
  11. GarQet

    monster spwan

    Let's try the other way. Add this to your sources: luascript.cpp, after this line: int32_t LuaInterface::luaGetPlayersOnline(lua_State* L) { //getPlayersOnline() ScriptEnviroment* env = getEnv(); AutoList<Player>::iterator it = Player::autoList.begin(); lua_newtable(L)...
  12. GarQet

    Lua Help LUA set monster value

    just set them storage :) getCreatureStorage(cid, key) doCreatureSetStorage(cid, key, value) also you can check my post: monster spwan
  13. GarQet

    Lua [Error] Mutation/Polymorph spell

    Just put all of this and replace only the function to correct one, replece this one:
  14. GarQet

    spell 0.4 3777

    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) function onCastSpell(cid, var) local cfg = { refuel = 1 * 60 * 1000, amount_of_soul = 200 } if getPlayerSoul(cid) == cfg.amount_of_soul then doPlayerAddSoul(cid...
  15. GarQet

    checkpoint system

    What about this: CreatureEvent - Advanced Checkpoint System (based on my own request and the work of Cyko) ?
  16. GarQet

    Lua [Error] Mutation/Polymorph spell

    If this one is not working in 0.3.6, you need to put it into talkactions :)
  17. GarQet

    monster spwan

    Are you sure that all hunters was "boosted"? Change in both scripts "math.random(1, 2)" change to "math.random(0, 2)", lets see what happen.
  18. GarQet

    monster spwan

    Updated.
  19. GarQet

    monster spwan

    First of all check if it works, if yes I can easly add more creatures like this.
  20. GarQet

    monster spwan

    Ok, make another file of monster (as I said few comments above). Add this to globalevents: xml: <globalevent name="MonsterBoosting" interval="1000" event="script" value="MonsterBoosting.lua"/> MonsterBoosting.lua: --Script made by GarQet-- function onThink(interval, lastExecution, thinkInterval)...
Back
Top