Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (alibaba, vicknick), 1,379 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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 | chip programmers | 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