radian-software/TerrariaClone

๐Ÿ๐Ÿ”ฅ๐Ÿ Not enough Spaghetti ๐Ÿ๐Ÿ”ฅ๐Ÿ

zyansheep opened this issue ยท 0 comments

Hello, I'm writing a Terraria server (zyansheep/terrarium) and I have a few things to say about your project Terraria:

Compared to the actual Terraria Code, this is child's play. The (decompiled) Main.cs file is over 59118 lines (some files are even longer!) and its all GARBAGE SPAGHETTI. Multiple functions across the entire codebase are split because they were too big for the compiler. Also, Every. Single. Object. Is. Global. There is a maximum of only 255 players allowed to join a single server because THEY STORE EVERYTHING IN FIXED-LENGTH ARRAYS.

Thanks for reading my rant issue, It would keep me from going insane be nice if someone could fix this