Mythruna

General Category => Tech Support => Topic started by: Michael on September 07, 2012, 06:31:15 PM



Title: Bug: /climb
Post by: Michael on September 07, 2012, 06:31:15 PM
when you type "/help" it brings up commands, of course. if you type "/help climb" it gives you 4 options to use "none, all, simian, reptilian" if you type either "simian" or "reptilian" it will give you an error and crash your client.

It gave this error message:
Code:
Uncaught exception from thread:Thread[LWJGL Renderer Thread,5,main]
java.lang.RuntimeException: Error calling method:toggleTextEntry
at mythruna.client.KeyMethodAction.callMethod(KeyMethodAction.java:90)
at mythruna.client.KeyMethodAction.onAction(KeyMethodAction.java:99)
at com.jme3.input.InputManager.invokeActions(InputManager.java:168)
at com.jme3.input.InputManager.onKeyEventQueued(InputManager.java:425)
at com.jme3.input.InputManager.processQueue(InputManager.java:799)
at com.jme3.input.InputManager.update(InputManager.java:851)
at com.jme3.app.Application.update(Application.java:605)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:233)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at mythruna.client.KeyMethodAction.callMethod(KeyMethodAction.java:86)
... 11 more
Caused by: groovy.lang.MissingPropertyException: No such property: MaskStrategies for class: Script6
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
at Script6$_run_closure1.doCall(Script6.groovy:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:885)
at groovy.lang.Closure.call(Closure.java:405)
at groovy.lang.Closure.call(Closure.java:418)
at mythruna.script.ShellScript.execute(ShellScript.java:42)
at org.progeeks.tool.console.ShellCommandProcessor.execute(ShellCommandProcessor.java:86)
at org.progeeks.tool.console.Shell.executeCommand(Shell.java:251)
at org.progeeks.tool.console.Shell.execute(Shell.java:232)
at mythruna.client.net.RemoteConsole.execute(RemoteConsole.java:58)
at mythruna.client.shell.DefaultConsole.runCommand(DefaultConsole.java:103)
at mythruna.client.GameAppState.toggleTextEntry(GameAppState.java:565)
... 15 more

Build version:20120627

Memory usage:
Working memory: 55% (231583032/420216832)  VM Max: 48% (231583032/477233152)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    TextureMultisample
    OpenGL20
    OpenGL21
    OpenGL30
    OpenGL31
    OpenGL32
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    GLSL130
    GLSL140
    GLSL150
    VertexTextureFetch
    TextureArray
    TextureBuffer
    FloatTexture
    FloatColorBuffer
    FloatDepthBuffer
    PackedFloatTexture
    SharedExponentTexture
    PackedFloatColorBuffer
    TextureCompressionLATC
    NonPowerOfTwoTextures
    MeshInstancing
    VertexBufferArray

Statistics:
  Vertices = 582818
  Triangles = 314328
  Uniforms = 3301
  Objects = 419
  Shaders (S) = 33
  Shaders (F) = 23
  Shaders (M) = 30
  Textures (S) = 151
  Textures (F) = 71
  Textures (M) = 97
  FrameBuffers (S) = 5
  FrameBuffers (F) = 4
  FrameBuffers (M) = 6
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 600
Renderer = LWJGL-OpenGL2
BitsPerPixel = 24
Fullscreen = false
StencilBits = 0
DepthBits = 24
VSync = false
Frequency = -1
Width = 800
Samples = 0
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:aticfx64
Driver Version:8.17.10.1083
Vendor:ATI Technologies Inc.
Version:4.1.10834 Compatibility Profile Context
Renderer:AMD Radeon HD 6310 Graphics                 
GLSL Ver:4.10


Title: Re: Bug: /climb
Post by: pspeed on September 07, 2012, 09:07:17 PM
Thanks for posting.


Title: Re: Bug: /climb
Post by: Moonkey on September 11, 2012, 04:21:00 PM
Wait, I'm confused by not being told there was different climbing.


Title: Re: Bug: /climb
Post by: Michael on September 11, 2012, 04:45:32 PM
Wait, I'm confused by not being told there was different climbing.

if you get on mythruna and type "/help climb" you will figure it out :P


Title: Re: Bug: /climb
Post by: pspeed on September 11, 2012, 05:30:01 PM
Wait, I'm confused by not being told there was different climbing.

There has always been different climbing since I added the /climb command.  The climbing we have by default is super climbing... none of the races will have that ability.  Reptilians will come close.


Title: Re: Bug: /climb
Post by: Moonkey on September 11, 2012, 06:12:42 PM
Wait, I'm confused by not being told there was different climbing.

There has always been different climbing since I added the /climb command.  The climbing we have by default is super climbing... none of the races will have that ability.  Reptilians will come close.
No climbing Black/White marble!


Title: Re: Bug: /climb
Post by: pspeed on September 11, 2012, 06:49:41 PM
Wait, I'm confused by not being told there was different climbing.

There has always been different climbing since I added the /climb command.  The climbing we have by default is super climbing... none of the races will have that ability.  Reptilians will come close.
No climbing Black/White marble!

Yep.  Or glass.


Title: Re: Bug: /climb
Post by: Michael on September 11, 2012, 07:01:27 PM
we can allow the following climb heights for the 7 races:

human: 2 blocks
elf: 3 blocks
dwarf: 1 blocks
simian: 4 blocks
reptilian: 5 blocks
pantherian: 3 blocks
avian: (not sure, they can fly!)

and for fun, i will put it into groovy scripting:

Code:
blockClimb = [ "Human":2, "Elf":3, "Dwarf":1, "Simian":4, "Reptilian":5, "Pantherian":3 ]

simple ;)


Title: Re: Bug: /climb
Post by: pspeed on September 11, 2012, 07:03:41 PM
It's material based... so it doesn't work that way.

You can currently climb up anything that falls at or below your eye height... just like in real life.


Title: Re: Bug: /climb
Post by: Moonkey on September 11, 2012, 08:01:45 PM
we can allow the following climb heights for the 7 races:

human: 2 blocks
elf: 3 blocks
dwarf: 1 blocks
simian: 4 blocks
reptilian: 5 blocks
pantherian: 3 blocks
avian: (not sure, they can fly!)

and for fun, i will put it into groovy scripting:

Code:
blockClimb = [ "Human":2, "Elf":3, "Dwarf":1, "Simian":4, "Reptilian":5, "Pantherian":3 ]

simple ;)

Considering, that looks exactly like JavaScript only with brackets and extra spaces. Without the ; at the end too.


Title: Re: Bug: /climb
Post by: Michael on September 12, 2012, 02:43:21 PM
that is just a simple groovy array. it is simple, and DOES NOT require semi-colons.


Title: Re: Bug: /climb
Post by: pspeed on September 12, 2012, 05:12:13 PM
JavaScript and Groovy share a lot of syntax elements above what Java already provides.


Title: Re: Bug: /climb
Post by: Moonkey on September 12, 2012, 09:15:44 PM
JavaScript and Groovy share a lot of syntax elements above what Java already provides.
So I could learn the basics easily since I have a general idea of it?


Title: Re: Bug: /climb
Post by: pspeed on September 12, 2012, 09:23:07 PM
JavaScript and Groovy share a lot of syntax elements above what Java already provides.
So I could learn the basics easily since I have a general idea of it?

You'd understand some of what you read... but I don't know if you could write it without some pretty serious tutorial surfing.


Title: Re: Bug: /climb
Post by: Moonkey on September 12, 2012, 09:26:20 PM
JavaScript and Groovy share a lot of syntax elements above what Java already provides.
So I could learn the basics easily since I have a general idea of it?

You'd understand some of what you read... but I don't know if you could write it without some pretty serious tutorial surfing.
Yea, true. Again, this is only java-script so I wouldn't get so far. :)


Title: Re: Bug: /climb
Post by: Michael on September 13, 2012, 01:19:27 PM
JavaScript and Groovy share a lot of syntax elements above what Java already provides.
So I could learn the basics easily since I have a general idea of it?

You'd understand some of what you read... but I don't know if you could write it without some pretty serious tutorial surfing.
Yea, true. Again, this is only java-script so I wouldn't get so far. :)

This has gotten off-topic, but i dont care.

Tutorials on Javascript: http://w3schools.com/ <-- you will find the javascript link easily. but before you learn javascript, they say you need to know HTML and CSS.

Tutorials on Groovy: http://groovy.codehaus.org/Documentation
first you need to download groovy  and install it properly. if you need help on installation you can ask for help from me if you run on windows Vista/7 xD


Title: Re: Bug: /climb
Post by: Moonkey on September 13, 2012, 03:05:04 PM
JavaScript and Groovy share a lot of syntax elements above what Java already provides.
So I could learn the basics easily since I have a general idea of it?

You'd understand some of what you read... but I don't know if you could write it without some pretty serious tutorial surfing.
Yea, true. Again, this is only java-script so I wouldn't get so far. :)

This has gotten off-topic, but i dont care.

Tutorials on Javascript: http://w3schools.com/ <-- you will find the javascript link easily. but before you learn javascript, they say you need to know HTML and CSS.

Tutorials on Groovy: http://groovy.codehaus.org/Documentation
first you need to download groovy  and install it properly. if you need help on installation you can ask for help from me if you run on windows Vista/7 xD

Too bad I have learned Javascript without learning either of those. I taught myself too. I just had to use a mod called CubeX2's Custom Stuff for Minecraft. Basically you make a mod so that you don't need to use development kits or anything. Just making textures, and adding them to the textures list. So far I have made copper ore. :)