Problems with a large inventory

Where bugs go to lie down and rest

Moderator: Moderator

Message
Author
ghostbuster
Uruivellas
Posts: 617
Joined: Mon Oct 09, 2006 7:47 pm

Problems with a large inventory

#1 Post by ghostbuster »

With a LARGE number of items, there is a no way to do any inventory operation. Either 'i', 'd' or 'w', just return without displaying anything.

I check in the savefiles, and it seems to happen if the player has more than 160 items. By destroying the items above 160 (with a text editor!), the inventory commands are back again and work properly.

Fela
Wyrmic
Posts: 279
Joined: Sun Aug 29, 2010 5:23 pm
Location: Hessen, Germany

Re: Problems with a large inventory

#2 Post by Fela »

Troubleshooting or did you actually carry that much stuff with you? :)

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Problems with a large inventory

#3 Post by darkgod »

Yup, fixed already :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

ghostbuster
Uruivellas
Posts: 617
Joined: Mon Oct 09, 2006 7:47 pm

Re: Problems with a large inventory

#4 Post by ghostbuster »

Fela wrote:Troubleshooting or did you actually carry that much stuff with you? :)
I did carry that much stuff with me. I was an archmage with feather wind, and I mostly had light items (like rings, ...)
The problem is that, with the present UI, dropping many items is more annoying than dealing with a large inventory :d

PowerWyrm
Sher'Tul
Posts: 1106
Joined: Thu Nov 21, 2002 9:53 pm

Re: Problems with a large inventory

#5 Post by PowerWyrm »

The problem is simply that the new UI is slow as hell. If you carry 10-15 items, the inventory window will open in 2-5 seconds. If you carry 40-50 items, it will take way over a minute. With 160 items, it would probably require a whole day...

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Problems with a large inventory

#6 Post by darkgod »

Spend the last 2 days optimizing it, I think it's better now we'll see :)
I'll send you a new test archive soon powerwyrm
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Problems with a large inventory

#7 Post by darkgod »

Can you try using that please: see if it is faster?
http://te4.org/dl/t-engine/t-engine4-wi ... omusic.zip

PS: no not really beta13, do not use for real characters
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Massimiliano Marangio
Sher'Tul
Posts: 1120
Joined: Mon Sep 30, 2002 9:52 pm
Location: Germany

Re: Problems with a large inventory

#8 Post by Massimiliano Marangio »

I have the same problem. After clearing a Crypt in Tol Falas, I carried the loot in one place, took all items and identified the whole lot.
"wield" and "take off" do work, but neither "inventory" nor "drop". The log shows these error messages:

Code: Select all

Lua Error: /engine/dialogs/ShowEquipInven.lua:183: bad argument #1 to 'char' (invalid value)
	At [C]:-1 
	At [C]:-1 char
	At /engine/dialogs/ShowEquipInven.lua:183 generateList
	At /engine/dialogs/ShowEquipInven.lua:35 init
	At /engine/class.lua:64 new
	At /engine/interface/ActorInventory.lua:220 showEquipInven
	At /mod/class/Game.lua:725 ?
	At /engine/KeyBind.lua:202 

Code: Select all

Lua Error: /engine/dialogs/ShowInventory.lua:85: bad argument #1 to 'char' (invalid value)
	At [C]:-1 
	At [C]:-1 char
	At /engine/dialogs/ShowInventory.lua:85 generateList
	At /engine/dialogs/ShowInventory.lua:37 init
	At /engine/class.lua:64 new
	At /engine/interface/ActorInventory.lua:230 showInventory
	At /mod/class/Player.lua:584 playerDrop
	At /mod/class/Game.lua:720 ?
	At /engine/KeyBind.lua:202
168 object with 542 encumbrance, by the way.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Problems with a large inventory

#9 Post by darkgod »

Yes it will not work with more than 160 in beta12, in beta13 you will be however be able to carry thousands of items!
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

PowerWyrm
Sher'Tul
Posts: 1106
Joined: Thu Nov 21, 2002 9:53 pm

Re: Problems with a large inventory

#10 Post by PowerWyrm »

I'll check that tonight...
The problem is to build a character quickly to be able to carry a truckload of items, and I suppose that build is not compatible with b12...

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Problems with a large inventory

#11 Post by darkgod »

Probably not but if it lags so heavily you should notice it even with a low number of items no ?
Also this should make the leveltup talents screen better too
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

PowerWyrm
Sher'Tul
Posts: 1106
Joined: Thu Nov 21, 2002 9:53 pm

Re: Problems with a large inventory

#12 Post by PowerWyrm »

Ok here we go...
Started a char in both beta12 and pseudo beta 13, collected 50 items and noted down the time needed to display the inventory windows with some commands.

Beta 12: 4 seconds (roughly)
Pseudo beta 13: (a little less than) 3 seconds

I'd say it's 30% faster. There's some improvement, but it's still very laggy :(

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Problems with a large inventory

#13 Post by darkgod »

Good news I found a new bottleneck after sending it so it should be even faster now :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Problems with a large inventory

#14 Post by darkgod »

About two thousands objects can now make my computer lag now (it did before obviously)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

PowerWyrm
Sher'Tul
Posts: 1106
Joined: Thu Nov 21, 2002 9:53 pm

Re: Problems with a large inventory

#15 Post by PowerWyrm »

I know the pseudo-beta13 file is an intermediate build, but are Fire spells supposed not to work anymore? A little check now Is probably better than a bug report later :wink:

Post Reply