Help me find the cause of the drone lag (FIXED)

Help me find the cause of the drone lag (FIXED)

A fresh perspective on battle for control of Earth, brought to you by Sanada and Snoop.

Moderators: Moderators, Content Developer

Post Reply
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Help me find the cause of the drone lag (FIXED)

Post by oksnoop2 »

So every game. I play as the drones as of recent, about 6 minutes in the game comes to a freezing halt. I'm just asking if people would be so kind as to take 10 minutes and play with them and see if you can pinpoint this game killing slowdown.

EDIT: Pretty sure it's been nailed down.

Code: Select all

	function script.Create(unitID)
		while (true) do
			Move(lbody, y_axis, 2, 0.5)
			Move(rbody, y_axis, -2, 0.5)

			WaitForMove(lbody, y_axis)
			WaitForMove(rbody, y_axis)

			Move(lbody, y_axis, -2, 0.5)
			Move(rbody, y_axis, 2, 0.5)

			WaitForMove(lbody, y_axis)
			WaitForMove(rbody, y_axis)
		end
	end
I guess kdiairdrone needs to take a sleep.
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: Help me find the cause of the drone lag (FIXED)

Post by SanadaUjiosan »

Indeed. Sloppy animation on my part.

Woo for forgetting things.
Post Reply

Return to “Conflict Terra”