[10:31pm] hey. i thought about your lag problem [10:31pm] oh? [10:32pm] it could be that there are not enough worker threads ... so that the to be send network packets pile up [10:33pm] in that case the response time will increase more and more [10:33pm] so it would seem as if the server doesnt respond at all (at login for example) [10:35pm] ah [10:35pm] so how would we increase the worker threads? [10:35pm] btw i dont have enough knowledge about threads [10:39pm] not sure how maximus implemented the network layer now... it might be that it is only one thread that does all the work [10:39pm] :O [10:40pm] that isnt good.... [10:40pm] do you think Age might know? [10:45pm] just checked... yep .. only one thread that manages all inbound and outbound communication [10:46pm] i am pretty sure that it is causing the problems [10:46pm] when there are many players in one area massive numbers of packets will be send.. and it looks like no inbound packets are accepted until all outbound packets are send [10:47pm] that sounds not good at all :( [10:47pm] i would think it needs some redesign... at least use separate threads for inbound and outbound [10:48pm] oh ya it makes sence man [10:48pm] and probably at least 2-5 threads [10:48pm] what you just said about inboard/outbound packets [10:48pm] ya [10:49pm] where is this defined? [10:49pm] where you saw it is just using on thread? [10:49pm] for both inboard and outboard? [10:49pm] the SelectorThread ... it handles all the communication [10:49pm] oh [10:50pm] and it is a singleton [10:51pm] ah [10:52pm] oh NIO [10:52pm] uhm [10:54pm] this is kinda to advanced on my knowledge [10:54pm] yep... it was old IO in the beginning.. but that was a lot slower .. so that no more than 70 players were possible [10:55pm] damn.. [11:08pm] hey you know who might be able to re-structure it? [11:43pm] not sure.. it seems age also worked on it... i guess he should know what to do [11:46pm] ah ok [11:46pm] i will talk to him when his up :D