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

    Theorizing a Modern Engine Design

    libuv can be literally added to the project as source bro and only needs headers that should already present on the OS. It's on par with compiling LuaJIT or Physfs. $ make GNU Make wrapper by Xaekai CC src/unix/libuv_la-async.lo CC src/unix/libuv_la-getnameinfo.lo CC src/unix/libuv_la-dl.lo...
  2. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    Hhmm, that's a new one on me. Maybe try replacing your copies of databasemysql.cpp and matching .h with the ones from this fork: GoalTV/ModernOts (https://github.com/GoalTV/ModernOts/tree/a1dcc769e05038a934b340d675f2ed01bf9a38f8/source) If that doesn't work then I'll actually have to examine...
  3. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    internalSend is one of the changed functions above. You did not change it.
  4. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    diff --git a/src/connection.cpp b/src/connection.cpp index edd66a6..e41997b 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -320,7 +320,7 @@ void Connection::accept() try { ++m_pendingRead; -...
  5. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    returning false fails. Return NULL instead. Why don't you look at the code from where the error is coming from and see if what I said makes more sense when its smacking you in the face. You could also look at the code online if looking at the code on your own computer is too alien.
  6. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    I already told you have to fix that. Follow instructions.
  7. Lessaire

    Code for guild war/Help

    Your problem is your version of the script uses guild_id and enemy_id The code you've added from... here? uses guild1 and guild2 You need to pick one style and make all your code use it consistently.
  8. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    Yep. You'll probably get a new error. But it will be different this time. We only have about 7 more to go.
  9. Lessaire

    Database errors

    You don't need to change anything. Shut down the server. Find lua code that wants to make that table Take table creation query Execute the table creation yourself manually on that database as the root database user. Restart the server.
  10. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    Make it so the last thing on that line is the REENTRANT. everything past that goes poof
  11. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    The Autotools templates should be configure.ac and Makefile.in. If you're using nano, the search hotkey is CTRL W
  12. Lessaire

    Theorizing a Modern Engine Design

    Not having to support NodeJS in Windows userland is what's critical. You're adding a lot of tech support complexity where none existed before. They were already expected to have a working C++ compiler, and the MySQL client libs, and libuv is smaller than Boost's build system documentation. The...
  13. Lessaire

    TFS 0.X function getmentality

    Perhaps your source patch wasn't as complete as you thought it was.
  14. Lessaire

    Theorizing a Modern Engine Design

    That's precisely how I would initially scaffold it. But your end target should be MariaDB Connector paired with libuv and communicating with Unix domain sockets for all sides of I/O, providing TCP loopback as a last resort. Dead simple, Pure C. (NodeJS is literally just Google's ECMA JIT with...
  15. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    You still have Werror somewhere. You have to find it in the template and kill it. Then autoreconf. I suggest learning how grep works. Google it. The function in chat.cpp can't cast to boolean, so returning false fails. Return NULL instead.
  16. Lessaire

    Compiling Compiling TFS 0.4 rev 3777 on Raspbian

    otsystem.h -inline int64_t OTSYS_TIME() -{ - timeb t; - ftime(&t); - return ((int64_t)t.millitm) + ((int64_t)t.time) * 1000; -} +inline int64_t OTSYS_TIME() +{ + return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(); +}...
  17. Lessaire

    War System Problem "Talkaction" tfs 0.4

    !war invite, %guildname%, %kills%, %bet% !war cancel, %guildname% !war accept, %guildname% !war reject, %guildname% !war end, %guildname% Are you sure there is two guilds? And the 2nd guild actually has players? And you're not trying to invite your own guild to war?
  18. Lessaire

    War System Problem "Talkaction" tfs 0.4

    That's actually his error. He's literally just missing the closing end, and the error log output of the server says just that. Otherwise the script is identical to the common one from this era of server.
  19. Lessaire

    craft system with npc

  20. Lessaire

    [OtLand Official Mapping Competition] [S2] - May Voting Thread

    Both #2 and #6 are good. #1 is the only one that actually nails the elevation realities of a port big enough for a merchant trading vessel. (You fall off a gangplank, its gonna be 24ft before you hit the water. Minimum.) However both shots are pretty much the same frame...moving 2 squares isn't...
Back
Top