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

    Meditation and the otland community

    Hi, I would like to ask you if you have ever heard anything about meditation, what meditation means to you? (no Googling - just what do you think about meditation) For some people, meditation may be associated with a person sitting without meaning because of boredom, and for some, it may be...
  2. L

    unique id for monsters

    I noticed that when we assign the id of a given monster to some database. And we will create monsters and remove them, so after restarting the server the id will not match the id from before the restart (in the database). I noticed that ids like to duplicate themselves. How to prevent such...
  3. L

    TFS 1.X+ How to make the summon still belong to the player after logging out in tfs 1.4?

    How to make the summon still belong to the player after logging out in tfs 1.4? do I need a change in c++ or lua? 1714133531 i removed line from game.cpp and now summons don't disappear after logging out. But summons no longer belong to that player after login
  4. L

    Lua Helmet addEvent [1.4.2]

    Hi, I'm trying to create a helmet with an event. When equipped, it should execute the script every second, but it doesn't - it executes once when equipped. function onEquip(player, item, slot) addEvent(function() print("working") end, 1000, cid) end I also tried...
  5. L

    Solved I can only see healing value on 5 monsters

    I have scripts for healing monsters within 3 squares around the player. I stand in the middle of, say, 20 monsters, only the first 5 show the healing value (in orange) I also checked mass heal (slightly modified - so that it heals monsters) and exactly the same behavior. How to make all...
  6. L

    how to execute script before server shutdown?

    I have my own script. I would like this script to execute every time the server is closed. Any ideas?
  7. L

    TFS 1.X+ Assigning a lua code to a monster

    Hi how to use the .lua code to be assigned to monsters. I try this way: in xml, e.g. rat <scripts> <event name="RatThink"/> </scripts> in data\scripts\creaturescripts I added rathink.lua local creatureevent = CreatureEvent("RatThink") function creatureevent.onDeath(creature...
  8. L

    OTClient OTCv8 offset of TALKTYPE_MONSTER

    Hello, I need a hint on where I can move the talktype up so that it doesn't cover the username
  9. L

    Lua A bar graph

    I would like to make a chart with 30 bars side by side. Each bar with a width of say 2px and a value 20px I have the following code: function initBars() local VisualizationContainer = VWindow:recursiveGetChildById('VisualizationContainer') for i = 1, 30 do local bar =...
  10. L

    C++ Calling variable(c++) from LUA

    I use OTCv8 for my small project. I have a module for otclientv8 written in C++. The module generates numbers every second into a variable. I would like to have access to this variable from lua to use this variable in a lua script. I'm wondering and slowly eating my mustache on this code(my...
  11. L

    C++ How to send extended opcodes from c++?

    I have code in OTClientV8 that reads a value from a COM device. I want to send this value to the server (tfs 1.4.2) How to send extended opcodes from c++(OTCv8)? or Maybe I should switch the value to lua and send extended opcodes from lua?
  12. L

    C++ How to print "Hello world" in OTCv8 in terminal

    Hello, i want to write simple code in c++ to otcv8. I created a file called com.cpp in the project (microsoft visual studio) in sources->client. Now I put the following code there: otclient is comiling but, i can't see Hello world! after launch otclient in terminal, how to print "Hello World"...
  13. L

    OTClient and SerialPort

    I'm using OTClient v8 and I have a device that uses a COM port. I want to integrate otc to read this COM. How to read COM port using LUA? Can LUA handle reading data from COM? Or is it better to handle the COM port from C++? Maybe there are other "pros and cons" that I don't know about. Regards
  14. L

    Action Holy Catholic Rosary! All Mysteries, [PL, EN]

    I want to share with you the True Holy Rosary for OTS in data/actions/actions.xml and create "Holy" folder and file rosary.lua. local rosaries = { [26053] = {effect = CONST_ME_HEARTS, Cross = "In the name of the Father, and of the Son, and of the Holy Spirit. Amen."...
  15. L

    Lua How to add new lib[LUA] to OTClient

    Hi How to add to OTClient new lua library? I need to attach luaserial, but this lib is in .c extension...
  16. L

    [Music] - My first small album - Ambient Music

    Hi I want to share with my album created on my mikro maschine mk3. It's ambient music, i hope.. :p beyond the first and last (intro and outro) Intro and outro is totally crazy :p I did not participate in any training. note, for people who have never listened to ambient music my tracks may seem...
  17. L

    Handle login to tfs 1.4.2

    hi Im trying to handle login to tfs in python. I have this code: from twisted.internet import reactor, protocol class TFSClientProtocol(protocol.Protocol): def connectionMade(self): print("Connected to the TFS server!") # Send the login packet here account_name =...
  18. L

    unable to create item with invalid id 0 after create new .spr+dat+otb

    Hi, I have TFS 1.4.2 and otclienv8 I created new spr for 10.98, added 1 ground with id 100 and 1 outfit - for test. I generated new otb file with itemeditor 5.1. I make simple 3x3 map. After this when i start server i have error in client And i have stats like " -1 health / -1 mana /...
  19. L

    Block DeacayTo

    Hello It's possible to block decayTo? I have ground what decay to other ground. I want to put item on ground and block decayto? Do i need lua? or modify source(c++) ?
  20. L

    New water borders

    New water borders and new grounds(grass and water) 1690569703 few new sprites
Back
Top