General > Developers Corner
ScreenGrab to ULX Menu?
iViscosity:
That might be a bit hard to do with over 600 lines of code. Looking through it myself I don't know if that would be possible.
roastchicken:
I don't think any clientRPC needs to be done. The former developer seems to have done a well enough job with the actual screen capturing; they just fell short at the VGUI. Basically what we need to do is find out which things need to be sent to the server (seems to be using net messages) and send those within a ULX command. I'm going to take a more in-depth look tonight if I have the time.
Kaitlin Barrette:
--- Quote from: roastchicken on June 23, 2016, 03:40:23 PM ---I don't think any clientRPC needs to be done. The former developer seems to have done a well enough job with the actual screen capturing; they just fell short at the VGUI. Basically what we need to do is find out which things need to be sent to the server (seems to be using net messages) and send those within a ULX command. I'm going to take a more in-depth look tonight if I have the time.
--- End quote ---
Definitely appreciate it, and there is no errors when performing the command itself in-game or in-console.
roastchicken:
That's strange that you encounter no errors; I just put it on my server and I'm already getting some errors...
List of bugs I've encountered:
line 642:
--- Code: --- progress.num = um:ReadFloat()my
--- End code ---
Random "my" in the code... Not sure why it's there, but I just removed it.
line 57: attempt to call method 'CanScreengrab' (a nil value)
--- Code: --- if ply:CanScreengrab() then
--- End code ---
For some reason the CanScreengrab meta function was commented out. I uncommented it and set it to return true (for testing purposes)
edit:
doesn't seem like I can screengrab myself, so I'm not sure how I'll be able to test this...
edit 2:
actually I can screengrab myself. Everything seems to work; I can close all the vgui menus. Can you come and test it out on my dev server Kaitlin? I've added you on steam.
Kaitlin Barrette:
--- Quote from: roastchicken on June 24, 2016, 01:05:31 PM ---That's strange that you encounter no errors; I just put it on my server and I'm already getting some errors...
List of bugs I've encountered:
line 642:
--- Code: --- progress.num = um:ReadFloat()my
--- End code ---
Random "my" in the code... Not sure why it's there, but I just removed it.
line 57: attempt to call method 'CanScreengrab' (a nil value)
--- Code: --- if ply:CanScreengrab() then
--- End code ---
For some reason the CanScreengrab meta function was commented out. I uncommented it and set it to return true (for testing purposes)
edit:
doesn't seem like I can screengrab myself, so I'm not sure how I'll be able to test this...
edit 2:
actually I can screengrab myself. Everything seems to work; I can close all the vgui menus. Can you come and test it out on my dev server Kaitlin? I've added you on steam.
--- End quote ---
I've tried messaging you on steam, I am available Tuesday / Wednesday this week. Send me a message when you can on steam, please, and thanks!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version