Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (EvanTJ), 8,302 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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,128
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,128
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,128
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,128
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 | 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