Coder Social home page Coder Social logo

openglider's People

Contributors

acgaming avatar gr8pefish avatar therandomlabs avatar upcraftlp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

openglider's Issues

Null Pointer Exception in OpenGlider while connecting to modded server

This crash in OpenGlider happened while connecting to a server for the first time. On the client side, the crash log shows:

[B#491] 2019/10/26 17:53:14 [INFO]  // I feel sad now :(
[B#491] 2019/10/26 17:53:14 [INFO]  
[B#491] 2019/10/26 17:53:14 [INFO]  Time: 2019-10-26 17:53:14 EDT
[B#491] 2019/10/26 17:53:14 [INFO]  Description: Error executing task
[B#491] 2019/10/26 17:53:14 [INFO]  
[B#491] 2019/10/26 17:53:14 [INFO]  java.util.concurrent.ExecutionException: java.lang.NullPointerException
[B#491] 2019/10/26 17:53:14 [INFO]      at java.util.concurrent.FutureTask.report(Unknown Source)
[B#491] 2019/10/26 17:53:14 [INFO]      at java.util.concurrent.FutureTask.get(Unknown Source)
[B#491] 2019/10/26 17:53:14 [INFO]      at net.minecraft.util.Util.runTask(SourceFile:531)
[B#491] 2019/10/26 17:53:14 [INFO]      at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1088)
[B#491] 2019/10/26 17:53:14 [INFO]      at net.minecraft.client.Minecraft.run(Minecraft.java:3942)
[B#491] 2019/10/26 17:53:14 [INFO]      at net.minecraft.client.main.Main.main(SourceFile:123)
[B#491] 2019/10/26 17:53:14 [INFO]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[B#491] 2019/10/26 17:53:14 [INFO]      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[B#491] 2019/10/26 17:53:14 [INFO]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[B#491] 2019/10/26 17:53:14 [INFO]      at java.lang.reflect.Method.invoke(Unknown Source)
[B#491] 2019/10/26 17:53:14 [INFO]      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[B#491] 2019/10/26 17:53:14 [INFO]      at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[B#491] 2019/10/26 17:53:14 [INFO]  Caused by: java.lang.NullPointerException
[B#491] 2019/10/26 17:53:14 [INFO]      at gr8pefish.openglider.client.proxy.ClientProxy.getClientGliderCapability(ClientProxy.java:50)
[B#491] 2019/10/26 17:53:14 [INFO]      at gr8pefish.openglider.common.network.PacketSyncGliderDataToClient$Handler.lambda$onMessage$0(PacketSyncGliderDataToClient.java:39)
[B#491] 2019/10/26 17:53:14 [INFO]      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[B#491] 2019/10/26 17:53:14 [INFO]      at java.util.concurrent.FutureTask.run(Unknown Source)
[B#491] 2019/10/26 17:53:14 [INFO]      at net.minecraft.util.Util.runTask(SourceFile:529)
[B#491] 2019/10/26 17:53:14 [INFO]      ... 9 more

On the server side, the log showed:

[17:53:14] [Server thread/INFO] [minecraft/NetHandlerPlayServer]: PLAYER lost connection: Internal Exception: io.netty.handler.codec.EncoderException: java.io.IOException: Can't serialize unregistered packet

Complete log: https://gist.github.com/syntaxaire/abadcc3b9ff2ca52dc01a6fc19926b10

Open gliders, 1.12. Glider in literally every category.

Issue Description:

Glider is found in every category, even in the "Delete item" slot.
http://prntscr.com/fzbr2c
http://prntscr.com/fzbrqr
http://prntscr.com/fzbrta
http://prntscr.com/fzbrva
http://prntscr.com/fzbryw

Steps to reproduce (important):

  1. Go into a creative mode game with the mod installed.
  2. Open the creative inventory.
  3. Chose a category.
  4. Scroll until you find the hang glider items.
  5. Repeat for all other categories.
    ...

Affected Versions (Do not use "latest". Forge version is nice, but not usually necessary.):

  • OpenGlider: 1.0.0
  • Minecraft: 1.12
  • Forge: 1.12-14.21.1.2420

Client Error

Issue Description:

Not sure anymore, happened some days ago. I think it didn't crash, but just showed me that an error occured with Open Glider in the top right corner.

What happens:

https://paste.dimdev.org/cufilemawe.mccrash


Affected Versions:

  • OpenGlider: 1.1.0
  • Minecraft: 1.12.2
  • Forge: 14.23.5.2796

[1.10.2-0.2.2] Glider causes weird lighting in F1 mode.

Issue Description:

When using a glider while GUI is hidden (F1), lighting is very messy.

What happens:

Lighting is heavily darkened in caves, near torches and otherwise. Turns the room completely black when no lighting is present.

Video -
https://u.nya.is/otitbz.mp4

What you expected to happen:

Normal lighting

Steps to reproduce (important):

  1. Go into a dark area
  2. Press F1 (hide the GUI)
  3. Attempt to use glider

Affected Versions (Do not use "latest"):

  • OpenGlider: 0.2.2
  • Minecraft: 0.2.2
  • Forge: 12.18.3.2221

Sorry about the old version, but I expect this didn't get magically fixed in 0.2.3 by fixing an NPE :/

Adding OpenGlider support to mod, incomplete API code?

Heya!

I'm trying to add support for OpenGliders to my small clientside mod, https://minecraft.curseforge.com/projects/thirdperson-everything,

and I saw you offer an actual API, however it appears that a file is missing from github (You're lib package), is that on purpose? How does one use your API then?

I just got back after a hiatus and been easing back into modding, haven't done much for the recent versions, so I'm sorry if I'm missing something obvious!

Thanks!

[Suggestion] Glider repair cost should not require leather

As copied from Curse comments:

I like the idea of requiring repair for the glider over time, but I'm just iffy on the idea of the costs raising each time you use an anvil.

Vanilla balances this with the Elytra by letting you apply the mending enchant. Currently this doesn't work for the Glider. (Sidenote: The enchant can actually be applied, but it has no effect).

The counter-argument I suppose is that raising anvil costs is the vanilla way, and it adds balance. However I'd argue that many mods have adopted the anvil for other purposes, so it wouldn't be that out of place.

As for balance, leather is still needed either way, it's just a different amount. At the point in time that you'd be making your second pair, it's unlikely to have any real impact on balance.

However, the reason I'd prefer it be a non-raising cost is because I don't want to be afraid to repair my glider when it's not low on durability. It becomes a problem of needing to wait to get the most use out of your limited repairs, which I find to be more frustrating than interesting from a game design perspective.

So if possible, I'd suggest removing the anvil costs increasing on repair. I think it would be a beneficial change.

[1.10.2 - 1.0.0] Other players don't see equipped glider

Not a modpack. List of mods:
Advanced Solar Panels-4.0.4.jar
ArsMagica2-1.10.2-1.5.0-18.jar
astralsorcery-1.4.4.jar
BiblioCraft[v2.2.4][MC1.10.2].jar
CoralReef-1.2.jar
CraftTweaker-1.10.2-3.0.26.jar
CyclopsCore-1.9.4-0.10.6.jar
dailies-1.10.2-6.jar
EverlastingAbilities-1.9.4-1.2.4.jar
gravestone-1.5.13.jar
industrialcraft-2-2.6.245-ex110.jar
InventoryTweaks-1.61-58.jar
ironchest-1.10.2-7.0.15.804.jar
jei_1.10.2-3.14.7.420.jar
liteloader-1.10.2-release.jar
Mantle-1.10.2-1.1.5.jar
missing_pieces-1.10.2-4.3.0.jar
mod_voxelMap_1.6.23_for_1.10.2.litemod
MouseTweaks-2.8-mc1.10.2.jar
OpenGlider-1.10.2-1.0.0.jar
OptiFine_1.10.2_HD_U_E3.jar
RoguelikeDungeons-1.10.2-1.5.9.jar
Waila-1.7.0-B3_1.9.4.jar
Wawla-1.10.2-2.3.2.215.jar
WTF-Expedition-WorldGen_1.10.2_-v1.5.1.jar
[1.9.4]Mo' Villages-1.5.2.jar

Issue Description:

Other players don't see a glider when it's equippied

What happens:

When someone "holds" glider (chooses it on a toolbar) other players see it. But when it's equipped or someone flies with it equipped, other players don't see the glider.

What you expected to happen:

I expect other players to see how I'm using the glider and being cool.

Steps to reproduce (important):

  1. Equip a glider
  2. Fly
  3. Ask someone else to look at you
    ...

Affected Versions (Do not use "latest". Forge version is nice, but not usually necessary.):

  • OpenGlider: 1.0.0
  • Minecraft: 1.10.2
  • Forge: 1.10.2-12.18.3.2185

Closing the server with your glider equipped will brick it permanently:

Closing the server with your glider equipped will brick it permanently. Relevant stacktrace:

java.lang.NullPointerException: Unexpected error
at gr8pefish.openglider.client.event.ClientEventHandler.renderGliderFirstPersonPerspective(ClientEventHandler.java:119)
at gr8pefish.openglider.client.event.ClientEventHandler.onRenderOverlay(ClientEventHandler.java:100)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1271_ClientEventHandler_onRenderOverlay_RenderWorldLastEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
at net.minecraftforge.client.ForgeHooksClient.dispatchRenderLast(ForgeHooksClient.java:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at Reflector.callVoid(Reflector.java:512)
at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1875)
at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1555)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1334)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
at net.minecraft.client.main.Main.main(SourceFile:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

Request for OpenComputers Hover Boots compatibility

Hey there. We all love this mod on our small server and use it constantly, but recently ran into an issue: When OpenComputers' hover boots are equipped, possibly due to the little bit of extra lift, if the hang glider is used the player will be kicked out of the server by the flight protection ("flight is not enabled...").

Do you think it would be possible to add compatiblity for this item, that is, the hover boots? It's fine if people can fly farther as long as the boots have charge.

[Feature Request] Dimensional Configuration or Blacklist

Issue Description: Not an issue, mod works great!

While using this mod in a modpack with Galacticraft (and Extra Planets, More Planets) in it, I had hoped to find that wind modifiers worked from dimension to dimension, so that the glider would not work on the moon or Mercury, or less efficient on Mars. Maybe even more efficient on Jupiter?

Anyways, I was hoping to have a dimensional configuration that allows a percentage of efficiency on the gliders, such as entering 0.5 on Mars and the player will fall twice as fast there, have half the wind effect, etc. Or possible setting it to 0 and the player will just fall as normal.

Mod always reports there is an update available

Issue Description:

Note: If this bug occurs in a modpack, please report this to the modpack author. Otherwise, delete this line and add your description here. If this is a feature request, this template does not apply to you. Just delete everything.

What happens:

Mod always reports there is an update available

What you expected to happen:

Mod should not report that there is update available were there are none.

Steps to reproduce (important):

  1. Load OpenGlider-1.10.2-0.2.3 in MC 1.10.2
  2. Run MC
  3. Click Mods Button

Affected Versions (Do not use "latest"):

  • OpenGlider: OpenGlider-1.10.2-0.2.3
  • Minecraft: 1.10.2
  • Forge: 12.18.3.2281

image

Player health issue possibly?

Player health is knocked down to 1 heart or 1/2 heart when landing normal no collisions other than grass blocks

Issue Description: Hang Glider in hand player hits ground loses almost all health

What happens: The injury to player sound is activated and player hearts go to 1/2 - 1

What you expected to happen: Player does not lose health, only maybe hunger or thirst etc

Steps to reproduce (important):

  1. Jump from height above 62 (water level nominal height)
  2. glide to land based at 60-63 height while doing cirlces
  3. land while turning - maybe the issue?
    ...

Affected Versions (Do not use "latest". Forge version is nice, but not usually necessary.):

  • OpenGlider: 1.12.1-1.1.0
  • Minecraft: 1.12.2
  • Forge: 1.12.2 14.23.4.2705

NOTE: I know the version of glider is 1.12.1 but it works great and is the one that downloaded for me when I chose version :) Maybe there is a 1.12.2 that I missed?
AWESOME MOD btw!!!!!!! Will consider donating :)

Lang File Isn't Loading

Sorry, but this one is simple enough I think I can skip the bug boilerplate info.

This applies to Open Glider v0.2.0. You've named the localization file EN_US.lang, and as such it's not being loaded. It needs to be named en_US.lang instead.

Glider sprite reanimates when taking damage ticks

Issue Description:

The glider will trigger the re-equip animation upon taking damage. This is often necessary to update any information about the item when its metadata changes, but I believe it is unnecessary in this case. You should be able to override shouldCauseReequipAnimation to create a more fluid gliding animation.

Example here.

What happens:

The glider redraws on each damage tick.

What you expected to happen:

The glider should be a smooth animation, and only the damage bar itself should update.

Steps to reproduce (important):

  1. Fly either glider in survival mode.
  2. Upon taking durability damage, the glider will trigger the re-equip animation.

Affected Versions (Do not use "latest"):

  • OpenGlider: 1.10.2-0.2.0
  • Minecraft: 1.10.2
  • Forge: 12.18.3.2221

Erratic rotation in inventory menu while flying

Issue Description:

The hang glider displays incorrectly in the inventory (E) menu while flying.

What happens:

The player portrait displayed in the inventory menu shows the glider rotating erratically, changing directions numerous times per second.

What you expected to happen:

The glider to either be fixed in place, or respond to player rotation.

Steps to reproduce (important):

  1. Equip hang glider
  2. Start flying
  3. Open inventory menu

Affected Versions (Do not use "latest"):

  • OpenGlider: 1.10.2-0.1.2
  • Minecraft: 1.10.2
  • Forge: 12.18.3.2185

[Feature Request] Makeshift Glider for early game

I would like to suggest a stick and paper makeshift glider for early game on skyblocks and skylands maps which would have very low durability and slightly less control. Basically, just something to get from one place to another in a pinch when nothing else is available.

Glider bar is not always visible

Issue Description:

The hang glider bar does not always display correct in normal camera view (not F5).

What happens:

In certain circumstances, the glider bar will disappear and instead the player's hands (holding the glider) will appear instead.

2017-01-03_15 17 28

I believe this is caused by the durability bar dropping and causing the item to re-render.

What you expected to happen:

The glider bar should display consistently.

Steps to reproduce (important):

  1. Spawn in a fresh glider.
  2. Be in survival mode (so durability will drop).
  3. Equip and use the glider until durability drains (about 5 seconds).

Affected Versions (Do not use "latest"):

  • OpenGlider: 1.10.2-0.1.2
  • Minecraft: 1.10.2
  • Forge: 12.18.3.2185

Gliding in a boat crashes

Note that I am using a modpack, but that this interaction should be easily recreatable with just openglider and forge.

https://paste.dimdev.org/pomicuwosu.mccrash

Issue Description:

Gliding and boats do not mix

What happens:

Game will crash (vanillafix caught the crash, but anyhoo)

What you expected to happen:

glider shouldn't deploy in boats, or, gliders should work in boats.

Steps to reproduce (important):

  1. in boat.
  2. deploy glider.
  3. faff around on land until game crashes

Affected Versions (Do not use "latest". Forge version is nice, but not usually necessary.):

  • OpenGlider: OpenGlider-1.12.1-1.1.0.jar
  • Minecraft: 1.12.2
  • Forge: forge-1.12.2-14.23.5.2808.jar

Deployed glider hides other item sprites

Issue Description:

When a glider is deployed (bars showing as sprite), and you mouse over another item, that item's sprite doesn't show unless the glider has been undeployed (right-clicked).

Steps to reproduce (important):

  1. Right click glider
  2. Scroll wheel 1 item over
  3. Notice how item sprite doesn't appear

Affected Versions (Do not use "latest"):

  • OpenGlider: 0.2.3
  • Minecraft: 1.10.2

Vanilla sprint feature still works in air, adjusts FOV regardless of fast flying status

Issue Description:

Pressing while flying the glider adjusts your FOV, presumably due to Vanilla mechanics. This should be removed while flying, or its FOV change should be synced up with fast flying mode (which uses the Sneak key).

What happens:

FOV can be set while flying.

What you expected to happen:

FOV should be set in sync with fast flying mode to simulate the sensation of speed, and not tied to an arbitrary button press.

Steps to reproduce (important):

  1. Equip hang glider
  2. Start flying
  3. Use Sprint key. FOV will be adjusted, yet speed is unchanged.

Affected Versions (Do not use "latest"):

  • OpenGlider: 1.10.2-0.1.2
  • Minecraft: 1.10.2
  • Forge: 12.18.3.2185

Note: This bug was rewritten to more accurately describe its behavior. I mistakenly believed the FOV change was a feature of this mod at first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.