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

    TFS 0.X Add onPrepareDeath in player class

    Hello homies, I need your advices and pointments. I use 0.3.6 8.6 source, but can be for any. GOAL: Add a prepareDeath method to source like onDeath/death is. Why?: I have a script in creaturescripts, but it acts very weird. Not like it will suppouse to be. Question: Is it possible to declare...
  2. J

    OTClient Items duration

    Hello, trynna change the items speed(duration) in const.h in OTClient(Mehah) I have found a paradox. The client has a feature "enhanced animations" so its ignoring the values from const.h and get values from .dat. const.h INVISIBLE_TICKS_PER_FRAME = 150, ITEM_TICKS_PER_FRAME = 150, .dat file...
  3. J

    AAC Items in .gif format for website

    Hello. I extracted all sprites from 10.99 client and can't convert their to .gif I'm using Gesior site https://item-images.ots.me/png-to-gif-converte but doesn't work. If someone has done the items, Could send me the zip file with ready images? Thank you
  4. J

    OTClient Does Idle Animation work?

    Hello, I think to add outfits with idle animations. I see it was repaired in OTClient : https://github.com/otland/otclient/pull/28/files But it's gonna be on 8.6 server > :D How do you think, if I change some things in Object Builder code and it let me add some idle animations, there won't be...
  5. J

    AAC Show UpTime error

    Hello, I use MyACC and I wanna display UpTime on a website but there's something wrong. Code in status.php $status['uptime'] = $serverStatus->getUptime(); $h = floor($status['uptime'] / 3600); $m = floor(($status['uptime'] - $h * 3600) / 60); $status['uptimeReadable'] =...
  6. J

    AAC MYACC Where getLink is directed

    Hi. A question about MyACC Can someone tell me to which file is "account/manage" directed to? I have troubles with that. I don't understand the structure of this ACC. How is it merged with itself.
  7. J

    AAC MyACC Login template

    Hello. I'm tryna change "LOGIN" appearance in MYACC by editing each file related to it but nothing happens. Generally there is so fucking mess I can figure out nothing. In the database it's directed to "account/manage" (I can't see that file) although I edit account.login.html.twig. Someone...
  8. J

    Lua Global Tables and Lua 5.1

    Hello. I wanna know some information about global tables/variables access between scripts. (I read a little bit). What I noticed between 0.X and 1.X TFS, is access to gobal tables. In 1.X we can use them everywhere and can get/set from everywhere. In 0.X cannot be. The way to reach that is...
  9. J

    Lua Global tables in 0.X TFS

    Hello, I put in lib to constant a global table TABLE={}, then I tried to inject a data for example in action script. After a few hours I perceived myself that the fucking TFS doesn't handle it. And I can't use the data in globalevent. Is there any solution for that ? A lot of work to "open"...
  10. J

    Lua Global Variable does not exist

    Hello, I noticed that I cannot use global variable. For example: in action I have a script with CHEST = 1740. I wanna use it in globalevent but it gets an error. When I move it in to the original script it works. TFS 0.3.6 Before probably it worked.
  11. J

    MySQL mysql_fetch_row

    Hello. I'm trying to migrate a script from postgreSQL to MySQL, but I have't been solving the problem since 2 days. I wanna get next record from the database, but It shows only the first. In the postgre's script I have pg_fetch_row($result, $_SESSION['pointer']); And in mysql...
  12. J

    OpenTibia Monster Maker

    Hello everyone. I wanted to improve my skills, so decided to make the application. Mainly it's written in microsoft visual studio 2013. I only wanna say it's one of a simpler and intuitional proggrame ( however, I don't like it too much) When I saw this post [OTClient Mod] Tool Monstermaker...
  13. J

    Lua Position declaration

    Hello, I cannot figure out why this line is incorrect: local pos = {x=1002, y=1001, z=7} if getPlayerPosition(cid) == pos then How to check if a player is on the position?
  14. J

    Lua Table index ?

    Hello, I can't imagine how it is made. I have that table: local spells = { ["light healing"] = {vocation = {1, 2, 5, 6}, price = 170, level = 9, premium = false}, ["find person"] = {vocation = {1, 2, 5, 6}, price = 80, level = 8, premium = false}, And can someone tell me how to...
  15. J

    TFS 0.X Gold tranfser limit

    Hello, I have a little problem. I want to make limit of transfering money. It's a NPC So when I send you money, it checks how much you have. If your balance is greater or equal 1000 ,it shouldn't send. The piece of the code: elseif talkState[cid] == 12 then transfer[cid] =...
  16. J

    TFS 0.X Message does not come

    Hello, I noticed a strange issue. local loginsCounterStorage = 88857748 function onLogin(cid) local loginsCount = getCreatureStorage(cid, loginsCounterStorage) if loginsCount == -1 then doPlayerSendTextMessage(cid, 19, 'Witamy! Pierwszy raz zalogowales sie na serwer! Zyczymy...
  17. J

    TFS 0.X Upgrade System and the suspicion runes

    Hello, everybody knows the upgrade system. I have adjusted it to runes. Everything would be fine, but I noticed when I move a rune its name changes. Assume we have health rune +2, when I try to move it, no matter how - from bag to the ground, from the ground to the ground, the name becomes...
  18. J

    TFS 0.X Check runes

    Hello, I wanna check, in an upgrade system, does the destination item is "rune". But this function doesnt work for me: if isItemRune(itemEx.itemid) then // next code I don't have any idea. Or I check the specific rune and it doesnt work too: if getItemNameById(itemEx.itemid) == 2260 then
  19. J

    TFS 0.X Temporary skill

    Hello, I have a little problem with onLogin function. Generally I wanna add player for example 5 shield skill. There is a part in "actions", which add the skill for 30 sec. But when player relog the skill is being reseted. It's made by createConditionObject: local storage = 12347 local...
  20. J

    Display the nick

    Hello, I wanna display player's nick, but don't know how. For example this is for outfit name: local outfitCreatureBox = outfitWindow:getChildById('outfitCreatureBox') if outfitCreature then outfit = outfitCreature:getOutfit() outfitCreatureBox:setCreature(outfitCreature) else...
Back
Top