[TP] Stargate v0.7.9.10 - The Bukkit port. A portal plugin

Stargate Support and Discussion
Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby Drakia » November 24th, 2011, 8:02 am

godsyn, please post your full server log, from the looks of it you're running an outdated Stargate build.

Joy
 
Posts: 20
Joined: November 24th, 2011, 2:01 pm

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby Joy » November 24th, 2011, 2:04 pm

Also seeing above error frequently ^^

Code: Select all
22:05:08 [SEVERE] Could not pass event PLAYER_PORTAL to Stargate
java.lang.NullPointerException
        at net.TheDgtl.Stargate.Stargate$pListener.onPlayerPortal(Stargate.java:632)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:323)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:340)
        at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:281)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:306)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)


Version:
2011-11-24 21:48:25 [INFO] Stargate v.0.7.0 is enabled.

godsyn
 
Posts: 5
Joined: November 24th, 2011, 12:15 am

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby godsyn » November 24th, 2011, 4:21 pm

Code: Select all
18:07:36 [INFO] Stargate v.0.7.0 is enabled.
18:07:36 [INFO] [Stargate] Loaded 1 gate layouts
>version
18:15:51 [INFO] This server is running Craftbukkit version git-Bukkit-1.8.1-R4-17-g04a14f7-b1493jnks (MC: 1.0.0) (Implementing API version 1.0.0-R1-SNAPSHOT)

Same version as Joy.
Steps to reproduce:
  • Load Stargate 0.7.0.
  • Create portal to The End (spawn 120s, place in proper end portal formation).
  • Spawn 381s and place them in the 120s.
  • End portal is created.
  • Step in end portal... above error; no TP occurs.
Expected behavior: TP to The End without error.

Attached server.log containing stargate startup, and point of error.
Code: Select all
2011-11-24 01:37:55 [INFO] Starting minecraft server version 1.0.0
2011-11-24 01:37:55 [INFO] Loading properties
2011-11-24 01:37:55 [INFO] Starting Minecraft server on *:25565
2011-11-24 01:37:56 [INFO] This server is running Craftbukkit version git-Bukkit-1.8.1-R4-17-g04a14f7-b1493jnks (MC: 1.0.0) (
Implementing API version 1.0.0-R1-SNAPSHOT)
2011-11-24 01:37:59 [INFO] Stargate v.0.7.0 is enabled.
2011-11-24 01:37:59 [INFO] [Stargate] Loaded 1 gate layouts
2011-11-24 01:37:59 [INFO] [Stargate] {worldpve} Loaded 2 stargates with 0 set as always-on
2011-11-24 01:37:59 [INFO] [Stargate] {worldpve_nether} No stargates for world
2011-11-24 01:38:01 [INFO] [Stargate] {worldbeta} Loaded 1 stargates with 0 set as always-on
2011-11-24 01:38:02 [INFO] [Stargate] Sign on line 1 doesn't exist. BlockType = NETHERRACK
2011-11-24 01:38:02 [INFO] [Stargate] {worldnether} Loaded 0 stargates with 0 set as always-on
2011-11-24 01:38:02 [INFO] [Stargate] Sign on line 1 doesn't exist. BlockType = AIR
2011-11-24 01:38:02 [INFO] [Stargate] {worldmine} Loaded 0 stargates with 0 set as always-on
2011-11-24 01:38:03 [INFO] [Stargate] {worldred} No stargates for world
2011-11-24 01:38:04 [INFO] [Stargate] {worldalpha} No stargates for world
2011-11-24 01:38:04 [INFO] [Stargate] {worldcreative} Loaded 1 stargates with 0 set as always-on
2011-11-24 01:38:05 [INFO] Done (0.791s)! For help, type "help" or "?"
2011-11-24 01:56:55 [SEVERE] Could not pass event PLAYER_PORTAL to Stargate
java.lang.NullPointerException
        at net.TheDgtl.Stargate.Stargate$pListener.onPlayerPortal(Stargate.java:632)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:323)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:321)
        at net.minecraft.server.EntityPlayer.e(EntityPlayer.java:332)
        at net.minecraft.server.BlockEnderPortal.a(SourceFile:55)
        at org.getspout.spout.block.mcblock.CustomContainer.a(CustomContainer.java:321)
        at net.minecraft.server.Entity.move(Entity.java:609)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:331)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:660)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:546)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:516)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Any non-stargate or server version information has been removed.

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby Drakia » November 24th, 2011, 6:34 pm

Will look into this tonight. Looks like Bukkit isn't handling Ender portals properly and is returning a null from world.

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby Drakia » November 24th, 2011, 9:11 pm

[Version 0.7.1]
- Added destMemory option
- Switched to sign.update() as Bukkit implemented my fix
- Threw in a catch for a null from location for portal events

This adds a destMemory option as requested by theman, and should catch that NPE, which appears to be caused by Bukkit not giving a from location to Ender portal warp events (I couldn't replicate the error in the latest Bukkit build). This build requires a build of CraftBukkit 1494 or later as that is when the sign update fix was implemented.

User avatar
Inscrutable
 
Posts: 117
Joined: October 28th, 2011, 5:00 pm
Location: Fortress of Evil, Tasmania, Australia

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby Inscrutable » November 25th, 2011, 12:41 am

Hey godsyn - It looks like you are running Spout on a MC1.0.0 Server.
Not a great idea - Spout isn't updated yet afaik, and will probably break things. Unless I missed something...
Regulation Brass Ones, Guv'nor

godsyn
 
Posts: 5
Joined: November 24th, 2011, 12:15 am

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby godsyn » November 25th, 2011, 4:04 am

Inscrutable: dev version. Thanks for the concern.

vyserage
 
Posts: 4
Joined: November 25th, 2011, 7:48 pm

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby vyserage » November 25th, 2011, 7:50 pm

Is this where the stargate plugin is kept updated? its freaking outrageous that they blocked the creator (or the person keeping this plugin alive) off of bukkit! Completely outrageous!

vyserage
 
Posts: 4
Joined: November 25th, 2011, 7:48 pm

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby vyserage » November 25th, 2011, 8:08 pm

Drakia wrote:[Version 0.7.1]
- Added destMemory option
- Switched to sign.update() as Bukkit implemented my fix
- Threw in a catch for a null from location for portal events

This adds a destMemory option as requested by theman, and should catch that NPE, which appears to be caused by Bukkit not giving a from location to Ender portal warp events (I couldn't replicate the error in the latest Bukkit build). This build requires a build of CraftBukkit 1494 or later as that is when the sign update fix was implemented.



i cant find where to download this version for MC bukkit 1.0 im only seeing 0.7.0 available for download. Am i looking in wrong spot?

User avatar
ZeroPoke
 
Posts: 103
Joined: October 26th, 2011, 9:38 pm

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby ZeroPoke » November 25th, 2011, 8:31 pm

vyserage wrote:
Drakia wrote:[Version 0.7.1]
- Added destMemory option
- Switched to sign.update() as Bukkit implemented my fix
- Threw in a catch for a null from location for portal events

This adds a destMemory option as requested by theman, and should catch that NPE, which appears to be caused by Bukkit not giving a from location to Ender portal warp events (I couldn't replicate the error in the latest Bukkit build). This build requires a build of CraftBukkit 1494 or later as that is when the sign update fix was implemented.



i cant find where to download this version for MC bukkit 1.0 im only seeing 0.7.0 available for download. Am i looking in wrong spot?


Drakia just nubed it up and didnt update his topic but the download is up to date.
Image

vyserage
 
Posts: 4
Joined: November 25th, 2011, 7:48 pm

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby vyserage » November 25th, 2011, 8:48 pm

oooh haha. In that case perhaps i just have the wrong unnofficial version of bukkit which is why signs arent updating? The stargate sign doesnt update and my dynamicshop plugin signs dont update.

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [TP] Stargate v0.7.0 - The Bukkit port. A portal plugin

Postby Drakia » November 25th, 2011, 9:40 pm

vyserage wrote:oooh haha. In that case perhaps i just have the wrong unnofficial version of bukkit which is why signs arent updating? The stargate sign doesnt update and my dynamicshop plugin signs dont update.

CraftBukkit 1494 or later is required (I recommend staying with the latest CB build if you're running a 1.0.0 server) for signs to update :) I'll fix that first post too ;)

Joy
 
Posts: 20
Joined: November 24th, 2011, 2:01 pm

Re: [TP] Stargate v0.7.1 - The Bukkit port. A portal plugin

Postby Joy » November 26th, 2011, 11:36 am

The issue is gone, thanks :)

I guess you scrapped ico5 support entirely? Still using that as ico6 and register gave me issues when I tried :P I guess I need to look into them again...

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [TP] Stargate v0.7.1 - The Bukkit port. A portal plugin

Postby Drakia » November 26th, 2011, 11:40 am

Yeah, iConomy support was replaced with Register support, as Register supports all economy plugins with no extra work on my end.

vyserage
 
Posts: 4
Joined: November 25th, 2011, 7:48 pm

Re: [TP] Stargate v0.7.1 - The Bukkit port. A portal plugin

Postby vyserage » November 27th, 2011, 3:26 am

any idea where i can get craft bukkit 1494? i cant find it :P

User avatar
Inscrutable
 
Posts: 117
Joined: October 28th, 2011, 5:00 pm
Location: Fortress of Evil, Tasmania, Australia

Re: [TP] Stargate v0.7.1 - The Bukkit port. A portal plugin

Postby Inscrutable » November 27th, 2011, 4:44 am

All Craftbukkit builds, past and present: http://ci.bukkit.org/job/dev-CraftBukkit/
Regulation Brass Ones, Guv'nor

User avatar
andrewkm
 
Posts: 36
Joined: October 29th, 2011, 9:34 pm

Re: [TP] Stargate v0.7.1 - The Bukkit port. A portal plugin

Postby andrewkm » November 27th, 2011, 7:32 pm

Using 0.7.1
As OP and * permission using PEX build 290 cannot remove the stargate sign by punching to destroy a gate.
However using the creative stick plugin, i can remove the sign, and destroy the gate...
Not sure whos bug this is :P
Image

Drakia
Site Admin
 
Posts: 553
Joined: October 26th, 2011, 8:20 pm

Re: [TP] Stargate v0.7.1 - The Bukkit port. A portal plugin

Postby Drakia » November 27th, 2011, 8:22 pm

andrewkm, oops, my fault, totally forgot to check for game mode :) New build uploaded

[Version 0.7.2]
- Make it so you can still destroy gates in Survival mode

Joy
 
Posts: 20
Joined: November 24th, 2011, 2:01 pm

Re: [TP] Stargate v0.7.1 - The Bukkit port. A portal plugin

Postby Joy » November 28th, 2011, 1:44 am

Drakia wrote:Yeah, iConomy support was replaced with Register support, as Register supports all economy plugins with no extra work on my end.


As Register seems to be a bit on the dying side, I'd like to skip that step and move to:
http://dev.bukkit.org/server-mods/vault/

Have you seen it, could you support it? :P

User avatar
andrewkm
 
Posts: 36
Joined: October 29th, 2011, 9:34 pm

Re: [TP] Stargate v0.7.2 - The Bukkit port. A portal plugin

Postby andrewkm » November 28th, 2011, 8:29 am

As always thank you very much Drakia :D
Image

PreviousNext

Return to Stargate

Who is online

Users browsing this forum: No registered users