1. Post #241

    February 2009
    5 Posts
    How does AlarmZ work?
    Uses RT camera.

    Someone answer please:
    Okay so I have PCMod2, properly installed on my DarkRP 2.3.5 server.

    Everything works except 3 things:
    - The notepad is unable to save anything (i press save and nothing happens)
    - Printers always print out blank pages
    - I've never been able to set up a router network no matter what I tried

  2. Post #242
    Gold Member
    thomasfn's Avatar
    July 2008
    2,947 Posts
    1) Can you get the serverside console log, with debug mode ON, before and after clicking the save button please?
    2) The printing thing is a result of the not saving thing. The server isn't even recieving all the data properly, so it sends nothing to the printer.
    3) Explain.

  3. Post #243
    Valeour's Avatar
    October 2007
    176 Posts
    3) He probably set it up wrong, i dunno, i haven't tried to use it yet...

  4. Post #244
    chicob's Avatar
    April 2008
    76 Posts
    when i try saving the document

    ULib/server/hook.lua:139: attempt to index local 'gm' (a nil value)

    when i try printing the document on a network

    1 = netPrintDocument
    2 =
    PCMod2: Parsed packet with pass: 1
    PCMod2: Parsed packet with pass: 2
    Spawn: Entity [159][pcmod_document]

    sry if some one else already posted but just to make sure

  5. Post #245
    Gold Member
    thomasfn's Avatar
    July 2008
    2,947 Posts
    Suspected it would be something to do with ULX + Datastream.

    Not sure if this will work, but try this:

    1) Navigate to garrysmod/addons/pcmod2/lua/pcmod/
    2) Open the file called 'sh_datastream.lua'
    3) At the end of line 37, create a new line, and in it put:
    Code:
    local GAMEMODE = GAMEMODE
    4) Save the file, reupload to your server
    5) Try again

  6. Post #246
    chicob's Avatar
    April 2008
    76 Posts
    Suspected it would be something to do with ULX + Datastream.

    Not sure if this will work, but try this:

    1) Navigate to garrysmod/addons/pcmod2/lua/pcmod/
    2) Open the file called 'sh_datastream.lua'
    3) At the end of line 37, create a new line, and in it put:
    Code:
    local GAMEMODE = GAMEMODE
    4) Save the file, reupload to your server
    5) Try again
    sure ive got to update my sbep to

  7. Post #247
    Ryo Ohki's Avatar
    March 2008
    1,394 Posts
    Suspected it would be something to do with ULX + Datastream.

    Not sure if this will work, but try this:

    1) Navigate to garrysmod/addons/pcmod2/lua/pcmod/
    2) Open the file called 'sh_datastream.lua'
    3) At the end of line 37, create a new line, and in it put:
    Code:
    local GAMEMODE = GAMEMODE
    4) Save the file, reupload to your server
    5) Try again
    Should this fix being unable to save files on MP?

  8. Post #248
    Gold Member
    thomasfn's Avatar
    July 2008
    2,947 Posts
    Should this fix being unable to save files on MP?
    It attempts to fix that, yes. Whether or not it works is something else entirely...

  9. Post #249
    chicob's Avatar
    April 2008
    76 Posts
    It attempts to fix that, yes. Whether or not it works is something else entirely...
    nope nothing didnt work

  10. Post #250
    chicob's Avatar
    April 2008
    76 Posts
    got his now when saving

    pcmod/ssdevices/base.lua:835: attempt to index global 'datastream' (a nil value)

    when printing on network

    pcmod/ssdevices/base.lua:835: attempt to index global 'datastream' (a nil value)1 = netPrintDocument
    2 =
    PCMod2: Parsed packet with pass: 1
    PCMod2: Parsed packet with pass: 2
    PCMod2: Parsed packet with pass: 2
    Unknown command: pc_locked
    Spawn: Entity [78][pcmod_document]

    when printing local i got

    pcmod/ssdevices/base.lua:835: attempt to index global 'datastream' (a nil value)Unknown command: pc_locked
    Spawn: Entity [79][pcmod_document]

  11. Post #251
    Gold Member
    thomasfn's Avatar
    July 2008
    2,947 Posts
    Ok, nevermind, remove that then. I will continue to look into it.

  12. Post #252
    chicob's Avatar
    April 2008
    76 Posts
    ok thanks

  13. Post #253
    mbainrot's Avatar
    August 2008
    178 Posts
    Awesome job on the laptops :D

    though inter-router via backbone appears to be still broken :(

    Normal Operation Laptop - Router - Laptop
    Code:
    (A) Entity 153 selected!
    PCMod2: Sending packet from pcmod_laptop {1, 192.168.1.2, 0, table: 3162F2B8}
    PCMod2: Checking Ports
    PCMod2: Data check
    PCMod2: data={"sendpacket",{"192.168.1.1","192.168.1.2",0,{"netPing_DEBUG",Weapon [113],},},}
    PCMod2: >> Router Driver is processing this packet [sendpacket]
    PCMod2: >> Body datatype: table
    PCMod2: Parsed packet with pass: 1
    PCMod2: Got packet containing the source 192.168.1.1 (pcmod_laptop:160)
    PCMod2: This packet was directed at us! Port: 0
    (B) Entity 160 selected!
    Attempting to send net packet...
    Sending net packet...
    Doesn't work :'( - router - backbone - router - laptop

    Code:
    (A) Entity 153 selected!
    PCMod2: Sending packet from pcmod_laptop {1, 192.168.3.1, 0, table: 38EE9898}
    PCMod2: Checking Ports
    PCMod2: Data check
    PCMod2: data={"sendpacket",{"192.168.1.1","192.168.3.1",0,{"netPing_DEBUG",Weapon [113],},},}
    PCMod2: >> Router Driver is processing this packet [sendpacket]
    PCMod2: >> Body datatype: table
    PCMod2: Parsed packet with pass: 1
    PCMod2: Checking Ports
    PCMod2: Data check
    PCMod2: data={"deliver",28,1,}
    PCMod2: >> Router Driver is processing this packet [deliver]
    PCMod2: >> Body datatype: table
    PCMod2: Parsed packet with pass: 2
    PCMod2: Checking Ports
    PCMod2: Data check
    PCMod2: data={"deliver",28,2,}
    PCMod2: >> Router Driver is processing this packet [deliver]
    PCMod2: >> Body datatype: table
    PCMod2: Parsed packet with pass: 3
    PCMod2: Got packet containing the source 192.168.1.1 (pcmod_router:147)
    PCMod2: Checking Ports
    PCMod2: Data check
    PCMod2: data={"deliver",28,2,}
    PCMod2: >> Router Driver is processing this packet [deliver]
    PCMod2: >> Body datatype: table
    PCMod2: Parsed packet with pass: 3
    PCMod2: Got packet containing the source 192.168.1.1 (pcmod_router:148)
    PCMod2: Checking Ports
    PCMod2: Data check
    PCMod2: data={"deliver",28,2,}
    PCMod2: >> Router Driver is processing this packet [deliver]
    PCMod2: >> Body datatype: table
    PCMod2: Parsed packet with pass: 3
    PCMod2: Got packet containing the source 192.168.1.1 (pcmod_router:149)
    PCMod2: Got packet containing the source 192.168.1.1 (pcmod_brouter:114)
    (B) Entity 156 selected!
    Attempting to send net packet...
    Sending net packet...
    edit:

    This happens when you try to test an unnetworked computer :)
    Code:
    PCMod2: Sending packet from pcmod_laptop {1, 192.168.1.2, 0, table: 3921AA90}
    PCMod2: Checking Ports
    PCMod2: Data check
    PCMod2: data={"sendpacket",{"192.168.1.2","192.168.1.2",0,{"netPing_DEBUG",Weapon [113],},},}
    PCMod2: >> Router Driver is processing this packet [sendpacket]
    PCMod2: >> Body datatype: table
    PCMod2: Parsed packet with pass: 1
    PCMod2: Got packet containing the source 192.168.1.2 (pcmod_laptop:160)
    PCMod2: This packet was directed at us! Port: 0
    (B) Entity 160 selected!
    Attempting to send net packet...
    Sending net packet...
    (A) Entity 154 selected!

  14. Post #254
    itty-bitty pretty kitty
    Dennab
    September 2008
    9,837 Posts
    I think you should make a little EXE or Flash to make programs.
    Like 'Does this use networks'
    kind of like the BOFC Swep Generator

  15. Post #255
    Gold Member
    thomasfn's Avatar
    July 2008
    2,947 Posts
    I think you should make a little EXE or Flash to make programs.
    Like 'Does this use networks'
    kind of like the BOFC Swep Generator
    Nice idea, but a generator thing would be too limiting - unless it was styled somewhat like Visual Basic.NET. Drag and drop controls sort of thing.

    Heh, if you can make it, go right ahead, but I'm guessing it will be alot more work than making PCMod itself ^^

  16. Post #256
    Valeour's Avatar
    October 2007
    176 Posts
    Depends how much far you go into it... You'd have to learn Lua too and how PCmod works and such. So, it'd be alot of hassle, but it could be pretty awesome. I have very limited VB knowledge. xD.

  17. Post #257
    Visit my Minecraft Universe at: mrfj.webs.com
    mr_fj's Avatar
    November 2006
    1,530 Posts
    Would be nice if we could use swf's on the pcs like put a swf inside a specific folder and then you can add that swf as a program to the computer using a swf installer tool :)

  18. Post #258
    Visit my Minecraft Universe at: mrfj.webs.com
    mr_fj's Avatar
    November 2006
    1,530 Posts
    Would be nice if we could use swf's on the pcs like put a swf inside a specific folder and then you can add that swf as a program to the computer using a swf installer tool :)

  19. Post #259

    March 2009
    2 Posts
    Can I get on the internet with this? If so, could any one explain how? Sorry if I sound stupid.

  20. Post #260
    mbainrot's Avatar
    August 2008
    178 Posts
    Can I get on the internet with this? If so, could any one explain how? Sorry if I sound stupid.
    In short. No

  21. Post #261
    Valeour's Avatar
    October 2007
    176 Posts
    In long. Read the thread.

    Also, i don't think PCMod 2 is an ISP either.

  22. Post #262
    infinitywrai's Avatar
    December 2007
    539 Posts
    Sorry, my server relies too much on stability and sv_downloadurl, so I can't make small changes like enabling debug mode on the fly.

    However, I do have the problem with being unable to save or print documents.

    Probably related to this problem, networking is impossible to get working.

  23. Post #263
    Gold Member
    thomasfn's Avatar
    July 2008
    2,947 Posts
    Sorry, my server relies too much on stability and sv_downloadurl, so I can't make small changes like enabling debug mode on the fly.

    However, I do have the problem with being unable to save or print documents.

    Probably related to this problem, networking is impossible to get working.
    Type !pcsettings into chat, go to "Server" tab, and click "Enable Debug Mode".

    And you can enable logging there too that will log everything PCMod prints to console.

    The saving document thing is a datastream+ulx problem, and datastream happens to be intergerated into GMod now. I will release 2.0.3 soon, and that will switch to GMod's version of datastream. If that doesn't fix it, then it's officially ULX's problem and not mine, since ULX is basically breaking a GMod feature that my code relies upon.

  24. Post #264
    Valeour's Avatar
    October 2007
    176 Posts
    Oh, i just realised i got rid of ULX for NewAdmin, I'll go try PCMod later.


    Right, on singleplayer at the moment, I can save a notepad, but when i print an unsaved file, it removes what i've typed and it prints an empty page. Toggle Power also doesn't work.

    Tested Multiplayer, Right, Save works same as single player, so yeah, it's ULX. But next problem. When i was playing, i noticed i didn't have a crowbar or any weapons, (I always press 1 three times to get a physgun, so you can imagine the amount of times i looped through grav and phys...) and when i tried to get the install disc via the install swep, nothing happened. Nada, no ping from the tool gun and no Install Swep. Which leads me to NewAdmin.

  25. Post #265

    March 2009
    62 Posts
    I just downloaded PCMod today and I put in my addons folder like I am supposed to, and it doesn't work! Everyone who downloaded it did the same thing and it worked like it was supposed to, but it won't work for me! Am I doing something wrong? WHY WON'T IT WORK?!?!

  26. Post #266
    mbainrot's Avatar
    August 2008
    178 Posts
    NewAdmin will restrict weapons, if you don't have "access"

    Best way to fix it is read the thread and find the "give ownership" command :)

    ASSMod works fine for pcmod

  27. Post #267

    March 2009
    62 Posts
    NewAdmin will restrict weapons, if you don't have "access"

    Best way to fix it is read the thread and find the "give ownership" command :)

    ASSMod works fine for pcmod
    I don't have NewAdmin, but thanks for warning me!

  28. Post #268
    infinitywrai's Avatar
    December 2007
    539 Posts
    Is it possible to fix it so that it works without ULX? Many people use ULX (i'm just waiting until NewAdmin is useasble) thanks!

  29. Post #269
    Valeour's Avatar
    October 2007
    176 Posts
    NewAdmin is useable. And i guess i forgot to add myself to the ownership list. My bad.

    Also Ilovedreamcast110, If you want help, be more damn spesific. "OMFG IT DON'T WORK" doesn't help anyone. Can you give us a clue as to why you think it doesn't work? Can't you find the tools? Can't find the PCMod tab? Can't use the tools? Give us a clue and we can give one back. Or at least try to.

  30. Post #270

    August 2007
    152 Posts
    PCMod 2.0.3 Availible
    It is not on the svn yet


    - You do not need a previous version for this to work.
    - You may override your existing PCMod 2 folder.
    - You may NOT have PCMod 1 installed as well.

    == CHANGE LOG ==
    FIX: Serverside errors with ChatServ
    FIX: Incompatabilities with ULX (hopefully)
    FIX: Routers not forwarding packets. All routers should work no matter how they are connected
    ADD: concommands to reload drivers, pc_drv_reload <driver file name>/pc_drv_reloadall. These are admin only
    FIX: Packet id not properly assigned
    FIX: Improved the pc_getsvsmessages stuff. It now only requires the password parameter (pc_getsvsmessages <password>)
    ADD: Save Logs Now button for clients and server on !pcsettings (Works with log saving off)

    NOTE: Driver reloading is intended for developer use. Any loaded changes only take effect on new entities

  31. Post #271
    PwnGModer's Avatar
    December 2008
    97 Posts
    2.0.3 is unoffical, you don't have permission (i think) to modificating PCMod

  32. Post #272
    Gold Member
    o DefcoN o's Avatar
    August 2008
    2,500 Posts
    Unless you are part of the Development Team, you should remove this file immediately.

  33. Post #273
    PwnGModer's Avatar
    December 2008
    97 Posts
    And yes, i have a question.
    Thomas, can you made the DDoS tool?

  34. Post #274

    August 2007
    152 Posts
    I am the other developer. Read first post

    -.- noobs and their inability to read stuffs...

  35. Post #275
    Gold Member
    thomasfn's Avatar
    July 2008
    2,947 Posts
    Gmt2001 is my other developer, as you would know if you read the first post properly.

    And what is DDoS?

  36. Post #276
    2.0.3 is unoffical, you don't have permission (i think) to modificating PCMod
    lululululul Yeah, he is part of the team.

  37. Post #277
    Gold Member
    o DefcoN o's Avatar
    August 2008
    2,500 Posts
    I am the other developer. Read first post

    -.- noobs and their inability to read stuffs...
    Unless you are part of the Development Team, you should remove this file immediately.
    I don't tend to read first posts more than a few times, and I don't remember obscure names...

  38. Post #278
    infinitywrai's Avatar
    December 2007
    539 Posts
    Gmt2001 is my other developer, as you would know if you read the first post properly.

    And what is DDoS?
    Distributed denial of server attack, lol

    Currently updating my server with this, hopefully will work. (I'm using ULX and DarkRP)

  39. Post #279

    March 2009
    62 Posts
    NewAdmin is useable. And i guess i forgot to add myself to the ownership list. My bad.

    Also Ilovedreamcast110, If you want help, be more damn spesific. "OMFG IT DON'T WORK" doesn't help anyone. Can you give us a clue as to why you think it doesn't work? Can't you find the tools? Can't find the PCMod tab? Can't use the tools? Give us a clue and we can give one back. Or at least try to.
    The PCMod tab is not there, I know where the tools are, and I CAN use the tools.

  40. Post #280
    infinitywrai's Avatar
    December 2007
    539 Posts
    GMT, this does NOT work.

    Same problems as before, printing blank pages.