• Server breaks with more than 86 addons
    14 replies, posted
Hello, I've posted this on steam multiple times with no answer, and I can't find anyone with my specific problem. So here it is, I'm just going to copy and paste what I said on the steam forums. Me and my friend played on my server yesterday and everything was fine, I decided I would add a few more addons today, after I extracted them into the server addons folder, the number of addons on the server was 93. I try connecting to the server and the sky is black, there are no hands holding the weapons i have, my name is pink in chat, I can't acces spawnlist, I can't hold c to (ignite a ragdoll, I don't know). My physgun (the colorable part) is completely black, I can't access ulx xgui. And when my friend joins hes in T-pose. I took off the new addons (10) and started to test which addon makes things glitchy. After an hour of the testing, I can see that if I have one more addon after 87 (suddenly yesterday(actual yesterday) I had to remove another addon) of them, the game messes up. It doesn't look to be addon-specific, as it happens with whatever combination I can come up with. Anybody know how I can maybe expand the maximum number of addons on my server? There it is, but more testing with the problem that day showed that if I had 88, everything was fine except all of the tools were missing. One more addon made the sky black, and so on.
[url]http://facepunch.com/showthread.php?t=1457377&p=47387837&viewfull=1#post47387837[/url]
[QUOTE=Robotboy655;47407141][url]http://facepunch.com/showthread.php?t=1457377&p=47387837&viewfull=1#post47387837[/url][/QUOTE] Ah, thank you so much for this, but I have a question. It might be a stupid one but how exactly do I merge addons into one folder? I mean, do I just make a new folder in garrysmod/addons and then stuff all the addon folders and files in there?
Pretty much.
[QUOTE=Robotboy655;47407325]Pretty much.[/QUOTE] [url]http://imgur.com/tQxo0oh&VGixRQp#0[/url] Attempted to create unkown entity type lua_area! Can't init lua_area So this happened... There's something I'm missing here isn't there? Also on the server all addons are missing, it's just vanilla gmod.
[QUOTE=MysteriousHi;47407395][url]http://imgur.com/tQxo0oh&VGixRQp#0[/url] Attempted to create unkown entity type lua_area! Can't init lua_area So this happened... There's something I'm missing here isn't there?[/QUOTE] Take all the [I]contents[/I] of the addons and shove them into 1 folder. You were told to merge them, not congregate them.
[QUOTE=James xX;47407406]Take all the [I]contents[/I] of the addons and shove them into 1 folder. You were told to merge them, not congregate them.[/QUOTE] So basically if there are any lua script errors on my server in the future I have almost no way of fixing it because the addons are completely scattered? Sounds fun.
[QUOTE=MysteriousHi;47407449]So basically if there are any lua script errors on my server in the future I have almost no way of fixing it because the addons are completely scattered? Sounds fun.[/QUOTE] No? The lua errors tell you exactly which file the error is in, and where it's being called from. That's only what you need to fix a lua problem (most of the time). In any case, it should be up to the creators of the addons to fix the errors, not you. I see you're a new user so I will just quickly explain that people don't generally like it when someone asks for help, complains when things don't work if he doesn't do what people with the know-how tell him to do, and then whine about problems that aren't his.
[QUOTE=James xX;47407528]No? The lua errors tell you exactly which file the error is in, and where it's being called from. That's only what you need to fix a lua problem (most of the time). In any case, it should be up to the creators of the addons to fix the errors, not you. I see you're a new user so I will just quickly explain that people don't generally like it when someone asks for help, complains when things don't work if he doesn't do what people with the know-how tell him to do, and then whine about problems that aren't his.[/QUOTE] apoptosis|2|STEAM_0:1:28364581 [ERROR] addons/62/lua/weapons/molotov_cocktail.lua:56: attempt to call field 'Create' (a nil value) 1. unknown - addons/62/lua/weapons/molotov_cocktail.lua:56 There's an error, if I go to the dir it tells me to, I can see molotov_cocktail.lua . You're telling me the addon creator is supposed to fix the problem, not me. So when you said "No?" you should have just said yes. I asked if I could fix it, not if I seriously had to type to every single addon creator that I encountered a problem with their addon and demand for them to fix it. And also, with the last thing you said, people here hate helping people with problems and hate correcting them if they did something incorrectly? Well, I shouldn't be here then.
Post the code the error is relating to in [code] tags and we will help you
[QUOTE=code_gs;47407694]Post the code the error is relating to in [code] tags and we will help you[/QUOTE] It's an old error just randomly found in the clientside error list, I was probably messing around way too much and did something crazy with the addon. That's not necessarily the problem, either.
[QUOTE=MysteriousHi;47407658]apoptosis|2|STEAM_0:1:28364581 [ERROR] addons/62/lua/weapons/molotov_cocktail.lua:56: attempt to call field 'Create' (a nil value) 1. unknown - addons/62/lua/weapons/molotov_cocktail.lua:56 There's an error, if I go to the dir it tells me to, I can see molotov_cocktail.lua . You're telling me the addon creator is supposed to fix the problem, not me.[/quote] If the addon worked before, and it doesn't now, because of something you've done, then no, the addon creator shouldn't fix it, because you caused the problem. That being said, you caused the problem by not following the instruction, because I'm guessing there was a box that said "A file with this name already exists, would you like to overwrite it?" and you clicked yes. If there are files with the same names, that's a tiny bit more complicated, in which case I would be happy to do that for you because although I know what to do, I don't know how to write it down. [QUOTE=MysteriousHi;47407658] So when you said "No?" you should have just said yes. I asked if I could fix it, not if I seriously had to type to every single addon creator that I encountered a problem with their addon and demand for them to fix it.[/quote] Pretty sure that when I said no, I meant no. You didn't ask if you could fix it, you asked if you "have almost no way of fixing it because the addons are completely scattered". You even said yourself that the error told you exactly where the problem was: directory, file, and line, and even what the problem was. [QUOTE=MysteriousHi;47407658] And also, with the last thing you said, people here hate helping people with problems and hate correcting them if they did something incorrectly? Well, I shouldn't be here then.[/QUOTE] Re-read what I said. I didn't say we hate correcting people if they do it incorrectly, we dislike people who complain about something not working when it's their fault. That being said, as I re-read your post, I realize that what I saw and what you wrote where two different things.
[QUOTE=MysteriousHi;47407726]It's an old error just randomly found in the clientside error list, I was probably messing around way too much and did something crazy with the addon. That's not necessarily the problem, either.[/QUOTE] Oh, I see your point now. Merging directories won't mess with stack traces.
[QUOTE=James xX;47407753]If the addon worked before, and it doesn't now, because of something you've done, then no, the addon creator shouldn't fix it, because you caused the problem. That being said, you caused the problem by not following the instruction, because I'm guessing there was a box that said "A file with this name already exists, would you like to overwrite it?" and you clicked yes. If there are files with the same names, that's a tiny bit more complicated, in which case I would be happy to do that for you because although I know what to do, I don't know how to write it down. Pretty sure that when I said no, I meant no. You didn't ask if you could fix it, you asked if you "have almost no way of fixing it because the addons are completely scattered". You even said yourself that the error told you exactly where the problem was: directory, file, and line, and even what the problem was. Re-read what I said. I didn't say we hate correcting people if they do it incorrectly, we dislike people who complain about something not working when it's their fault. That being said, as I re-read your post, I realize that what I saw and what you wrote where two different things.[/QUOTE] I didn't overwrite any files, I meant I did something crazy as in I threw the molotov on to... I don't even know, that's how crazy it is, I threw the molotov somewhere and somehow got a lua error out of it. So what exactly am I supposed to do to fix it once I get to the file encountering the problem? Do I do anything? and if I can't, then finding the rest of the addon to delete will be difficult with all of its files being spread all over the place, and that's my problem
[QUOTE=MysteriousHi;47407835]I didn't overwrite any files, I meant I did something crazy as in I threw the molotov on to... I don't even know, that's how crazy it is, I threw the molotov somewhere and somehow got a lua error out of it. So what exactly am I supposed to do to fix it once I get to the file encountering the problem? Do I do anything? and if I can't, then finding the rest of the addon to delete will be difficult with all of its files being spread all over the place, and that's my problem[/QUOTE] Add me on steam (already sent an invite) and I'll talk you through it. I could write it down here but I don't always know how to get my ideas across over text. As for one of my previous posts, sorry for sounding like an asshole, I misread the post I was replying to.
Sorry, you need to Log In to post a reply to this thread.