• PCMod 2 - Release Inside
    669 replies, posted
  • Avatar of cprossu
  • Hrmmm, Sorry, I am a garrysmod noob, and I am setting up a server just to fool around with- I am sure this has been answered, but I have not found it yet (as I probably failed the poisonous snake test). The print function works fine in single player, but I setup a server on my lan with srcds with the svn pcmod2 (and yes, tons of other addons so shame on me, I'll post a complete list if you want one) and whenever I print, the textures go all wonky near the printer for whoever is near it until they die/kill themselves (it looks like a wallhack sort of thing) and we are greeted with a spamming type error... I enabled debug mode for pcmod, and here's what I see... first, just to tell you, freshly rebooted server, and before this text I just spawned a laptop and printer, connected them together, booted the pc, put a file "test" in for notepad, shut the computer off, and the start of this log is me turning the pc back on. [code] PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"Y":0,"H":1,"Rev":1,"X":0,"Priority":2,"Text":[],"W":1,"Type":"window_bios"},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"Y":0,"X":0,"Rev":2,"Type":"window_bios","Text":[10],"Priority":2,"W":1,"H":1},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"Y":0,"Type":"window_bios","Rev":3,"H":1,"Priority":2,"Text":[10,11],"W":1,"X":0},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"Y":0,"H":1,"Rev":4,"X":0,"Text":[10,11,12],"Priority":2,"W":1,"Type":"window_bios"},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"Y":0,"X":0,"Rev":5,"Type":"window_bios","Priority":2,"Text":[10,11,12,"] os:instance"],"W":1,"H":1},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"Y":0,"Type":"window_bios","Rev":6,"H":1,"Text":[10,11,12,"] os:instance",14],"Priority":2,"W":1,"X":0},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"Y":0,"H":1,"Rev":7,"X":0,"Priority":2,"Text":[10,11,12,"] os:instance",14,"] os:launch"],"W":1,"Type":"window_bios"},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"Y":0,"X":0,"Rev":8,"Type":"window_bios","Text":[10,11,12,"] os:instance",14,"] os:launch",19],"Priority":2,"W":1,"H":1},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"CF":false,"Type":"window_bios","Rev":9,"Text":[10,11,12,"] os:instance",14,"] os:launch",19],"W":1,"Y":0,"H":1,"Priority":2,"X":0},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"CF":false,"Type":"window_bios","Rev":10,"Text":[10,11,12,"] os:instance",14,"] os:launch",19,"]> Personal OS Core Initialized..."],"W":1,"Y":0,"H":1,"Priority":2,"X":0},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: String beam started! (ssdata_update) PCMod2: String segment recieved! (ssdata_update) PCMod2: String fully recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":{"CF":false,"Type":"window_bios","Rev":11,"Text":[10,11,12,"] os:instance",14,"] os:launch",19,"]> Personal OS Core Initialized...","]> Preparing to boot system..."],"W":1,"Y":0,"H":1,"Priority":2,"X":0},"SC":true,"EntID":79}) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_bios":0,"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_boot":{"Y":0,"X":0,"Rev":1,"H":1,"Priority":1,"W":1,"Type":"window_boot"},"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Garbage collected '79:win_bios' PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"win_boot":0,"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Garbage collected '79:win_boot' PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"EntID":79,"desktop":{"Y":0,"H":1,"Rev":1,"X":0,"Th":"bloom","Priority":1,"W":1,"Type":"desktop"},"SC":true}) PCMod2: String beam started! (ssdata_update) PCMod2: Creating element 'Button' with name 'btn_start'! PCMod2: Setting theme to 'bloom'... PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"SC":true,"EntID":79}) PCMod2: String beam started! (ssdata_update) PCMod2: Mouse Clicked! PCMod2: Position calculated! PCMod2: CLICKING btn_start PCMod2: CLICKING START PCMod2: Small string recieved! (ssdata_update) PCMod2: Partial ScreenSpace Recieved! ({"EntID":79,"SC":true,"menu_start":{"Y":0.4,"H":0.54,"Rev":1,"X":0,"Th":"bloom","Priority":254,"W":0.4,"Type":"menu_start"}}) PCMo
  • Avatar of Lancelot
  • It's in the console where pc_settings must be typed. I'll get debug line soon.
  • Avatar of cprossu
  • Lancealot, fwiw, it comes up either way, !pcsettings in chat or pc_settings in console
  • Avatar of Lancelot
  • I tried !pcsettings but nothing happened. I'll go into Gmod now and try running the songs.
  • Avatar of cprossu
  • Hrmmm.... Thinking it may be a texture issue, I disabled every pack I could from gmod settings, yet it still worked fine in single player.... then I thought it might be an addon issue, so I removed all the addons from the addon directory of my dedicated server except for pcmod. My addons directory now only has the "counter-strike", "day-of-defeat", "default_sent_pack", "derma", "hl2_ep2", "portal", "tf", and of course "pcmod2" folders inside of it, yet it still is exhibiting the same exact problem.... I forgot to mention, the dialog box that normally shows up when you select print does not show up on my dedicated server (that's when the bug happens)
  • Avatar of cprossu
  • Found the problem, the svn is missing files... or something Apparently I had a downloaded version of 2.0.4 installed on my pc, and the svn version on my dedicated... I just put that version on the dedicated and it worked fine.... my client downloaded 2 extra files though, which ones I can't tell you though =( but what I can tell you is that the version here -> [url]http://www.garrysmod.org/downloads/?a=view&id=64817[/url] worked, and the fresh svn does not.
  • Avatar of Lancelot
  • The debug doesn't say anything :/ Nor does it give any insight as to why the scroll buttons fail when i have that custom file in.
  • Avatar of Quathan
  • Hey guys. I just downloaded this addon recently, and I am having a minor problem while experimenting with it. I spawned a monitor, tower, keyboard and printer. I hooked up the printer through the USB connection to the tower, the monitor to the tower with VGA, the keyboard to the PS/2. I go into notepad, make a document, and when I save it and open it, it refuses to print, giving me a string of errors, all the same; First it says: 11pcmod/ssdevices/dev_win_printloc.lua:32: table index is nil ...Followed by an infinite string of these: pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number pcmod/cl_2d3d.lua:486: attempt to compare nil with number etc. Well, I'm sure you get the message. Can somebody tell me what I'm doing wrong here?
  • Avatar of Valeour
  • Lancelot, i get the same issue where the scroll bar doesn't work. I dunno how to fix it, but i'd like to know. Quathan, search the thread for that error, i'm sure that's popped up before. But i might be wrong.
  • Avatar of Quathan
  • [QUOTE=Valeour;14639983]Lancelot, i get the same issue where the scroll bar doesn't work. I dunno how to fix it, but i'd like to know. Quathan, search the thread for that error, i'm sure that's popped up before. But i might be wrong.[/QUOTE] Believe me, I looked on all 11 pages of this thread, and no dice. Trust me, I'm not one of those people who asks a question on a thread because I'm too lazy to look myself. Somebody a few posts above me had the almost identical problem (the only difference is that he used a laptop instead), but it doesn't even matter because I'm not even sure if he really found a solution, and he claimed it was because of an issue that I don't think pertains to my computer (something to do with the textures..?). If anybody knows what I'm doing wrong, let me know. Remember, I'm hooking up the printer through the usb, the keyboard through the PS/2, and the monitor through VGA. I save a document or two in notepad, and I go to print it, only to get this string of errors. Also, part of the floor on my map blacks out and disappears. Perhaps I'll take a video of it later if I have time. Suggestions, anybody?
  • Avatar of Lancelot
  • That is an odd error. You say you have the latest SVN? Mine is only a few weeks old. Try not saving. Just type something and hit print.
  • Avatar of Quathan
  • [QUOTE=Lancelot;14642119]That is an odd error. You say you have the latest SVN? Mine is only a few weeks old. Try not saving. Just type something and hit print.[/QUOTE] Even that doesn't work. Oh, and I downloaded PC Mod 2 from the svn at the beginning of the thread, and I did it yesterday. So, I'm sure it's PRETTY recent.
  • Avatar of Quathan
  • Here, if you were to print something, what would be the systematic steps you would take to do so, right from spawning?
  • Avatar of Lancelot
  • I would spawn a tower, a monitor, a keyboard, a splitter, some speakers, and then the printer. Then I would hook up the monitor, keyboard, splitter, and printer to the tower. Then hook the speakers to the splitter. Then I would turn on the tower and just keep hitting next till I got into the OS. Then give myself the install disk and put all the client stuff on it. Then open up the text program, use quicktype to write a message, then hit print, wait a few seconds, then get out and pick up the paper. Then kill a zombie with it.
  • Avatar of thomasfn
  • Ok guys, it could be that the svn is missing something or has an outdated version of something. Quathan, try to get the 2.0.4 version off gmod.org and use that instead of the SVN - see if it works better. I'll look into it, it's probably something simple to fix.
  • Avatar of thomasfn
  • Ok I took a quick look. Load up the file: pcmod2/lua/pcmod/ssdevices/dev_win_printloc.lua Before line 31, add this line of code: [lua]self.EntID = self.EntID or 0[/lua] That [i]should[/i] stop the error spam and weird other stuff, although the fact that self.EntID doesn't exist is probably something part of a deeper errorless problem.
  • Avatar of Quathan
  • [QUOTE=thomasfn;14642638]Ok guys, it could be that the svn is missing something or has an outdated version of something. Quathan, try to get the 2.0.4 version off gmod.org and use that instead of the SVN - see if it works better. I'll look into it, it's probably something simple to fix.[/QUOTE] I actually tried that one, since somebody a few posts up from me put a link to it. And no dice, though. I'm just a little curious why barely anybody else seems to be having this problem. [QUOTE=Lancelot;14642331]I would spawn a tower, a monitor, a keyboard, a splitter, some speakers, and then the printer. Then I would hook up the monitor, keyboard, splitter, and printer to the tower. Then hook the speakers to the splitter. Then I would turn on the tower and just keep hitting next till I got into the OS. Then give myself the install disk and put all the client stuff on it. Then open up the text program, use quicktype to write a message, then hit print, wait a few seconds, then get out and pick up the paper. Then kill a zombie with it.[/QUOTE] Why would you use a splitter, and what is a splitter? And how do I obtain and use an install disk, and/or put my client side stuff on it? Thanks. Oh, and by the way Tom, what do I open the .lua file with? Notepad?
  • Avatar of thomasfn
  • Yep, notepad will do. A splitter converts phono to minijack, so you can connect your speakers to the tower. You can't have programs on your client that work with PCMod 2 if the server doesn't have them. To get an install disk, either use the SWEP tool mode or buy an install disk (if the server is roleplay).
  • Avatar of Quathan
  • [QUOTE=thomasfn;14645785]Yep, notepad will do. A splitter converts phono to minijack, so you can connect your speakers to the tower. You can't have programs on your client that work with PCMod 2 if the server doesn't have them. To get an install disk, either use the SWEP tool mode or buy an install disk (if the server is roleplay).[/QUOTE] Okay, I'll try that. By the way, what does SWEP stand for? Oh and by the way, what do you mean by "before line 31?" Where do the lines technically start, and how would one count a line? Do you consider spaces lines? Thanks a ton, Tom.
  • Avatar of BloodShed
  • [QUOTE=Quathan;14647015]Okay, I'll try that. By the way, what does SWEP stand for? [/QUOTE] Scripted WEaPon
  • Avatar of Quathan
  • [QUOTE=BloodShed;14647209]Scripted WEaPon[/QUOTE] Uh, what are scripted weapons used for in this mod?
  • Avatar of Lancelot
  • Because you can't directly hook up a speaker to the tower, let alone three. Speaking of which thomas, give us more ports on the freaking splitter, or more 3.5mm ports on the tower. Here's an idea thomas: An admin option to play music through a serve]r. So you don't have to haul the computer around, and perhaps a file browser like what E2 has for finding files that can be used with a music player.
  • Avatar of Valeour
  • Sweps can be used for all kinds of things in GMod, but half the time it's just kids making uber powerful weapons that kill it one shot, or rape your computer systems with lag. Like shooting 5 billions shots per second that instakills anyway. Or, get sensible people that make sweps for the right reasons, such as Thomas. Where it installs programs into the computers. And not lag, let alone, kill people. Don't get me wrong, there are people that make decent sweps, but if you find an "admin" weapons, chances are it's just a noob gun. (Decent sweps, like grappling (Doesn't work anymore D:), some weapons are made to be fair, such as stargate weapons and magic weapons. Ones that are actually FUN.)
  • Avatar of Ronster
  • Is anyone else getting a problem where you are unable to scroll through the song list?
  • Avatar of BloodShed
  • I made a video tutorial on how to add music to pcmod2 [media]http://www.youtube.com/watch?v=zei-Zj0cdAs[/media]
  • Avatar of Quathan
  • Okay, so Tom - how would I add that piece of code you gave me to the .lua file in notepad? You said before line 31, but I was confused on where line 31 was, whether I count spaces or not, and how you wanted me to insert it. If what you're telling me works, that's great. But if it doesn't work, I'll make a video about what is happening and the error I get.