Some Codebase Questions
Posted: Sat Mar 28, 2026 2:36 am
I have a few questions about the source code, and please don't take this as criticism; I'm just asking out of pure interest.
Why was the script written so that all the Unreal Engine components are processed in a single script?
imho : Which ones of the Games can be setup in the Config File. So if someone have all Servers running so set it up : ut2k4,ut99,ut3.
On serverside settings : give the server the flag : ut2k4 . So the codebase for 2k4 can be used. if ut3 , the codebase from ut3 can be used. and so on.
One file with all the functions in it. so you don't have to put these functions in the files.
one connect to the database , and make the stuff. The DBs today closes that by themself.
This makes the source code unnecessarily large. Some files are several thousand lines long. Furthermore, the HTML code is also generated within these files. Would a template engine like Smarty or something similar be much better suited? That way, the HTML and PHP code would be separated.
I know the project is several years old, but since you're already revising it, separating the HTML code from the PHP code would be a great way to do this.
This would keep the files smaller and more manageable.
I know that is much work for one Person to get it all working.
By the way : This is in my eyes the best Script i've seen so far. Some others are on the planet, but they don't have this ranking system.
so please keep this good peace of candy alive.
Thank you for your hard work.
Skully
Why was the script written so that all the Unreal Engine components are processed in a single script?
imho : Which ones of the Games can be setup in the Config File. So if someone have all Servers running so set it up : ut2k4,ut99,ut3.
On serverside settings : give the server the flag : ut2k4 . So the codebase for 2k4 can be used. if ut3 , the codebase from ut3 can be used. and so on.
One file with all the functions in it. so you don't have to put these functions in the files.
one connect to the database , and make the stuff. The DBs today closes that by themself.
This makes the source code unnecessarily large. Some files are several thousand lines long. Furthermore, the HTML code is also generated within these files. Would a template engine like Smarty or something similar be much better suited? That way, the HTML and PHP code would be separated.
I know the project is several years old, but since you're already revising it, separating the HTML code from the PHP code would be a great way to do this.
This would keep the files smaller and more manageable.
I know that is much work for one Person to get it all working.
By the way : This is in my eyes the best Script i've seen so far. Some others are on the planet, but they don't have this ranking system.
so please keep this good peace of candy alive.
Thank you for your hard work.
Skully