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

    removing items from area

    saw that but cant do it ;/
  2. Verrine

    removing items from area

    Hi I wrote in my old thread about that but it should be better to make another. I need function that clean area I defined. I have smth like this: function doAreaClean(frompos, topos) local Tile local item = Tile(position):getItemById(itemid) for x = frompos.x, topos.x do for y = frompos.y...
  3. Verrine

    TFS 1.2 hunting room from old TFS

    ok it works now just does not want to clean room and time features wont work as I want I mean - I dont know how to store time int in players storage like: someone enter room 2016/04/11 19:20:20 how to get it and save? also how can I clean tile I have this function: function...
  4. Verrine

    TFS 1.2 hunting room from old TFS

    okay got this anyway local p spawning monster when Im entering teleport that can't be done becouse if something is in room function cant teleport me so it does not work correctly, how can I spawn monster after just entering at 1 tile not in tp, when I remove p.monster from local p p.spectators...
  5. Verrine

    TFS 1.2 hunting room from old TFS

    Got it ;] just tell me if you can what should I do with this: function getSpectatorsInArea(position, range, onlyPlayers) -- Game.getSpectators(centerPos, multifloor, onlyPlayers or false, minXrange, maxXrange, minYrange, maxYrange) return Game.getSpectators(position, false, onlyPlayers or...
  6. Verrine

    TFS 1.2 hunting room from old TFS

    Now this code just spawn monster, wont teleport me and exit tp does not work also 3301 tile does not work, when I step Into it it teleports me back to fromposition and says that is protected against unwanted intruders ;/ dont really know what to do with this also what to do with this function...
  7. Verrine

    TFS 1.2 hunting room from old TFS

    I dont understand why but now after replacing my buggy code to yours I got teleported, monster has been spawned. When I killed it I cant enter at spawn point to spawn next mob, when I try to step in to aID 3301 it shows me an error "17:07 The tile seems to be protected against unwanted...
  8. Verrine

    TFS 1.2 hunting room from old TFS

    silly me rotworm has been spawned but Im not moved inside arena (changed demon to rotworm because of flags as you said ;)) no console errors - trying to put your code to near teleport to check it edited function : function onStepIn(player, item, position, fromPosition) local p = {} --...
  9. Verrine

    TFS 1.2 hunting room from old TFS

    I added this: p.monster = Game.createMonster(c.creatureName, c.monsterpos) p.spectators = getSpectatorsInArea( p.monster:getPosition(), 7 ) if p.monster then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, c.creatureName .. ' is not being created.') return false...
  10. Verrine

    TFS 1.2 hunting room from old TFS

    -- not defined --doAreaClean(pos.from, pos.to) is defined in libs 050-functions.lua here it is : function getMonstersInRange(fromPosition, toPosition) local creatures = getCreaturesInRange(fromPosition, toPosition) local monsters = {} for _, creature in ipairs(creatures) do...
  11. Verrine

    TFS 1.2 hunting room from old TFS

    after change it standing on teleport is impossible and script does not show any errors also doesnt teleport me into the room :/ maybe os.time() return string not int ? then it needs to be changed into numbers? thats what I have for now function onStepIn(player, item, position, fromPosition)...
  12. Verrine

    TFS 1.2 hunting room from old TFS

    when I changed it now TP does not work but there is no error in here lol EDITL: Changed some functions and now this: Lua Script Error: [MoveEvents Interface] data/movements/scripts/hunting.lua:onStepIn data/lib/compat/compat.lua:829: attempt to compare number with nil stack traceback...
  13. Verrine

    TFS 1.2 hunting room from old TFS

    Hi Im fighting with old script that doesnt want to work with TFS 1.2 here is script: function onStepIn(cid, item, pos, fromPosition) -- all credits for slave ots @ otland.net -- use the following AIDs -- for enter teleprot --> 55xx -- for exit teleprot --> 44xx -- for summon sqm...
  14. Verrine

    Feature True dual wielding for TFS 1.x

    can you post fixes?
  15. Verrine

    [10.90 + Cast] Tfs 1.2 (custom modifications) + Reward Chest

    I added rewardloot.lua in creaturescripts also registered it in xml file Added flag to ferumbras when I kill it it dies and loot is inside ferumbras, there is no chest Im doing something wrong or what? There is no errors in console
  16. Verrine

    Solved ZNOTE Acc starting skills TFS 1.2

    did it and sword fighting is still 10 ;/ added configs in config.php and edited punction in engine/function/users.php
  17. Verrine

    Solved ZNOTE Acc starting skills TFS 1.2

    how can I make different skills for paladin, knight and sorc? modified to this and still 10: 'name' => format_character_name($_POST['name']), 'account_id'=> $session_user_id, 'vocation' => $_POST['selected_vocation'], 'town_id' =>...
  18. Verrine

    Solved ZNOTE Acc starting skills TFS 1.2

    Hello! I wonder where can I change starting skills in znote? Every new char is starting with 10 skills and mlvl 0 How can I change it?
Back
Top