Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, degenerate_762, 7th_zorro), 1,075 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Newbie question #183531
02/12/08 17:49
02/12/08 17:49
Joined: Oct 2007
Posts: 3
Oklahoma U.S.
shadowd1 Offline OP
Guest
shadowd1  Offline OP
Guest

Joined: Oct 2007
Posts: 3
Oklahoma U.S.
OK I apologize in advance for this newbie question.

When doing the liteC workshops, if I run the code form the workshop it runs fine. However, if I type the code in I get a "Main Script not found - check Preferences" error.
I have checked the preferences and the location of my include files are right.

I have gone through the sed help file and couldn't find the answer.

Has anyone experienced this and what do I do to fix it?

Thanks in advance.

Re: Newbie question [Re: shadowd1] #183532
02/12/08 21:44
02/12/08 21:44
Joined: May 2007
Posts: 175
Germany
dblade Offline
Member
dblade  Offline
Member

Joined: May 2007
Posts: 175
Germany
You had to look at "Options" -> "Preferences"
then hit the enviroment card and mark "use current file for test run".

Another way is to look at the engine card and set your script as the main script. ["options" -> "preferences" -> "engine" ]

Re: Newbie question [Re: dblade] #183533
02/14/08 12:17
02/14/08 12:17
Joined: Oct 2007
Posts: 3
Oklahoma U.S.
shadowd1 Offline OP
Guest
shadowd1  Offline OP
Guest

Joined: Oct 2007
Posts: 3
Oklahoma U.S.
that box is checked. Or did you mean to uncheck that box? I went through the manual and didn't see if there was a certain folder the files are supposed to be in. I have the folder set to the include files correctly.


Aces and Eights
Re: Newbie question [Re: shadowd1] #183534
02/14/08 17:15
02/14/08 17:15
Joined: Feb 2008
Posts: 337
V
Vadim647 Offline
Senior Member
Vadim647  Offline
Senior Member
V

Joined: Feb 2008
Posts: 337
Have you saved your script?
If not, it wouldn't work.
It must have "*.c" filename if you own free liteC


I switched to other account since marth 2010. Guess which.
Re: Newbie question [Re: Vadim647] #183535
03/14/08 14:52
03/14/08 14:52
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Ok.. i got the same problem.. now i fixed it.. but if i make workshop_2 Variables.. and change
c = a + b;

to
c = a - b;

It won´t work.. I saved the script... After 3 failed tries.. i saved the script closed it.. after loading it again.. the code is
c = a + b;
again..

it hasn´t saved it..

What´s wrong???


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: Newbie question [Re: Espér] #183536
03/14/08 16:07
03/14/08 16:07
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline
User
Trooper119  Offline
User

Joined: Apr 2004
Posts: 516
USA
There are several different possibilities, I'll list all I can think of.
1. Your not saving your file in the right place, hit save as, and save it manually to where you want.
2. Wherever your running it from is the wrong file, check either WED or SED (wherever your running it from), and find where it is running the script from, once again, manually set it to the right folder that you have "save as"ed
3. Your opening the wrong file, I'm guessing somehow you've duplicated the files to have very similar code but one it outdated, the other is not. Find them both (hint hit save as, wherever it brings you is where your saving your file) the other one is wherever you've been selecting it from. Delete one so you only have 1 available, if you want more then one copy, save it as a backup and put it in an out of the way place.
4. Besides restarting your computer to get rid of any temporary files that might be screwy I'd suggest going through the list 1 more time to make sure you've gotten it all.


A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: Newbie question [Re: Trooper119] #183537
03/14/08 16:37
03/14/08 16:37
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
ok.. fixed it.. just reinstalled the whole programm.. no it works ^^.. And i´m learning YEAH...


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<

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