674 Results
If you know how this exploit is done and want to help, please post. If you know how this exploit is done and don't want to help, then please don't post.
garry Developing Reply
I don't get why you would think GMod is in a sales slump. It's sold 2.5 million copies in the last year, currently totaling 8.3 million. I would say that a game selling 2.5 million copies in its 10th year of being on the market is pretty good. [url]http://www.facepunchstudi...
garry Developing Reply
You can probably stop debating languages now. We have decided our priorities. What sucks in Garry's Mod, what do you want to do in Garry's Mod 2 that you couldn't in Garry's Mod?
garry Developing Reply
[QUOTE=paul simon;48127789]Watch as news websites will take this thread as a literal announcement for Garry's Mod 2 Is steam workshop support necessary if you have better built-in systems? The workshop has some unfortunate limitations as mentioned earlier.[/QUOTE] The w...
garry Developing Reply
[QUOTE=thomasfn;48127758]The only problem with .NET is security. You'd need to be using Mono for cross-platform support (not sure how mature the open-source CoreCLR stuff is yet) and Mono doesn't (yet) support assembly sandboxing. And by sandboxing I mean stopping a script fro...
garry Developing Reply
[QUOTE=meharryp;48127399]Lua, while having awful syntax, is really easy to learn. Right now with about 5 hours anyone can pick it up and start making addons, of course, they'd be getting taught bad practices, but its a really good simple language. I wouldn't change it because ...
garry Developing Reply
[QUOTE=tzahush;48127018]I feel like if there was an option to make GMod a multi-cored process, it would develop the ability of gamemodes a lot. lately a lot of big mapped gamemodes are trying to get into GMod, and its a bit harsh because of all of our source engine limits and...
garry Developing Reply
[QUOTE=Banhfunbags;48126993]Lua was my first coding language and I was really confused as to why there were multiple ways you could do something in the syntax i.e. Inequality operators could be ~= or !=[/QUOTE] Yeah if we make our own syntax we'll be replacing, not adding
garry Developing Reply
[QUOTE=FPtje;48126935]Oh no. Definitely not. The current hook system has flaws: if one addon decides to return a value, other addons' hooks don't get run. However, what we get in return is shit like this: [url=http://wiki.darkrp.com/index.php/Category:Hooks]The dozens of ho...
garry Developing Reply
[QUOTE=thomasfn;48126819]There shouldn't be any syntax changes to Lua. Either use vanilla Lua/LuaJIT or a different language entirely.[/QUOTE] I don't agree with this. Lua has a lot going for it, but the syntax being purposely contrary to any kind of established standards ...
garry Developing Reply
[QUOTE=xaviergmail;48126811]Concerning syntax, I quite dislike the C operators (Mainly || and &&), but this can be quite a controversial topic. I suggest we stick to regular Lua syntax with perhaps the exception of != as I find ~ harder to reach. If we keep the different synta...
garry Developing Reply
We've been doing a lot of talking about Garry's Mod 2 internally. Mainly about mistakes that were made in Garry's Mod. What we would change. So we've come up with a few things we hate. The hook system is kind of wrong & invites addons to break each other - it might be bette...
garry Developing Reply
What would you change if you could?
garry Developing Thread
Are you sure you're not hitting the 64kb limit in net transfer?
garry Developing Reply
Nope
garry Developing Reply
Yeah I'd rather have a small amount of valuable information than a mass of useless information.
garry Developing Reply
Fuck yes.
garry Developing Reply
Yo robo, add me to skype garrynewman82
garry Developing Reply
Because I'd rather the server owner supplied the whole experience.
garry Developing Reply
There's a lot of things you can't find out about a server without joining it. I'm sure if people joined servers and found that their MegaHud 4.0 works on it, and they liked that, they'd be more inclined to join that server again.
garry Developing Reply
So the guys running servers with it off and that know what they're doing end up winning - right? So what's the problem?
garry Developing Reply
[QUOTE=Lexic;40869225]I disagree with that on Sandbox. Every other gamemode sure, but Sandbox is far too freeform to try to make consistent.[/QUOTE] The server has a choice, they can turn it off. We don't force it either way.
garry Developing Reply
[QUOTE=FPtje;40867451]I'm talking about gamemode defaults. Clientside scripting is limited because by default sandbox servers block it. Before this default there used to be custom HUD's that you could use everywhere, (horrible) screen overlays that users could choose to instal...
garry Developing Reply
That's useful. It could be installed on the server though.. and it'd work with sv_allowcslua 0.
garry Developing Reply
No it isn't
garry Developing Reply
fast here
garry Developing Reply
Oh ok, when it was bought up I was under the impression it was happening to you right now.
garry Developing Reply
[QUOTE=Donkie;40812953]What about the slowness issues garry? Are you guys working on it? I'm really only using the oldwiki right now since trying to update pages is horrible because it takes like 10 minutes for it to properly refresh and update.[/QUOTE] Is it an issue still?
garry Developing Reply
You can't cancel key trapping. All it's REALLY doing IIRC is ignoring the next button press.
garry Developing Reply
I had to write a hack to get transparency in the spawn icons. It renders it to red background, scans every pixel for redness, then blue, scans every pixel for blueness, then green, scans every pixel for green. Then adds them all together and normalizes them.
garry Developing Reply
The global table GWEN isn't defined.
garry Developing Reply
Yeah this is my fuckup
garry Developing Reply
[url]http://obsproject.com/[/url] It seems to perform a lot better than xsplit. And it's free. And there's plugins.
garry Developing Reply
coding shit [url]http://www.twitch.tv/garrynewman[/url]
garry Developing Reply
100 panels shouldn't hurt unless you're creating/updating them every frame.
garry Developing Reply
That would work - but I will look into a way to avoid these things in the path building.
garry Developing Reply
Not really
garry Developing Reply
Not right now - if you want to invent one though I will include it
garry Developing Reply
Basically like this: [lua]-- -- Name: util.Stack -- Desc: Returns a new Stack object -- Arg1: -- Ret1: Stack|a brand new stack object -- function util.Stack() local t = {} setmetatable( t, T ) t.objs = {} return t end[/lua] [lua]-- -- Name: [library]....
garry Developing Reply
Feel free to add it to the wiki after you find out what you want. Or even better post a pull request to github with comments added so my script will parse them and auto document
garry Developing Reply
[QUOTE=Python1320;40418827]Yeah, but good luck compiling replacement or preventing the original one from crashing. Turns out disabling SlerpBones causes even more crashes but elsewhere so I had to give up on that :( PS: I'm doing this on Linux and the detouring works fin...
garry Developing Reply
It's in SVN - and you need to run the engine binaries too. It gets called any time the 2D skybox is drawn. Implementing Tom/Max hands. Doing it in Lua as much as I can. [img]http://i.imgur.com/HaSYBml.jpg[/img]
garry Developing Reply
We could really do with some kind of Nextbot tutorials on the wiki. Or any tutorials at all to be honest. [url]http://wiki.garrysmod.com/page/Category:Lua_Tutorials[/url]
garry Developing Reply
gmad and gmpublish ship with gmod now, they're in the bin folder.
garry Developing Reply
I would avoid using the Chase path mode - it doesn't work properly
garry Developing Reply
Moving this thread into this forum
garry Developing Reply
Moving this thread into this forum
garry Developing Reply
Was it a rocketpack?
garry Developing Reply
Not really hacky. Just give them the weapon and parent it onto their hand? It's not some black magic - how do you think NPCs hold their weapons?
garry Developing Reply
This forum isn't for requesting code
garry Developing Reply
Nope
garry Developing Reply
[QUOTE=highvoltage;40259385]Any word on this Garry? Or should I make a request thread?[/QUOTE] Add it to GitHub [editline]12th April 2013[/editline] I found a kewl video.. I wonder if Valve would mind me sharing it with you. [img]http://i.imm.io/12HGU.png[/img]
garry Developing Reply
FaceTowards needs to be called every frame. I would make a function that calls it and yields until it reaches its target.
garry Developing Reply
[QUOTE=vexx21322;40245168]Would you accept user made nav meshes for official maps if they were good enough?[/QUOTE] They're kind of massive
garry Developing Reply
One of the problems with the nav files is that loading some of them for cs:s or tf2 will cause crashes - because they use kind of a special format especially for those games.
garry Developing Reply
Sometimes it does. The logic behind it is a bit fucky. The stuck time is based on its max speed and stuff.
garry Developing Reply
This is just the way it works internally. A lot of Valve's scripts test the position to see if it's moved in x seconds. If it hasn't then it calls onstuck manually. Maybe the MoveTo function should do that - or maybe I should change the engine code to do it?
garry Developing Reply
[QUOTE=Robotboy655;40235555]Garry, is there/will be there any way to use custom walking animations? For example TF2 models don't play walking animation unless you SetSequence it and then use SetCycle in a timer to make it loop.[/QUOTE] You can animate how you want - it's ...
garry Developing Reply
I can't find anything public with the headers etc.. so if you want to just request stuff I will see if there's methods for it.
garry Developing Reply
They work the same as player animations really. So you just have a function where its like if player is jumping, use jump anim. If under water.. play swim anim etc. I added a helper function to do the feet walk speed move_x/move_y stuff for you.
garry Developing Reply
Please don't ask us to write code for you.
garry Developing Reply
Yeah, spawn not being called is your problem.
garry Developing Reply
This stuff here [lua]ENT.MovePos=Vector(0,0,0) ENT.Enemy=nil[/lua] is no good. You're storing it on the entity definition, not the entity table. Put it in ENT:Initialize instead. as for your actual problem. MoveToPos is working as it should. It walks to the position ...
garry Developing Reply
Made the side bar visible by default [editline]8th April 2013[/editline] And removed comments from pages with no content
garry Developing Reply
I will document it in a bit if no-one else does.
garry Developing Reply
haha, sorry, removed :0
garry Developing Reply
What hook? You need to be more specific.
garry Developing Reply
You forgot to ask a question. You want someone to code it for you?
garry Developing Reply
[QUOTE=FPtje;40168631]how about a built in think hook that resumes all registered colourings every frame? that could be useful for generating systems, and prevents users from having to make this think hook themselves.[/QUOTE] That's kind of what I was thinking. A fire an...
garry Developing Reply
I don't think it's meant to. It works like a pcall, it returns false and the error iirc. Do you think we should have a built in system to attach a coroutine to.. so it resumes every cycle?
garry Developing Reply
Is there anything that would be useful to have built in for you for the coroutine stuff?
garry Developing Reply
Deleted
garry Developing Reply
It's creating a new object every frame because you're creating a new object every frame
garry Developing Reply
This one? [hd]http://www.youtube.com/watch?v=4rYp2mFPp-E[/hd]
garry Developing Reply
Is it the fastdl issue? Can you even send pngs like this?
garry Developing Reply
A few NextBot things [hd]http://www.youtube.com/watch?v=6IGgt3YuXp8[/hd] The behaviour code is a coroutine [img]http://puu.sh/2pu6M[/img]
garry Developing Reply
NEED A CODER? DON'T MAKE A THREAD - LAST UPDATED 7th November 2017 - READ THIS
garry Developing Thread
We are not interested in threads that state you are looking for a coder for your server/addon/gamemode. Please instead use these resources: [URL]https://gmodstore.com[/URL] Want to learn to code? [URL="https://facepunch.com/showthread.php?t=1541007"]https://facepunch.c...
garry Developing Reply
Install Chrome
garry Developing Reply
This usually means the wheel's surface type is broke
garry Developing Reply
I added Disqus comments to the bottom of pages. I know this isn't particularly wiki-like - but in my experience in learning php the comments usually turn out to be more helpful than the page itself.
garry Developing Reply
Yeah I think the pipes get interpreted as part of the template
garry Developing Reply
I don't think the way to explain what the vector:Dot function does is to use mathematical formula. It seems like if they know that stuff they won't need to be told it.
garry Developing Reply
Oh.
garry Developing Reply
Why are you doing ||A||
garry Developing Reply
I'll try to take a look today to be sure
garry Developing Reply
I think ShouldDropOnDie was removed and replaced with a weapon variable instead. I'll check into it though. I reorganised the front page, removed a bunch of static pages. Adding tutorials should only require adding appropriate categories to your tutorial.
garry Developing Reply
I don't think it's a real holdtype. I think it's just a gesture?
garry Developing Reply
Added a tutorial [url]http://wiki.garrysmod.com/page/Chair_Throwing_Gun[/url] If you could scan it for errors/misinformation that would be kewl
garry Developing Reply
Yeah you're right! In the next update: [url]http://wiki.garrysmod.com/page/CMoveData/SetButtons[/url] [url]http://wiki.garrysmod.com/page/CMoveData/GetButtons[/url] [url]http://wiki.garrysmod.com/page/CMoveData/SetOldButtons[/url] [url]http://wiki.garrysmod.com/page/C...
garry Developing Reply
You're meant to remove whatever is causing the errors
garry Developing Reply
Comment stuff out until it doesn't crash?
garry Developing Reply
If you make a github issue I'll try to sort something out for you next update
garry Developing Reply
There is a very specific hook to call this in - I forget what its called though.
garry Developing Reply
This isn't the forum to ask for addons
garry Developing Reply
Set up the bot to update the wiki from document comments. Not sure how to handle it if the page already exists - so I'm not gonna do anything right now. Only functions I added recently have got the comments though. [url]http://wiki.garrysmod.com/index.php?title=Special:R...
garry Developing Reply
Look at your post.. would you be able to help someone if they posted that?
garry Developing Reply
[url]http://wiki.garrysmod.com/page/Loading_URL[/url]
garry Developing Reply
You can run any script you want - but please don't!
garry Developing Reply