Vehicle pickups for racing purpose
#17

I suspect the problem is not the language but the algorithm! For a long time the best streamer was written in PAWN simply because it did things differently, and that code is the same. You can loop through every pickup every 10ms and check players, but that's a terrible system! On the other hand you can use zoning algorithms to vastly reduce the amount of work needed by only checking a tiny fraction of the pickups available, and as I said use code to project a player's movement vectors to see if they recently passed through a pickup.

90% of optimisation is not HOW you code it, but WHAT you code.
Reply


Messages In This Thread
Vehicle pickups for racing purpose - by Sinner - 21.09.2012, 09:26
Re: Vehicle pickups for racing purpose - by MicroD - 21.09.2012, 13:22
Re: Vehicle pickups for racing purpose - by Sinner - 21.09.2012, 15:17
Re: Vehicle pickups for racing purpose - by Sinner - 21.09.2012, 15:39
Re: Vehicle pickups for racing purpose - by Sinner - 21.09.2012, 15:45
Re: Vehicle pickups for racing purpose - by Michael@Belgium - 22.09.2012, 20:14
Re: Vehicle pickups for racing purpose - by Sinner - 23.09.2012, 10:29
Re: Vehicle pickups for racing purpose - by Michael@Belgium - 23.09.2012, 11:17
Re: Vehicle pickups for racing purpose - by ShOoBy - 23.09.2012, 19:21
Re: Vehicle pickups for racing purpose - by Kar - 23.09.2012, 20:37
Re: Vehicle pickups for racing purpose - by HuSs3n - 23.09.2012, 21:24
Re: Vehicle pickups for racing purpose - by Y_Less - 24.09.2012, 04:28
Re: Vehicle pickups for racing purpose - by iggy1 - 25.09.2012, 12:03
Re: Vehicle pickups for racing purpose - by Y_Less - 25.09.2012, 13:38
Re: Vehicle pickups for racing purpose - by Sinner - 25.09.2012, 14:41
Re: Vehicle pickups for racing purpose - by ShOoBy - 26.09.2012, 11:52
Re: Vehicle pickups for racing purpose - by Y_Less - 26.09.2012, 14:23
Re: Vehicle pickups for racing purpose - by Finn - 27.09.2012, 13:09
Re: Vehicle pickups for racing purpose - by Kar - 23.12.2012, 22:35

Forum Jump:


Users browsing this thread: 5 Guest(s)