Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
3 registered members (Martin_HH, steyr, alibaba), 509 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
funny thing happen to me on the way to making a game #224672
08/31/08 18:11
08/31/08 18:11
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Hi,

well, I having a problem with GameStudio.
Let say I open a file with some code in this that works fine.
Then I add some code to it, then I save it, then run it. the code will not compile. So I delete all the code I have added to the file. Then I save it, the code it right back to where it was, befor when it compile and ran fine.
Now I try to compile and run it, it will not compile or run, with the same code that it did run and compile befor. I get the same error I got when I added the bad code, even know I amd not using that code anymore.

Now I see that the file are not the same type file anymore.
In the photo you will see two files. One is space_ship and the other is spaceship_roll. The space_ship file work fine, compile and run. The other file spaceship_roll was the same code in the space_ship file, but I put a roll code in it. the new code gave me and error. I delete the code save the file and recompile it. I get the same error that I got with the old code.

The code in the two are the same.
The file space_ship is a c-lite script
The file spaceship_roll is a WDL script



What am doing wrong?
Thank You
renny

I all so found in the GS folder there back up file and delete the spaceship_roll from that and it still seeing the old and bad code.


I have A7 Commercial .............. Now I just need to learn how to use it

Re: funny thing happen to me on the way to making a game [Re: sadsack] #224674
08/31/08 18:20
08/31/08 18:20
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Of course it is going to give you an error. You are using the exact same code in 2 files that use different languages.

the .c uses lite-c and .wdl uses c-script. Lite-c functions and syntax is different to c-script, so that is the reason it wont compile, lol.

Re: funny thing happen to me on the way to making a game [Re: DJBMASTER] #224676
08/31/08 18:22
08/31/08 18:22
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
how do I keep it in c-lite?
I am not chanding anything, just saving it.
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: funny thing happen to me on the way to making a game [Re: sadsack] #224678
08/31/08 18:24
08/31/08 18:24
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
you have to manually type the file extension .c after you type the filename. Then it will save as .c.

BTW, it's lite-c not c-lite. I have to be picky, sry lol.

Re: funny thing happen to me on the way to making a game [Re: DJBMASTER] #224680
08/31/08 18:27
08/31/08 18:27
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
Ok, A7 use lite-c right?


I have A7 Commercial .............. Now I just need to learn how to use it

Re: funny thing happen to me on the way to making a game [Re: sadsack] #224682
08/31/08 18:33
08/31/08 18:33
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
A7 can use both c-script and lite-c.

Re: funny thing happen to me on the way to making a game [Re: DJBMASTER] #224685
08/31/08 18:37
08/31/08 18:37
Joined: Aug 2008
Posts: 408
mi usa
sadsack Offline OP
Senior Member
sadsack  Offline OP
Senior Member

Joined: Aug 2008
Posts: 408
mi usa
ok, I have learned alot. I try your adding .c to save and it works fine. Thank you very much.
renny


I have A7 Commercial .............. Now I just need to learn how to use it

Re: funny thing happen to me on the way to making a game [Re: sadsack] #224688
08/31/08 18:47
08/31/08 18:47
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
np, i wonder why conitec haven't fixed this problem or at least added an .c option to the save as dialog.


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