Boshaw's various client mods

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

Moderator: Phades

Boshaw's various client mods

Postby boshaw » Wed Sep 07, 2011 9:02 pm

Compiled Haven.jar Distributions
DEFAULT client port: [latest: 12/1/2011]
http://odditown.taggedup.com/boshaw/Default%20Port/haven.jar
ENDER client port: [latest: 12/8/2011]
http://odditown.taggedup.com/boshaw/Ender%20Port/haven.jar
Note: Ender port was tested using HnH_Ender_x64.zip + HnH_Ender_upd_13.07.11.zip (you can find these on enders thread)

Extras: REQUIRED [latest: 12/8/2011]
-> http://odditown.taggedup.com/boshaw/Full/misc.rar

Full Folders: (i won't reupdate any of these folders so just download the latest haven.jar for said client and replace it in the folder to make it updated)
You'll want to delete the windows.conf and key.conf as well to reset the settings
default [x32]: http://odditown.taggedup.com/boshaw/Ful ... nt_x32.rar
default [x64]: http://odditown.taggedup.com/boshaw/Ful ... nt_x64.rar
ender port[x32]: http://odditown.taggedup.com/boshaw/Ful ... rt_x32.rar
ender port[x64]: http://odditown.taggedup.com/boshaw/Ful ... rt_x64.rar


Source Distributions
DEFAULT client port:
https://github.com/boshaw/haven-client
ENDER client port:
https://github.com/boshaw/Haven-and-Hea ... d-by-Ender

Java Errors
-Exception in thread "main" java.lang.UnsupportedClassVersionError
--> I compile with JDK 7 which means you'll need JRE 7 to run the ports, you can download JRE 7 @ http://www.oracle.com/technetwork/java/ ... 32155.html

Organization of the Code
-First off all of my code is compiled into the default client that way no matter what custom client you use you should be able to merge my code into yours without the end of some random custom client only feature
-I upload all the stuff on github for easy access to the user so you can easily see the changes needed,etc which then you can just copy/paste or edit into your own custom clients
--All mods are first compiled via default client source code then ported to ender, both are tested. If you find a random bug please do submit it to me.
-Each mod will typically have its own post with links to default github first then once i port to ender i'll update with those links as well.

Requests
-I'm bored, i will take mod requests if you ask for them either through pm or via forum post.
--I will limit to what i choose to accept for requests either do to me not wanting to release something or not having a good approach at the moment.

Also some of you may realize by what i post in my code will easily lead to another mod and if so i'll probably post that other mod ie: movement via minimap clearly shows how to do basic movement via key which i also discussed in another thread awhile back so you'll probably see me post up key movement mod sooner or later depending on when i get the time to put it together in a presentable fashion.

Current Mod List
Permanent Lighting Mod
->Ports: Ender + default
Extended Avatar viewer
->Ports: Ender + default
Minimap movement
->Ports: Ender + default
Key Movement
->Link: viewtopic.php?f=27&t=21981#p268202
->Ports: Ender + default
Key Binding Mod
->Link: viewtopic.php?f=27&t=21981&start=10#p268320
->Ports: Ender + default
1st UI Enhancement
->Link: viewtopic.php?f=27&t=21981&p=269266#p269266
->Ports: Ender + default
Key Movement Update 1
->Link: viewtopic.php?f=27&t=21981&start=30#p271591
->ports: Ender + default
List Gear Based On Seen Hearthlings
-> Link: viewtopic.php?f=27&t=21981&start=40#p288986
->ports: Ender + default
Curio Enhanced Tooltip
->Link: viewtopic.php?f=27&t=21981&p=293412#p293412
->ports: Ender + default

=Permanent Lighting Mod=
In case any of you actually play without nightvision here's a permanent light fix.

http://pastebin.com/L91bRczn => ILM.java
http://pastebin.com/KAQYtqiM => Lumin.java [removed unused variable]
or
github links:
https://github.com/boshaw/haven-client/ ... 2a1e45868a
https://github.com/boshaw/haven-client/ ... 1cb745947b [fix from previous]
https://github.com/boshaw/haven-client/ ... e240226e33 [yet another error prevention for this, needed for default. worked on my custom without its need but just to make sure]
https://github.com/boshaw/haven-client/ ... 47b36751d6 [more prevention]

Following objects give off light no matter what:
-torchpost
-fire
-candelabrum
-People objects emit the same size light as a fire

The object listed except for player obj gives off the same amount of light as it would if lit or it should pm me if one is wrong.
If anyone cares and wants to make it so animals light up or other objects you can pm me or something and i'll update the files for you.
As of right now i can't do tile lighting, maybe later i'll come back with source for tile lighting depending on how many people actually like this.

=Extended Avatar viewer=
https://github.com/boshaw/haven-client/ ... 14e6b6e32c

Extended Avatar viewer is just a extra neat thing where if you right click any avatar a new semi-window will pop up showing the full display of the char along with rendered gear on him (also includes kaka,body,etc)
right click to close it or just hit the exit button
ex:Image

=Minimap movement=
This mod lets you move your player around via right clicking the minimap which will find then do some nice conversions to get a tile position to tell the server to move to.
https://github.com/boshaw/haven-client/ ... b0d45ba84e [MapView.java has a runtime error in this one, fix below]
https://github.com/boshaw/haven-client/ ... bcc2e49dee [The fix for MapView.java]
https://github.com/boshaw/haven-client/ ... 6dcbffb63c [small fix for possibility of pcoord being null]
Last edited by boshaw on Sun Dec 18, 2011 4:04 am, edited 26 times in total.
User avatar
boshaw
 
Posts: 1538
Joined: Tue Jun 01, 2010 10:22 pm

Re: Various client mods

Postby Phades » Thu Sep 08, 2011 5:47 am

Topic modified for clarity. Stickied.
-Diadems of Odditown
Odditown loves you no matter what.
User avatar
Phades
 
Posts: 352
Joined: Tue Jan 25, 2011 9:07 pm

Key Movement

Postby boshaw » Thu Sep 08, 2011 5:05 pm

=Key Movement=
https://github.com/boshaw/haven-client/ ... 4c04cd8160

This mod actually does two things:added the ability to move your character via the arrow keys and I redid the RootWidget's type function which will allow me to continue with my future plans for custom keybinding of these keys which will be in some later update.

Some things to note about Key Movement:
Use arrow keys to make it work
-Up = north
-Down = south
-left = west
-right = east
It'll tell your character to move 5 tiles ahead in 'x' direction (later i'll add in ability to change this, but for now it's 5)
You can just hold in the arrow key for nonstop movement in said direction and you can cancel out said movement simply by either: clicking on screen or using another arrow key to go in different direction.
Note: this does not affect your mouse at all.


Future planned mods as of right now:

-Custom keybinding window for RootWidget's type function which is why i set it up like it's
-Auto-run (in the sense of hit a key and it runs/walks/sprints in said direction without any other clicks. I would release it now but i want to test it a bit more and get a good system for it)
-Various UI mods allowing color/transparency changes so you can fit it to your own style
-added transparency values for objects on the map along with tiles (that way even if you aren't one of those special people with those special haven-res's you can still get that transparent object like they have)
User avatar
boshaw
 
Posts: 1538
Joined: Tue Jun 01, 2010 10:22 pm

Re: Boshaw's various client mods

Postby SacreDoom » Thu Sep 08, 2011 8:39 pm

Gotta love this.
User avatar
SacreDoom
 
Posts: 2590
Joined: Tue Apr 06, 2010 3:14 pm

Re: Boshaw's various client mods

Postby Radenk » Thu Sep 08, 2011 11:02 pm

Excuse my ignorance, but how do you implement all of this into Ender's client?
User avatar
Radenk
 
Posts: 252
Joined: Mon Feb 07, 2011 11:38 am

Re: Boshaw's various client mods

Postby Chrismas » Fri Sep 09, 2011 1:46 am

Can you put the nightvision client into the regular client?
Image Image
User avatar
Chrismas
 
Posts: 575
Joined: Tue Jul 19, 2011 10:37 pm
Location: Australia

Re: Boshaw's various client mods

Postby boshaw » Fri Sep 09, 2011 1:59 am

Radenk wrote:Excuse my ignorance, but how do you implement all of this into Ender's client?

1. goto each github link
2. copy/paste in all the green lines (lines added to the file) to your source file
delete the red lines (only if it applies to your soruce)
3. compile via ant or w/e you use
4. use dat haven.jar in your folder

eventually my github client will be able to use via runtime which im slowing working at but i don't plan to have certain features like you would find in enders for my own reasons which is why i didn't just pull from ender nor my own custom and display the mods through them.

anyway Key Binding mod will be up in an hour or so, i just need to finish up a bit then i'll have to document a bit in one file so people will understand how to use it for their own clients.

Chrismas wrote:Can you put the nightvision client into the regular client?

I very well could, but I do not wish to tbh. I'd rather improve on my lighting mod through tile lighting and maybe better object lighting and change the mask color (which is actually bugged to begin with whenever you change your screen resolution)

Unless i change my mind you probably won't see Nightvision, x-ray or hide added in my github client. x-ray and hide i plan to replace via my object/tile transparency mod (which will be in a day or two, could release it now in a basic from but i'd like to improve it to be very customizable rather than transparency for ALL objects at once)

Now that Key Binding is done i'll probably be working on auto-run which won't take long while at the same time improving the lighting issue with the overall mask,etc.
User avatar
boshaw
 
Posts: 1538
Joined: Tue Jun 01, 2010 10:22 pm

Re: Boshaw's various client mods

Postby teengames » Fri Sep 09, 2011 2:10 am

Are any of your mods for the default if not when you have some spare time could you make it work (ik you just posted this but this is my kind of "formal request" because you sounded unsure to do it)?
Ty
User avatar
teengames
 
Posts: 163
Joined: Sun Apr 10, 2011 10:38 pm
Location: Rome

Re: Boshaw's various client mods

Postby boshaw » Fri Sep 09, 2011 2:29 am

teengames wrote:Are any of your mods for the default if not when you have some spare time could you make it work (ik you just posted this but this is my kind of "formal request" because you sounded unsure to do it)?
Ty


What do you mean by that? All of my mods on the github are coded into the default clients source code pulled from dolda2000 github (https://github.com/dolda2000/haven-client). If you do clone my git you'll be able to compile it via 'ant jar' then copy the correct files into your folder to run it.

So far the only runtime error is dealing with a missing Resource which i have not spent any time on trying to fix, other than that if you were to compile/run the client all these mods work in it.

When i release Key Binding i'll also upload my own copy of my current compiled folder so you can just download and run that to test the stuff. I'll also look into fixing this resource thing which is probably just a matter of versions being wrong.
User avatar
boshaw
 
Posts: 1538
Joined: Tue Jun 01, 2010 10:22 pm

Re: Boshaw's various client mods

Postby teengames » Fri Sep 09, 2011 2:43 am

So to put it in the technically challanged language:
I copy the git
Compile it
Place it in a folder (what folder like what should the path be)
...and then it gets foggy is the compiled file a .jar or what kind of file would it be
Do I still launch the autohaven.jnlp and the mod is built in to run?

Ty again and can you also make the default resizeable/zoomable :D
User avatar
teengames
 
Posts: 163
Joined: Sun Apr 10, 2011 10:38 pm
Location: Rome

Next

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 9 guests