• 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!

lua

  1. D

    Programmer TFS Services [Lua/C++], OTClient Services[Modules/C++], VPS/WINDOWS Installation

    Hello im Lucas i am 29 y/o from Poland. Currently jobless so im looking for some job based on TFS. Looking for job: Programer/Scripter(C++ / Lua based on TFS), Additionally: Install OTS on Linux (Acc Maker, Engine, Required libs) Contact; Dakos#7633 Experience; 8 Years with Tibia Servers...
  2. Ralumbi

    OTClient ERROR: protected lua call

    OTClient game_skills module error: ERROR: protected lua call failed: LUA ERROR: /modules/game_skills/skills.lua:107: attempt to index local 'skill' (a nil value) stack traceback: [C]: in function '__index' /modules/game_skills/skills.lua:107: in function 'setSkillValue'...
  3. thegood

    attempt to call global 'getCastleConfig' (a nil value)

    I need help with this Castle War script, all works good, but when the event finish, i recive this message: And have this error: This is my castlekill.lua: function onDeath(cid, corpse, killer) if (getCreatureName(cid) == getCastleConfig("monster")) then Castle_endEvent(true...
  4. Niloahs

    Lua Teleport player to previous position

    Hello guys, I have a script that makes player be teleported to the temple of the city he have the current citizenship, i use this script to make player leave the training room. Each city has a teleport targeted to training area, but what I wanted to see was if it is possible to get the player to...
  5. aqubjukr

    Lua [TFS1.3] Time Guardian Spell

    I have a script from the boss time guardian (to change the phases), and I wanted to know what the reason for the error would be, since the "index" was set in top as a random number between 1 and 2. If you have a possible way to fix it, I would be grateful. Console: Lua Script Error: [Spell...
  6. N

    TFS 1.X+ Need help with reducing skills

    Can someone please point me of where I can find a script that can either lower player skills or a script that can place a soft cap on players' skills TFS 1.3 basically players have been able get much higher skills than I would like. I would like to lower their skills to place a soft cap...
  7. thegood

    Add bosses to Grizzly Adams script

    Hello, I have a Grizzly Adams script and all works fine, but it don't have boss script, I searched in a lot of threads and all scripts I found don't works in my server, I need help to implement this system in this script. I use TFS 0.4 3777. And this is the script that I use:
  8. Niloahs

    Lua TFS 1.3 - Lever that requires few specific items on basin

    I tried editing other existing scripts with a similar function but i couldn't make it work. So, all i need is: I-) Items must be dropped on specific basin. II-) Once all items are on their basins, someone pulls the lever and Items + walls disappear. III-) The lever only can be pulled after 1...
  9. Niloahs

    Lua Toggle spell not working properly

    When i disable the spell, just the animation stop but Combat Area still continues doing damage. follow the gif below SPELL --[[#######################################################################################]]-- function doAreaCombatDamage(cid, attacker, combatType, position, min...
  10. K

    Skrypt LUA

    Witam poszukuje osoby która była by w stanie przerobić dla mnie skrypt do gry Farming Simulator 19 z starszej odsłony tej gry, gra posiada dokumentacje dla skrypterów na swojej stronie więc nie powinno być problemu, wynagrodzenie do ustalenia. Pozdrawiam
  11. M

    scripter coder c++/lua OTHire

    Hey i need a person who know code engine OTHire and want help me fix some bugs in the code for $$
  12. Lurk

    TFS 0.X player getting extra health and mana per level depending on storage

    I'm using tfs 0.4 rev 3777 (Fir3element/3777 (https://github.com/Fir3element/3777)) and I'd like to know how I can make it so a player gets extra hp and health based on a storage value for example: Knights gain 5 mana and 20 health per level (just like in vocations.xml) if the storage value is...
  13. Lurk

    TFS 0.X how can I check if the player causing damage with a weapon

    I'm trying to mess around with onStatsChange and I need to check if the damage that the player is causing is being caused by a weapon (since the player can deal damage with runes, spells, fire field and what not) I know I can getPlayerSlotItem but that will only tell me that he has a weapon equiped
  14. Lurk

    TFS 0.X server crash

    Using tfs 0.4 rev 3777. I have doOpenChannel on my server so whenever a player close a channel that I don't want them to close it is reopened and it works fine most of the times, but if I'm online and someone logs into my char (that will kick me), that other person will log in without any...
  15. Lurk

    TFS 0.X Why is this statsChange calling stack overflow?

    I'm using tfs 0.4, rev 3777 I'm trying to use this script to increase damage by each player reset and it also has a chance to crit but it always returns a lot of errors in console even tho the values are fine here's the script function onStatsChange(cid, attacker, type, combat, value) if...
  16. Lurk

    TFS 0.X playerGetPing is very imprecise

    Hi, I'm using tfs 0.4 and this getPlayerPing from mock adapted but it is very imprecise, when I ping my server with cmd it says that my ping is over 100, but this function says I'm at 20 something ping, any idea how I can improve it? Here's the 0.4 version int32_t...
  17. M

    Lua magic wall timer help with script

    local combat = Combat() combat:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) function onCreateMagicWall(creature, tile) local item = Game.createItem(ITEM_MAGICWALL, 1, tile) item:setAttribute(ITEM_ATTRIBUTE_DURATION, math.random(14000, 20000)) end...
  18. Lurk

    TFS 0.X Block moveItem fromContainer to ground if player has storage

    Hello, I'm using tfs 0.4 and I have this 2 functions on my source onMoveItem(moveItem, frompos, position, cid) onMoveItem2(cid, item, count, toContainer, fromContainer, fromPos, toPos) I want to block the player from trowing the items let's 2160, 2161, 2162 (an array of items) to the ground IF...
  19. Jpstafe

    Error my server :(

    Hello community, I have a problem with an othire 0.0.3 server, when I open it it is offline ... the ports I have correctly opened ... I have checked it with two other servers that I have and they open perfectly, this server that I try to open is with page ... and it won't let me enter with my...
  20. C

    [Otx2] I need a script for otx2 [only fluent in portuguese]

    I need a script for otx2 Desirable fluent Portuguese for a better conversation. Send me a message for more service information ~~~~ Preciso de script para otx2 é importante que seja fluente em português. Me mande mensagem para mais informações do serviço
Back
Top