'Greetings all,
we've had a mysterious lag issue in ultima adventures for some time now - whenever a player dies, the entire server will lag for some time. after some experiementing around the same was found to happen when a player looted his corpse. we dug in more and realized it was directly related to the number of items the player had when he died/when he loots. the more items in the pack, the longer the lag.
We did some looking around but can't find any cause for this in corpse.cs both in core of in server scripts. something is making the server lag whenever items are transfered to/from corpses. HAs anyone encountered this? you can get the entire server code by downloading the resource....
If anyone can help fix this, ill be incredibly grateful.. hell ill even add a statue of that person in the game, commemorating the heroic deeds of the person!!!
any help is appreciated.
we've had a mysterious lag issue in ultima adventures for some time now - whenever a player dies, the entire server will lag for some time. after some experiementing around the same was found to happen when a player looted his corpse. we dug in more and realized it was directly related to the number of items the player had when he died/when he loots. the more items in the pack, the longer the lag.
We did some looking around but can't find any cause for this in corpse.cs both in core of in server scripts. something is making the server lag whenever items are transfered to/from corpses. HAs anyone encountered this? you can get the entire server code by downloading the resource....
If anyone can help fix this, ill be incredibly grateful.. hell ill even add a statue of that person in the game, commemorating the heroic deeds of the person!!!
any help is appreciated.