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
1 registered members (AndrewAMD), 599 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
C-Script Workshop Problems #102695
12/18/06 22:50
12/18/06 22:50
Joined: Dec 2006
Posts: 15
U.S.A_Florida
A
arcguy2 Offline OP
Newbie
arcguy2  Offline OP
Newbie
A

Joined: Dec 2006
Posts: 15
U.S.A_Florida
I am working on C-Script workshop 2 and when i load the engine a blue screen comes up that says....
a=0
b=0
c=0
and thats how its suppose to look ...then the tutorial tells me to hit TAB and type " a=5; " and i do ...and the tutorial says that the a=0 and b=0 should change to a=5 and b=5 but it dosent.....why isent it changing?

Re: C-Script Workshop Problems [Re: arcguy2] #102696
12/18/06 23:06
12/18/06 23:06
Joined: Dec 2006
Posts: 11
N
noctambulator Offline
Newbie
noctambulator  Offline
Newbie
N

Joined: Dec 2006
Posts: 11
Im having the same problem. if you figure it out please let me know. I will do the same.
Ive had lots of problems with all the tutorials actually, with several things not working like they are supposed to. Having any other problems?

Re: C-Script Workshop Problems [Re: arcguy2] #102697
12/18/06 23:34
12/18/06 23:34
Joined: Dec 2006
Posts: 15
U.S.A_Florida
A
arcguy2 Offline OP
Newbie
arcguy2  Offline OP
Newbie
A

Joined: Dec 2006
Posts: 15
U.S.A_Florida
Yeah accually i had a problem with the design tutoriAL....THE FLame wouldent show up in the fire place ...also in that tutorial i tried to CSG subtract the arch for the door....that dident work eather....so i just kinda gave up on that 1... ......lol
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
anyonelse have any ideas?

Last edited by arcguy2; 12/19/06 01:07.
Re: C-Script Workshop Problems [Re: arcguy2] #102698
12/19/06 13:53
12/19/06 13:53
Joined: Apr 2005
Posts: 2,332
Germany, BaWü
aztec Offline

Expert
aztec  Offline

Expert

Joined: Apr 2005
Posts: 2,332
Germany, BaWü
okay guys I rescripted it for you try this

Code:
 
var video_mode = 8;
var video_depth = 32;

string level = <level.wmb>;

font simple = "arial", 0, 30;

var a = 0;
var b = 0;
var c = 0;

panel addition
{
pos_x = 0;
pos_y = 0;
digits (35, 10, 4,simple, 1, a);
digits (35, 19, 4,simple, 1, b);
digits (35, 28, 4,simple, 1, c);
flags = VISIBLE;
}

function main
{
while(1)
{
c = a+b;
wait(1);
}
}



try again now should work
regards
Aztec


Visit:
schwenkschuster-design.de
Re: C-Script Workshop Problems [Re: aztec] #102699
12/19/06 15:09
12/19/06 15:09
Joined: Jul 2000
Posts: 27,967
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,967
Frankfurt
The reason for the problem was a wrong format string in the panel. Thus a,b,c always were displayed as 0.

Replace "a = %d" by "a = %0.f" and the same for b and c. - I've edited the workshops recently and produced this error.

Re: C-Script Workshop Problems [Re: jcl] #102700
12/19/06 23:54
12/19/06 23:54
Joined: Dec 2006
Posts: 15
U.S.A_Florida
A
arcguy2 Offline OP
Newbie
arcguy2  Offline OP
Newbie
A

Joined: Dec 2006
Posts: 15
U.S.A_Florida
grrr now what am i doing wrong???
now...when i hit the run bottom i get a black screen with a white ...arrow looking thing....i dono what i did...what am i doing wrong?

Last edited by arcguy2; 12/20/06 00:06.
Re: C-Script Workshop Problems [Re: arcguy2] #102701
12/20/06 00:31
12/20/06 00:31
Joined: Dec 2006
Posts: 15
U.S.A_Florida
A
arcguy2 Offline OP
Newbie
arcguy2  Offline OP
Newbie
A

Joined: Dec 2006
Posts: 15
U.S.A_Florida
YES! her i just got finished fiddleing around with it....

var video_mode = 7; // 800x600 pixels
var screen_color[3] = 150,0,0; // dark bluevar
Var a = 0;
var b = 0;
var c = 0;

PANEL display_pan
{
digits (35, 10, "a = %0.f", _a4font, 1, a);
digits (35, 19, "b = %0.f", _a4font, 1, b);
digits (35, 28, "c = %0.f", _a4font, 1, c);
flags = VISIBLE;
}

function main()
{
while (1)
{
c = a + b;
wait (1);
}
}

thier you are hehe =)


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