Custom client by Latikai, building on Ender's client

Forum for game modifications and custom clients.

Custom client by Latikai, building on Ender's client

Postby Kandarim » Thu Sep 12, 2013 1:11 am

Hello one and all!

I have been working on a custom client which is an extension of Ender's client for a while now. I have added several (in my mind) improvements, and now I have decided the time has come for a public release!

Installation

You can now use the jnlp launcher to install my client! It is compatible with Ender's launcher: the files will only be downloaded once between the two launchers (on update), and my jar file will be named lsalem.jar rather than salem.jar. This means that you can mix the use of both launchers arbitrarily for your comfort! If the jnlp file is not working well for you, the jar might be an option.

java issues
More recent versions of Java do not allowed self-signed java webstart applications to run. Long story short, you'll have to add specific sites to the exception list of your java installation.
For this client, that site is http://donnessime.github.io (FYI, Ender's client is at http://enderwiggin.github.io).

Updater issues
Kandarim wrote:You can run the client from the commandline like this (you can easily dump it in a .bat):
Code: Select all
start "" "C:\Program Files\Java\jre8\bin\javaw.exe" -jar lsalem.jar -U http://game.salemthegame.com/res/ game.salemthegame.com

From the Salem/bin/ directory. Make sure that the direct java link is accurate!


Feedback
An easy way for me to keep track of bug reports and/or feature requests is for you to post an issue on the github project page:
https://github.com/DonnEssime/Custom-Salem/issues
I will be moderating these myself, so don't feel bad about posting there: it's much more likely to stick around than a post in this thread, and I'm less likely to forget about it.

What changed (outdated, but all still true)

Changes you will always notice, if you look:

Chat notifications will now show when there are unread messages in chat channels. It works in all channels except for the system chat.
Image

Crashfixes. Most importantly, the crash when clicking on the chat (notably, url's) and the crash when teleporting somewhere. Out of memory errors have not been fixed, but I have not encountered these yet myself.

Alphabetical ordering of the characters is now an option in the character selection screen. For those of us that have a bit too many alts. There is also a textbox for further filtering of your alts! The ordering choice (alphabetical/by last login) will be respected by the filtered list.

Image

The client will remember the visibility settings of the various claim types and the homestead pointers.

The client will not render anything when it is minimized. You'll never notice this directly, but it does lower the CPU usage of minimized clients drastically.

Image

Waste claims are now much more visible. You shouldn't ever miss one now :)

You can press ctrl+N for brighter mines and houses. You won't need a torch anymore just to see where you're going! Side effect: also brightens the darkness, so it might not be as obvious exactly how deep in the darkness you are from the darkness of the screen.

There is a new button in the main menu, that will allow you to walk towards your homestead. It won't allow you to locate it accurately through the ctrl+Q locator, however. It is the (currently ugly) button between the homestead pointer toggle and the heightmap toggle.

Image

The client will log chat messages to you, which will end up in "C:\Users\<account>\Salem\logs\<character>\<channel name>\" or similar folders on other operating systems.

Hotkeys are now customizeable to some degree: you can bind certain console commands to key-combinations involving ctrl+shift+<one single letter>.

The camera will start farther from you when you log in than on the other clients. I was constantly scrolling backwards after each log in previously, personally.

Optional changes:

These toggles are found in a new tab of the option menu, and all default to off.

Enable 1x1 field fix
This will render all crops as a single instance in the middle of the field. Notably helpful for reducing cotton lag.
Includes a crop scaling slider because the single instance might not be easily visible. Careful for exploding pumpkins! Reload your area after changing these settings, for example by entering/leaving a house or teleporting to boston and back.
Image

Show gob paths
Similar to the option in Ender's client in haven, this will render the paths of all moving entities on your screen in fancy green lines. These are overlayed over all other terrain and so on, so they will not hug 3D landscapes. They work fine in my opinion, though. Particularily handy for animal hunting (it will actually draw branch trajectories for argopelters, so you can evade those more easily)!
Image

Always show purity percentage/multiplier
What it says on the tin. Doesn't force you to keep your modifier keys (shift, alt, ctrl) pressed down to see purity percentages or multiplier (percentage or multiplier depending on your settings in "General")

Laptop controls
Experimental laptop controls, which should allow camera control without a mousewheel. Not tested very well, so some things might not be possible with it.

Raidermode trees
All trees are rendered as smaller versions of themselves for visibility. Requires a reload of the area to toggle.
Image

Raidermode braziers
Braziers in hot pink!
Image

Alternate prospecting
Frustrated of the randomness of the prospecting arrow, I set out to improve it. The single original arrow is replaced by three arrows. The two red arrows show the interval of possible directions the closest mine is. The green arrow shows the middle of that interval. Follow the green arrow.
Image

Enable tracking on log-in
Simple, tracking will always be enabled as soon as you log-in. Note that this will most likely not work yet for the area you start in (which will need to be reloaded as if you toggled tracking manually).

Radar Config tab
Toggle the visibility of every group in your radar config file separately without messing with the radar file itself. The changes will not be remembered and are simply meant for temporary adjustments. Your radar.xml will be unaffected and it can be reloaded as ever through ":radar reload" to reset your visibility settings.

Limit framerate on unfocused windows
Limits the target FPS of the clients to 10 rather than 50 when a client is not focused (the active window in your OS). Should ease your CPU's load a fair bit.

Always face the primary target
Will take tiny (1-pixel) steps toward your primary target (the top of your list of enemies) when you are not looking at them and you are not walking somewhere else. This is mainly just a test whether I'd be able to do this, and I was!

Remarks on usage
If you use my client, please pm me crash reports like this (the selected text is what I want), preferably with some words on the circumstances:
Image

Of course, I will try to help out on other issues you encounter as well. Please post with those here.

Note that crashes you encounter while using my client should probably not go the Bugs & Technicalities. Post them here or pm them to me, and I will bump them along if applicable.

I am open to suggestions for future updates. Feel free to post them here!

Credits
Of course, very big credits to EnderWiggin for actually creating the custom client! My changes are minor compared to the work he performed on the custom client, and I have happily used his client for a long time.

The 1x1 field fix code which I got from Alloin, usernm or borka. No-one seems to remember.
Edit: The credits for the 1x1 fix go to Trojanz, a.k.a. Chiprel on the forums.

My testers, mainly people from Arcadia for general testing. Binks in particular for testing the client in situations i'm too much of a coward for myself as well as suggesting some of the more awesome features.

Source code
The source code for the client is available at my github as a fork from Ender's client. This also means that I will continue to incorporate future changes by him.

Changelogs

Changelogs will, from now on, be found in the client's changelog, as well as be posted here as replies. All changes should find their way to the list in this post. If there's something missing, please let me know.
Last edited by Kandarim on Sun Jan 29, 2017 5:57 pm, edited 26 times in total.
I have neither the crayons nor the time to explain it to you.
Fiduciani wrote:You can trust us. We're the good guys.
User avatar
Kandarim
Customer
 
Posts: 5199
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom client by Latikai, building on Ender's client

Postby Claeyt » Thu Sep 12, 2013 1:15 am

My god, an actual fix for crop lag. PRAS.
jorb wrote:(jwhitehorn) you are an ungrateful, spoiled child


As the river rolled over the cliffs, my own laughing joy was drowned out by the roaring deluge of the water. The great cataract of Darwoth's Tears fell over and over endlessly.
Claeyt
 
Posts: 5161
Joined: Mon Dec 24, 2012 4:02 pm

Re: Custom client by Latikai, building on Ender's client

Postby Icon » Thu Sep 12, 2013 1:26 am

Works, and its awesome.. the prospecting tool...just, win.. you need this client
Image
User avatar
Icon
 
Posts: 1675
Joined: Tue May 28, 2013 8:29 pm
Location: Pennsylvania

Re: Custom client by Latikai, building on Ender's client

Postby Wumpe » Thu Sep 12, 2013 1:33 am

WOW nice work. lets make jorb a petition to make this the default client :lol:
User avatar
Wumpe
 
Posts: 94
Joined: Mon Mar 18, 2013 12:12 am
Location: here

Re: Custom client by Latikai, building on Ender's client

Postby Claeyt » Thu Sep 12, 2013 2:56 am

Kandarim wrote:This client might or might not work for people not on roanoke.

:lol: :D :lol: :D :lol: :D :lol: :D :lol:

Just noticed this.
jorb wrote:(jwhitehorn) you are an ungrateful, spoiled child


As the river rolled over the cliffs, my own laughing joy was drowned out by the roaring deluge of the water. The great cataract of Darwoth's Tears fell over and over endlessly.
Claeyt
 
Posts: 5161
Joined: Mon Dec 24, 2012 4:02 pm

Re: Custom client by Latikai, building on Ender's client

Postby Kandarim » Thu Sep 12, 2013 7:26 am

Claeyt wrote:
Kandarim wrote:This client might or might not work for people not on roanoke.

:lol: :D :lol: :D :lol: :D :lol: :D :lol:

Just noticed this.


for clarity: it will work :roll:
I have neither the crayons nor the time to explain it to you.
Fiduciani wrote:You can trust us. We're the good guys.
User avatar
Kandarim
Customer
 
Posts: 5199
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom client by Latikai, building on Ender's client

Postby Thor » Thu Sep 12, 2013 8:46 am

I'm gonna try this when I get home, got some high hopes on this (:
saltmummy wrote:You sad sad little man, my heart weeps for you. Better not go outside or your thin, tissue paper like skin might spontaneously rupture while your fragile sensibilities violently shatter spraying salt and urine all over the street.
User avatar
Thor
 
Posts: 2334
Joined: Wed Jun 12, 2013 10:09 am

Re: Custom client by Latikai, building on Ender's client

Postby Claeyt » Thu Sep 12, 2013 9:50 am

Kandarim wrote:for clarity: it will work :roll:


And here I thought we were special. :D

I've gotta say, the crop lag was so bad for me that I almost couldn't stand it anymore. This client add on saved the game for me. Thanks Latikai.
jorb wrote:(jwhitehorn) you are an ungrateful, spoiled child


As the river rolled over the cliffs, my own laughing joy was drowned out by the roaring deluge of the water. The great cataract of Darwoth's Tears fell over and over endlessly.
Claeyt
 
Posts: 5161
Joined: Mon Dec 24, 2012 4:02 pm

Re: Custom client by Latikai, building on Ender's client

Postby Saladin » Thu Sep 12, 2013 1:01 pm

Kandarim wrote: This client might or might not work for people not on roanoke.


when i lunch my client, it says "connection refused: conect"
is it of the reason I'm on Jamestown? How can I access to this features on the server I play? help please
Saladin
 
Posts: 5
Joined: Tue Aug 20, 2013 8:44 pm

Re: Custom client by Latikai, building on Ender's client

Postby Kandarim » Thu Sep 12, 2013 2:11 pm

Saladin wrote:when i lunch my client, it says "connection refused: conect"
is it of the reason I'm on Jamestown? How can I access to this features on the server I play? help please


aww man, I'd hoped my humour would be accessible to all.
The client does not care what server you are on. Possibly the server was down at that instance, or your firewall blocked the program. I haven't had any other reports about connection issues, though. Note that the client doesn't even know which server you play on yet when you log in! Each character can be on a different server, after all :)
I have neither the crayons nor the time to explain it to you.
Fiduciani wrote:You can trust us. We're the good guys.
User avatar
Kandarim
Customer
 
Posts: 5199
Joined: Mon Jan 21, 2013 4:18 pm

Next

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 1 guest