Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
New and I got some problems #283159
08/06/09 07:42
08/06/09 07:42
Joined: Aug 2009
Posts: 4
S
Sreveo Offline OP
Guest
Sreveo  Offline OP
Guest
S

Joined: Aug 2009
Posts: 4
Hello,
I just bought Game Studio a few hours ago. Went home and installed the items on the CD. Downloaded a few tutorials, skipped quickly through the manual.
I seem to have a small problem however.
I just tried to run the Lite C Workshop 01. When I click on Test Run I got a error about the Script not being found and to check my preferences. So a quick Google search said I should set it to
C:\Program Files\GStudio7\include\default.c in Preferences. Now however when ever I click Test Run I get a black screen. Not a picture of a Planet hovering above the terrain like in the tutorial.
Can anyone help me?

Re: New and I got some problems [Re: Sreveo] #283167
08/06/09 08:23
08/06/09 08:23
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
hi, you shouldn't set it to default.c, that is a code file that provides help for games. If you go into Options > Preferences > Environment you should see "Use the current file for test run". That has to be checked to use the loaded script.

Re: New and I got some problems [Re: DJBMASTER] #283175
08/06/09 09:11
08/06/09 09:11
Joined: Aug 2009
Posts: 4
S
Sreveo Offline OP
Guest
Sreveo  Offline OP
Guest
S

Joined: Aug 2009
Posts: 4
Thanks for the help DJBMASTER.

It seems to start loading now. then gives me a Error E355. The whole thing looks like this.
Mouse found
Realtek HD Audio output opened
NVIDIA GeForce 9400 GT pure T&L device 1ff9 detected.
Compiling SCRIPT01.C
Error in 'Main' line 1: 'function' undeclared identifier
< function main()>
.
Can't compile SCRIPT01.C

Edit: The other Workshops seem to run with no problem at all.


Last edited by Sreveo; 08/06/09 09:12.
Re: New and I got some problems [Re: Sreveo] #283179
08/06/09 09:17
08/06/09 09:17
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
ok, make sure you have this at the top of your script...

#include <acknex.h>
#include <default.c>

Re: New and I got some problems [Re: DJBMASTER] #283182
08/06/09 09:25
08/06/09 09:25
Joined: Aug 2009
Posts: 4
S
Sreveo Offline OP
Guest
Sreveo  Offline OP
Guest
S

Joined: Aug 2009
Posts: 4
Thank you it works now. laugh
Feel kind of embarrassed making this post now. eek

Re: New and I got some problems [Re: Sreveo] #283185
08/06/09 09:42
08/06/09 09:42
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
LOL don't be, thats what we are here for.

Just in case you were wondering; 'acknex.h' tells the engine what things like a function or an action is, and that is the reason you were getting the 'undeclared identifier' error.

'default.c' allows you access information like the FPS, number of models on screen, memory used, etc.

Last edited by DJBMASTER; 08/06/09 09:44.

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