Page 1 of 1

filled inventory, low fps

Posted: Mon Jun 05, 2017 8:48 pm
by mophydeen
klonan asked for sample maps where the fps is low so the devs could optimize there code.


1) increase your inventory:

Code: Select all

	    	player.character.character_inventory_slots_bonus  = 10000

2) fill your inventory:

Code: Select all

	    	    player.insert{name="iron-ore", count=40000}

3) deconstruct some trees or something else that forces the game to recalculate/loop the inventory.

4) fps of eg. 5


tip: don't keep the item unique for each slot, just remember it 1 time and use a bigger counter.

Re: filled inventory, low fps

Posted: Mon Jun 05, 2017 8:53 pm
by Rseding91
Yeah just don't do that. There's a limit to what the game can process and you pushed it way past normal. That's fully expected to take a lot of time to process when you turn the numbers up to crazy :P

If you can make that kind of thing happen in a *normal* game then let us know :)