Gamestudio Links
Zorro Links
Newest Posts
freewhyblogelsewhere
by 9489cpjf. 06/03/24 06:06
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
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
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,356 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19056 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
error in NULL-line #438012
03/04/14 19:51
03/04/14 19:51
Joined: Feb 2014
Posts: 35
Simon_Schwitzky Offline OP
Newbie
Simon_Schwitzky  Offline OP
Newbie

Joined: Feb 2014
Posts: 35
hello guys,

since 1 hour i try to fix a fail which is very mytery:
i got a fail in a line that doesn't exist!
my main.c has got 19 lines of code and i got "error in main.c line 20".
please help me, should i Show my script?

Last edited by Simon_Schwitzky; 03/04/14 19:52.

Die Menschen, die verrückt genug sind zu sagen, dass sie die Welt verändern werden, sind diejenigen, die es tuen!
-Steve Jobs
Re: error in NULL-line [Re: Simon_Schwitzky] #438013
03/04/14 19:55
03/04/14 19:55
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Did you forget a "}" somewhere (or have one "{" too many)?


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: error in NULL-line [Re: Simon_Schwitzky] #438014
03/04/14 19:56
03/04/14 19:56
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
Sounds like a error in one of your other, included, script files. Maybe a particle function or something. Or u simply missed a "}" bracket.

Edit: Ah...Felix was faster. ^^

Last edited by rayp; 03/04/14 19:57. Reason: see edit

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: error in NULL-line [Re: Simon_Schwitzky] #438015
03/04/14 20:02
03/04/14 20:02
Joined: Feb 2014
Posts: 35
Simon_Schwitzky Offline OP
Newbie
Simon_Schwitzky  Offline OP
Newbie

Joined: Feb 2014
Posts: 35
I#m sure i did'nt!
here's my main script!
Code:
#include <acknex.h>

#include "map.h"
#include "player.h"

#include "map.c"
#include "player.c"

void main(){
	
	mouse_mode = 1;
	max_entities = 2000;
	//setting up the window
	video_set(1280, 720, 0, 2);
	video_window(NULL, NULL, 16 + 32, "Block Shat");
	
	//starting the game
	generate_level();
}


/edit:

i solved the Problem:D
it was - like you said - in one of my inludes, i forgot a "}".
sorry for this noobish question, i should look more exactly at my code in future!

thank you very much!

Last edited by rayp; 03/04/14 20:08. Reason: added code tags

Die Menschen, die verrückt genug sind zu sagen, dass sie die Welt verändern werden, sind diejenigen, die es tuen!
-Steve Jobs
Re: error in NULL-line [Re: Simon_Schwitzky] #438016
03/04/14 20:08
03/04/14 20:08
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
Your welcome
Happend to me a few days ago, thats why it was my first guess.

Btw. please use code tags [ c o d e ] your script [/ c o d e ] ( without empty spaces )


Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;
Re: error in NULL-line [Re: Simon_Schwitzky] #438017
03/04/14 20:19
03/04/14 20:19
Joined: Feb 2014
Posts: 35
Simon_Schwitzky Offline OP
Newbie
Simon_Schwitzky  Offline OP
Newbie

Joined: Feb 2014
Posts: 35
ok, i'll keep this in mind.
thank you very much!


Die Menschen, die verrückt genug sind zu sagen, dass sie die Welt verändern werden, sind diejenigen, die es tuen!
-Steve Jobs

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