Optimized client aka Bison grass

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

Re: Optimized client

Postby shubla » Sun Jan 10, 2016 4:54 pm

https://github.com/blog/1547-release-your-software
Look at these indscturions. Dont use some shitty speedy share.
Currently its faster to download source code and then install eclipse and learn to compile that client, than downloading it from "speedy"share
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13043
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Optimized client

Postby aghmed » Sun Jan 10, 2016 5:07 pm

done :)
public static class StupidJavaCodeContainer {
/* oh, i love swing. */
class checkOutMyPathfinder{
Image
}}
User avatar
aghmed
 
Posts: 238
Joined: Fri Sep 07, 2012 7:20 pm
Location: between London and third part of LSD

Re: Optimized client

Postby shubla » Sun Jan 10, 2016 8:08 pm

Client didnt improve my FPS at my palce at all.
It might be because of flax field? I dont know.
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13043
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Optimized client

Postby aghmed » Sun Jan 10, 2016 8:53 pm

so far only terrain i can work on is forrest so best improvement is to be there.

Enormous fields will still kill client. Only hack i could add to help ppl with lower pc in this instance was to add ocject draw range slider. After getting some decent test area i will be able to provide you some further magic.

Until i do so i suggest to reduce draw distance if you suffer severely.
public static class StupidJavaCodeContainer {
/* oh, i love swing. */
class checkOutMyPathfinder{
Image
}}
User avatar
aghmed
 
Posts: 238
Joined: Fri Sep 07, 2012 7:20 pm
Location: between London and third part of LSD

Re: Optimized client

Postby APXEOLOG » Mon Jan 11, 2016 8:06 am

aghmed wrote:so far only terrain i can work on is forrest so best improvement is to be there.

Enormous fields will still kill client. Only hack i could add to help ppl with lower pc in this instance was to add ocject draw range slider. After getting some decent test area i will be able to provide you some further magic.

Until i do so i suggest to reduce draw distance if you suffer severely.

If you are based on vanilla source code, you can also add what we've call 'simple crops' (remove runtime crop randomization)
W10 Meme Plot | W9 Mantis Garden | W8 Core | W7 Ofir | W6 the City of Dis | W5 Vitterstad | W4 A.D. | W3 Mirniy
jorb wrote:All your characters will be deleted, and I will level every village any one of them were ever members of.
User avatar
APXEOLOG
 
Posts: 1267
Joined: Fri Apr 23, 2010 7:58 am
Location: Somewhere on Earth

Re: Optimized client

Postby aghmed » Mon Jan 11, 2016 8:42 am

APXEOLOG wrote:If you are based on vanilla source code, you can also add what we've call 'simple crops' (remove runtime crop randomization)

I want to add simple crops and "hide" crops / walls / etc. (we got one of theese in old good Enders)
runtime randomization (flavobjs) doesn't take that much time as chomping it trough .draw(), i think reducing crops count per tile to 1 will reduce amount of objects to drawing thus
reduce time of drawing.

@ I'm not entirely sure what do you mean by vanilla client... i forked master branch and plan to do a pull request when i'm done :)
public static class StupidJavaCodeContainer {
/* oh, i love swing. */
class checkOutMyPathfinder{
Image
}}
User avatar
aghmed
 
Posts: 238
Joined: Fri Sep 07, 2012 7:20 pm
Location: between London and third part of LSD

Re: Optimized client

Postby APXEOLOG » Mon Jan 11, 2016 9:53 am

aghmed wrote:runtime randomization (flavobjs) doesn't take that much time as chomping it trough .draw(), i think reducing crops count per tile to 1 will reduce amount of objects to drawing thus
reduce time of drawing.

No, i'm not talking about flavobjs. Crops are rendered via it's own factories and non-random generation method gives huge fps boost on large crops fields.
https://github.com/APXEOLOG/hafen-clien ... a10b14af89

Also, speaking about flavobjs - ambient sounds also played via them, and many players prefer to leave them enabled.

aghmed wrote:@ I'm not entirely sure what do you mean by vanilla client... i forked master branch and plan to do a pull request when i'm done :)

There are already many performance optimisation in custom clients
W10 Meme Plot | W9 Mantis Garden | W8 Core | W7 Ofir | W6 the City of Dis | W5 Vitterstad | W4 A.D. | W3 Mirniy
jorb wrote:All your characters will be deleted, and I will level every village any one of them were ever members of.
User avatar
APXEOLOG
 
Posts: 1267
Joined: Fri Apr 23, 2010 7:58 am
Location: Somewhere on Earth

Re: Optimized client

Postby aghmed » Mon Jan 11, 2016 10:17 am

APXEOLOG wrote:
aghmed wrote:Also, speaking about flavobjs - ambient sounds also played via them, and many players prefer to leave them enabled.


I had no idea that this code is SO tangled :D
I will have to check does my change with reducing range affects killing sounds (boost mode will do it on 99,9%) and make some fixes (preferable reduce cohesion)

But thanks for sharing this code i will add it if you don't mind :)

Person that decided that it would be good to add sound to flavs:
https://youtu.be/QHnLmvDxGTY?t=52m34s
public static class StupidJavaCodeContainer {
/* oh, i love swing. */
class checkOutMyPathfinder{
Image
}}
User avatar
aghmed
 
Posts: 238
Joined: Fri Sep 07, 2012 7:20 pm
Location: between London and third part of LSD

Re: Optimized client

Postby GladiatoR » Mon Jan 11, 2016 12:09 pm

Also huge fps drop when:
- Lots of cows & etc in screen.
- Lots of Bee Skeps (animation lowering fps)
- Lots of working Steel Crucible (animation)


Also sometimes client loading object too slow and using almost all CPU. While client is loading objects (or maps - dunno exactly) sound lags too.
User avatar
GladiatoR
 
Posts: 213
Joined: Fri Aug 28, 2015 11:04 pm

Re: Optimized client

Postby shubla » Mon Jan 11, 2016 5:17 pm

It doesnt really matter if you have good computer or not. bottlenecks of hnh will sitll make your fps 20-30 in my village
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
shubla
 
Posts: 13043
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: No registered users and 5 guests