5,752 Results
I had this issue when I had a baby boy router that couldn't handle the amount of traffic returned from querying the master server list. Any time I'd open the crap server browser my entire internet connection (as in, every device) would lose connection. I got a big boy router ...
lorde banana Help & Support Reply
That doesn't answer when the file is running
lorde banana Lua Developer Discussion Reply
It's running on both, or it's running before the vgui library has loaded. When does this script run?
lorde banana Lua Developer Discussion Reply
The script is running on the serverside. The vgui library does not exist serverside.
lorde banana Lua Developer Discussion Reply
I know you said you've solved it, but that doesn't help the person who stumbles on this thread in 2 years. TEAM_whatever is just an integer, you have to retrieve the info you want with something like http://wiki.garrysmod.com/page/team/GetName
lorde banana Lua Developer Discussion Reply
Small critique, but I wouldn't call the variable "table" since you're overriding a global otherwise
lorde banana Lua Developer Discussion Reply
The server won't struggle with the networking nearly as much as it will doing the physics calculations
lorde banana Lua Developer Discussion Reply
We're going to need more than "it didn't work for me"
lorde banana Lua Developer Discussion Reply
What does the command 'stats' return when you run it? I'd bet you're using all of the CPU. If that's not the case, instead of throwing out random things, let's actually investigate. Run a profiler and see what hooks and scripts are taking the longest to execute. I'd be shock...
lorde banana Lua Developer Discussion Reply
Anyone I've ever known that has put their heart and soul into building a good, complex gamemode has been shit on because the server list buries original content until the authors lose motivation and drop the project. This has been an issue since Garry replaced the server list...
lorde banana Lua Developer Discussion Reply
Remove "sound/" from the path.
lorde banana Developing Reply
It's not an exploit so much as a bug, I think, but it doesn't fall under feature request either. Anyway, it seems like if I'm logged in on my Surface and then go to my desktop I have to sign in again - and when I do, it signs out the session on my Surface.
lorde banana Meta Reply
There's several ways to do it. local tblTeams = { TEAM_CITIZEN, TEAM_POLICE, TEAM_MAYOR } if(table.HasValue(tblTeams, objPl:Team()) then print("That player's team is in my list") else print("Not in the list, boss") end You could also do a key-value set (which would b...
lorde banana Developing Reply
This explains it. 3.3k posts on here, 7.1k on oldpunch. Thanks for answering my question before I asked it.
lorde banana Meta Reply
Sometimes you just need a second set of eyes to look at the problem. I can't tell you how many times I've started shouting out loud to my co worker about a problem I've been working on for 20 minutes and solve it mid-rant. Anyway, your issue is you're calling the surface li...
lorde banana Developing Reply
Did you forward TCP or UDP? The game uses UDP, only RCON uses TCP.
lorde banana Help & Support Reply
[QUOTE=MPan1;52874585]Sorry for another pointless post: I agree, but the problem is anyone can break global functions with a simple override, and then nobody will be able to figure out the error. If any new users end up using that function and another addon overrides it,...
lorde banana Developing Reply
[QUOTE=gonzalolog;52863465]Vscode works faster than atom? Atom gets pretty buggy and sometimes really slow, like it's worth the change? Or it's just a visual change like sublime to atom is[/QUOTE] It's vastly superior to Atom in terms of performance
lorde banana Developing Reply
[QUOTE=blackwidowman;52845532]You probably forgot to add a hook[/QUOTE] The entire method is a hook
lorde banana Developing Reply
[QUOTE=marvincmarvin;52809408]Making a socket.io module to compliment my future admin mod. I'm sure at least one dev will enjoy that. Debugging c++ in gmod is a whore.[/QUOTE] Does Bromsock not do the job for you? When I toyed with that it seemed bromsock was an excell...
lorde banana Developing Reply
[QUOTE=Robotboy655;52790297]What NEW shaders do you want, that wouldn't be used by 1 or 2 mods/people or whatever? I don't see how spending time making new shaders on any modders whim is a good idea. [/QUOTE] One thing that makes Garry's Mod such a great platform is it h...
lorde banana Developing Reply
Here's what Cloudflare caches: [url]https://support.cloudflare.com/hc/en-us/articles/200172516-Which-file-extensions-does-CloudFlare-cache-for-static-content-[/url] tl;dr: zip files are not cached (understandably so)
lorde banana Garry's Mod General Reply
"Looks like" in the sense "there's a main humanoid character and a pet"
lorde banana News Node Reply
You don't need to (and shouldn't) add the map via resource.AddFile
lorde banana Developing Reply
[QUOTE=MPan1;52752616]EVERYONE INSTALL A BACKUP FEATURE IN SUBLIME TEXT RIGHT NOW IF YOU DON'T WANT TO GET ROASTED LIKE ME[/QUOTE] I think most people here just use version control
lorde banana Developing Reply
[QUOTE=Lunaversity;52751221]is gmodstore going to support sandbox addons when(if) it comes out?[/QUOTE] We don't even know if it's going to be a game yet or just an engine and you're already asking if a mod site will support selling addons for it?
lorde banana Garry's Mod General Reply
[QUOTE=Kevlon;52744036]There's actually a 'full string' arg to the concommand function so this would be faster: [CODE] concommand.Add("svr_cmd", function(objPl, strCmd, tblArgs, strArgs) if(IsValid(objPl) and not objPl:IsSuperAdmin()) then return end game.Conso...
lorde banana Developing Reply
[QUOTE=Gabs;52743510]But everybody is Superadmin already, but Superadmins can't type server operator only commands[/QUOTE] Right, I understand you. What I'm trying to say is writing something like this: [lua]concommand.Add("svr_cmd", function(objPl, strCmd, tblArgs) ...
lorde banana Developing Reply
You could write a console command that runs whatever is passed to it if a user is a super admin
lorde banana Developing Reply
[QUOTE=wauterboi;52726279]-stuff-[/QUOTE] Something to think about is that languages like Lua and Python are scripting languages which are intended to let users write as much function as quickly as possible. With that you make sacrifices compared to lower-level languages.
lorde banana Programming Reply
What's the point of this over the workshop?
lorde banana Addons Reply
[QUOTE=>>oubliette<<;52697921]You're probably testing without a player on the server, at least one player needs to be on before statements are executed. It'll connect without players though, as the statement is blocking. Also I hope your real root password isn't root[/QU...
lorde banana Developing Reply
The problem is it "bans people who are [b]possibly[/b] using an alt account" while also "banning people who are innocent". You're guaranteed to ban innocent players with the [i]possibility[/i] of banning someone on an alt using a VPN.
lorde banana Addons Reply
[QUOTE=StonedPenguin;52680071]you can use [url]http://proxy.mind-media.com/block/[/url] without an api key but honestly blocking vpns is kind of lame, there's many legit uses for them.[/QUOTE] Agreed, this is solving a problem that doesn't exist. I'd argue to doesn't ev...
lorde banana Addons Reply
I like how "You can grab this SSD here [link]" takes you back to the article.
lorde banana News Node Reply
[QUOTE=Apickx;52682565]I see this a lot but I don't really understand it. I thought the entire point of a multi-user in $CURRENT_YEAR was so that you don't have to use a bunch of vm's[/QUOTE] It prevents your server from being tied to bare metal and it lets you have a poin...
lorde banana Garry's Mod General Reply
[QUOTE=gk99;52675218]My Note 5 doesn't. It's spent hundreds of hours in my pocket and it's as straight as an arrow.[/QUOTE] It's also glass on two sides
lorde banana News Node Reply
[QUOTE=Sweepyoface;52663876]It also comes with a plethora of other problems; 1. Not secure by default 2. Licensing 3. Limited scripting/terminal capability 4. Limited compatibility with other software 5. Limited capability to schedule tasks 6. Not as portable If you...
lorde banana Garry's Mod General Reply
[QUOTE=Windows i7;52548942]Generally speaking, Linux uses far less resources than Windows, which would free them up for your server software. That said, I'd personally recommend Ubuntu Server x64.[/QUOTE] Headless Server 2016 installs are pretty good these days
lorde banana Garry's Mod General Reply
So this is how net neutrality dies...
lorde banana News Node Reply
[QUOTE=andreblue;52613326]Its kinda a yes and no on that. Some people dont want to have to wait on it.[/QUOTE] If you don't want to wait on it then you're not using MySQL correctly. Literally the entire point is to retrieve data on-demand. If you don't want that then use a...
lorde banana Addons Reply
[QUOTE=andreblue;52606330]Most gmod modules require that you wait for it to get back. I didnt like that as much.[/QUOTE] You've completely defeated the purpose of retrieving data on-demand from an external database, good work!
lorde banana Addons Reply
[QUOTE=Brassx;52555459]It's a shot in the dark, and I'm not entirely sure, but I once had this same issue and it 'seemed' to fix when I uploaded the non-bzip compressed version along side the compressed one. I can't confirm if that was indeed the fix(doesn't make sense at all ...
lorde banana Developing Reply
[QUOTE=chipsnapper2;52505808]Why not go into audit mode, update the hell out of one computer, run sysprep, and then make an image? Then you'll have [I]no[/I] updates.[/QUOTE] Because every computer we do is a different hardware configuration unfortunately
lorde banana Hardware & Software Reply
[QUOTE=Amic;52503385]To be frank you should find a clean ISO if you can with all updates already installed due to how troublesome windows update is on windows 7 now. If anyone has such a site it would be nice of you to post it here. [editline]25th July 2017[/editline] Oh...
lorde banana Hardware & Software Reply
I don't think anyone here is going to help you make a hack
lorde banana Developing Reply
That's just the function definition, not where you're calling it from. Is this supposed to draw the player you call player:DrawPlayerInfo() on, or is it supposed to draw the player from the argument (so, player:DrawPlayerInfo(playerToDraw) ?) Your current implementation ...
lorde banana Developing Reply
Can you show us where you are calling this function from/how? You've defined a method that says a variable named "ply" is going to be provided into it but have not shown us the code doing that call.
lorde banana Developing Reply
On top of that, you should be starting with the first error, not a random one in the middle.
lorde banana Developing Reply
Can you use something different for the images? I've been on the page for 4 minutes and more than half still haven't loaded. From what has loaded (or partially loaded), it looks very nice!
lorde banana Level Design Reply
Why would you want to do this?
lorde banana Garry's Mod General Reply
You should be using Player.GetInfo. You're passing the function as a reference, not calling it directly in that line (and if you were doing that you'd need to add a set of parenthesis after GetInfo and GetInfo itself would have to return a function)
lorde banana Developing Reply
Do you have devices on your network with a static address manually set instead of being given a DHCP reserve by your DHCP server/router? Printers for instance? It sounds like there was an IP conflict because by your router leasing you an address that something has a static ...
lorde banana Hardware & Software Reply
[QUOTE=orzel1244;52480937]Actaully that's the same, in both ways you don't buy css/hl2ep2, just the thing about current way is that I have to pay for sever which is hosting the files[/QUOTE] You don't have the right to distribute their game files. That's the difference.
lorde banana Garry's Mod General Reply
You can use IsAdmin() or check the permission with [url=https://github.com/glua/CAMI/blob/master/sh_cami.lua]CAMI[/url].
lorde banana Developing Reply
[QUOTE=bigdogmat;52472008]The meta method __ipairs is being deprecated in Lua 5.3, maybe you're confusing it with that?[/QUOTE] I don't think so - I remember arguments from years ago because ipairs was being deprecated. [editline]15th July 2017[/editline] Maybe I am goin...
lorde banana Developing Reply
[QUOTE=code_gs;52471637]Neither of those accounts for LuaJIT. ipairs and numeric-for are noticeably more efficient for mid to large-sized tables in GMod.[/QUOTE] I thought ipairs was being deprecated in Lua?
lorde banana Developing Reply
[QUOTE=joeyjumper;52470712]why not make gmod 64 bit?[/QUOTE] It's not as simple as adding "--compile-x64" to the compiler lol
lorde banana Developing Reply
You're setting format to 3 different variables. And using '..' to concat nothing to a string.
lorde banana Developing Reply
[QUOTE=spectator1;52465870]I've seen windows phones on people that had trouble with them.. holy shit microsoft are asses with those, like not allowing you to even update facebook because your phone is outdated by 2 years? At least android has way better app support than this.....
lorde banana Sensationalist Headlines Reply
They've ended mainstream support - shouldn't really be shocking given they're developing Windows 10 Mobile. Also really shouldn't be shocking because they announced this date a long time ago. It's unfortunate that they've ended support before Windows 10 Mobile is actually r...
lorde banana Sensationalist Headlines Reply
Agreed, my favorite feature from the Toybox was when it'd hang on the last download forever until you restarted the entire game
lorde banana Garry's Mod General Reply
Default tickrate is 33, not 22
lorde banana Garry's Mod General Reply
[QUOTE=marvincmarvin;52448521]Yeah.. I think I'm gonna try to implement WebSockets with bromsock. I just don't want to have a dll dependency for an admin mod.. At the same time fuck SQL. Thanks[/QUOTE] To add onto this, I experimented a lot with using the http library...
lorde banana Developing Reply
[QUOTE=taipan;52449758]What is Gmod development?[/QUOTE] I would assume being able to run GMod with decent FPS, handle a VSCode/Sublime Text window with multiple files, run an SRCDS instance (that's my preferred way to develop anyway), multiple browser windows + tabs... ...
lorde banana Hardware & Software Reply
[QUOTE=marvincmarvin;52448521]Yeah.. I think I'm gonna try to implement WebSockets with bromsock. I just don't want to have a dll dependency for an admin mod.. At the same time fuck SQL. Thanks[/QUOTE] You and I are trying to accomplish the same thing!
lorde banana Developing Reply
[QUOTE=nedredl;52448282]Can someone clarify this? As far as I know there are a few ways for the server to set a variable on the client: * [URL="http://wiki.garrysmod.com/page/Category:umsg"]User Messages[/URL] * [URL="http://wiki.garrysmod.com/page/Net_Library_Usage"]Net Lib...
lorde banana Developing Reply
[QUOTE=HassanCohmdan;52448178][B] Looks peng [/b], might want to update the GUI with buttons and such as some kids will still not understand this[/QUOTE] Honestly a GUI seems completely unnecessary for something like this (in my opinion anyway)
lorde banana Addons Reply
You'd have to use a socket module if you want it realtime
lorde banana Developing Reply
Shouldn't you be checking when they go to use the tool?
lorde banana Developing Reply
You can just use the space bar!
lorde banana Developing Reply
[QUOTE=MajorAs;52436372]For some reason MapCreationID() and CreatedByMap() are server sided.[/QUOTE] Ahh, apologies, I used to use the entindex offset by the number of player slots, I haven't used MapCreationID/CreatedByMap since they were added (showing my age here)
lorde banana Developing Reply
Personally, I've always been a fan of putting it on the clipboard for me: [lua]concommand.Add("get_door_id", function(objPl, strCmd, tblArgs) local objEnt = LocalPlayer():GetEyeTrace().Entity if(IsValid(objEnt) and objEnt:CreatedByMap()) then SetClipboard...
lorde banana Developing Reply
[QUOTE=solid_jake;52433415]I wanna get in on the UI craze [hd]https://youtu.be/-MjuHUM8TP0[/hd] I also want to get in on the crafting craze. Are the kids still doing crafting systems? [t]http://i.imgur.com/xuWsAXF.jpg[/t] Here's a static image because I'm pretty su...
lorde banana Developing Reply
[QUOTE=RasmusG5;52431105]what line?[/QUOTE] [quote][ERROR] gamemodes/metro_online/gamemode/f4_menu.lua:[B]79[/B]: attempt to index global 'entsArr' (a nil value)[/quote] [editline]4th July 2017[/editline] It's the line above it. Looking at the error should make it easy t...
lorde banana Developing Reply
[QUOTE=wauterboi;52415931]Why do you think it's necessary? If I were to run a server, the gamemodes I would run would require no databases. And admin tools don't need MySQL to work.[/QUOTE] You can make this argument about anything included with the game. It'd be very usef...
lorde banana Developing Reply
Query what you need when you need it, cache it where you can.
lorde banana Developing Reply
[QUOTE=Robotboy655;52400015]You are trying to do something you can't do without recompiling the map or MAYBE using stencils. What you are seeing on the original screenshot is the optimizations made by the compiler when the map is compiled. You can't just simply change the t...
lorde banana Developing Reply
[QUOTE=NeatNit;52399308]Got any code? Windows should be fairly simple - just a translucent texture/material. I think the biggest problem is changing part of the map from Lua, and I can't think of an easy way to do that. Stencils would work, but surely there's an easier way....
lorde banana Developing Reply
I'm not sure if I'm missing something but I'm trying to replace a 'fake' window on a map (part of the worldspawn) with a 'real' one. So far, my results have been...disappointing. [t]https://i.imgur.com/9LIfZiI.jpg[/t] I'm replacing the texture with that of an actual text...
lorde banana Developing Reply
[QUOTE=geferon;52396370]And if you want the sv_downloadurl to work, you should set the sv_allowdownload to 0, forcing them to use the FastDL[/QUOTE] When sv_downloadurl is set the client will always use FastDL, the built-in download system is ignored. The benefit of settin...
lorde banana Developing Reply
[QUOTE=Robotboy655;52389369]I'd like to see where the documentation on maurits.tv is better than whats on the official website, excluding examples.[/QUOTE] I don't want to say the information is necessarily better, but readability definitely is. It seems like the current w...
lorde banana Developing Reply
I like to prefix the variable with what type it should be. [lua] local iMaxTries = 15 local strMaxTriesMet = "You've exceeded the maximum number of tries" local tblSettings = {}[/lua]
lorde banana Developing Reply
[QUOTE=colincooke;52340258]:disappoint: Children shouldn't be playing per the Steam subscriber agreement: "You may not become a subscriber if you are under the age of 13". In my opinion by the age of 13 they should have their own user account. Sorry, but I don't see the use c...
lorde banana Addons Reply
[QUOTE=Ott;52286421]I just wish hooks would run in the order they were added.[/QUOTE] Then everyone names their addon #aaaaaaaaaaaaa_catswithhats so their files get added first
lorde banana Developing Reply
[QUOTE=Johnny Guitar;52215911]I don't wanna be a nitpicky dick but showing the users avatar in the bottom left seems sorta pointless considering most people will know what their avatar is.[/QUOTE] I couldn't agree more. I have no clue why people put avatars, my Steam name,...
lorde banana Addons Reply
[QUOTE=0V3RR1D3;52202224]Workshop is way better than FastDL, Plus it saves bandwidth on the host.[/QUOTE] It's dependent on Steam's CDN being available. Has anyone really exceeded bandwidth serving game files since 2003?
lorde banana Developing Reply
addMoney is not defined on the clientside
lorde banana Developing Reply
Willox is the fucking man. I can't believe my Awesomium-free eyes right now.
lorde banana Developing Reply
I've just hung myself. Thank you.
lorde banana Developing Reply
[QUOTE=ertug20;52085753]How about we break vehicle spawning for Linux again as well.[/QUOTE] Shut your dirty mouth right now!
lorde banana Developing Reply
The Lua file is located on the server, correct? And you're running lua_openscript from the SRCDS console, not your game, correct?
lorde banana Developing Reply
[QUOTE=bilbasio;52077219]Ok, thank you. Got any ideas for the bug in PlayerInitialSpawn?[/QUOTE] With Ply.Rank being nil? What does LoadProfile() do?
lorde banana Developing Reply
FYI - net_maxfilesize caps at 64 and is ignored when sv_downloadurl is set (FastDL does not have file limits).
lorde banana Developing Reply
[QUOTE=VIoxtar;52064481]I really love the door title display, and other UI elements but jesus fuck what was that grey hand popping under the normal hand at the very last second of the vid[/QUOTE] I can't get over how beautiful that door title is!
lorde banana Developing Reply
Someone ran one a few months ago. It died within two weeks.
lorde banana Garry's Mod General Reply
This is pretty slick!
lorde banana Developing Reply
[QUOTE=PIXX;52044475]Why not use Windows Sniptool :v:[/QUOTE] Because ShareX is a completely superior product and includes every feature of the snipping tool
lorde banana Developing Reply
[QUOTE=XxLMM13xXx;51982786]Don't see the issue with it. It's a form of support for people to use i'm not having countless people add me on steam like I have been already[/QUOTE] I would leave it all to a publicly accessible place, like a thread on the game's forum, where e...
lorde banana Addons Reply