Hello,
I've been craving to modify a very specific line in the source SDK code and I know that any Gmod server uses it as base.
I'm specifically interested in modifying a line in mp/src/game/shared/animation.cpp but I'm pretty sure the entire source sdk is compressed under a vpk file in the server folders.
I already checked most areas, so at this point I was wondering if anyone had an idea on where I might be able to find it.
Thanks!
You wont be able to modify the source for gmod as its not given out, the closest you can get is the base games code which wont have anything specific to gmod in it.
I thought this might be the case. And the line I'm trying to modify seems to be part of the side that isn't given out unfortunately.
I'm simply trying to remove this printed console error from showing up: Msg( "Bad sequence (%i out of %i max) in GetSequenceLinearMotion() for model '%s'!\n"
It's found under mp/src/game/shared/animation.cpp and as you've said, apparently can't be touched.
I know what most will say that I should look for the error that's causing it to print, but I'm very well aware of why and how it's happening, and I also know that the error shows up due to a system incompatibility between PAC and another addon, but the error doesn't actually have any effect on the items, players or the server.
I simply wouldn't want to have the same error spammed too often if possible.
Try to solve the error instead, if like you said, it really does not affect the server. Wouldn't it be easier to just remove the Lua line that is causing the error in the first place? Fixing Lua errors by trying to modify the base game doesn't really sound efficent.
Sorry, you need to Log In to post a reply to this thread.