Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
0 registered members (), 1,012 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Error by opening Codes (you can answer German+English) #289266
09/11/09 13:59
09/11/09 13:59
Joined: Sep 2009
Posts: 14
D
DesignerX Offline OP
Newbie
DesignerX  Offline OP
Newbie
D

Joined: Sep 2009
Posts: 14
I've got a question. I start se SED and i make the tutorial open from http://tutorial.3dgamestudio.net/index_d.htm

On the first page of the tutorial it says: Clcik on the data to oben that code, which is schown in workshop ONE!

First I got the Error the tell in the Linie under the Code, I'd made what they wanted me to do, if such an error comes. Afterwards it was gone. but now I*ve another error, it says: 'function' in line 1 not found (or something)

Do you understand me, can you follow me, do you know waht I mean?

Please tell me how I can make the programme opening (rightfully)

thanks
DesignerX

Re: Error by opening Codes (you can answer German+English) [Re: DesignerX] #289274
09/11/09 15:00
09/11/09 15:00
Joined: Jun 2009
Posts: 258
behind this enternet window
zeusk Offline
Member
zeusk  Offline
Member

Joined: Jun 2009
Posts: 258
behind this enternet window
show the exact code you put in

Re: Error by opening Codes (you can answer German+English) [Re: zeusk] #289276
09/11/09 15:13
09/11/09 15:13
Joined: Sep 2009
Posts: 14
D
DesignerX Offline OP
Newbie
DesignerX  Offline OP
Newbie
D

Joined: Sep 2009
Posts: 14
function main ()
{
level_load("small.hmp");
ent_create("earth.mdl", vector(10, 20, 30), NULL);
}

If necessary I'll upload a screenshot...

Re: Error by opening Codes (you can answer German+English) [Re: DesignerX] #289277
09/11/09 15:15
09/11/09 15:15
Joined: Jun 2008
Posts: 428
Rasch Offline
Senior Member
Rasch  Offline
Senior Member

Joined: Jun 2008
Posts: 428
Is it possible to open a .hmp file as level? shouldn´t it be a .wmb file?

edit: seems like it is possible ^^ I cna´t see any errors

maybe try

Code:
void main()
{
   level_load("small.hmp");
   ent_create("earth.mdl", vector(10, 20, 30), NULL)
}



Last edited by Rasch; 09/11/09 15:19.
Re: Error by opening Codes (you can answer German+English) [Re: Rasch] #289278
09/11/09 15:19
09/11/09 15:19
Joined: Sep 2009
Posts: 14
D
DesignerX Offline OP
Newbie
DesignerX  Offline OP
Newbie
D

Joined: Sep 2009
Posts: 14
Excuse me, but I'm new, I work myself through the tutorial, but I cant's really understand it, because I can not open anything!
That doesn't work, why ever!

In the online Tutorial on Workshop 1 it is shown, look there!

mfg

Re: Error by opening Codes (you can answer German+English) [Re: DesignerX] #289279
09/11/09 15:21
09/11/09 15:21
Joined: Jun 2008
Posts: 428
Rasch Offline
Senior Member
Rasch  Offline
Senior Member

Joined: Jun 2008
Posts: 428
Yeah i see. I´m not sure at the moment cant try but you got a space between "main" and "()"

try

function main()

instead of

function main ()

Re: Error by opening Codes (you can answer German+English) [Re: Rasch] #289285
09/11/09 16:07
09/11/09 16:07
Joined: Sep 2009
Posts: 14
D
DesignerX Offline OP
Newbie
DesignerX  Offline OP
Newbie
D

Joined: Sep 2009
Posts: 14
OK, I'll see weather this works =)

But thanks^^

If that don't works, I'll say Hello again grin

Re: Error by opening Codes (you can answer German+English) [Re: DesignerX] #289286
09/11/09 16:09
09/11/09 16:09
Joined: Sep 2009
Posts: 14
D
DesignerX Offline OP
Newbie
DesignerX  Offline OP
Newbie
D

Joined: Sep 2009
Posts: 14
No Chance - Failure, unfortunately I'll have have to install again - I've got full version...

Re: Error by opening Codes (you can answer German+English) [Re: DesignerX] #289324
09/11/09 20:28
09/11/09 20:28
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
How about putting a wait(); function?


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