11-07-2005, 08:30 AM | #1 |
Ironworks Webmaster
Join Date: January 4, 2001
Location: Lakeland, Florida
Age: 51
Posts: 11,722
|
Found this interesting.. if you have a load of magical bags, it could cause you lag:
-- magic bags = lag? Shadguy is correct, a large number of Magic Bags can cause some level of lag, for a variety of reasons: 1) OnAcquire fires for item a creature possesses. For creatures in the module it fires OnLoad, which means that module load times will grow with the number of creatures and the number if items given to creatures, which is quite logical. For player characters OnLoad fires OnEnter of the module, so a large number of items in player inventory can cause significant lag, depending on your OnAquire script. == So roll up a new char and test this out. Is it true? |
11-07-2005, 01:11 PM | #2 |
Jack Burton
Join Date: March 31, 2001
Location: The zephyr lands beneath the brine.
Age: 39
Posts: 5,459
|
Yes, it's true.
More items means more cycling through them means more lag. You can best see it in scripts that make copies of characters complete with their equipment. These copies take longer to spawn when there is a greater inventory attached. Something similar happens with merchants, where it takes longer to load a larger store inventory. It is not, however, one of the main contributors to server lag and I should also add that having magic bags does not cause the lag, having many items in your inventory does. The effect of the bag is mainly to enlarge your inventory so you can carry still more items with you. [ 11-07-2005, 01:15 PM: Message edited by: Legolas ] |
11-07-2005, 04:18 PM | #3 |
Symbol of Cyric
Join Date: January 31, 2005
Location: Mississauga (Toronto), Ontario, CANADA
Age: 48
Posts: 1,214
|
Which means my days of rolling down the ave with thirty bags to collect stuff are numbered? Or would it be wiser to cycle through everything before I head down the wonderful Well of Unforgiving @r$eBeating and sell off whatever it is I won't be needing to hold onto for friends and other characters I come into contact with? As well, for a person who has only 1 GB of DDR RAM and an ATI Radeon 9550 graphics card (with 256MB cache), would it be wise for me to upgrade my machine somewhat in order for the Inn to run smoother?
__________________
There are no paths to power which are not fraught with confrontation. No matter the battle, a lesson must be won. In the end, the path shall fade into nothingness for the one walking it, but may go on for eternity for those whom choose to follow. One must know their own footsteps before taking that first step, or instead of choosing your battles, your battles will choose you. |
11-07-2005, 08:07 PM | #4 |
Jack Burton
Join Date: March 31, 2001
Location: The zephyr lands beneath the brine.
Age: 39
Posts: 5,459
|
Not really. If you've been doing well enough with your bags so far there's little to worry about. Travelling light does improve performance somewhat, so in that respect it may be a good idea to get rid of excess items.
Don't expect an empty inventory to mean the inn doesn't lag though, because there other factors are at play. |
11-08-2005, 08:52 AM | #5 |
Jack Burton
Join Date: May 31, 2002
Location: Ireland
Posts: 5,854
|
Basically depends on how many unique items you got going. If there are lots of them in your mod and even if players don't have them, the very act of checking will lag a player on entry. This is why it is wise to space out your scripts so as not to clam everything into one module load, acquire or entry scripts.
As far as client ram and stats well, it is more a server issue than anything else and depends on how fast the server can deal with these 'calls'.
__________________
Still I feel like a child when I look at the moon, maybe I grew up a little too soon... |
11-08-2005, 04:11 PM | #6 |
Ironworks Webmaster
Join Date: January 4, 2001
Location: Lakeland, Florida
Age: 51
Posts: 11,722
|
Cache the scripts and all is well. [img]smile.gif[/img]
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
are there gem bags, potion bags, etc? | johndu | Icewind Dale | Heart of Winter | Icewind Dale II Forum | 3 | 12-02-2001 10:05 PM |
Gem bags, potion bags etc | Yogi_Yohan | Baldurs Gate & Tales of the Sword Coast | 3 | 12-02-2001 05:28 PM |
Q: Scroll cases, bags of holding & gem bags | Hayashi | Baldurs Gate II Archives | 10 | 04-11-2001 08:48 AM |
Gem Bags | Keill | Baldurs Gate II Archives | 2 | 01-31-2001 10:26 AM |
Scroll Bags? | kupolu | Baldurs Gate II Archives | 6 | 11-17-2000 05:20 AM |