• 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

    Account Manager Wrong Position

    Try this: UPDATE `players` SET town_id = 1 WHERE name = "Account Manager";
  2. Lessaire

    TFS 0.X Rooking system TFS 0.4 help please

    This demonstrates usage of the WHERE clause. UPDATE `players` SET experience = 0 WHERE id = "1"; #Query OK, 0 rows affected (0.001 sec) #Rows matched: 1 Changed: 0 Warnings: 0 UPDATE `players` SET experience = 0 WHERE name = "Account Manager"; #Query OK, 0 rows affected (0.001 sec) #Rows...
  3. Lessaire

    Theorizing a Modern Engine Design

    You could start by removing that giant broken tinypic embed from your signature. 🥺
  4. Lessaire

    TFS 0.X Rooking system TFS 0.4 help please

    That should be automatic in 0.3.7 era servers
  5. Lessaire

    TFS 1.X+ Stack items on the ground

    hmmm, so what happens when a player tosses this sequence: 1 coin 100 coin repeat 127 times 🤔
  6. Lessaire

    looking for source tfs 0.4

    I presume by "0.4" you mean 8.60 protocol? I'm currently working on a fork, but I'm providing binaries only until I get it to the point I'm actually happy with it. Linux only. SQLite support has been ripped out. Statically linked RaptorJIT. Support for common protocol modifications baked in...
  7. Lessaire

    TFS 0.X attempt to concatenate upvalue 'maximum' (a nil value)

    I didn't give up on this, but I do not know how to proceed. This script at least functions, but not fully in the way you wanted. The problem is I don't think you can call setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "functionName") It's just not available to weapons scripts. It seems to...
  8. Lessaire

    TFS 1.X+ Stack items on the ground

    What is your expected behavior? Personally, if I had to touch such a system at all, I'd make the lower count buoyant over the 100 stack. So a full stack would be injected wherever the lesser count stack is, and push everything above it up 1 stackpos.
  9. Lessaire

    TFS 1.X+ How to get the amount of an item inside a chest in a lua function

    Simple: One implies the variable self is already set internally, the other does not. foo:bar(3,4) == foo.bar(foo,3,4)
  10. Lessaire

    How does hosting with a proxy work on OTserverlist?

    And they clearly understood that and gave their opinion: No. The OT should be only listed in the region where the host operating the game engine is. My opinion is based on more technical details. Are you using paid peering for this proxy? Then yes. If not, then no. If you don't even know what...
  11. Lessaire

    Theorizing a Modern Engine Design

    🤔 🤐 The eternal problem. Yair Sade, Mooly Sagiv, and Ran Shaham wrote an interesting paper a few years back about thread local storage. And this is where you enter the serious CS zone and things go to full esoteric graph theory. Does the engine already leverage a separate connectivity...
  12. Lessaire

    Theorizing a Modern Engine Design

    Are you expecting users to do Mandelbrots in the gluescript? If you guys really want to take it that far then you better fork LuaJIT and start baking in some creature comforts, because Lua's syntax oddities and minimalism-to-the-point-of-religious-asceticism corelib make it inhospitable for...
  13. Lessaire

    [TFS 0.4] Disable fromVoc

    Then how do players get their vocation? I believe you would be better served by fixing the logic of your implementation than altering the logic of your server. 1589904728 Maybe this is your actual problem: all players will have promotion = 0 in the database. That's what you should fix, just...
  14. Lessaire

    Theorizing a Modern Engine Design

    The TFS devs currenting are targetting some sort of Boost ASIO + BEAST builtin-in httpd. While I think it would be terrible for daemon to try and host an actual website itself, I do believe a simple JSON API so the AACs no longer (have to) touch the database themselves is the actual itch they...
  15. Lessaire

    Good OTS

    Well, I'm in this for the long haul, so what sort of things are you looking for? After I make Frozenhell worthy of the name Dante Alighieri, and change it's underpinnings in with custom genericized libraries, I'll want to use those libs to make a new OT from scratch. Something with no ties to...
  16. Lessaire

    [TFS 0.4] Disable fromVoc

    Alright' I'm looking at the code. There is checks against the player's promotion level both on player load and playersave. Are you using some custom npc or method to promote players? Why not just set the promotion level correctly? On player load the Player::setPromotionLevel is called and can...
  17. Lessaire

    [TFS 0.4] Disable fromVoc

    Set the fromVoc to the vocId? <vocation id="17" fromvoc="17" name="Ancient Knight" description="a ancient knight" needpremium="0" gaincap="75" gainhp="55" gainmana="20" gainhpticks="1" gainhpamount="19" gainmanaticks="1" gainmanaamount="12"...
  18. Lessaire

    9.1 custom client

    It seems like that era of clients was almost impossible to work with, as the only client version even close that's targetable is 9.8. I think you may be out of luck.
  19. Lessaire

    Complaint Voting on dark theme

    From the perspective of someone set on blue theme: Yesterday the users set preference for themes seemed to be dropped. It was a singular transient event, and the black theme was available for selection and blue was gone.
Back
Top