Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AbrahamR, 7th_zorro, dr_panther, 1 invisible), 702 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Errors :( big mess #267088
05/21/09 21:00
05/21/09 21:00
Joined: Mar 2009
Posts: 21
B
Blackspace Offline OP
Newbie
Blackspace  Offline OP
Newbie
B

Joined: Mar 2009
Posts: 21
hi

I started my pc again afther a month and I encounter the error W1301. confused I looked arround the forum and found some other people had the same problem. But there wasn't a solution explained. frown

I made a new map
created a cube
builded
saved
runned error can't open test9.wdl confused

Everything is in the same folder. So thats not the problem.

I think the problem is with the line of the running line : test9.wmb -nx 30 1.c 1.c 1.c 1.wmb
so I changed into : test9.c -nx 30 1.c 1.c 1.c test9.wmb and it worked.. smile
but...
now I get problems with my scripts.. They cannot be started and when you run them in the map editor they are ignored. cry


Can some one please explain me what's wrong? frown Never had this before..

Is there some repair function on 3dgamestudio?

Re: Errors :( big mess [Re: Blackspace] #267107
05/21/09 23:07
05/21/09 23:07
Joined: Apr 2009
Posts: 298
Southern Oceans
KiwiBoy Offline
Member
KiwiBoy  Offline
Member

Joined: Apr 2009
Posts: 298
Southern Oceans
Take away everything else except for test9.wmb -nx 30 but change .wmb for .c
Thats what I think smile
Its suppossed to run scripts when you 'run' and the scripts call up the wmb file.
also add -diag for debugging purposes. This produces a text file which you can submit for bugs or error checking on some occassions.


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage
Re: Errors :( big mess [Re: KiwiBoy] #267183
05/22/09 11:35
05/22/09 11:35
Joined: Mar 2009
Posts: 21
B
Blackspace Offline OP
Newbie
Blackspace  Offline OP
Newbie
B

Joined: Mar 2009
Posts: 21
It worked smile but there is one problem...
The debugg list says there is a error with my video_mode? frown

// test9.wdl
var video_mode = 7; //revolutie
var video_depth = 16; //bit

function main()
{
level_load("test9.wmb");
wait(2);
}

error: syntax error: can't convert GETPVALUE:FIXED:FIXED
<var mode = video_mode;>

I think its something small but I cant find it xD

Re: Errors :( big mess [Re: Blackspace] #267186
05/22/09 11:47
05/22/09 11:47
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
function main()
{
video_mode = 7; //revolutie
video_depth = 16; //bit
level_load("test9.wmb");
wait(2);
}

try it this way



Ubi bene, ibi Patria.
Re: Errors :( big mess [Re: croman] #267188
05/22/09 11:52
05/22/09 11:52
Joined: Mar 2009
Posts: 21
B
Blackspace Offline OP
Newbie
Blackspace  Offline OP
Newbie
B

Joined: Mar 2009
Posts: 21
Thanks both it worked ^.^

Re: Errors :( big mess [Re: Blackspace] #267189
05/22/09 12:42
05/22/09 12:42
Joined: Mar 2009
Posts: 21
B
Blackspace Offline OP
Newbie
Blackspace  Offline OP
Newbie
B

Joined: Mar 2009
Posts: 21
a bit cheered to early frown It seems that more var have the same problem. frown

When I create a var it doesn't "realy" creating a var.

example my old script worked:
var video_mode = 7;
var video_depth = 16;
var move_vec[3] = 0,0,0;
function main()
{
level_load("TLlevel1.wmb");
wait(2);
}
var idle_percent = 0; //
var walk_percent = 0; // "

var temptilt = 0; //turn the camera
ecc...
This scrip is still working
but when I copy this script to new game all var are getting an error: MAIN undenclared indentifier. frown I found out all var where black then gray.
My new script that doesn't work:
function main()
{
video_mode = 9;
video_depth = 16;
level_load("test9.wmb");
wait(2);
}
var = idle_percent = 0;
var = walk_percent = 0;
var = move_vec[3] = 0,0,0;
ecc...
It doesn't change if you put the var in the main function. frown

Re: Errors :( big mess [Re: Blackspace] #267193
05/22/09 13:20
05/22/09 13:20
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
wrong!
var = idle_percent = 0;

correct!
var idle_percent = 0;



Ubi bene, ibi Patria.
Re: Errors :( big mess [Re: croman] #267206
05/22/09 14:26
05/22/09 14:26
Joined: Mar 2009
Posts: 21
B
Blackspace Offline OP
Newbie
Blackspace  Offline OP
Newbie
B

Joined: Mar 2009
Posts: 21
I feel stupid by that mistake xD

but when I correct it still gives an error: MAIN undenclared indentifier about
var move_vec[3] = 0,0,0; When I change it to var move_vec[3] = {0,0,0}; the problem start again when the var is called.
In : move_vec[0] = (key_w - key_s)*3*time;
move_vec[1] = (key_q - key_e)*2*time;
player.pan += (key_a - key_d)*4*time;
ent_move(move_vec,NULLVECTOR);

Re: Errors :( big mess [Re: Blackspace] #267207
05/22/09 14:42
05/22/09 14:42
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
instead of this:
var move_vec[3] = 0,0,0;

try this:
VECTOR move_vec;



Ubi bene, ibi Patria.
Re: Errors :( big mess [Re: croman] #267211
05/22/09 14:49
05/22/09 14:49
Joined: Mar 2009
Posts: 21
B
Blackspace Offline OP
Newbie
Blackspace  Offline OP
Newbie
B

Joined: Mar 2009
Posts: 21
no luck frown

Page 1 of 2 1 2

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