Lift

585k Downloads

Elevator generation returned a null object when installing mods with hiddenBlock

KKyang opened this issue · 10 comments

commented

I get this message if I enable Railcraft's hiddenBlock or any mod using isAirBlock() function in MCPC+.

[INFO] [Lift] Elevator generation returned a null object. Please report circumstances that generated this error.

MCPC version: mcpc-plus-1.6.2-R0.2-forge836-B56
Lift version: 41

commented

Something is being reported as a forge block. Make sure the base blocks are vanilla iron blocks.

commented

Sorry I miss read the issue. I'll look into it but I'm not going to put that much effort into fixing forge stupidities

commented

Anything new on this issue.

I add this to the forum comments. thought i might add it here as well.
Is there anyway around the forge issue? Maybe use your own block?

Trying to get Lift v 41 working in 1.6.2 but all i get from the server console is "Elevator generator returned a null object"

I have both floors created correctly as per USAGE. still nothing?? :(

Using MCPC-Plus_1.6.2-R1.1-forge871-B97 Forge 9.10.1.871 Java 1.7 FML 6.2.62.871
UPDATE:

I did some testing and found block X473 (as far as my tests show) is any block that is not correct. This includes air, dirt, cobblestone, stone... Also even diamond and iron blocks are referred to as X473.
UPDATE 2:

Using the debug option, when checking the lift, while standing on the iron block at the base. i get the following line. Floor scan reports: | 429 6 347 of type x473

429 is my X axis, 6 is my Y, and 347 is my Z (at my feet) which would refer to the iron block. So as far as i can tell without trolling through the Lift code, every block is being referred to as x473.

I also checked every config file and there is no mention of x473.

commented

Sorry about the lack of update. I got a new job and have been quite busy with it.

Any block that starts with X is a forge mod block. The big question is which mod is adding this block and why is mcpc+ reporting normal blocks as x473.

If you have the free time and the will could you see if mcpc+, with no forge mods, still spews x473?

I should hopefully have time soon to add a manual overide to the config so certain block ids can be ignored.

commented

Only forge use x473. This block is used by mods like Railcraft, which can track the train position.
Of course I can just change x473 to 0 to turn it off in the config of the mods using x473, and Lift will work normally but mods using x473 will lost its function of tracking blocks.

Only spews x473 when hiddenBlock function is enabled by the mods using it.

commented

Ok. The issue is that the bukkit api is reporting normal vanilla blocks as this forge tracker block. My hunch is that this is the mcpc+ team's domain.

commented

Can you type in /lift in the lift and post the results that are pit in the
logs?
On Sep 6, 2013 1:24 AM, "KKyang" [email protected] wrote:

I get this message if I enable Railcraft's hiddenBlock or any mod using
isAirBlock() function in MCPC+.

[INFO] [Lift] Elevator generation returned a null object. Please report
circumstances that generated this error.


Reply to this email directly or view it on GitHubhttps://github.com//issues/105
.

commented

It says:

Starting scan
Not a valid base block type: X473
Options are: (IRON_BLOCK=0.5)

commented

Please open a separate issue for this.

I still get this error in craftbukkit 172 dev 2970. sometimes it shows up, here 4 times.
I am using craftbook.

[11:37:08 INFO]: [Lift] Redstone elevator generation returned a null object. Please report circumstances that generated this error.
[11:37:09 INFO]: [Lift] Redstone elevator generation returned a null object. Please report circumstances that generated this error.
[11:37:10 INFO]: [Lift] Redstone elevator generation returned a null object. Please report circumstances that generated this error.
[11:37:11 INFO]: [Lift] Redstone elevator generation returned a null object. Please report circumstances that generated this error.

commented

"The issue you are having is exceptionally likely to be due to Railcraft's tracking block (visible with the goggles as the tracking aura), you can disable it by setting block.hidden to 0 in Railcraft's config. The default ID of this block is 473."