General > Developers Corner
Contribution
Megiddo:
--- Quote from: jay209015 on September 27, 2013, 05:57:14 AM ---Yeah, that's expected. Was going to try and use something like this: http://wiki.garrysmod.com/page/video/Record
--- End quote ---
You still have an issue with getting it from the client to the server. I guess you could try passing it up to the server using the network library, but I'm not sure what sort of bandwidth you'll get with that. Didn't know that we had a video recording library though, that's awesome!
jay209015:
Yeah, the screen capture feature is probably going to be the hardest.
But we will see how it goes when the time comes. Perhaps I can utilize your networking knowledge ;)
jay209015:
First bit of progress:
First two is the output from RCon commands.
The other part is through the api.
--- Code: ---hostname: Garry's Mod
version : 1.6.20.0/23 5301 secure
udp/ip : 72.14.178.181:27015 (public ip: 72.14.178.181)
map : gm_construct at: 0 x, 0 y, 0 z
players : 0 (16 max)
# userid name uniqueid connected ping loss state adr
ULX Help:
If a command can take multiple targets, it will usually let you use the keywords '*' for target
all, '^' to target yourself, '@' for target your picker, '$' to target by ID (steamid,
uniqueid, userid, ip), '#' to target users in a specific group, and '%' to target
users with access to the group (inheritance counts). IE, ulx slap #user slaps all players who are
in the default guest access group. Any of these keywords can be preceded by '!' to negate it.
EG, ulx slap !^ slaps everyone but you.
You can also separate multiple targets by commas. IE, ulx slap bob,jeff,henry.
All commands must be preceded by "ulx ", ie "ulx slap"
Command Help:
Category: Fun
o ulx armor - Sets the armor for target(s). (say: !armor)
o ulx blind [] - Blinds target(s). (say: !blind) (opposite: ulx unblind)
o ulx cloak [] [] - Cloaks target(s). (say: !cloak) (opposite: ulx uncloak)
o ulx freeze - Freezes target(s). (say: !freeze) (opposite: ulx unfreeze)
o ulx god [] - Grants god mode to target(s). (say: !god) (opposite: ulx ungod)
o ulx hp - Sets the hp for target(s). (say: !hp)
o ulx ignite [] - Ignites target(s)
Array
(
[Protocol] => 17
[HostName] => Garry's Mod
[Map] => gm_construct
[ModDir] => garrysmod
[ModDesc] => Sandbox
[AppID] => 4000
[Players] => 0
[MaxPlayers] => 16
[Bots] => 0
[Dedicated] => d
[Os] => l
[Password] =>
[Secure] => 1
[Version] => 1.6.20.0
[GamePort] => 27015
[ServerID] => 90087756281314305
[GameTags] => gm:sandbox
)
Array
(
)
Array
(
[ai_disabled] => 0
[ai_ignoreplayers] => 0
[coop] => 0
[deathmatch] => 1
[decalfrequency] => 10
[mp_allowNPCs] => 1
[mp_autocrosshair] => 1
[mp_fadetoblack] => 0
[mp_falldamage] => 0
[mp_flashlight] => 1
[mp_footsteps] => 1
[mp_forcerespawn] => 1
[mp_fraglimit] => 0
[mp_friendlyfire] => 0
[mp_teamlist] => hgrunt;scientist
[mp_teamplay] => 0
[mp_timelimit] => 0
[mp_weaponstay] => 0
[nextlevel] =>
[physgun_limited] => 0
[r_AirboatViewDampenDamp] => 1.0
[r_AirboatViewDampenFreq] => 7.0
[r_AirboatViewZHeight] => 0.0
[r_JeepViewDampenDamp] => 1.0
[r_JeepViewDampenFreq] => 7.0
[r_JeepViewZHeight] => 10.0
[r_VehicleViewDampen] => 0
[sbox_bonemanip_misc] => 0
[sbox_bonemanip_npc] => 1
[sbox_bonemanip_player] => 0
[sbox_godmode] => 1
[sbox_maxballoons] => 100
[sbox_maxbuttons] => 50
[sbox_maxdynamite] => 10
[sbox_maxeffects] => 200
[sbox_maxemitters] => 20
[sbox_maxhoverballs] => 50
[sbox_maxlamps] => 3
[sbox_maxlights] => 5
[sbox_maxnpcs] => 10
[sbox_maxprops] => 200
[sbox_maxragdolls] => 10
[sbox_maxsents] => 300
[sbox_maxspawners] => 10
[sbox_maxthrusters] => 50
[sbox_maxturrets] => 4
[sbox_maxvehicles] => 3
[sbox_maxwheels] => 50
[sbox_noclip] => 1
[sbox_persist] =>
[sbox_playershurtplayers] => 1
[sbox_weapons] => 1
[sensor_debugragdoll] => 0
[sensor_stretchragdoll] => 0
[sv_accelerate] => 10
[sv_airaccelerate] => 10
[sv_allowcslua] => 0
[sv_alltalk] => 0
[sv_bounce] => 0
[sv_cheats] => 0
[sv_contact] =>
[sv_footsteps] => 1
[sv_friction] => 8
[sv_gravity] => 600
[sv_hl2mp_item_respawn_time] => 30
[sv_hl2mp_weapon_respawn_time] => 20
[sv_maxspeed] => 10000
[sv_noclipaccelerate] => 5
[sv_noclipspeed] => 5
[sv_password] => 0
[sv_pausable] => 0
[sv_report_client_settings] => 0
[sv_rollangle] => 0
[sv_rollspeed] => 200
[sv_specaccelerate] => 5
[sv_specnoclip] => 1
[sv_specspeed] => 3
[sv_steamgroup] =>
[sv_stepsize] => 18
[sv_stopspeed] => 10
[sv_voiceenable] => 1
[sv_wateraccelerate] => 10
[sv_waterfriction] => 1
[toolmode_allow_axis] => 1
[toolmode_allow_balloon] => 1
[toolmode_allow_ballsocket] => 1
[toolmode_allow_button] => 1
[toolmode_allow_camera] => 1
[toolmode_allow_colour] => 1
[toolmode_allow_creator] => 1
[toolmode_allow_duplicator] => 1
[toolmode_allow_dynamite] => 1
[toolmode_allow_editentity] => 1
[toolmode_allow_elastic] => 1
[toolmode_allow_emitter] => 1
[toolmode_allow_example] => 1
[toolmode_allow_eyeposer] => 1
[toolmode_allow_faceposer] => 1
[toolmode_allow_finger] => 1
[toolmode_allow_hoverball] => 1
[toolmode_allow_hydraulic] => 1
[toolmode_allow_inflator] => 1
[toolmode_allow_lamp] => 1
[toolmode_allow_leafblower] => 1
[toolmode_allow_light] => 1
[toolmode_allow_material] => 1
[toolmode_allow_motor] => 1
[toolmode_allow_muscle] => 1
[toolmode_allow_nocollide] => 1
[toolmode_allow_paint] => 1
[toolmode_allow_physprop] => 1
[toolmode_allow_pulley] => 1
[toolmode_allow_remover] => 1
[toolmode_allow_rope] => 1
[toolmode_allow_slider] => 1
[toolmode_allow_thruster] => 1
[toolmode_allow_trails] => 1
[toolmode_allow_weld] => 1
[toolmode_allow_wheel] => 1
[toolmode_allow_winch] => 1
[tv_enable] => 0
[tv_password] => 0
[tv_relaypassword] => 0
)
--- End code ---
Also, I came across this http://facepunch.com/showthread.php?t=1256669
Megiddo:
Good progress!
jay209015:
Thanks! As soon as I get it capture more than just the head of the response, I'll move on to UI.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version