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
1 registered members (TipmyPip), 18,388 guests, and 6 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
Problems, Problems and more Problems #90519
09/17/06 17:59
09/17/06 17:59
Joined: Aug 2006
Posts: 28
United States
luis29999 Offline OP
Newbie
luis29999  Offline OP
Newbie

Joined: Aug 2006
Posts: 28
United States
I did buy this program A6 gamestudio like 5 or 6 days ago and I am really new at it. I have not been able to start my very first level yet because an error keeps coming up! At first I did not pay attention to the error because it was probably me doing something wrong in my c-script. I was able to run and test the levels from the tutorials. But now the error is getting worse, yes it is getting worse. I was able to open, run, play, and learn with the levels that came with the tutorial at the download page so I could learn more about c-script. But now today this morning the error started to appear with the levels from the tutorials also!!!! I even tried to open the levels that I was working with yesterday and the error still comes up. Those levels used to work perfectly and now they don't. I would like to post a picture of the error right here but I don't know how to put pictures so I will have to write it down.
------------------------------------------------------------------------------
This is the error that appears in WED:
Compiling LEVEL1.WDL-[Esc] to abort...
<level_load(level.wmb)>
LEVEL1.WDL 13:0 Error (58): Parameter unkown level1 keyword
<}>
level1.WDL 14:0 Error (96): Syntax error-nonexistent/empty function main
Script Error
Engine Error
--------------------------------------------------------------------------
This is the Error from SED:
Compiling 1.WDL-[Esc] to abord...
Can't run 1.EDL
--------------------------------------------------------------------------

This is the Script of LEVEL1
////////////////////////////////////////////////////

var video_mode = 7;
var video_depth = 32;

////////////////////////////////////////////////////

string level1_wmb = <level1.wmb>;

////////////////////////////////////////////////////

function main()
{
level_load (level1.wmb);
}

So I am very confuse...The scripts of the tutorial are suppost to work and they even worked yesterday. That means that is not really the script is the engine having problems. I don't know what is going on here. Please can somebody help me???????

Re: Problems, Problems and more Problems [Re: luis29999] #90520
09/17/06 19:10
09/17/06 19:10
Joined: Nov 2002
Posts: 2,148
Germany
Dima Offline
Expert
Dima  Offline
Expert

Joined: Nov 2002
Posts: 2,148
Germany
Try this!

function main()
{
level_load(level1_wmb);
}


I'm not afraid of competition cos I'm know that I'm best
Re: Problems, Problems and more Problems [Re: luis29999] #90521
09/17/06 19:11
09/17/06 19:11
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline

Expert
aztec  Offline

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
litle mistake
Code:
This is the Script of LEVEL1
////////////////////////////////////////////////////

var video_mode = 7;
var video_depth = 32;

////////////////////////////////////////////////////

string level1_wmb = <level1.wmb>;

////////////////////////////////////////////////////

function main()
{
level_load ( level1_wmb );
}





Visit:
schwenkschuster-design.de
Re: Problems, Problems and more Problems [Re: aztec] #90522
09/17/06 19:12
09/17/06 19:12
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline

Expert
aztec  Offline

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
someone was faster


Visit:
schwenkschuster-design.de
Re: Problems, Problems and more Problems [Re: aztec] #90523
09/17/06 23:23
09/17/06 23:23
Joined: Aug 2006
Posts: 28
United States
luis29999 Offline OP
Newbie
luis29999  Offline OP
Newbie

Joined: Aug 2006
Posts: 28
United States
Now the level is working after I took a long brake. Aztec, yes you are right with your reply but I also had it in that same way before and still did not work. The good news is that now is working thank you all.


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