Tyrsis / SE-Community-Mod-API

Space Engineers Community Modding API
GNU Lesser General Public License v3.0
23 stars 11 forks source link

More cleanup #50

Closed dodexahedron closed 9 years ago

dodexahedron commented 9 years ago

This is almost entirely cleanup. The only potentially externally-visible change in this set is the fact that I got rid of a custom exception class which really wasn't adding anything of value. I also stole the auto-version text template from the essentials plugin and put it in here, so the versioning will be handled automatically for the revision number.

dodexahedron commented 9 years ago

Just some more cleanup and documentation.

dodexahedron commented 9 years ago

Going to clean up the BatteryBlockEntity and CockpitEntity classes, next.

rogeriocamorim commented 9 years ago

how can i get your SEServerExtender.exe?

dodexahedron commented 9 years ago

Now for a little work on ServerNetworkManager. I'll post a build of this after I'm done.

dodexahedron commented 9 years ago

Now some work on LandingGearEntity

dodexahedron commented 9 years ago

Alright. I'm done for tonight. I'm going to release version 0.3.1.31 in binary form on my fork.

dodexahedron commented 9 years ago

Merged most recent changes

dodexahedron commented 9 years ago

Binaries can be downloaded at https://github.com/dodexahedron/SE-Community-Mod-API/releases/tag/v0.3.1.31-alpha

dodexahedron commented 9 years ago

My most recent commit, which will be pushed shortly, changes the version numbers dramatically. Why? Right now, it's impossible to know which version of SESE works with which version of SE. The new versioning I put in uses the version number from SE as the first three numbers, and then has its own revision number at the end to differentiate each build.

For example, this week's patch build of SE is 1.68.6, so SESE would be 1.68.6.35, since 35 was the next build number. Any SESE version 1.68.6.* would be compatible with SE 1.68.6, with limited or no compatibility with other versions of SE.

Unless someone comes up with a better idea, I'm going to keep that up for the future.

joshuataylor commented 9 years ago

:+1:

dodexahedron commented 9 years ago

Also, can these please get pulled (here and Essentials)? It's getting to be quite the pile of files to re-merge the same way every single time,

dodexahedron commented 9 years ago

Version 1.68.6.45 will be released in binary form shortly on my fork.

dodexahedron commented 9 years ago

Get it here: https://github.com/dodexahedron/SE-Community-Mod-API/releases/tag/v1.68.6.45-alpha

dodexahedron commented 9 years ago

Binary release of updated version available here: https://github.com/dodexahedron/SE-Community-Mod-API/releases/tag/v1.68.8.47-alpha

dodexahedron commented 9 years ago

I've added a minor (but extremely useful) feature. SESE now has a button to repair a CubeGrid or CubeGridBlock, which sets buildpercent and integritypercent to 1 on the selected entity (in the case of a block) or all child entities (in the case of a grid). Binary release is available on my fork.

Devlah commented 9 years ago

Decided to test this out on my server. It doesn't seem to be able to load the plugins (Essentials and SEMOTD). Aaaand, using the repair function crashed the server. :/

McyD commented 9 years ago

Had the same issue yesterday, seems plugins have to be updated to work. As Tyrsis's essentials does not load, but dodexahedron's does.

Devlah commented 9 years ago

I REALLY like the idea of this function, so I hope a merge is coming. Also, the version naming convention makes sense as well.

dodexahedron commented 9 years ago

@McyD @Devlah yes, if you use my fork, you have to use my fork of Essentials, as well, as there are breaking changes in the underlying code.

dodexahedron commented 9 years ago

This is really going to start diverging a lot faster, now, since I'm working on new features at this point. Are you planning to merge this or should I just keep doing what I'm doing independently?

dodexahedron commented 9 years ago

Ok I rebased this at your last commit and squashed some of the commits, so you have a lot less to look at if you want to analyze each commit.