Ranieri Althoff
Ranieri Althoff
> what if map fails to load? Won't all houses just get wiped? I believe in that case the server is aborted before that function is called, but good point....
> What if `forgotten-house.xml` fails to load due to some mistake on the user's side or some weird rme situation? Are houses safe? In that case, maybe we should validate...
Fantastic. This bit of code is overdue for an improvement.
Food for thought, don't know if we could ever apply that, but Boost provides an A* algorithm: https://www.boost.org/doc/libs/1_80_0/libs/graph/doc/astar_search.html
> Needs more namespaces, how about something like `tfs::lua::scriptEnv::reserve`? > Jokes aside, that `tfs::lua` namespace is probably one of the worst named things I've seen in a while, sucks to...
> it's so redundant, why would we need it? To separate things if TFS is used as a library in another project, i.e. to allow using map loading, database handling...
Rebased against master and fixed @Zbizu comment > This is just to reduce the compiling time or is there any more benefits to it? It is mostly that, it helps...
> I'd vote to use otclient LuaEngine and declare the functions in its own class (most are just calling them) and only register in luascript.lua That would be super cool,...
@gigastar no, what error?
Feel free to add VS support, I can not do that as previously said.