1,202 Results
[QUOTE=bigdogmat;50398214][IMG]http://wiki.garrysmod.com/favicon.ico[/IMG] [URL="http://wiki.garrysmod.com/page/GM/ShutDown"]GM:ShutDown[/URL][/QUOTE] [QUOTE=MattJeanes;50398229]Just tried this out to make sure it gets called on changelevel - and it does! [code] > hook.Add("S...
SeveredSkull Addons Reply
[QUOTE=MattJeanes;50394243]As for it not working until a player joins, known restriction since the server goes into sleep, but very recently a command was added to get around it: sv_hibernate_think 1 Add that to your server.cfg and it will work when no-one is on.[/QUOTE] S...
SeveredSkull Addons Reply
I'm very happy that this is still being worked on (and works), but the age old problem that originally drove me away from this thing still seems to not have been resolved - so I figure you might just not be aware of it. Whenever the server changes level, the server crashes. A...
SeveredSkull Addons Reply
[QUOTE=PortalGod;47572595][IMG]http://wiki.garrysmod.com/favicon.ico[/IMG] [URL="http://wiki.garrysmod.com/page/render/Capture"]render.Capture[/URL][/QUOTE] [QUOTE=SeveredSkull;47572255]Unless there has been some serious changes to the code base while I have been away, I'm n...
SeveredSkull Developing Reply
[QUOTE=James xX;47572144]Not really, the game renders it anyway. All you are doing is sending it to the server. 5 images per second wouldn't impact on performance unless the module you are using is synchronous.[/QUOTE] Unless there has been some serious changes to the code...
SeveredSkull Developing Reply
[QUOTE=James xX;47572085]You could actually make a cctv camera for your server :v:[/QUOTE] Interesting idea... How would one go about doing such a thing? I would imagine trying to stream anything over 5 png files a second over the web to be pretty intensive both on the netwo...
SeveredSkull Developing Reply
Facepunch gold here ladies and gents.
SeveredSkull Developing Reply
[QUOTE=Sheeplie;47553484] Im curious about this, what was wrong?[/QUOTE] I was being a moron with my math and adding the entity's position to the offset. The 2 parameters are local space relative to the origin, where I was trying to put in world coordinates in there ins...
SeveredSkull Developing Reply
[QUOTE=meharryp;47552958]Is there a way to make a player use an entity without having to network anything to the server?[/QUOTE] Just pass in the player to both of the arguments to the Use() function.
SeveredSkull Developing Reply
[QUOTE=James xX;47552851]I don't have much experience with [IMG]http://wiki.garrysmod.com/favicon.ico[/IMG] [URL="http://wiki.garrysmod.com/page/cam/Start3D"]cam.Start3D[/URL] but have you tried moving the position into the argument of the function, and removing it from the ve...
SeveredSkull Developing Reply
How does one draw a wireframe box around an entity? The following code is not working. I see nothing on screen. [CODE]function ENT:Draw() self:DrawModel() local pos = self:GetPos() cam.Start3D() render.DrawWireframeBox( pos , Angle(0,0,0), Vector(pos.x-1...
SeveredSkull Developing Reply
Sorry for the bump, but is there any way you can shed some light on this? I have this module running flawlessly on a Windows 7 and Windows 8.1 on my own machines, but on my service host running Windows 2008 R2, it refuses to load. Would you have any idea as to why? I just get...
SeveredSkull Addons Reply
[QUOTE] 1[/QUOTE] There is whitespace in front of your "1" in the HTML code. Should be pretty freaking obvious what you need to do. I would try Parsing the page rather than just checking if a string matches. Did you ever try, you know, printing the output of HTML?
SeveredSkull Lua Developer Discussion Reply
[QUOTE=Giraffen93;47105533]seemed to be some old code laying around, you'll go free this time havok [vid]http://a.pomf.se/zfztkc.webm[/vid] i am in no way in hell making checks for all the points, if nobody has a better idea and i'm not sure how i'd make the classic "ho...
SeveredSkull Developing Reply
[QUOTE=geferon;46967715]Don't try putting it between "" because you'll change the function to string. Also, try [CODE]local maptochangeto = ReadMapToChange() RunConsoleCommand("changelevel", maptochangeto)[/CODE] EDIT: I mean, it'll make the ReadMapToChange() string[/QUOTE]...
SeveredSkull Developing Reply
[QUOTE=StonedPenguin;46969923]global variable = variable or value[/QUOTE] [QUOTE=Acecool;46969925]If you're using a wrapper, or a global accessor, the easiest method is: DATABASE = DATABASE || { }; or blah = blah || default; so the first time around when DATABASE or blah is n...
SeveredSkull Developing Reply
[QUOTE=Fillipuster;46959872]Did you define "db"?[/QUOTE] This seems to happen to me too when Garry's Lua Autorefresh kicks in with the Mysqloo module - then eventually leads to a server crash. Frankly because I dont know how to preserve variables betwen reloads of the Lua
SeveredSkull Developing Reply
[QUOTE=btc1322;46969121]My communities website is pretty top notch with the ultimate plan and has been developed by an experienced person.[/QUOTE] Dude.... the background image doesn't even stay properly when scolling. A backround with that resolution (1920x1080) shouldn't b...
SeveredSkull Developing Reply
[QUOTE=Acecool;46918431]Take a look at these hooks: [URL]http://wiki.garrysmod.com/page/GM/CanPlayerEnterVehicle[/URL] [URL]http://wiki.garrysmod.com/page/GM/PlayerEnteredVehicle[/URL] [URL]http://wiki.garrysmod.com/page/GM/CanExitVehicle[/URL] [URL]http://wiki.garrysmod.com...
SeveredSkull Developing Reply
How would one go about using a hook/ Use override to change the default behavior upon pressing Use on a Chair (Vehicle Class)? I want to prevent the player from using the chair if certain conditions are not met, as well as modify the position in which they are placed upon e...
SeveredSkull Developing Reply
[QUOTE=Pazda;46913039]Hey, now I'm getting an error linking me to [url]http://goo.gl/qcx0y[/url] and it reverted back to base gamemode x.x I used nooky's thing[/QUOTE] Did you even READ the page you pasted?
SeveredSkull Developing Reply
So... As it turns out: When I made the switch from playing the game locally, to moving it to a dedicated server, the entity ID's changed and completely invalidated my database. Code is working perfectly fine now. Was apparently never broken - just adding NWVars onto completely...
SeveredSkull Developing Reply
[QUOTE=ZephyrWarrior;46723643]Yes, there are better coders than me, and although most of them will help if asked, not very many are lining up to teach people things en-masse. So, any feedback to the idea would be greatly appreciated. :)[/QUOTE] I guess it is a great time t...
SeveredSkull Developing Reply
[QUOTE=Jvs;46726366]The [URL="http://wiki.garrysmod.com/page/Dev_Branch"]dev branch[/URL] has a full rewrite of the NWVars system to improve the networking and reliability, try it out. It still has some bugs which will be fixed soon, and you can report issues [URL="https://git...
SeveredSkull Developing Reply
[QUOTE=Sm63;46726094][URL]http://facepunch.com/showthread.php?t=1383088[/URL] you can use this you cant set a nwvar clientside though (you can, but it wont network to the server), but on the server it'll network to both realms[/QUOTE] Thank you, but I am already aware of tha...
SeveredSkull Developing Reply
NWVars exist on Server but not Client
SeveredSkull Developing Thread
Allright, So After about 3 years of not touching Garry's Mod, I may simply need a refresher... For some reason, the code below has a problem. The NW variables that are being set on these doors are Nil clientside, but exist serverside (However, system works fine in Singleplaye...
SeveredSkull Developing Reply
[QUOTE=garry;40751973]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 th...
SeveredSkull Developing Reply
Not sure what you mean by giving focus back to the game... It should do that when you remove the parented panel. If not the only think I could think to do is add this line on your enter function: gui.EnableScreenClicker(false )
SeveredSkull Developing Reply
[QUOTE=Ylsid;40570615]Coder here Have made things in the past, generally for TTT and am looking for some new opportunities. Not looking for anything long or expensive, I generally don't do jobs more than $20 and only am paid with steam games. Been doing gmod lua for a few...
SeveredSkull Developing Reply
I really think its a steam issue. The screenshots I have been sharing have been set to Private by default and wont let me change it till AFTER I upload it and visit the page.
SeveredSkull Garry's Mod General Reply
[QUOTE=LEETNOOB;40537635] Won't do anything, I'm afraid. The thing is that it strips the player of all his weapons when he enters ragdoll mode. There is a different way of doing it and it doesn't require the player to be stripped, but I guess the creator of the addon is not aw...
SeveredSkull Addons Reply
Try calling DermaPanel:Remove() instead of DermaPanel:SetVisible( false )
SeveredSkull Developing Reply
[QUOTE=DJarthas;40505014]I dont think that should change the key bindings, its very odd. I cant use any Gmod binds with this bug.[/QUOTE] Why bother asking for help if you arent going to take the suggestions?
SeveredSkull Help & Support Reply
[QUOTE=Dreken;40490367]This isn't actually how its done. I've tried this, and this simply disables collisions between the player and the entity. And the person can't physgun the object either. I'm talking about setting ownership, mainly in terms of prop protect. I use FPP, ...
SeveredSkull Developing Reply
[QUOTE=LEETNOOB;40479254][media]http://www.youtube.com/watch?v=89PYniqNdHM[/media] Got back from Berlin on Saturday and I'm still working on Customizable Weaponry, this time I'm showing the G36K here.[/QUOTE] Looks great but I don't think you could see straight down the...
SeveredSkull Developing Reply
This is like a "Tech Support" subforum here. Go ask in the [URL="http://facepunch.com/forumdisplay.php?f=40"]modeling [/URL]section... I doubt anyone knows how to do that shit in here.
SeveredSkull Developing Reply
First of all, the Net Lib is fine. Second, I have Windows 8. It works fine. Third, optimize your other code. You don't need to send the table every 3 fucking seconds. Send the table only when it changes.
SeveredSkull Help & Support Reply
The "Builder" folder has all of the PHX props.
SeveredSkull Help & Support Reply
Hows your thermal compound? Got any dust on that possibly?
SeveredSkull Hardware & Software Reply
[url]www.memtest86.com[/url] This is usually a memory fault (either faulty RAM or faulty sockets on the board). Grab memtest and see what it reports.
SeveredSkull Hardware & Software Reply
Remove all the ram from the machine and turn it on. If it doesn't give a beep code, your board is fried. Look for blown caps...
SeveredSkull Hardware & Software Reply
[QUOTE=Lexic;40465875] [lua]local a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;local A;surface.SetFont("DefaultFixed")s,t=surface.GetTextSize("100%")c=false;j=6;local B,C=ScrH(),ScrW()local function D(c)return c.r,c.g,c.b,c.a end;local E,newbar,barprep={}do local funct...
SeveredSkull Developing Reply
[QUOTE=AKrogg;40465100]For free users: 10 gigabytes a day. If you go over 20 your account gets suspended.[/QUOTE] Is it just me, or does dropbox always seem to have horrible DL rates... I could never even get a meg a second on DB. If this is the case... its not really a "Fas...
SeveredSkull Help & Support Reply
[QUOTE=ForDaNords;40448503]It could also display your money in PayPal/Steam/Bitcoins.[/QUOTE] Hook that shit up to a heart monitor or something... A nice little exercise HUD
SeveredSkull Polidicks Reply
[QUOTE=KillerJaguar;40448210]You're misunderstanding the "crack". It's not even a crack, someone just changed the logout timer from 20 to something like -1. You still need the game to play it, which to start it up requires you to be online. SimCity is a pretty poor example of ...
SeveredSkull General Discussion Reply
[QUOTE=Juniez;40447944][B]Simcity boots you out after 20 minutes,[/B] so that not a very successful crack. also IIRC Diablo 3 took quite some time to get cracked unfortunately though if the servers go down then the game would probably stop working. I can only hope that they...
SeveredSkull General Discussion Reply
[QUOTE=Juniez;40447506]it's exponentially harder to crack the kind of DRM used in SC5 or D3 because you need to have / emulate a server to play it case in point: SC5 hasn't been succesfully cracked yet, so you can rest in peace knowing that you can play it and they can't! fu...
SeveredSkull General Discussion Reply
Are you referring to the "Builder" folder?
SeveredSkull Help & Support Reply
My [B][I][U]only[/U][/I][/B] concern for this is for the people who don't have internet, or have a horrible ISP. What the biggest [B][I][U]problem[/U][/I][/B] is that people that torrent, crack, w/e find ways to remove the restriction for these cracked copies, but honest game...
SeveredSkull General Discussion Reply
Mabye uhhh... Fix the errors?
SeveredSkull Help & Support Reply
What does the player death think have to do with you with overriding the health? Also... Ever heard of Player:SetMaxHealth()?
SeveredSkull Developing Reply
[QUOTE=nickster50;40407684]Im not blaming them im just saying ulx could have a loophole which could allow a user to brute force access.[/QUOTE] They why does your title for the OP suggest so? You're also saying the loophole needs to be fixed. What loophole? If it not ULX t...
SeveredSkull Developing Reply
Mark your topic as solved please.
SeveredSkull Help & Support Reply
yeah you left out ammoleft. Reinstantiate it after that if block. [editline]22nd April 2013[/editline] [CODE] if ( IsValid( LocalPlayer():GetActiveWeapon() ) ) then local ammoleft = LocalPlayer():GetActiveWeapon():Clip1() local totalammo = LocalPlayer():GetAmmoCount(...
SeveredSkull Developing Reply
-snip- I think this is a bug. Posted a thread here: [url]http://facepunch.com/showthread.php?t=1266342&p=40438975#post40438975[/url]
SeveredSkull Developing Reply
[QUOTE=Dudles;40377427]Created a dedicated gmod server and I have cstrike installed and in orangebox but it still fails to allow me to pickup weapons. All they do is float in the air. Anyone know how to fix this.[/QUOTE] Then you didn't install CSS [U][I]properly[/I][/U].
SeveredSkull Help & Support Reply
[QUOTE=robowurmz;40375804]As you can see in the tiny example snippet up above, I do it before I use SetColor.[/QUOTE] My Bad.
SeveredSkull Lua Developer Discussion Reply
[QUOTE=find me;40379280]If this doesn't work how it should, you're most likely having some conflicting scripts/code somewhere.[/QUOTE] And that's exactly why this is frustrating me to the ends of the earth. I was thinking it was an issue with my server, which I may just do...
SeveredSkull Developing Reply
Take your util.AddNetworkString and place it outside of a function. At the beginning or the end is most common.
SeveredSkull Developing Reply
[QUOTE=CGNick;40374752] local prop = ents.Create("prop_physics") prop:SetModel("model_name_goes_here.mdl") prop:Spawn() [/QUOTE] That's what I've done initially, as well as I have ever had to do, but it results in the case listed in the OP: It has physics for everyone but no...
SeveredSkull Developing Reply
[QUOTE=robowurmz;40367413]Just tried this. No difference, I'm afraid. :( Thanks for helping, though.[/QUOTE] Where did you put it? If I remember correctly, you have to call this before you set the color or else the alpha is just ignored.
SeveredSkull Lua Developer Discussion Reply
Allright, so this has annoyed me for a while now. Anyone care to give me some sample code on how to make a prop properly with pure lua? All the techniques I try either: - don't have physics for the player spawning it, but works for everyone else - has physics for players, but...
SeveredSkull Developing Reply
Prop-er (Har Har) way to make a prop with lua?
SeveredSkull Developing Thread
You would need to find it in your gamemode. If it doesn't exist, just create a new function with that name and return false in the init.lua in your gamemode's "gamemode" folder An example of the code is provided in the link Ice Tea sent you.
SeveredSkull Developing Reply
If you deleted them on you local client and youre still getting an incorrect version then odds are its getting corrupted. And BTW... changing the version in the map doesnt mean shit. I assume it goes based on a hash and size check. If it just checked a little variable, then t...
SeveredSkull Help & Support Reply
Perhaps you should atleast TRY and explain what you are doing? If we cant recreate the problem it doesnt mean fuck-all for garry. "Randomly Crashing" doesn't help us at all.
SeveredSkull Help & Support Reply
[QUOTE=zzaacckk;40267150]I don't think you know how fast 50 ms is.[/QUOTE] Its not like jumping while you are in the air is going to do anything...
SeveredSkull Developing Reply
[QUOTE=Map in a box;40266744]Its funny because it doesn't work on the client state[/QUOTE] So because its broken.... you feel the need to rate me dumb... Ok.
SeveredSkull Help & Support Reply
[QUOTE=deraphel;40264404]Just connect to your server from Local tab. It's that simple. No need to start complaining about something that I said that was wrong.[/QUOTE] I wasn't complaining munchkin. I was stopping you from giving out wrong information. [QUOTE=TweaK2007;...
SeveredSkull Help & Support Reply
[QUOTE=madman200;40263173]I didn't mean FORCE, I meant having an option to, like having a list of the addons it would download, just to make sure you're not downloading anything stupid.[/QUOTE] Well that's a hell of a lot more reasonable. If that's what you want, why not j...
SeveredSkull Help & Support Reply
[QUOTE=deraphel;40262247] You can connect to your own external IP. But, you can connect to your own internal IP.[/QUOTE] What? Are you trying to say you CANT connect to your own external? If so, let me stop you now because you're dead wrong.
SeveredSkull Help & Support Reply
Make it faster. For this, I suggest taking the following steps. First, we will upgrade your clock speed. Take a standard clock (Manufacturer doesn't matter), and take it apart. We will be looking for the quarts crystal cell inside the clock. Remove it. Now place the clock ins...
SeveredSkull Help & Support Reply
You can't force people to automatically subscribe to addons. It would be abused INSTANTLY. This is [B][I][U]never [/U][/I][/B] going to happen as a default feature or an automatic one.
SeveredSkull Help & Support Reply
[QUOTE=Kane245;40261809]When I reinstalled those couple times, I made sure the garrysmod folder was deleted. So it should have been installed 'fresh' when it was done. I don't see how the game could still be broken after reinstalling.[/QUOTE] I'm sorry, I didn't realize this...
SeveredSkull Help & Support Reply
open steam\steamapps\yourname\garrysmod\garrysmod\cfg\mountdepots.txt and remove all the games listed Open Garrys Mod and remount your games. Try that and let me know if it works for you.
SeveredSkull Help & Support Reply
We seriously need some sort of port forwarding for dummies thread. If you are sure you did everything correct, then I'm not gonna bother to interrogate you on the details. Just set up a DMZ and call it a day. [editline]12th April 2013[/editline] Whoa whoa wait. Hang on. Y...
SeveredSkull Help & Support Reply
[QUOTE=superstepa;40260951]Same happened here, some addons just stopped loading[/QUOTE] Did you perhaps... try the fixes above?
SeveredSkull Help & Support Reply
Such an epic bump. Could just disable the steam overlay? I would also suggest potentially reinstalling your browser. I'm not QUITE sure how it works, but I would assume it leeches off of Chrome or whatever your default browser is...
SeveredSkull Help & Support Reply
That IS the command.
SeveredSkull Developing Reply
"bunnyhop"
SeveredSkull Developing Reply
Normal in the sense that it is logical as to what is happening? Yes, its normal. Is it intended? No. Garry's addressing this. You should check the New Version thread more often...
SeveredSkull Help & Support Reply
[QUOTE=Killervalon;40254434]Correct me if I'm wrong, but isn't that his DNS?[/QUOTE] Not sure why you were rated dumb because you're right. But mabye the fact that you missed the point. The DNS almost always has the ISP. In my case, Cox.net [editline]12th April 2013[/editli...
SeveredSkull Help & Support Reply
I'm pretty sure Garry added support for directly placing them in the addons folder on the server.
SeveredSkull Help & Support Reply
[QUOTE=Pandaman09;40251235]You need to find his IP then use [url]http://www.whatsmyip.org/whois-dns-lookup/[/url] and use the Whois... it will tell you his ISP[/QUOTE] This, or "nslookup [IP]" in command prompt. It will give you something like this: [QUOTE]Microsoft Wi...
SeveredSkull Help & Support Reply
[QUOTE=ash47;40250612]And a chick who throws you guns :P[/QUOTE] Well hello there NextBot... Fancy to be turned into Elizabeth? Totally doing this now.
SeveredSkull Developing Reply
[QUOTE=jrj996;40236231]It's none of those things, I have the steamid saved as a VARCHAR(32), I fixed it though, it was just the way I went about doing it in lua. [lua] function Player:SetRank(rank) if rKey(rank) then self.Rank = ranks[rKey(rank)].Rank local id = se...
SeveredSkull Developing Reply
[QUOTE=garry;40242426]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 ...
SeveredSkull Developing Reply
Where to start... first of all, as I said on your other DarkRP threads. THIS IS NOT THE PLACE. Nor is it the place for lua scripting help. As for the anwser to your question. Why the fuck did you modify the ENT:OnTakeDamage? You are the one that fucked it up. Example gave y...
SeveredSkull Help & Support Reply
[QUOTE=Coonfoot;40250703]Not sure if anyone else has this problem, but there's a serious issue with lag on the Roleplay maps. Every half-a-minute or so, there's this terrible three-second (give or take) spurt of lag. The [U][I][B]framerate [/B][/I][/U]goes down to like one fra...
SeveredSkull Help & Support Reply
[QUOTE=Rockboy122;40246874]Hey, I don't know much about this specific problem, since I don't know how to solve it. But i'll try to explain as clearly as possible. First off, any gamemode I run, that requires MySQL data, or any sort of database storing, calls the database 'l...
SeveredSkull Help & Support Reply
[U]His ISP[/U]. Give the company the IP address and tell them hes doing a DoS.
SeveredSkull Help & Support Reply
Ever thought to recall the last error and see if you are doing something wrong? The first thing I would guess is steamID isn't the correct type. Next possibility is that you don't have " "s around the SteamID in the string... if you dont wanna put \"s in the string itself, ...
SeveredSkull Developing Reply
[IMG]http://i212.photobucket.com/albums/cc171/severedskullz/getout_zps517c0e1a.png[/IMG] Go post in the DarkRP Help thread. It's what it's there for.
SeveredSkull Help & Support Reply
[QUOTE=Hyperion01;40221688]Thanks, I will try! By the way sorry for some inactivity, I bought the Killing Floor from the humble bundle and played it a lot with friends, such an epic game! And I tried Garry's Mod yesterday (the 160), but everything was broken like hell- ever...
SeveredSkull Help & Support Reply
[QUOTE=rokrox;40217680]It's not worth a shot, it's a waste of time. If it's coming from one IP just drop any inbound connections from that IP.[/QUOTE] You clearly don't know how a DOS works then if you think you can simply "Drop an inbound connection" on these types of att...
SeveredSkull Help & Support Reply
[QUOTE=Drakehawke;40224247]Post it here then we can all learn. And I just use [url=www.puush.me]puush[/url].[/QUOTE] Better yet, why not add the info to the Wiki. Ive been dying for some proper documentation.
SeveredSkull Developing Reply
[QUOTE=Samg381;40211939]Hello, Recently I banned a player from my server due to the fact that he was obviously hacking. He sent me a steam message threatening me, and claiming I was making a 'huge mistake'. Now, everyone's ping on my server is skyrocketing, and wireshark h...
SeveredSkull Help & Support Reply
[QUOTE=Mors Quaedam;40213036]He was reporting it. Stop being such a moron -_- Edit: Before you suggest he uses github, some people don't want to/know to.[/QUOTE] Theres a dedicated forum for that. Good job.
SeveredSkull Help & Support Reply
How exactly are you chaning the gamemode to "Sim"?
SeveredSkull Developing Reply