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
0 registered members (), 16,643 guests, and 5 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
Lite-C Workshop help. #318629
04/08/10 19:43
04/08/10 19:43
Joined: Apr 2010
Posts: 4
USA
M
Mrsickness07 Offline OP
Guest
Mrsickness07  Offline OP
Guest
M

Joined: Apr 2010
Posts: 4
USA
I am completely new to scripting and code, so I've been trying to follow the Lite-C Workshops for Gamesudio. However, I have a problem with the tutorials. In the first workshop, I load Script01 into SED, but when I get to the part to take a test run, I get this error:

Error in 'MAIN' line 1: 'function' undeclared identifier

< function main( ) >
.
Can't compile SCRIPT01.C
Startup failure - any key to abort


I have the same exact code in my script that the workshop shows. I've even copied and pasted it as follows:

function main( )
{
level_load("small.hmp");
ent_create("earth.mdl", vector(10, 20, 30), NULL);
}


Also, I made sure to check the option for "Use current file for Test Run" under preferences.
If anyone can help me or provide a solution, I would greatly appreciate it.

Re: Lite-C Workshop help. [Re: Mrsickness07] #318632
04/08/10 20:00
04/08/10 20:00
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Set at the top of your script:

#include <acknex.h>

Re: Lite-C Workshop help. [Re: Widi] #318635
04/08/10 20:15
04/08/10 20:15
Joined: Apr 2010
Posts: 4
USA
M
Mrsickness07 Offline OP
Guest
Mrsickness07  Offline OP
Guest
M

Joined: Apr 2010
Posts: 4
USA
That prevents the error message from coming up, but the program closes after a half-second of being open.

Re: Lite-C Workshop help. [Re: Mrsickness07] #318729
04/09/10 13:14
04/09/10 13:14
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
than you must be a warez user!

Re: Lite-C Workshop help. [Re: Mrsickness07] #318730
04/09/10 13:15
04/09/10 13:15
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
than you must be a warez user!

Re: Lite-C Workshop help. [Re: Rei_Ayanami] #318738
04/09/10 13:58
04/09/10 13:58
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
@Rei: I hate warez users too, but don`t call everyone without a evidence warez user!

Re: Lite-C Workshop help. [Re: Widi] #318744
04/09/10 14:03
04/09/10 14:03
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
but he has included the acknex.h and a simple prog.

these are the signs for a warez version wink

Re: Lite-C Workshop help. [Re: Rei_Ayanami] #318968
04/11/10 04:07
04/11/10 04:07
Joined: Apr 2010
Posts: 4
USA
M
Mrsickness07 Offline OP
Guest
Mrsickness07  Offline OP
Guest
M

Joined: Apr 2010
Posts: 4
USA
It would seem you guys are correct. The version I was running WAS pirated. Apparently, my best friend's concept of free is different than what it should be. I have downloaded and am now running the REAL free Gamestudio.

I really want to become an active member in this community, and I truly am interested in learning to create games, and as such I do not want my first impression to be that I am a pirate. So I apologize for wasting a thread on this, and thank you Rei for giving the hint to even ask my friend if the program was pirated.


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