• 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!

Recent content by zbizu

  1. zbizu

    GlobalEvent TFS 1.3 Monster Wave Event

    the problem we were discussing was getting players from one room to another, nothing with monsters but ok
  2. zbizu

    Lua position changed, why?

    doesn't that result in this? {x = 5000, [1] = {x = 100, y = 100, z = 7}} edit: yes, it does print(TABLE2.X, TABLE.X, TABLE2[1]) -> 5000 100 table: 0x13188e0
  3. zbizu

    Lua position changed, why?

    Nice. For some reason I overlooked that month ago. Not sure if it's safe to duplicate Creature or Item object though (potential crash?). Might be why I didn't do that. Anyway, I'm pretty sure that a simple rewriting of the Position will be enough to solve thread author's problem, but that's...
  4. zbizu

    Lua position changed, why?

    I wrote one 25 days ago https://gist.github.com/Zbizu/ed0b7386a632ac4e953fb8232e475595
  5. zbizu

    Lua position changed, why?

    because positionTWO is just a reference try local positionTWO = Position(positionONE) or local positionTWO = Position(positionONE.x, positionONE.y, positionONE.z)
  6. zbizu

    When will TFS 1.4 be released?

    I still have luascript.cpp open when I code new things. It's so clean that it can be read as a documentation.
  7. zbizu

    GlobalEvent TFS 1.3 Monster Wave Event

    Yes. I just wanted to explain that it isn't a matter of code aesthetics, but actual difference in performance.
  8. zbizu

    GlobalEvent TFS 1.3 Monster Wave Event

    What they all meant is reusing already known variables because getting them each time you check something is just slow. It may be 2 ms difference for a single loop step, but if you iterate over let's say 50x50 area, it's 2.5 second difference. 2ms is a little exaggerated but if you want to use...
  9. zbizu

    TFS 1.X+ Can someone explain me math.random?

    math.random() -> calls rand() from C math.random(3, 10) -> random number (minimum 3, maximum 10) math.random(100) -> random number from 1 to 100.
  10. zbizu

    Complaint double standards

    I reported this post: https://otland.net/threads/what-is-allowed-and-what-isnt-allowed-on-otland.273089/post-2630083 the mod response was: but when I say word "fuck" as a synonym of "work" in a PRIVATE MESSAGE, you have a problem with it the (translated) message I got a warning for was: do...
  11. zbizu

    Disable snow

    ublock filter list "fanboy's annoyance" or personal filter https://static2.otland.net/j/themehouse/holidays/snowstorm.js
  12. zbizu

    When will TFS 1.4 be released?

    1. Pretty sure the conditions could be written in a more elegant way (some loop very likely). 2. enter key not used enough, everything is just clumped together 3. adding condition, sending a message and sending magic effect could be moved to some configurable table 4. things from point 3 and...
  13. zbizu

    Lua Function [TFS 1.2/1.3] player:setAttackSpeed(ms) | player:getAttackSpeed()

    Interesting, but imo it should be handled the same way the player speed is: a condition with attackspeed change a function to change base value a possibility to do it as an item attribute
  14. zbizu

    When will TFS 1.4 be released?

    Don't use desktop app. Use git bash. Github as the name suggests is a hub for git so search how to do things in git instead of github. You can also read about version control in general.
  15. zbizu

    When will TFS 1.4 be released?

    tbh I planned to apply for a tfs developer discord channel but I lost interest for reasons unrelated to the repo itself. It isn't about money either @WibbenZ
Top