Garry's Mod

Garry's Mod

136 ratings
gTerminal Universal
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
File Size
Posted
Updated
4.847 MB
31 Mar @ 7:29am
5 Oct @ 8:45am
12 Change Notes ( view )

Subscribe to download
gTerminal Universal

Description
It is improved gTerminal addon!

!!!THIS ADDON IS NOT COMPATIBLE WITH ORIGINAL GTERMINAL OR WITH BASED ADDONS!!!

This addon add computer with os like a MS-DOS. With the help of a computer, you can exchange information, save files with text, read arithmetic operations, send message on network and many other things..
Entity list: computer, TV, projector, i/o device, disk, pc speaker.
OS: vex_dos, vex_server

gterminal_default_os - default os on all computers
gterminal_default_os_root - default os on root computer
gterminal_command_prefix - command prefix default is ( : )

Simple file for :f sound_play <filename>:
-3 1000
-2 1000
-1 1000
0 1000
1 1000
2 1000
3 1000
P.S first value is tonality, second is time of playing.

GTASM IS DELETED FROM THIS ADDON
Added:
  • Use GTerminal from context menu ((c menu)Useful when sit on chair).
  • New math commands.
  • New help for commands.
  • New file system.
  • Disk system.
  • Periphery system(pc speaker).
  • Sound play with PC Speaker.
  • Some new features in gnet system (Nickname system).
  • :f exec for lua(check update note)
Soon:
  • Add bat format.(NOT IN DEVELOPMENT)
Future plans:
  • None
Credits
Me - create addon
ANNANTO - co-creator
Proxima - create original addon
BusterDasch - create Wire for gTerminal
FlarkyRUS - create gTerminal - Improved
Popular Discussions View All (6)
5
29 Jul @ 8:51am
Custom OS?
Toaster
0
22 Sep @ 5:41am
PINNED: Ideas for gTerminal Universal
Morda_junior
53 Comments
Krus901 10 Oct @ 10:34am 
Another question, is there a way to code it or get it to play a beep when you get a gnet message?
Krus901 10 Oct @ 10:24am 
Thanks!
Kaznetskiy Ptenec Big  [author] 10 Oct @ 8:58am 
@Krus901 To use the PC SPEAKER, you must first connect it with the command “periph con”, then a system beep will be emitted when the computer is turned on or off. If you want to intentionally trigger beep, you can do it via the command “f sound_play filename”, below is a template for creating a beep playback file.
First comes the tone from -3 to 3, then the duration in milliseconds.
-3 1000
-2 1000
-1 1000
0 1000
1 1000
2 1000
3 1000
Krus901 7 Oct @ 10:24pm 
How do you use the pc speakers?
Kaznetskiy Ptenec Big  [author] 6 Oct @ 6:53am 
@mrswormsweat again thank you for the bug report, but those bugs that you wrote are impossible to fix (except sent_computer_projector_css, I will fix it in the next update). 1. Net library doesn't allow sending messages over 64kb, hence the problem that we can't create files over that size. Maybe I can find a solution to this, but for now you can't create files over 64kb.
mrswormsweat 5 Oct @ 8:39pm 
If I create a file named testfile, then fill it with "64K " until the file size becomes 64K in size, then use the ":f cat testfile" command, the game will freeze for over 2 minutes but it will eventually complete the operation. If I use the ":f sizeof testfile" command, then it shows 32768 bytes instead of 65536 bytes; I'm not sure if this is a bug. If I try to make a file sized 128K and save it, it prints "[gTerminal Universal] Trying to send an overflowed net message!
1. DoClick - lua/gterminal/cl_editor.lua:42
2. unknown - lua/vgui/dlabel.lua:254" to the console.
mrswormsweat 5 Oct @ 8:39pm 
The :f sizeof command then claims the file is 65522. I get "[gTerminal Universal] Trying to send an overflowed net message!
1. func - lua/gterminal/sv_filesystem.lua:67
2. unknown - lua/gterminal/os/root_os/sv_commands.lua:281
3. pcall - [C]:-1
4. func - lua/gterminal/sv_init.lua:171
5. unknown - lua/includes/extensions/net.lua:38" printed to the console when using :f touch command to the file. All of that was tested on a root computer. I also noticed in the console this warning, "Refusing to load sent_computer_projector_css because it is missing Type and Base keys!" after loading to gm_construct. I had to split the message.
Kaznetskiy Ptenec Big  [author] 5 Oct @ 8:42am 
#mrswormsweat fixed now! Thank you for bug report! :Smilingdemon:
mrswormsweat 3 Oct @ 8:06pm 
If I create a file named testfile through the :f touch testfile command then place text in it then use the :disk id command to insert a disk then finally use the :disk ad testfile command, an error appears and the file doesn't get transferred to the disk. The only addons enabled is this and Wiremod. This is in the x86-64 branch of Garry's Mod. The error didn't appear when Lua Patcher was enabled but it still didn't transfer the file. Files transfer without any problems through gnet. steamproxy.net/sharedfiles/filedetails/?id=3342594691
Kaznetskiy Ptenec Big  [author] 2 Oct @ 7:05am 
@Gunmann no it's always enabled