# Search results

1. ### 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. ### 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. ### 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. ### Lua position changed, why?

I wrote one 25 days ago https://gist.github.com/Zbizu/ed0b7386a632ac4e953fb8232e475595
5. ### 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. ### 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. ### 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. ### 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. ### 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. ### 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. ### Disable snow

ublock filter list "fanboy's annoyance" or personal filter https://static2.otland.net/j/themehouse/holidays/snowstorm.js
12. ### 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. ### 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. ### 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. ### 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
16. ### santa hats bugged on mobile view

They're oversized and clip on avatar edges. All styles affected. edit: or was that supposed to be a snow heap? It's clipped on desktop too.
17. ### When will TFS 1.4 be released?

At this pace the release will come in 2030.
18. ### Dark Blue theme gone

Not everything needs to be updated. In this case I see no reason to update if there aren't any security issues. This has nothing to do with my degree or my career. That was a dumb analogy. We're discussing this specific case. I didn't say stop updating everything everywhere. In other situations...
19. ### Dark Blue theme gone

Do you have a problem with reading? The solution I proposed is to stop updating so things stop breaking, it's that simple. Don't you see you get more bugs when you update?
20. ### Dark Blue theme gone

or just stop updating the forum script when it isn't broken? You know, things won't break if you don't update them.