Commit Graph

46 Commits

Author SHA1 Message Date
thegrb93
282f7607ac
Make netstream timeout 30. Gmod apparently struggles sending 20kb in under 10s sometimes (#474) 2024-08-10 16:54:43 -04:00
thegrb93
b9984fcea1
Rewrote netstream (#472)
* Rewrote netstream

* Only add timer when queue empty

* Only update activitytimeout if queue is empty too

* Move activity timeout reset into successful write

* Move net read before return
2024-06-09 17:08:08 -04:00
Deyan Dobromirov
e7db6e0161
Cleanup: Brackets with double quotes to include structures ( like wirem… (#445)
* Added: Brackets with double quotes to include structures ( like wiremod )
Converted: Global `constraints` and `serializable` to real globals

* Update: Shove control stricture in the global setup table

* Order by length and reduce spaces
2023-11-08 11:31:49 -05:00
Redox
a7adb33ef8
Hide classarg prints behind convar (#437)
* Hide classarg prints behind convar

* Tabs instead of spaces

* Group defines and move includes to be done last

* Cleanup spawnrate code

---------

Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
2023-08-26 16:50:05 -04:00
Aspect
c95f7b65d5
Replace all usermessages with net. (#385)
* Replace all usermessages with net.

* Fix net destinations.

Oops.

* Replace Float with UInt.

* Replace more Float with UInt.
2022-02-02 15:36:09 -05:00
thegrb93
e5040d0866
Move netstream to lua/autorun (#358) 2021-02-12 20:29:42 -05:00
thegrb93
50e6865abf
Fix autosave minimum time being 10min (#314)
* Fix autosave minimum time being 10min

* Made the min 5 minutes

* Add some help text too

* Some bugfixes and made min time 2 min
2020-11-25 20:50:06 -05:00
Garrett Brown
d8dd575690 Merge branch 'area-copy-size'
# Conflicts:
#	lua/weapons/gmod_tool/stools/advdupe2.lua
2019-06-02 18:52:05 -04:00
Garrett Brown
cadd5125ea Increase max area copy size to map width 2019-06-02 00:51:32 -04:00
Garrett Brown
1eebb7e0d8 Refactored ghost code 2019-06-01 20:46:17 -04:00
Garrett Brown
26a47da497 Made file number have 0 prepended to fix sorting 2019-06-01 19:57:12 -04:00
Garrett Brown
454ca60078 Move file related stuff to their own file 2019-05-04 03:09:37 -04:00
Garrett Brown
7b67d4f329 Cleanup and fixed progress bar. Need to fix file downloading and test 2019-04-14 02:19:11 -04:00
Garrett Brown
7fe03cf7b9 Refactoring netcode 2019-04-13 04:15:01 -04:00
thegrb93
9bd7c4dc56 Made coloring using style system 2018-12-28 17:38:18 -06:00
Garrett
62db67ad38 Refactor decode error handling 2018-12-01 17:46:50 -05:00
thegrb93
8c297d22c3
Merge pull request #150 from thegrb93/spawn-rate
Allow greater than 1 spawnrate
2018-11-19 23:29:18 -05:00
Garrett
e7adf1cbac Cleanup 2018-10-27 14:22:16 -04:00
Garrett
53c3a0c644 Allow greater than 1 spawnrate 2018-10-27 13:19:19 -04:00
Garrett Brown
0e75a99415 Some cleanup and added map paste on PostCleanupMap 2016-06-23 17:49:21 -05:00
Garrett Brown
e41d41c195 Remove unused splash screen 2016-01-14 17:43:41 -06:00
Python1320
02c5a3c802 Update advdupe2_sv_init.lua
AddNetworkString can be outside of Initialize hook, will break AdvDupe2 less.
2015-02-10 01:09:51 +02:00
AbigailBuccaneer
561f8d6b56 Fix entity aliases not being correctly duplicated.
AdvDupe2 now relies on duplicator.IsAllowed to check if an entity can be
duplicated.
2014-05-26 00:33:21 +01:00
tbzipper
05977cede8 Opening files will load the ghosts totally client side now. 2013-01-02 07:18:53 +00:00
tbzipper
400ff2ae04 Fixed some comparisons with empty tables
Fixed Flexes not copying properly
Added support for bone manipulations
2012-12-30 01:11:02 +00:00
tbzipper
1bc6a4702f Added the links for controls and settings to the help menu.
Fixed WriteInt error line 447 when ghosting.
Fixed GetAddonList error line 26 when initializing addon.
Fixed error when opening a dupe while already opening a dupe *xzibit*
2012-12-03 22:51:53 +00:00
tbzipper
5cee74a44e Fixed problems saving dupes when there was an entity or function in the table.
Fixed AdvDupe2.Info being nil
Tried to make the module fail better when people don't have it installed correctly.
2012-10-31 18:35:54 +00:00
tbzipper
344dc11bb4 2012-10-25 13:34:21 +00:00
tbzipper
78a40bd118 GMod 13 2012-10-24 21:23:26 +00:00
tbzipper
bb6e9f7517 2012-10-24 21:21:43 +00:00
emspike
cc4087c0d4 [Codec]
- Serializer v2 supports recursive tables.
- Moved legacy codec bits to seperate file.

[Misc]
- Updated version/revision info
2012-07-16 02:40:25 +00:00
tbzipper
d24f5b6a30 Added setting AdvDupe2_SpawnRate to change the rate of pasting. 2012-02-28 22:35:04 +00:00
tbzipper
42dbf44c94 Fixed the timer error that caused the contraption spawner derma to mess up. 2012-01-13 16:43:33 +00:00
tbzipper
ea717b4b12 Fixed some errors in the tool when creating a contraption spawner.
Fixed some errors in the error catch spawning.
Added min/max server settings for undo and spawn delay.
2012-01-11 12:20:30 +00:00
tbzipper
0e5fab1d44 Moved applying modifiers and call PostEntityPaste to its own for loop after entities are pasted and before constraints are pasted.
Changed how client files are loaded, hopefully smoother and lag free now.
2011-11-24 07:16:57 +00:00
tbzipper
e004153dc0 Fixed some usermessage bugs.
Cleaned and optimized Copy, AreaCopy, and AreaCopy outside.
2011-11-23 01:05:57 +00:00
tbzipper
08e0551dc0 Cleaned up and optimized copy code.
Optimized creating constraints.
Fixed Area Copy copying bad physics.
2011-11-22 09:48:14 +00:00
tbzipper
b21454f445 Finished vehicle exploits. 2011-11-21 10:32:21 +00:00
tbzipper
8b24a8bdb8 2011-11-21 09:32:45 +00:00
tbzipper
6b3051f37b Fix max entity problem with contraption spawner. 2011-11-20 10:56:10 +00:00
tbzipper
d9a9905675 Tweaked spawn delay and undo delay settings for contraption spawner.
Fixed bug when holding USE and switching weapons.
2011-11-19 20:31:51 +00:00
tbzipper
dfe5106e94 2011-11-19 00:23:09 +00:00
tbzipper
7f947d8599 Changed constraint limit to default to unlimited. 2011-11-04 05:27:38 +00:00
tbzipper
5e488222e2 2011-11-02 23:28:55 +00:00
emspike
9d628886a4 [Tool] got rid of unnecessary string.Explode calls 2011-11-02 21:56:20 +00:00
emspike
23d7d5e9b2 Initial commit. 2011-10-30 02:59:26 +00:00