Author Topic: Slow loading of Storages  (Read 1010 times)

Offline dale "dalewj" ofj

  • Survival closed test group
  • Hero Member
  • *****
  • Posts: 1103
  • Leader of Hunters Unlimited, Admin of Wiki, Author
    • View Profile
    • Author - Diaries of Afterworld
  • Gender: Male [Male]
  • In game: No
  • State: Human
Slow loading of Storages
« on: December 19, 2012, 02:26:56 pm »
I would say the loading time of storages is about 3 or 4 times longer then it was in Alpha.  To load my personal sar storage takes near a minute.  I havent crafted yet, so not sure how this will effect crafting.

btw i have 478.3T in my personal storage.
  • Citizenship: Regular citizen
  • Last seen in Saransk, Town at Weaponry & Tools craft building, accessing Storage
  • Member of corporation: Alpha Unlimited
  • Member of society: Hunters Unlimited
Its been fun everyone will miss you all.   I'm at  dalewj.com and in every social network im dalewj. 

Playing the 'The Repopulation' a giant MMO has lots of EU and AW in it.  Come join us.  Im on east coast server and guess what my name in the game is.....

Offline Andrei "Andrei" Popov

  • Full Member
  • ***
  • Posts: 134
    • View Profile
  • Gender: Male [Male]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #1 on: December 19, 2012, 02:33:12 pm »
I have about 250t in sar storage and it takes me about 1-2 minunts to load it first time.

Next times the loading is about 5-10 sec or even 1 sec sometimes.
« Last Edit: December 19, 2012, 02:36:33 pm by Andrei "Andrei" Popov »
  • Citizenship: Regular citizen
  • Last seen in
  • Member of corporation: HL Corporation
  • Member of society: Highlanders

Offline Janis "Givy" Ipatenko

  • Survival closed test group
  • Newbie
  • *
  • Posts: 42
    • View Profile
  • Gender: Male [Male]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #2 on: December 19, 2012, 02:46:16 pm »
Well my 1000t loads like 3-4min. When we craft we use like 10% of box what we have in storage. When i open storage starts timer and as counter use ton measure. :D

Maybe better that boxes would load only when you open them.
  • Citizenship: Regular citizen
  • Last seen in Saransk, Town at Outpost / Storages
  • Member of corporation: World Trading Federation
  • Member of society: LV Eagles

Offline Old "Snowy" Leopard

  • Survival closed test group
  • Full Member
  • ***
  • Posts: 176
    • View Profile
  • Gender: Female [Female]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #3 on: December 19, 2012, 03:45:07 pm »
I know the initial delay is bad, but at least it only happens once.   I think I prefer that to having a delay every time I open a new container.
  • Citizenship: Regular citizen
  • Last seen in New Urengoy [Q] at Outpost / Storages
  • Member of corporation: DILLIGAF
  • Member of society: The Misfits
Windows 8.1 Pro 64-bit; AMD FX(tm)-8350 Eight-Core Processor ~4.0GHz, 8192MB RAM; NVIDIA GeForce GTX 760, Display Memory: 8057 MB; DirectX 11; .net framework 4.5.1

Offline Event "Janе" Horizon

  • Survival closed test group
  • Hero Member
  • *****
  • Posts: 1773
  • Humble makes pie. Don't make pie, be AWESOME.
    • View Profile
    • Jane's AfterWorld Secrets
  • Gender: Female [Female]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #4 on: December 19, 2012, 06:59:03 pm »

The lag between opening of storage and being able to browse is rather annoying - particularly when you need to search through multiple storages to find an item (i.e using the PDA) ... and need to wait for each one.

I have noticed there are two phases:
  • Phase 1: load the items
  • Phase 2: update the total weight (occurs simultaneously with Phase 1)
I presume part of the issue is that the

As the total weight of Storage has little impact on game play - I wonder if Phase 2 is actually required to complete before you can access to items.


Perhaps it can be a in-the-background task?
This would decrease the waiting time for the Storage will become accessible.


Is total weight always relevant?
Would a button that, when clicked, calculates total weight and displays it to you be sufficient?
  • Citizenship: Regular citizen
  • Last seen in New Urengoy [Q] at Outpost / Storages
  • Member of corporation: Savonation
  • Member of society: Savonites
NEVER DOUBT yourself. YOU ARE intelligent, forgiving and AWESOME.

Jane's AfterWorld Secrets
http://jaws.altervista.org/index.html

Offline dale "dalewj" ofj

  • Survival closed test group
  • Hero Member
  • *****
  • Posts: 1103
  • Leader of Hunters Unlimited, Admin of Wiki, Author
    • View Profile
    • Author - Diaries of Afterworld
  • Gender: Male [Male]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #5 on: December 19, 2012, 07:08:05 pm »
is it the calculation of wieght or jsut a counter being produced by whatever lookup opening a storage unit takes.  I mean if we are simply counting items, i could care less how much and how big they are.  make a button for the lookup.

but if we have to go thru every item in every box before opening the store... ouch.  How about going thru every item at the top level and say the last 3 opened boxes.  Open those last 3 boxes please.   Then do the remainder of the boxes in the background or when we open them.

  • Citizenship: Regular citizen
  • Last seen in Saransk, Town at Weaponry & Tools craft building, accessing Storage
  • Member of corporation: Alpha Unlimited
  • Member of society: Hunters Unlimited
Its been fun everyone will miss you all.   I'm at  dalewj.com and in every social network im dalewj. 

Playing the 'The Repopulation' a giant MMO has lots of EU and AW in it.  Come join us.  Im on east coast server and guess what my name in the game is.....

Offline AW "Dr.Butler" SSB Officer

  • AW State Security Bureau
  • Sr. Member
  • *****
  • Posts: 393
    • View Profile
    • AfterWorld
  • Gender: Male [Male]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #6 on: December 20, 2012, 10:37:35 am »
The main "problem" with loading storage is network.
All items should be loaded on server first (takes about few seconds depending on the amount of items in storage), and than its being transmitted to the game client over the network. That's the slowest part. The more items in storage, more time it takes before everything gets transmitted.

Changing the way it works will take significant amount of work and time, and it doesn't mean it will be better than it is now.

Re: containers
Atm server loads everything at once, including attachments (like ammo or scope on a weapon) and stuff inside containers (which treated same way as attachments btw).
By taking off loading containers' content will give lots of problems, as no attachments will be loaded too, and you will not know if the gun has ammo on it without "preloading" data in it.
The inventory works the same way as storage, so... If you have containers with you, after relogging the weight will not be counted until you load the contents. Imagine running with a few boxes (tons of stuff inside) without being overloaded, just because after re-login your weight is small. Load containers and you are now limited by weight carried.

Re: weight calculation
Weight calculated at the background and doesn't affect the loading speed at all. We can remove the "weight" label from the storages (incl calculation of the weight) and it will not give any gain, just the missing label.

P.S. The issue is logged anyway, and we will think what is possible, but we don't give any time-frame on when (or at all) any work will be done on this topic.
  • Citizenship: Regular citizen
  • Last seen in New Urengoy [Q] at Weaponry & Tools craft building
  • Member of society: AW State Security Bureau

Offline Event "Janе" Horizon

  • Survival closed test group
  • Hero Member
  • *****
  • Posts: 1773
  • Humble makes pie. Don't make pie, be AWESOME.
    • View Profile
    • Jane's AfterWorld Secrets
  • Gender: Female [Female]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #7 on: December 20, 2012, 09:56:05 pm »
Many thanks Dr Butler.


Sounds a tricky issue.


If you do decide to look into this (distant future) - perhaps having a copy of the storage on the players PC will help (storage items are likely to be rather static) with some sort of time stamping so the client /server can keep these up to date. Then improvements like searching for items could be implemented without impact to the server when we have 1000's of players.


Players:
A little reminder that you can have an offline list of Storage Items if you follow want to use this utility: http://talk.afterworld.ru/index.php?showtopic=5620&view=findpost&p=39925.
You can search for items using the *text* wild card :)

  • Citizenship: Regular citizen
  • Last seen in New Urengoy [Q] at Outpost / Storages
  • Member of corporation: Savonation
  • Member of society: Savonites
NEVER DOUBT yourself. YOU ARE intelligent, forgiving and AWESOME.

Jane's AfterWorld Secrets
http://jaws.altervista.org/index.html

Offline Hugo "Lossehelin" Santos

  • Sr. Member
  • ****
  • Posts: 330
    • View Profile
    • RCE Games
  • Gender: Male [Male]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #8 on: December 20, 2012, 10:27:33 pm »
why not have the server load on the background the contents to the user pc as soon he/she logins?
  • Citizenship: Regular citizen
  • Last seen in New Urengoy [Q] at Outpost / Storages
  • Member of corporation: test
  • Member of society: Pleasure and Power
My blog about RCE Games >> http://rcegames.net <<

Offline Asterion "Zort" Wrynn

  • Survival closed test group
  • Newbie
  • *
  • Posts: 26
    • View Profile
  • Gender: Male [Male]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #9 on: December 21, 2012, 01:12:56 pm »
HI to Dev and Everyone

Perhaps an idea : increase the number of Kilo by  Stack or the amount unit by Stack.

In my storage , I have many stacks of the same stone , and if the system accept more Kilo / Count in the stack , storage will have less stack , then quicker to transfer to client.

And also less record in the database.

Another Idea is to accept stack for some items .
 - ASP / MFP with the same condition ( state ).
 - More ammo in one stack
 - Items used ( empty ) can be stack.

--> always less record in the database , less data to transfer to client.

Thanks, Give me your ideas if the Devs are interesseted by this.
  • Citizenship: Regular citizen
  • Last seen in New Urengoy [Q] at Outpost / Storages
  • Member of corporation: D-LITE
  • Member of society: Pleasure and Power
Operating System: Windows 7 Édition Familiale Premium 32-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.111025-1505)
Language: French (Regional Setting: French)
System Manufacturer: INTEL_
System Model: D915GUX_ BIOS: BIOS Date: 06/09/04 17:22:53 Ver: 08.0

Offline Jarod "Brickwit" McBrickerton

  • Survival closed test group
  • Hero Member
  • *****
  • Posts: 1948
  • AfterWiki admin & Computer Engineer
    • View Profile
  • Gender: Male [Male]
  • In game: No
  • State: Human
Re: Slow loading of Storages
« Reply #10 on: December 24, 2012, 07:17:14 am »
Am I right in guessing that the server doesn't actually transfer anything more than the quantities, conditions, and positions of the items in storage rather than the items themselves? If not, maybe working towards this will reduce the strain on the servers and reduce storage load times quite a bit too.

If there's no way to reduce the amount of data to be transferred any further, I think the idea of increasing stack sizes is the only way to make improvements.
  • Citizenship: Regular citizen
  • Last seen in Saransk West at Outpost / Storages
  • Member of corporation: Consolidators
  • Member of society: Shadow Corpse
Proud Officer in Shadow Corpse society and Consolidators corporation.