Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
log file #201467
04/09/08 07:38
04/09/08 07:38
Joined: Apr 2008
Posts: 1
M
mihar Offline OP
Guest
mihar  Offline OP
Guest
M

Joined: Apr 2008
Posts: 1
Hai.. my name is rahim. I have a question, i hope someone can help me. In my car simulation, i want to make a log file. this log file can show what driver do in a certain time. how and what the code. in this simulation, i use car project script ( c- script).

Re: log file [Re: mihar] #201764
04/11/08 01:06
04/11/08 01:06
Joined: Jun 2003
Posts: 427
Prison
DarkWhoppy_ Offline
Senior Member
DarkWhoppy_  Offline
Senior Member

Joined: Jun 2003
Posts: 427
Prison
You could create a WHILE loop that executes a function, which writes certain data to a file.

Every time the fuction is executed it appends the data to the end of the file. You probably don't want to make a while loop that continues forever writing data to a file... Maybe only have it execute every few seconds? Or only if certain keys are pressed.


darkwhoppy@msn.no.spam.com (remove no.spam.) Website: WhoppyArts
Re: log file [Re: DarkWhoppy_] #201769
04/11/08 02:06
04/11/08 02:06
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
I guess you want to have a look at the diag() instruction.


Always learn from history, to be sure you make the same mistakes again...

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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