Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2020-11-22 00:00:00Z and 2020-11-23 00:00:00Z
Avatar
045bf3a Automap stroke paint. Added a small "pressed" e... - LordSk
Avatar
What are some well known vulnerabilities in 0.6.5? (latest 0.6.x)
Avatar
@stnwtr why that question
Avatar
Just want to know what to take care of running a 0.6.x server
20:32
Because the playerbase is greater
20:32
and stuff like that
Avatar
well the biggest issue is the network side actually
Avatar
Security: current and past issues, a word on 0.6.5 (Page 1) — Developer Journals — Teeworlds Forum — Everything Teeworlds!
Avatar
But there are a lot of fixes in latest 0.6.5?
Avatar
I think #1553 may have caused a bug that limits the FPS even if VSync is turned on. I have a 240Hz panel and right now enabling VSync throttles it to a rather laggy 144Hz. If I turn off VSync and enable 240 max FPS, it works well
Avatar
@stnwtr there is just one 0.6.5, and the fixes are mentioned in the post
21:34
it's only a security release
21:35
no other features
Avatar
oops sorry i wanted to sy "latest 0.6.x" but then wrote 0.6.5 thank you
Avatar
I wana look at the source code to learn from it, but I don't know how to start. Is there some documentation or guide somewhere? I don't even know where the main() is.
Avatar
it's in src/engine/client/client.cpp and src/engine/server/server.cpp respectively.
Avatar
@P. no, there isn't really any documentation
Avatar
well ok thanks guys, I'll start looking at client.cpp and server.cpp
Avatar
the source code is split into base, engine, game; base does most of the OS-specific stuff, engine does some technical lifting such as the low-level network protocol and syncing of game state, low-level handling of input, graphics output, game does most of the stuff you see on the screen
Avatar
isn't it weird that the main is at engine rather than base?
Exported 21 message(s)