Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
AUM61 - carai4 code from faq not working in Extra 7.07 #203379
04/21/08 17:49
04/21/08 17:49
Joined: Sep 2006
Posts: 36
Tempe, AZ
B
bpc31 Offline OP
Newbie
bpc31  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 36
Tempe, AZ
The ai cars seem to be using some of the playercar variables:

1. The playercar beeps (traces) when it crosses the start/finish but the ai cars don't.
2. I changed the onscreen variable for distance to laps (for troubleshooting) and discovered whenever the playercar increments a lap the ai cars' laps are incremented too, so if the playercar stops racing the ai cars never finish and when the playercar wins the race all the cars are listed as having the same race times.

So far I've only changed the sleep(x) to wait(-x).

This seems to work on my slower laptop but not on my faster desktop.

Any suggestions?

Thanks!
-Bruce

Re: AUM61 - carai4 code from faq not working in Extra 7.07 [Re: bpc31] #203441
04/22/08 06:33
04/22/08 06:33
Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,011
Bucharest, Romania
The code was written in C-script; you need to convert it to lite-C. There's a guide that shows most of the needed changes in each magazine.


Moderated by  George 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1