• 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. Joe Rod

    CreatureEvent [TFS 1.3] Best Elemental Damage

    Hi, i have seen this small system on some ots some years ago (i don't remember which one), maybe someone could find it useful Ìt saves damage done for a specific combat type, of course is applied only to the monsters you register it (i.e. training monks) Also there is a command to show damage of...
  2. Joe Rod

    [8.6] - TFS 0.4 Evolera datapack

    this is evolera datapack, enjoy
  3. Joe Rod

    [8.6] - TFS 0.4 GhostOt datapack

    this ot contains a datapack of ghostot it is 8.6 version and tfs 0.4 based it has some extras made by me enjoy
  4. 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...
  5. 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...
  6. Joe Rod

    Feature [TFS 1.X] All players from your account can enter to your house

    Hi again :D. With this code all the players from your account can enter to your house (they become owners too) house.h find uint32_t owner = 0; add below uint32_t ownerAcc = 0; find: uint32_t getOwner() const { return owner; } add below: void setOwnerAcc(uint32_t accId) {...
  7. Joe Rod

    Feature Game.getMounts(), Game.getOutfits(sex)

    Hi, with this functions you will get a list of all available mounts/outfits that you have added to xml file Tested on OTX3, this works on TFS 1.X luascript.h after this: static int luaGameGetHouses(lua_State* L); paste this: static int luaGameGetMounts(lua_State* L); static int...
  8. Joe Rod

    [TFS 1.x] Player:addItemFromUsedItemContainer

    based on this request This would be good in case you have to do something like obsidian knife where you want to add a new item to the player depending where the knife is located, so if the knife is on container it would be added to that container, else it will be given to the player to another...
  9. Joe Rod

    CreatureEvent onTarget Interact with Npc

    Hi guys, with this you would greet the npc and open its shop (if has) only target it! Tested on OTX3, it will work on TFS 1.x i guess combat.cpp find: if (player->hasFlag(PlayerFlag_CannotUseCombat) || !target->isAttackable()) { now go to a line who look like this (4 lines below): return...
  10. Joe Rod

    CreatureEvent onLook Interact with NPC

    Hi guys, with this you would greet the npc and open its shop (if has) It works on directly look and look on battlelist This is really simple, but someone could find it useful data/events/scripts/player.lua at the beginning of file paste this local minDist = 5 --this will be the min...
  11. Joe Rod

    Feature Auto recharge ammo

    Hi, with this modification your ammo slot will be refilled if you have enough ammo on your equipment. go to weapon.cpp and find: case WEAPONACTION_REMOVECOUNT: before "Weapon::decrementItemCount(item);" paste this uint32_t count = item->getItemCount(); if (count - 1 == 0) { uint32_t...
  12. Joe Rod

    Compiling [Linux] segmentation fault

    Hi, i compiled tfs from here and when i ran it with command "./tfs" i received the following error: segmentation fault i used command gdb to see what happens and this is what returned: it would be nice if someone could help me thanks in advance
  13. Joe Rod

    Question about programming prices

    Hi, i would like to know which are the prices actually on LUA, C++... Also, if you work with that... How do you find better? Charge per hour or script? It would be nice if you could say me about your experience Thanks in advance
  14. Joe Rod

    Map Rl 7.6

    Hi, does anyone has a map rl 7.6? With creatures/npcs? Thanks in advance
  15. Joe Rod

    Compiling A great distro for a server 7.6?

    Hi, i'm looking for a nice and stable distro for a server 7.6, i would appreciate any suggestions Thanks
  16. Joe Rod

    Could i receive cash and pay some services with paypal without card?

    Hi, i would like to know that, i was receiving amazon gift cards for my services but someone said me that i can receive cash with PayPal without card and also i can pay some services (like amazon and other webs) Is that true? What kind of PayPal user could do that? I would appreciate any help...
  17. Joe Rod

    Lua Iterators pairs and ipairs don't work correctly

    Hi, when i try to iterate a table it does not iterate in order, i.e.: testTable = { ["a"] = 2, ["b"] = 3, ["c"] = 4, ["d"] = 5 } for i,x in pairs(testTable) do print(i.."_"..x) end prints: a_2 d_5 c_4 b_3 How can be fixed? Thanks in advance
  18. Joe Rod

    TalkAction Edited "Show Money" Script

    Hi, this is a more explicit version of money script, that command is available in every server (i mean TFS 0.* series) with the word "!q", it only shows the quantity of cash, so if you have 1kk it shows You have 100000000 gold. With my script it shows by this way: 11:37 You have 1 KK just...
  19. Joe Rod

    CreatureEvent Show Item Price onLook

    Hi, this is a simple code to add something extra value on description of an item: its price. this was requested here is displayed by this way: 14:35 You see an Ice Stone. A peculiar stone that may cause some pokemon to evolve. It weights 10 oz. Price: 5000 gp. 14:35 You see 99 Ice Stones. A...
  20. Joe Rod

    Compiling Summons need keep certain distance with his/her owner

    Where is located the event who says the player's summon "keep the distance with your owner" and make it walk to the right position? it would be nice if you could say me that Thanks in advance Regards
Back
Top