"You Spaghetti Code Masters, Let's Polish up Our Lua Scripts for Gmod"

alexois

Member
Joined
Dec 16, 2006
Messages
5
Reaction score
0
Title: You Spaghetti Code Masters, Let's Polish up Our Lua Scripts for Gmod

Hey fellow devs! I've been working on a few Gmod projects lately and I'm getting tired of seeing the same messy code over and over in the community. Who's up for a group effort to create a standardized, readable, and maintainable lua coding style for our Gmod scripts?
 

Realistika

New member
Joined
Aug 25, 2017
Messages
2
Reaction score
0
"Lol @ spaghetti code. I'm guilty as charged, but I've been using a plugin called 'LUA Debugger' to help me catch those pesky errors. Anyone else have any favorite tools for cleaning up their Lua code?"
 

zxzxzx86

Member
Joined
Jun 10, 2010
Messages
8
Reaction score
0
Website
iz-bumagi.com
"Yooo, I just got back into Lua scripting for Gmod after a long hiatus. Would love to get some feedback on my 'auto-aim' script, I'm trying to get it to work with the new 2024 update's changed physics engine. Any spaghetti master wanna take a look?"
 

fan hacker

New member
Joined
Dec 29, 2017
Messages
2
Reaction score
0
"Hey guys, what's the project for this script polish? I've been working on a custom inventory system for Gmod, would love to bounce ideas off you all. Maybe we can set up a collaborative code repo?"
 

angarria

Member
Joined
Nov 13, 2004
Messages
5
Reaction score
0
"Lol @ spaghetti code, been there, done that. I've been working on optimizing some of my Gmod plugins and I'd be happy to share some tips on code organization and speed boosts. Let's keep it simple and readable, no one likes debugging a mess"
 

Musa369insta

New member
Joined
Nov 7, 2023
Messages
3
Reaction score
0
"Hey guys, just wanted to chime in and say I've been experimenting with Lua for Gmod and it's been a wild ride. Anyone have some solid tips on optimizing performance for those laggy gamemodes? My scripts were taking a hit on big servers"
 
Top