Slow respond while there are a lot of AIPlayer
by Samme Ng · in Torque Game Engine · 01/15/2004 (3:27 am) · 1 replies
As I am working on a MMORPG using TGE, I have tried to add around 100 AIPlayer to the game. In release mode, the drawing speed is acceptable, however, as I move my own AIPlayer to move to a destination, it moved strange. I have replaced the normal %myplayer = new Player() by new AIPlayer when connection established.
It will move a short path, stop a while, and move again, and repeat this sequence, until it reach destination. It seems that the packet is not deliveried on time to make the player move smoothly.
Is the AIPlayer will consume the bandwidth and causing some kind of latency?
Samme
It will move a short path, stop a while, and move again, and repeat this sequence, until it reach destination. It seems that the packet is not deliveried on time to make the player move smoothly.
Is the AIPlayer will consume the bandwidth and causing some kind of latency?
Samme
Associate Kyle Carter
I would suggest modifying the AIPlayer so that it sends "orders" (like 'move here') across the wire, not raw positional data ("I'm here! I'm here! Now I'm here! Now I'm over here!"). That way the bandwidth will be dramatically reduced and more updates can be stuffed into the same packet size.
Or just up the packet size/rate.