View unanswered posts | View active topics It is currently Thu Oct 31, 2024 10:46 pm



Reply to topic  [ 12 posts ] 
 Disable auto refresh when scanning 
Author Message

Joined: Mon Apr 25, 2011 2:37 am
Posts: 2637
Reply with quote
The lag sucks when scanning. I suggest disabling the refresh feature while the planet scan window is open. Add a button to refresh at will

_________________
GREENSPLEEF
LEADER, CHILDREN OF GODS
http://galaxylegion.com/forum/viewtopic.php?f=8&t=41899


Tue Aug 29, 2017 8:55 am
Profile
User avatar

Joined: Mon Sep 08, 2014 6:44 pm
Posts: 847
Reply with quote
I've sent this in as a bug report before...it'd be much better if it only refreshed the planet list when you hit the "x" in the scan window or revisited the planets screen, it does make it pretty painful to scan when every single time you add a flag or scan a planet it needs to refresh the entire window.

_________________
--------------- GD: A good legion for collecting relic badges ---------------
---------------------------------------------------------------------


Tue Aug 29, 2017 1:09 pm
Profile
User avatar

Joined: Thu Nov 25, 2010 6:49 pm
Posts: 8964
Reply with quote
There's not really much can be done about it. The only time there is any lag is when you find a planet. It then has to be added to your planet count otherwise you'd have infinite scanning. It also has to be added into your database, or else that planet could not be copied via crit hack while you're scanning. Therefore, one refresh rather than two separate ones which would make things even slower.

_________________
Ranks 400+ Join us in exploring..
ImageImage

[20:40] Wredz: just hacked a massive extremely rich minting planet from someone.. thats the best planet i ever hacked
[20:43] DarthFlagitious: is it spearmint or peppermint?


Tue Aug 29, 2017 4:48 pm
Profile WWW
User avatar

Joined: Thu Oct 27, 2016 2:52 pm
Posts: 321
Reply with quote
Darth Flagitious wrote:
There's not really much can be done about it.

It is a simple change, although I would not expect to see it happen.

_________________
Join the Galaxy Legion Community Discord server!


Wed Aug 30, 2017 12:22 am
Profile

Joined: Tue Oct 16, 2012 9:26 pm
Posts: 1076
Reply with quote
Guide wrote:
Darth Flagitious wrote:
There's not really much can be done about it.

It is a simple change, although I would not expect to see it happen.

I don't believe that is correct.
As pointed out, the delay is when the planet is found and added to the database - it is probably not really the refresh that is the problem.
Suspect refresh is the side effect, not the cause. Adding it to your scanned planets in the database is naturally not optional.
If, for example, you filter scanned planets by "dyson" the delay when a planet is found remains. This makes me think that Darth is correct.


Wed Aug 30, 2017 1:32 am
Profile

Joined: Sun Aug 03, 2014 6:17 pm
Posts: 2224
Reply with quote
agree with diegobene..my practical play experience would tend to confirm as much

_________________
Image
Image
Signature created by Necromancer

Spy status_ #1 Cloak master in galaxy
Moooooooooooooooooooo!


Wed Aug 30, 2017 1:35 am
Profile
User avatar

Joined: Thu Nov 25, 2010 6:49 pm
Posts: 8964
Reply with quote
Deigobene wrote:
Darth is correct.


After 7 years you'd think people would understand that... :roll:





:mrgreen:

_________________
Ranks 400+ Join us in exploring..
ImageImage

[20:40] Wredz: just hacked a massive extremely rich minting planet from someone.. thats the best planet i ever hacked
[20:43] DarthFlagitious: is it spearmint or peppermint?


Wed Aug 30, 2017 2:07 am
Profile WWW
User avatar

Joined: Tue Jan 14, 2014 9:01 pm
Posts: 134
Reply with quote
Darth Flagitious wrote:
There's not really much can be done about it. The only time there is any lag is when you find a planet. It then has to be added to your planet count otherwise you'd have infinite scanning. It also has to be added into your database, or else that planet could not be copied via crit hack while you're scanning. Therefore, one refresh rather than two separate ones which would make things even slower.


Maybe so, but the planet does not need to be immediately added to your list client side, and *that* is what causes the lag.


Tue Sep 12, 2017 5:03 pm
Profile
User avatar

Joined: Tue Jan 14, 2014 9:01 pm
Posts: 134
Reply with quote
Deigobene wrote:
Guide wrote:
Darth Flagitious wrote:
There's not really much can be done about it.

It is a simple change, although I would not expect to see it happen.

I don't believe that is correct.
As pointed out, the delay is when the planet is found and added to the database - it is probably not really the refresh that is the problem.
Suspect refresh is the side effect, not the cause. Adding it to your scanned planets in the database is naturally not optional.
If, for example, you filter scanned planets by "dyson" the delay when a planet is found remains. This makes me think that Darth is correct.


Adding a single row to a table of player's planets should NOT be slow - the table only needs to contain pointers to a global planet table.

I'd assume the delay even with a filter is caused by the client reloading, then re-filtering your planets. (Although you *do* save some delay because the client does not have to render as much after the filter is applied.)


Tue Sep 12, 2017 6:01 pm
Profile
User avatar

Joined: Thu Oct 27, 2016 2:52 pm
Posts: 321
Reply with quote
No, Kropotkin, Darth is correct. After 7 years, you'd think that you'd have realized that already.

Don't come here with your knowledge and your facts and try to convince us otherwise. It won't work!

/s

_________________
Join the Galaxy Legion Community Discord server!


Wed Sep 13, 2017 12:29 pm
Profile

Joined: Tue Oct 16, 2012 9:26 pm
Posts: 1076
Reply with quote
There are currently 8,818,708 entries in the global planet "database".
Accessing the Name, Size, Type, Resource Richness and Image for each one added based on the new planet ID you find will take time.
Sucks, but true. May be able to be retrieved more efficiently, maybe not. Could be a pretty chunky hunka data.
Displaying it once available will not take much time.
That bit is trivial in comparison, as is filtering it from less than 2000 planets you have on scan.


Wed Sep 13, 2017 1:30 pm
Profile
User avatar

Joined: Thu Oct 27, 2016 2:52 pm
Posts: 321
Reply with quote
Deigobene wrote:
May be able to be retrieved more efficiently.

Definitely.

Also, the number of planets in the database is almost irrelevant if you're retrieving a limited subset of them, so long as the table is properly indexed, which I'm just going to go ahead and say that it definitely is.

_________________
Join the Galaxy Legion Community Discord server!


Wed Sep 13, 2017 3:42 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.