Apoc Lite

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: Modding the Ender client

Postby DeadlyPencil » Tue Jan 28, 2014 1:14 am

fallout wrote:
DeadlyPencil wrote:iam still using version 4 at the moment but i wanted to mention that my autodrinker stopped working after along time of playing. not really sure what caused it, but turning it off and on did not reset it. the only thing i can think of is i manually refilled the flask a couple times. would picking up buckets out of the inventory screw up the script? i didn't want to log out and log back in because i had a hemp buff so i didn't test if that would fix it.

Auto drinking seems to only work if the inventory is opened. Possible issue there?


cant remember but seeing how I didn't know that it could very well have been the issue. ill reply if it ever happens again.

Couple of bug to report in version 5.1:
hide idol doesn't seem to work.
combat stats don't appear above peoples head (I turned on cross and highlight but I don't see any other combat options to turn on)

Suggestions:
ability to turn off the auto saving of maps. the folder gets absolutely huge after awhile
DeadlyPencil
 
Posts: 920
Joined: Sat Nov 21, 2009 12:17 am

Re: Modding the Ender client

Postby DeadlyPencil » Tue Jan 28, 2014 3:31 am

yup happened again. my inventory was open the hole time.

the only thing I could see in my inventory was that water in 1 bucket that it was drawing from was 1L and the flask was at 2L. maybe there is a bug with filling the flask to full would cause the bucket to be empty? I donno I was able to get it working again this time though by taking it out of my Num bar and then turning it off and on.
DeadlyPencil
 
Posts: 920
Joined: Sat Nov 21, 2009 12:17 am

Re: Modding the Ender client

Postby ZeggyZon » Tue Jan 28, 2014 6:42 am

I get errors trying to run this after a freshly installed enders client using enders update.jar. One the first run the window comes up and immediately closes. Trying a second time the window opens and allows me to log in but closes and I get the error below.
Code: Select all
C:\HnH modified client by ender modified by xcom>java -Xms256m -Xmx512m -jar hav
en.jar moltke.seatribe.se pause
Exception in thread "Haven main thread" java.lang.ExceptionInInitializerError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at haven.Widget.initbardas(Widget.java:69)
        at haven.RemoteUI.<init>(RemoteUI.java:35)
        at haven.MainFrame.run(MainFrame.java:217)
        at haven.MainFrame.main2(MainFrame.java:290)
        at haven.MainFrame.access$100(MainFrame.java:54)
        at haven.MainFrame$6.run(MainFrame.java:333)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Delayed error in resource gfx/hud/fbtn (v
-1), from forking source backed by HTTP res source (http://www.havenandhearth.co
m/res/)
        at haven.Resource.checkerr(Resource.java:1133)
        at haven.Resource.layer(Resource.java:1016)
        at haven.Resource.loadimg(Resource.java:1143)
        at haven.Window.<clinit>(Window.java:49)
        ... 9 more
Caused by: haven.Resource$LoadException: Load error in resource gfx/hud/fbtn(v-1
), from forking source backed by HTTP res source (http://www.havenandhearth.com/
res/)
        at haven.Resource$Loader.handle(Resource.java:476)
        at haven.Resource$Loader.run(Resource.java:450)
        ... 1 more
Caused by: java.io.FileNotFoundException: http://www.havenandhearth.com/res/gfx/
hud/fbtn.res
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at haven.Resource$HttpSource.get(Resource.java:405)
        at haven.Resource$TeeSource.get(Resource.java:300)
        at haven.Resource$Loader.handle(Resource.java:470)
        ... 2 more

This is with win7 x64 and java version "1.7.0_51" . I have no issues with enders or union client they run fine.

There are 2 links on the first page to the "latest version" the first is EnderEditedXcom.rar the second is haven.rar under 5.1 Update: 2014 25jan. The haven.rar has the newest files in the archive so i assume thats the latest version. Both give the same error.

Thanks ZZ

Edit: Tried it on another pc with win7 x64 and get the same results.
ZeggyZon
 
Posts: 194
Joined: Tue Sep 20, 2011 7:53 am

Re: Modding the Ender client

Postby Xcom » Tue Jan 28, 2014 8:14 am

I suspect that this is due to the update Ender made to his client. There are a few missing res files in the new version causing issues. The crash points to a missing res file called "gfx/hud/fbtn". It might help if you update your client with the MvGulic Res collection found in this link. Instructions are found in the link but what you simply need to do is to download the file and paste it into your folder.


@ DeadlyPencil It sounds like one of those super rare instances where the flask drinker used to crash on me. I will try to reproduce the bug and see where it stops working. An attempt to repair the flask drinking might be to right click the flask in the hotbar and have it reconnect. Please check if that might help.


I have a smaller update coming in soon moving all hotkeys to an optional layout so you can choose the key combos as some have pointed out that Ctrl + B connects to the Kin window. Will try and fix the idol hiding as well as a few other things.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Modding the Ender client

Postby ZeggyZon » Tue Jan 28, 2014 9:41 am

Xcom wrote:I suspect that this is due to the update Ender made to his client. There are a few missing res files in the new version causing issues. The crash points to a missing res file called "gfx/hud/fbtn". It might help if you update your client with the MvGulic Res collection found in this link. Instructions are found in the link but what you simply need to do is to download the file and paste it into your folder.


Ok I got it to load but it wasn't because of missing files that were in MvGuliks haven-res file it was because it wanted a bunch of files from client-res.jar. I had to take files out of this jar file and place them into the res/ folder. I have no idea if this fix is stable and It could crash on me at any moment.

ZZ
ZeggyZon
 
Posts: 194
Joined: Tue Sep 20, 2011 7:53 am

Re: Modding the Ender client

Postby Xcom » Tue Jan 28, 2014 10:45 am

This points to the bugs related to the Ender client. I should read up on how others fixed this. There are a whole slue of res files that no longer are there in his latest update that can at some point crash when the client needs them.


Update: I looked at it a bit. It seams you did what had to be done. Simply by extracting it the updating files could go into there corresponding locations and fix what needed to be done.

I might have to recode everything with this new update or even better contact Ender about imply adding the edits into his client directly. Right now I'm unsure if any edits I make will be stable enough anymore.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Modding the Ender client

Postby borka » Tue Jan 28, 2014 12:31 pm

Update: the "missing" button res is in latest Ender client-res and in the right path - wonder if he just had a not updated or a corrupt file ...

If you look at Ender source at Github there's no change at resources in the last 2 years - and the build file grabs from there for the client-res.jar
only change is
build.xml wrote:fixed client-res.jar not included into classpath
8 days ago

and haven-res.jat is grabbed from Seatribe server anyways aswell as resources that are missing in there ... so prolly it's a good idea to swap that with mvguliks collection

Personally i would want Ender client to stay "plain" - while i appreciate every modders improvements and forks from Ender -i think there should still be a "Quasi Standard" custom client without all those extras besides default client which is only Ender atm ...
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Modding the Ender client

Postby DeadlyPencil » Fri Jan 31, 2014 2:49 am

Xcom wrote:I suspect that this is due to the update Ender made to his client. There are a few missing res files in the new version causing issues. The crash points to a missing res file called "gfx/hud/fbtn". It might help if you update your client with the MvGulic Res collection found in this link. Instructions are found in the link but what you simply need to do is to download the file and paste it into your folder.


@ DeadlyPencil It sounds like one of those super rare instances where the flask drinker used to crash on me. I will try to reproduce the bug and see where it stops working. An attempt to repair the flask drinking might be to right click the flask in the hotbar and have it reconnect. Please check if that might help.


I have a smaller update coming in soon moving all hotkeys to an optional layout so you can choose the key combos as some have pointed out that Ctrl + B connects to the Kin window. Will try and fix the idol hiding as well as a few other things.


right clicking removing the flask and trying to get it to go back in doens't help. turning it off and on does not cause the flask to go into my numpad bar. manually clicking the flask into the numpad spot doesn't help either. it happens fairly frequently with me, i have it happen every day, sometimes it takes longer to happen though. iam also using it more than most would so other people might not run into it as frequently.

btw i dont know if i like the idea single click attack. i like being able to click on the ground, then reengage a different target without having to fumble around trying to remember to press shift. thats what of the reasons why i haven't updated my version.
DeadlyPencil
 
Posts: 920
Joined: Sat Nov 21, 2009 12:17 am

Re: Modding the Ender client

Postby Xcom » Fri Jan 31, 2014 8:43 am

DeadlyPencil wrote:right clicking removing the flask and trying to get it to go back in doens't help. turning it off and on does not cause the flask to go into my numpad bar. manually clicking the flask into the numpad spot doesn't help either. it happens fairly frequently with me, i have it happen every day, sometimes it takes longer to happen though. iam also using it more than most would so other people might not run into it as frequently.

btw i dont know if i like the idea single click attack. i like being able to click on the ground, then reengage a different target without having to fumble around trying to remember to press shift. thats what of the reasons why i haven't updated my version.


The single click attack is toggle able.

Also by any chance can you check weather the flask is full or empty when the script fails to work. If the script tries to drink from an empty flask or if its failing to fill the flask. I have been trying to track this bug down but no success.
User avatar
Xcom
 
Posts: 1105
Joined: Wed Dec 14, 2011 1:43 pm

Re: Modding the Ender client

Postby Molblin » Sun Feb 02, 2014 6:40 pm

Is there a shortcut to bring up the map?
I have seem to lost it...
User avatar
Molblin
 
Posts: 30
Joined: Thu Mar 04, 2010 3:09 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Claude [Bot] and 1 guest