SphereServer BugTracker - SphereServer
View Issue Details
0001848SphereServerexecutable - genericpublic31-10-10 16:2622-12-10 03:54
Terrikate 
MrSugarCube 
normaltweakalways
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
DiagonalWalkCheck, New_Triggers, Script_Profiler, Size_Optimise, UseNetworkMulti
Command_Sysmsgs, FileCommands, Buffs
1350
0001848: Unusual delay loading items into containers
When you open container usually items take time to appear. However if you reopen the container appears instantanly. And there isn't always depends of amount of items can occur with one item or hundreds in the container.
No tags attached.
related to 0001858resolved MrSugarCube Client 6.0.14.3 disconnects 
Issue History
31-10-10 16:26TerrikateNew Issue
04-11-10 11:56MrSugarCubeNote Added: 0000741
04-11-10 20:14TerrikateNote Added: 0000748
05-11-10 02:39MirravinNote Added: 0000749
05-11-10 02:59MirravinNote Edited: 0000749bug_revision_view_page.php?bugnote_id=0000749#r48
22-12-10 03:54MrSugarCubeStatusnew => resolved
22-12-10 03:54MrSugarCubeFixed in Version => 0.56c Nightly
22-12-10 03:54MrSugarCubeResolutionopen => fixed
22-12-10 03:54MrSugarCubeAssigned To => MrSugarCube
22-12-10 04:01MrSugarCubeRelationship addedrelated to 0001858

Notes
(0000741)
MrSugarCube   
04-11-10 11:56   
You could try increasing some of your network settings if they've been lowered (MaxPacketsPerTick, MaxSizePerTick and MaxQueueSize). The UseAsyncNetwork setting and EF_NetworkOutThread flag may also affect this.
(0000748)
Terrikate   
04-11-10 20:14   
Now i have this, do you have any suggestions of what values should i play?


EF_NetworkOutThread

+

// Disconnect inactive socket in x min
DeadSocketTime=5

// Maximum number of packets to send per tick
MaxPacketsPerTick=25

// Number of connections a client can make before being blocked
MaxPings=15

// Maximum number of packets before lowering packet priorities (0 for no limit)
MaxQueueSize=50

// Maximum number of bytes to send per tick (also governs maximum size of outgoing packets)
MaxSizePerTick=18000

// Time to remember previous connection history (seconds)
NetTTL=300

// Use asynchronous data sends (changing this setting at runtime may produce unexpected behaviour)
// 0 = Off
// 1 = On
// 2 = On for 4.0.0+ game clients only
UseAsyncNetwork=1

// Prioritise outgoing packets (provides a smoother experience in crowded areas)
UsePacketPriority=1

// Tooltip modes
// 0 = Always send full tooltip
// 1 = Wait for client to request full tooltip
TooltipMode=0

// Time to cache tooltip data for (seconds)
//TooltipCacheTime=0
(0000749)
Mirravin   
05-11-10 02:39   
(edited on: 05-11-10 02:59)
Client 6.0.14.3:
On Home sphere(Windows build #1366?) I have good results with delay when raising *10 MaxPacketsPerTick and MaxSizePerTick.
On Linux server(Build: #1367) I have problems with client crashes when many items is loading, it may be character backpack or vendor buy-list. With UseAsyncNetwork NOT 0 I have 100% client crash on login(character have 230 top items in backpack, + many items in subcontainers). With UseAsyncNetwork=0 I can login normally, if I wait and don't move character until backpack will be loaded.
Also delays while loading conteiners with many items...
Client 2.0.3 don't have any delays or crashes.
Now settings:
// Disconnect inactive socket in x min

DeadSocketTime=5



// Maximum number of packets to send per tick

MaxPacketsPerTick=25



// Number of connections a client can make before being blocked

MaxPings=25



// Maximum number of packets before lowering packet priorities (0 for no limit)

MaxQueueSize=50



// Maximum number of bytes to send per tick (also governs maximum size of outgoing packets)

MaxSizePerTick=12000



// Time to remember previous connection history (seconds)

NetTTL=300



// Use asynchronous data sends (changing this setting at runtime may produce unexpected behaviour)

// 0 = Off

// 1 = On

// 2 = On for 4.0.0+ game clients only

UseAsyncNetwork=0



// Prioritise outgoing packets (provides a smoother experience in crowded areas)

UsePacketPriority=1



// Tooltip modes

// 0 = Always send full tooltip

// 1 = Wait for client to request full tooltip

TooltipMode=0

// Time to cache tooltip data for (seconds)

TooltipCache=0