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

    How i can do to player only use my version of otclient in my server?

    Editing modules like this is a bad behaviour. You should create a new module with: autoload: true autoload-priority: 998 Then on this module init function you call what i've showed you. If you need something more complex, then you make a function just like this on desired module and...
  2. Baxnie

    .spr/.dat download

    Kinda big, but cool. Thanks.
  3. Baxnie

    Modules

    There's no need to hide modules. Bot protection do not allow modules to send anything to server if it is not from an user input. Also, otclient is flexible already, so copying a module without having the sources is pretty easy.
  4. Baxnie

    How i can active Transparence

    I've fixed it yesterday. https://github.com/edubart/otclient/commit/2f7a06e93ebd4974eb135b3a196d8cfa4b60b46d
  5. Baxnie

    Change Color Character List.

    This is a character list. It's inside client_entergame module. Then you open characterlist.otui, the file that contains all styles. Take a look at it, then you'll find out that this part is a TextList. TextList id: characters anchors.top: parent.top anchors.left: parent.left...
  6. Baxnie

    How i can active Transparence

    It can be anyway you want it. Just start working and contribute to otclient. https://github.com/edubart/otclient Use it to make a pull request and share your code.
  7. Baxnie

    How i can do to player only use my version of otclient in my server?

    EnterGame.setUniqueServer(hostName, port, protocolVersion, windowWidth, windowHeight) EnterGame.setUniqueServer('127.0.0.1', 7171, 862, 270, 210)
  8. Baxnie

    How i can active Transparence

    Well, this code already exists in otclient. Made this ceiling of glass to show you. To achieve this, create a file called things.otml items 622 opacity: 0.5 full-ground: false Use it from a module. connect(g_game, {onClientVersionChange = onClientVersionChange}) function...
  9. Baxnie

    [9.60/9.61] The Forgotten Server v0.2.14 (Mystic Spirit)

    The problem is that you are using more paramenters for the doCreatureAddHealth function !! In the 0.2 it should be: doCreatureAddHealth(cid, health) Try using this script instead:
  10. Baxnie

    Well i think to contribute

    Look for luafunctions.cpp in the source files, that file have a huge list with all lua functions.
  11. Baxnie

    How to NOT compile in Debug mode

    Add -DCMAKE_BUILD_TYPE=Release to the cmake command when configuring cmake.
  12. Baxnie

    Error when compiling OTClient in Linux

    Are you using lua 5.1?
  13. Baxnie

    C++ problem

    #include <iostream> #include <vector> #include <string> class Team { public: Team(const std::string& name) { m_name = name; } void askStadium() { std::cout << "Does team " << m_name << " plays in his stadium?" << std::endl; int answer; cin >> answer; if(answer == 0) m_data[0] =...
  14. Baxnie

    Event LIB (003-event.lua)

    Hi, i've made this object to be easier to use events. Main usefull thing here is the createCycleEvent function. EVENT_TYPE = { SINGLE = 1, CYCLE = 2, } -- private functions local function parseSingleEvent(event) event.f(unpack(event.args)) event.id = nil end local function...
  15. Baxnie

    OTclient Crash

    Which otclient version?
  16. Baxnie

    How to change position of items on top of another?

    True story man, the property he wants is elevation, but it is a single integer that works for x and y. So, u'll have to change the sources to achieve this. Displacement wont work as it does not consider if the object is on top of another one.
  17. Baxnie

    How to change position of items on top of another?

    Oh, its elevation property.
  18. Baxnie

    OTClient Error!

    I mean the graphics bug, the init.lua bug is already fixed in lastest version.
  19. Baxnie

    [Q] Mac?

    It's possible to compile on a mac, for Windows or Linux. However, there's no mac platform.
  20. Baxnie

    How to change position of items on top of another?

    U want to place the chest on the table? Check for tibia's table and chest on Tibia.dat. Check their properties and make them the same.
Back
Top