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

    Lua NPC Chrak BUG: he's not responding any message

    NPC Chrak BUG: he's not responding any message Chrak.xml: <?xml version="1.0" encoding="UTF-8"?> <npc name="Chrak" script="Chrak.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100" /> <look type="115" /> </npc> Chrak.lua: local keywordHandler =...
  2. E

    Action [TFS 1.1] Item's upgrading by jewels

    thanks man. that worked :) @zbizu now i have just one more problem. I have leveled the item to +1. But when i try to go to +2 it just gets the lvl 0 instead of the actual level I think it's happening because when i click the Item (in my case a Demon Armor) i'm getting the id of a regular...
  3. E

    Action [TFS 1.1] Item's upgrading by jewels

    @zbizu i have already done that. the problem is with the Item(uid). If i try to do local item = Item(uid) the object item receives a null value
  4. E

    Action [TFS 1.1] Item's upgrading by jewels

    oh fuck, hahaha. i'm trying to work on the script. any news i'll post here @zbizu hey man. i'm almost finished. The only problem are on these two functions of the attributes function: Item(uid):getAttribute(key) -> used on: local attr = Item(uid):getAttribute(key) error: Lua Script Error...
  5. E

    Action [TFS 1.1] Item's upgrading by jewels

    I'm using tfs 1.2. using the server of this thread: http://www.xtibia.com/forum/topic/233223-1082-vanaheim-global-open-source-tfs-12/
  6. E

    Action [TFS 1.1] Item's upgrading by jewels

    oh i see .. i will try this. another thing. this script works just clicking on the item right? or i need to have a special item (e.g: upgrade gem) for it to work? @zbizu hey man. i'm trying to check if target:isItem() by doing this: if target:isItem() then code ... end but i'm getting...
  7. E

    Action [TFS 1.1] Item's upgrading by jewels

    @zbizu if((it:getWeaponType() > 0 or getItemAttribute(itemEx.uid, ITEM_ATTRIBUTE_ARMOR) > 0) and not isItemStackable(itemEx.itemid))then inside onUse() function @zbizu one more thing: when i printed the value for the uid inside the getItemAttribute() function the value was 0. idk if that...
  8. E

    Action [TFS 1.1] Item's upgrading by jewels

    @zbizu I am trying to update to 1.2, haha, but i'm getting this error: Lua Script Error: [Action Interface] data/actions/scripts/upgrading.lua:eek:nUse data/global.lua:179: attempt to index a nil value stack traceback: [C]: in function '__index' data/global.lua:179: in function...
  9. E

    Action [TFS 1.1] Item's upgrading by jewels

    Hey zbizu, how can i modify your script so that if the upgrade fails, the item breaks? is there a funtion deleteItem() ? TY ;)
Back
Top