4263 Commits

Author SHA1 Message Date
UnknownShadow200
5f5614bd0d in updater, try to start process with 'mono' prefix first
Fixes updater not being able to start mcgalaxy again after updating when running under wine
2020-08-12 22:10:34 +10:00
UnknownShadow200
675dce9b94 Fix updating not working when running mono through wine (Thanks arydev) 2020-08-12 21:16:06 +10:00
UnknownShadow200
17b5aeb883 fix being able to see hidden players in /alive and /infected in ZS (thanks fam0r) 2020-08-10 23:54:42 +10:00
UnknownShadow200
3efe82b29f Remove throw ArgumentNullExceptions in fCraft map gen 2020-08-08 13:45:12 +10:00
UnknownShadow200
2753f9aa85 Move incrementing player's total messages into Chat class to make the behaviour of Chat.MessageChat more obvious 2020-08-07 11:42:49 +10:00
UnknownShadow200
856d59bb3e Remove chatrooms, they were used very rarely anymore, and team chat/map only chat provides similar functionality anyways 2020-08-06 23:11:24 +10:00
UnknownShadow200
3165057336 Make PlayerData.Apply -> public ApplyTo 2020-08-06 12:22:01 +10:00
UnknownShadow200
3e8764d141 Add OnGettingCanSee event too 2020-08-01 22:45:33 +10:00
UnknownShadow200
3be4601ee5 Add event for when getting whether a player can see an entity 2020-08-01 21:41:24 +10:00
UnknownShadow200
ea115da1f8 Use CanSee instead of CanSeeEntity for tab list, that way you don't disappear from tab list in ref mode or when going invisible in ZS 2020-08-01 19:02:58 +10:00
UnknownShadow200
662f907a6b Entities.CanSee -> p.CanSee 2020-08-01 18:55:34 +10:00
UnknownShadow200
35f4a6d29a Fix being able to use /team to spam (X was muted) messages 2020-07-28 08:59:16 +10:00
UnknownShadow200
3dd0d22f18 Make Y in /write 3 blocks wide instead of 5 (Thanks Arvid) 2020-07-25 23:22:02 +10:00
123DMWM
757e007a77 Update /ping all
Shorten the wording to fit it all on one line.
2020-07-24 11:08:07 +10:00
123DMWM
1c363c77fb Update /ping all format
Makes it a bit more human readable.
2020-07-24 11:08:07 +10:00
UnknownShadow200
816d52b6ad Release 1.9.2.4 2020-07-24 09:30:05 +10:00
UnknownShadow200
94e97a12d1 Also log LoaderExceptions for ReflectionTypeLoadException exceptions 2020-07-14 13:49:20 +10:00
UnknownShadow200
abe43b75e1 Fix if you do portal/mb show on map without any portals/mbs, an entry gets added to error logs about missing SQL table 2020-07-12 14:27:31 +10:00
UnknownShadow200
afd011f768 Release 1.9.2.3 1.9.2.3 2020-07-11 10:32:01 +10:00
SpiralP
7bb7119d33
Custom Models v2 (#541)
* Custom Models v2
allows for more modifiers and more animations per part

* anims now use a specified axis

* remove default value for a,b,c,d
2020-07-07 18:53:08 +10:00
UnknownShadow200
824db6fa0b Make p.Extensions public (mainly for plugins to add their own) 2020-07-05 22:12:58 +10:00
UnknownShadow200
b168063f08 Add OnSendingModelEvent event, fix changing /model during ZS changing model to other players 2020-06-28 22:41:07 +10:00
UnknownShadow200
250a435db3 Entites.UpdateModel -> entity.UpdateModel 2020-06-28 22:01:59 +10:00
SpiralP
15122aaebe
Custom Models (#537)
* wip custom models

* nameY and bounds stuff

* bobbing, pushes, usesHumanSkin

* parsing of json from blockbench

* heady

* body parts

* fix reference comment

* check part max limit

* update newtonsoft.json

* example of storing custommodel

* loading bbmodel and ccmodel files

* handle visibility toggle, warn for untextured/autouv cubes

* don't use template strings
old people ruling the world

* add hideFirstPersonArm, uScale, vScale

* pull u/vScale from bbmodel

* write raw floats

* maybe fix inflate, remove autouv notice
autouv isn't used for box style

* mirroring support

* rename ext to CustomModels, add RemoveModel packet type

* fix mirroring

* use scary unsafe unk's WriteF32

* send a ChangeModel packet after DefineModel for each entity with the defined model

* some chat command work

* store pixel sizes in ccmodel

* better StoredCustomModel impls

* fixes

* case-insensitive dicts

* spin anim, animModifier new packet field

* spin in blockbench name with anim modifier

* add OnBeforeChangeModelEvent, send custom models only if needed, and remove them when no longer needed

* tell other people to remove your model if you leave their map

* add update all models logic

* fix

* implement upload, use caseless everywhere

* add extra reserved bytes to packet

* undo custom self changes

* make Packet.MaxCustomModelParts public

* remove AABBF32

* split parts into own packet, send all uv coords instead of boxdesc

* undo self changes

* fix indents

* update to use firstPersonArm on CustomModelPart

* OOP

* undo specific plugin changes

* remove BoxDesc

* move CustomModel classes to own file

Co-authored-by: Goodlyay <zackxv7@yahoo.com>
2020-06-25 11:06:18 +10:00
UnknownShadow200
21f8ed4cef
Merge pull request #539 from SpiralP/master
let map change messages show in Local Chat maps
2020-06-25 10:51:16 +10:00
SpiralP
b1b44b4bf4 let map change messages show in Local Chat maps
and only show if joining/leaving the specific local-chat map
2020-06-24 17:50:01 -07:00
UnknownShadow200
6508dc3fca Simplify OnBuyCommand for economy items 2020-06-23 21:48:09 +10:00
UnknownShadow200
02663729ae Make items purchasing code more consistent 2020-06-23 21:35:28 +10:00
UnknownShadow200
52253a7b26 Make /eat an economy item, so price can be configured 2020-06-23 12:10:40 +10:00
Goodlyay
c7b557a0a0 Remove comma from "/whois" skin field
Allows you to click the link if it's a skin and work properly
2020-06-21 23:22:32 -07:00
UnknownShadow200
a5c9eb45e1 Obsolete PlayerExtList.Add/AddOrReplace 2020-06-21 13:51:48 +10:00
UnknownShadow200
fb4745e8fc Obsolete PlayerList.AddUnique 2020-06-21 13:30:19 +10:00
UnknownShadow200
aac7b7c99b Add /lb alias for /line (For fCraft compatibility), remove '/bs' shortcut for /blockspeed (as if anyone even used it) 2020-06-18 22:23:21 +10:00
UnknownShadow200
3fbb77c470 Remove /devs and add mcgalaxy webpage into /sinfo 2020-06-18 22:13:24 +10:00
UnknownShadow200
0a6ef6d772 Parse shortimespan instead of integer seconds in /shutdown (Thanks 123DMWM) 2020-06-18 00:11:00 +10:00
UnknownShadow200
c03528ff5d Fix it to not error so much 2020-06-16 23:58:48 +10:00
UnknownShadow200
cb26d3c9e2 Add incredibly hacky and broken secure websocket code behind SECURE_WEBSOCKETS 2020-06-16 23:02:40 +10:00
UnknownShadow200
235eb3cdfd Add comments to BlockQueue 2020-06-15 22:18:42 +10:00
UnknownShadow200
0c30e2a2e0 Fix being unable to /os map add if there are already 'default realm map names' that exist, but you aren't actually the realm owner of them 2020-06-14 22:43:23 +10:00
UnknownShadow200
58cabbcee7 Release 1.9.2.2 1.9.2.2 2020-06-14 19:48:56 +10:00
UnknownShadow200
f0fa637529 Fix chat message packets using player entity ID instead of CPE message ID. Major whoops 2020-06-14 19:45:25 +10:00
UnknownShadow200
6b83f56b1e Plugin.Load should take path instead of name 2020-06-14 19:41:38 +10:00
UnknownShadow200
3aac7112c9 Server.VersionString --> Server.Version 2020-06-14 19:29:05 +10:00
UnknownShadow200
62786f36aa Allow chaning Server.SoftwareNameVersioned too
This is software name that appears in server list, and when you join with CPE enabled
2020-06-14 19:25:08 +10:00
UnknownShadow200
961cf05972 Release 1.9.2.1 2020-06-14 13:59:07 +10:00
UnknownShadow200
03b56bd1b3 Add a few more env presets (Thanks Goodly) 2020-06-14 13:47:56 +10:00
UnknownShadow200
5af87aae0f Cleanup EnvPreset code and split it out of CmdEnvironment 2020-06-13 20:44:36 +10:00
UnknownShadow200
d1ac0e9f07 Fix p.Message calls that expand to over 62 lines throwing an exception 2020-06-13 16:22:45 +10:00
UnknownShadow200
0a380c1731 ZoneMark should be allowed in museums 2020-06-11 20:05:45 +10:00
UnknownShadow200
cee0ef96b9 Add ClampPos method to Level class, instead of duplicating the logic in 3 places 2020-06-08 00:25:22 +10:00