Ender Client

Forum for alternative clients, mods & discussions on the same.
User avatar
telum12
Posts: 430
Joined: Mon Mar 12, 2012 10:36 pm

Re: Ender Client

Post by telum12 »

This is what seems like is happening:
1. You're full-on removing the slots when hiding the object
2. AnimFlare.java runs:

Code: Select all

for(RenderTree.Slot slot : slots)
    slot.ostate(st);
}
3. The following line gets triggered becacuse pidx<0 from the removal

Code: Select all

if((parent != null) && (pidx < 0))
    throw(new SlotRemoved(this));
This is not an issue on clients that don't remove the slots on hiding. You may need to figure out where the animation object is and why the slot removal doesn't propagate so it doesn't attempt to update its state during ticks, or change your approach to hiding objects.
MagicManICT wrote:To me, being called a pedo is exactly like being called gay.
Jalpha wrote:She must have been in heat bro. She was literally fanging for it. Literally posting repeatedly in chat, in all caps "DO IT! POST YOUR DICK! THERE'S NO WAY IT'S 7 INCHES!"

How could any hot-blooded male deny such a request under the circumstances.
mvgulik
Posts: 4090
Joined: Fri May 21, 2010 2:29 am

...

Post by mvgulik »

...
Last edited by mvgulik on Wed Jul 17, 2024 7:29 pm, edited 1 time in total.
User avatar
EnderWiggin
Posts: 1156
Joined: Sat Mar 20, 2010 8:23 pm

Re: Ender Client

Post by EnderWiggin »

mvgulik wrote:Crop stage-number colors.

Currently, crops that have 6/6 stages (grapes,hops,pepper), also color (very) green at stage 5/6.
These 3 are all trellis crops ... which, in the case of 4 trellises per tile, can make it a bit awkward at times to spot actually 6/6 cases among the 5/6 stages.

Think it would be nice if, somehow, for those crops green would be limited for that last 6/6 stage only. ... ie: letting stage 5/6 color yellow/yellow-green.
Think it would be nice if stage 5/6 was a little less green.
Maybe use completely different color (purple? cyan?) for fully grown crops?
telum12 wrote:This is what seems like is happening:
1. You're full-on removing the slots when hiding the object
2. AnimFlare.java runs:

Code: Select all

for(RenderTree.Slot slot : slots)
    slot.ostate(st);
}
3. The following line gets triggered becacuse pidx<0 from the removal

Code: Select all

if((parent != null) && (pidx < 0))
    throw(new SlotRemoved(this));
This is not an issue on clients that don't remove the slots on hiding. You may need to figure out where the animation object is and why the slot removal doesn't propagate so it doesn't attempt to update its state during ticks, or change your approach to hiding objects.
Thanks, I'll look into that
mvgulik
Posts: 4090
Joined: Fri May 21, 2010 2:29 am

...

Post by mvgulik »

...
Last edited by mvgulik on Wed Jul 17, 2024 7:28 pm, edited 1 time in total.
Agrik
Posts: 269
Joined: Wed Jan 27, 2016 4:41 pm

Re: Ender Client

Post by Agrik »

EnderWiggin wrote:Maybe use completely different color (purple? cyan?) for fully grown crops?
Green looks right for fully grown crops. Maybe just other colors should be less green (more red?), i.e. have a wider color gap before last stage.
mvgulik
Posts: 4090
Joined: Fri May 21, 2010 2:29 am

...

Post by mvgulik »

...
Last edited by mvgulik on Wed Jul 17, 2024 7:27 pm, edited 1 time in total.
Zaid
Posts: 2
Joined: Fri Dec 31, 2021 2:57 pm

Re: Ender Client

Post by Zaid »

I tried to compile it using ANT, but it keeps failing and sending me this error:

C:\Users\lucas\Downloads\hafen-client-master>ant
Buildfile: C:\Users\lucas\Downloads\hafen-client-master\build.xml

build-env:

res-jar:
[get] Getting: http://www.havenandhearth.com/java/builtin-res.jar
[get] To: C:\Users\lucas\Downloads\hafen-client-master\lib\ext\builtin-res.jar
[get] Error getting http://www.havenandhearth.com/java/builtin-res.jar to C:\Users\lucas\Downloads\hafen-client-master\lib\ext\builtin-res.jar

BUILD FAILED
C:\Users\lucas\Downloads\hafen-client-master\build.xml:154: java.nio.file.NoSuchFileException: C:\Users\lucas\Downloads\hafen-client-master\lib\ext\builtin-res.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:236)
at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
at org.apache.tools.ant.taskdefs.Get$GetThread.downloadFile(Get.java:856)
at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:694)
at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:678)

Total time: 0 seconds
User avatar
telum12
Posts: 430
Joined: Mon Mar 12, 2012 10:36 pm

Re: Ender Client

Post by telum12 »

Zaid wrote:I tried to compile it using ANT, but it keeps failing and sending me this error:

C:\Users\lucas\Downloads\hafen-client-master>ant
Buildfile: C:\Users\lucas\Downloads\hafen-client-master\build.xml

build-env:

res-jar:
[get] Getting: http://www.havenandhearth.com/java/builtin-res.jar
[get] To: C:\Users\lucas\Downloads\hafen-client-master\lib\ext\builtin-res.jar
[get] Error getting http://www.havenandhearth.com/java/builtin-res.jar to C:\Users\lucas\Downloads\hafen-client-master\lib\ext\builtin-res.jar

BUILD FAILED
C:\Users\lucas\Downloads\hafen-client-master\build.xml:154: java.nio.file.NoSuchFileException: C:\Users\lucas\Downloads\hafen-client-master\lib\ext\builtin-res.jar
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:236)
at java.base/java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:484)
at java.base/java.nio.file.Files.newOutputStream(Files.java:228)
at org.apache.tools.ant.taskdefs.Get$GetThread.downloadFile(Get.java:856)
at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:694)
at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:678)

Total time: 0 seconds
Loftar made some changes to the ant file. I have a PR that might work for you (under account surculus12), or you can change fix the build.xml yourself.

That or it's a server issue if the file isn't actually downloading...
MagicManICT wrote:To me, being called a pedo is exactly like being called gay.
Jalpha wrote:She must have been in heat bro. She was literally fanging for it. Literally posting repeatedly in chat, in all caps "DO IT! POST YOUR DICK! THERE'S NO WAY IT'S 7 INCHES!"

How could any hot-blooded male deny such a request under the circumstances.
Zaid
Posts: 2
Joined: Fri Dec 31, 2021 2:57 pm

Re: Ender Client

Post by Zaid »

telum12 wrote:Loftar made some changes to the ant file. I have a PR that might work for you (under account surculus12), or you can change fix the build.xml yourself.

That or it's a server issue if the file isn't actually downloading...
How can I fix the build.xml myself? I'd rather have a compiled version, but I think the .exe file is bound to an account, right?
AlexNT
Posts: 115
Joined: Wed Jun 06, 2018 1:13 am

Re: Ender Client

Post by AlexNT »

I'm trying to run the built hafen.jar from \bin, and it fails without client-res.jar.

Now the build process builds "build/client-res.jar" in \build, but I'm unsure how it is supposed to end up in \bin. And without it the "run" target fails to properly start the client.

I mean, I can change the build to copy the file, but just wanted to check if I'm missing anything?

Return to “The Wizards' Tower”