Search results

  1. Joe Rod

    TFS 1.X+ get current page in container with pagination

    Ty for answer. Let me explain better I'm trying to get container slot to get its item (if any) there when i'm moving an item into that container. On first page is ok because getItemByIndex(index) do the work, but problem starts on other pages which i cannot figure the way to get the item there...
  2. Joe Rod

    TFS 1.X+ get current page in container with pagination

    Is there a way to get current page on container with pagination? I.E. If i am current page it would be 2 update: I'm trying to get container slot to get its item (if any) there when i'm moving an item into that container. On first page is ok because getItemByIndex(index) do the work, but...
  3. Joe Rod

    [Download] Tibianic DLL Sources (Client Injection)

    autoupdater + manabar + exp/hr + ping + other things
  4. Joe Rod

    [FRANCE] [Custom / 8.60] Claviera Evo RPG/PvP-E ONLINE !

    nice, good luck, i wish you the best
  5. Joe Rod

    [Download] Tibianic DLL Sources (Client Injection)

    nice release, thanks for sharing xd
  6. Joe Rod

    Lua (OTHIRE) Monster die and transform in a teleport

    uids are constantly being changed this should work (not tested) local function remove(pos, itemId) local item = getTileItemById(pos, itemId) if (item.uid > 0) then doRemoveItem(item.uid, 1) end end local bosses = { ["rat"] = { x = 1146, y = 981, z = 7 }...
  7. Joe Rod

    Programmer PHP - ShopSystem

    >"I'll pay for the work." Ok bro be careful with this guy
  8. Joe Rod

    Lua [TFS 1.3] How to check container origin when you move and item from/to it?

    When you move an item from a container, its position.x is 0xFFFF If is from an equipment slot, position.y it will be the slot How do i check origin when you move an item from/to a container? I mean, player equipment (some equipment slot or a container who a player has on his/her inventory) or a...
  9. Joe Rod

    Give a Nickname to User Above!

    zelda lover
  10. Joe Rod

    Programmer Want a Own engine with unic systems

    Be careful with this guy
  11. Joe Rod

    Looking for designers and client edit

    recommended <3
  12. Joe Rod

    [TFS 1.2] About lua and metamethods

    if you mean to add new metamethods to a metatable, then yes, you could use Metatable:methodName(params) or Metatable.methodName(self, params) in both cases "self" will be the object you will use i.e. function Player:sayHi() self:say("Hi", TALKTYPE_MONSTER_SAY) end tfs methods are...
  13. Joe Rod

    GlobalEvent Teleport summon to Master [TFS 1.0]

    Monster::onCreatureLeave(Creature* creature) just like older versions did it otxserver/monster.cpp at otxserv2 · mattyx14/otxserver · GitHub and edit Monster::canSee(const Position& pos) to do the validations on positions
  14. Joe Rod

    Lua Function for verifying weapon type equipped?

    nice bro, but you forgot to check if there is a weapon function Player:getWeaponType() local weapon = self:getSlotItem(CONST_SLOT_LEFT) if (weapon) then return ItemType(weapon:getId()):getWeaponType() end return WEAPON_NONE end
  15. Joe Rod

    GlobalEvent Teleport summon to Master [TFS 1.0]

    why iterate trough every player online? Is better to check directly on summons imho
  16. Joe Rod

    Setting up tibia 11 (paid)

    It would be better if you ask for help on "Support" or "Request" sections. It is really a headache to wait for your payment for one month, two months, three months, or whenever you want because you have “to pay bills”. For those who will help this guy, now or in other harder requests in the...
  17. Joe Rod

    Feature [TFS 1.2] Reflection attribute

    pro xd
  18. Joe Rod

    CreatureEvent onTarget Interact with Npc

    TFS 0.X version function getDistanceBetween(fromPosition, toPosition) local x, y = math.abs(fromPosition.x - toPosition.x), math.abs(fromPosition.y - toPosition.y) local diff = math.max(x, y) if(fromPosition.z ~= toPosition.z) then diff = diff + 9 + 6 end return diff end...
Top