Commit graph

1164 commits

Author SHA1 Message Date
Waterpicker
a726bdd830 Refractored the crap out of the code and got it working again in 2023 2023-12-18 14:57:29 -06:00
Waterpicker
e9e6774e83 Updated gradle for 1.7.10 2020-08-24 05:22:31 -05:00
Stephen Baynham
ecf7fd12f1 Increment version 2015-07-21 20:17:11 -04:00
Stephen Baynham
cd70c1b20b Forgot this 2015-07-21 20:16:17 -04:00
Stephen Baynham
caca861c7b Fixes #35
If there is a problem reading the blacklist file from disk, previously,
null would be returned from the DDSaveHandler.readBlacklist method.  This
would result in a crash later on down the line when we tried to iterate
the blacklist.  Now we return an empty array.  I'd like to be able to
diagnose the issues causing the blacklist file to be corrupted, but
unfortunately when this issue crops up, people only post the crash :(
2015-07-21 20:09:51 -04:00
Stephen Baynham
5e7cb14219 Fixes #22
If the server disconnected you due to a timeout or whatever, the pocket
manager would appropriately unload all dimension & pocket data, but it
would do so moments before the world unloaded, meaning that entities would
sometimes, on update or as part of their renderer, attempt to access the
dimensional data.  This places a new guard condition that attempts to stop
that from crashing the client.
2015-07-21 19:57:29 -04:00
Stephen Baynham
c15e4253e8 Stop a launch crash.
Check whether pocket data is loaded before attempting to pull dimension
data.
2015-07-21 19:49:40 -04:00
Stephen Baynham
dacc736508 Fixes #18
On startup, existing sub-dimensions of personal dimensions were being
given the wrong worldprovider by the launch code.  The reason for this is
that subdimensions are not added to the player -> dimension mapping for
personal dimensions, because there is only one canonical "personal"
dimension.  The launch code was using presence or absence in the mapping
to determine whether a dimension is personal, rather than the dimension
type.  This is now fixed.
2015-07-21 19:48:18 -04:00
Stephen Baynham
27d17d86a1 New guard condition in genreateLightBrightnessTable()
Some users were reporting very sporatic crashes in
generateLightBrightnessTable() when the server was starting up.  It's
possible that very occasionally, the server will register the pocket
dimension before any pocket dimension data is initialized, forcing the
light brightness table to get generated server side with bad values.
2015-07-21 19:01:36 -04:00
Stephen Baynham
7a82abf182 Moved network infrastructure over to the simplenetworkwrapper. 2015-07-21 18:42:25 -04:00
Stephen Baynham
337f0240a6 Added a few guard conditions to shutdown code.
In some cases (such as another mod crashing on startup or something), the
server shutdown even was getting called before anything was actually
initialize.  In these cases, some uninitialized objects were having
cleanup methods called on them, when they were null.  There are now guard
conditions to prevent the resulting NPE's.
2015-07-21 18:31:33 -04:00
CannibalVox
e0ffcaa98d Assuming implementation details don't match the contract is no. 2015-07-19 10:23:02 -04:00
CannibalVox
4e593fdd8c Add gitignore & some local brik a brak 2015-07-19 10:23:01 -04:00
Steve
2dea8e1a13 added check to see if dimension already registered
-this stops errors on player logout and login without shutting down
client.
2015-07-19 10:14:56 -04:00
Steve
2b411ce4cf Fix crash on exiting personal pocket dimension
-changed unload() function to tryunload() to quiet shutdown error
messages. If using unload() was intentional, don't do this.
2015-07-19 10:13:04 -04:00
CannibalVox
de6d10dc80 Fix debugging in idea 14 2015-04-25 19:45:32 -05:00
CannibalVox
d91ad394cb Make personal links always send players to their own personal dimension. 2015-03-19 19:51:54 -05:00
CannibalVox
91f96c825c Don't try to check a dim type before we have dim data. Relight dimension
when we get it.
2015-03-17 11:25:11 -05:00
CannibalVox
d01bbb488e Don't crash in SMP when using key 2015-03-17 10:40:03 -05:00
CannibalVox
44a0d4b3ec Correct various weirdness with personal doors in pocket dimensions 2015-03-15 22:19:13 -05:00
CannibalVox
bb2525d94e Moved the onlogin network message to do what it should have been doing 2015-03-12 12:16:39 -05:00
CannibalVox
7e8b682c23 Unload dimensions on discon, don't freak out on TE load if dimensions
aren't there
2015-03-12 11:33:33 -05:00
CannibalVox
6651559793 I MIGHT have copy/pasted this from starmall. 2015-03-12 11:12:51 -05:00
CannibalVox
d210b9b91c Register the dimensions early in the connection process so we can actually
log in and stuff.
2015-03-12 10:55:30 -05:00
CannibalVox
4f7e7a6925 Merge branch 'master' of github.com:CannibalVox/DimDoors 2015-03-12 06:36:54 -05:00
CannibalVox
41c88d1904 Personal dim door should require quartz doors, not gold doors. 2015-03-12 06:36:36 -05:00
Cannibal Vox
ea46db9eac Merge pull request #6 from DragonsLover/master
Adding French Canadian language
2015-03-11 16:09:15 -05:00
DragonsLover
74ac7e5e6f Adding French Canadian language 2015-03-11 17:08:25 -04:00
Cannibal Vox
4c4b745886 Merge pull request #5 from TheVikingWarrior/patch-1
Create it_IT.lang
2015-03-11 11:09:52 -05:00
TheVikingWarrior
79f60fb425 Create it_IT.lang 2015-03-11 17:09:30 +01:00
CannibalVox
ed91e3161f Merge branch 'master' of github.com:CannibalVox/DimDoors 2015-03-11 09:29:25 -05:00
CannibalVox
4bb42971c8 A bunch of blocks weren't properly rift-immune because they weren't
initted yet
2015-03-11 09:28:59 -05:00
Cannibal Vox
340fd58ea6 Merge pull request #4 from Mrkwtkr/patch-1
Create zh_CN.lang
2015-03-11 08:30:29 -05:00
Mrkwtkr
a4c1d3aa70 Create zh_CN.lang
:P
2015-03-11 21:29:01 +08:00
CannibalVox
6907350f00 Personal links set a destination for annoying cruft reasons. Easier to
ignore it when someone is generating a personal dim than fix that.
2015-03-11 08:22:24 -05:00
CannibalVox
ec180f46f0 Merge branch 'master' of github.com:CannibalVox/DimDoors 2015-03-11 07:46:10 -05:00
CannibalVox
d2c8877c26 Give personal dims the right provider on client-side 2015-03-11 07:45:51 -05:00
Cannibal Vox
66ac4d8512 Merge pull request #1 from Adaptivity/patch-1
Create ru_RU.lang
2015-03-11 01:42:16 -05:00
Cannibal Vox
dfbe3af507 Merge pull request #2 from Vexatos/patch-1
Create de_DE.lang
2015-03-11 01:41:53 -05:00
Vexatos
45b89abe90 Create de_DE.lang 2015-03-11 07:10:32 +01:00
Anton
8acbada3ba Create ru_RU.lang 2015-03-11 07:55:59 +03:00
CannibalVox
1464638fff Fixed SSP- stop the network code from doubling up adds/deletes 2015-03-10 16:59:34 -05:00
CannibalVox
af0d1450a4 SMP crash on rift creation 2015-03-10 13:57:11 -05:00
CannibalVox
0c70b0760b This event appeared to be unnecessary and was jacking up SSP 2015-03-10 13:44:00 -05:00
CannibalVox
8d282cb021 Decided to actually plug in the network. idea copyright olloth 2015 2015-03-10 13:13:26 -05:00
CannibalVox
43e67bdbd3 Don't crash server on startup trying to use sounds 2015-03-10 10:48:36 -05:00
CannibalVox
585b0685d0 Fixed a lot of WAILA weirdness 2015-03-10 10:36:39 -05:00
CannibalVox
e5af4f5964 Fixed some keyhole texture case sensitivity thing- also let's not use the
build output resources folder as a dumping ground for textures, thanks.
2015-03-10 09:39:14 -05:00
CannibalVox
8073ee6a32 Localize ALL THE THINGS! 2015-03-10 08:57:08 -05:00
CannibalVox
6aeed2c0e5 Fix version 2015-03-10 05:50:49 -05:00