Gamestudio Links
Zorro Links
Newest Posts
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
Data from CSV not parsed correctly
by jcl. 04/20/24 08:32
Zorro FIX plugin - Experimental
by jcl. 04/20/24 08:30
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (7th_zorro, Aku_Aku, 1 invisible), 579 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ENABLE_BLOCK is unknown #453012
07/05/15 10:38
07/05/15 10:38
Joined: Dec 2009
Posts: 16
NovaTech2010 Offline OP
Newbie
NovaTech2010  Offline OP
Newbie

Joined: Dec 2009
Posts: 16
Guten Tag ^^

I want to programming a collision between a Entity and Blocks in lite-C, but... i think he don't know what is ENABLE_BLOCK and this isn't very good for my project.




Code:
my.emask |= ENABLE_ENTITY;



ENABLE_ENTITY works, but BLOCKs not... any ideas? grin

Thanks!
- Marvin

Last edited by NovaTech2010; 07/05/15 10:38.
Re: ENABLE_BLOCK is unknown [Re: NovaTech2010] #453013
07/05/15 11:19
07/05/15 11:19
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
I do not have or had a7 ,so I do not know how it was different .

but in my a8 manual , under troubleshooting -- error messages , the error code you recieved is :

Error E355: Startup failure
The engine won't start this published project because the published project folder (.CD) contains wrong content - for instance, when a file was deleted or modified after publishing. Make sure that the project starts fine in development mode, that you have no duplicate files in your project folders and that the .CD folder contains the original content that was generated by the publish process. Also look for error messages during the publish process that indicate missing files.

other than that I dont really see anything wrong (not knowing a7)


Compulsive compiler
Re: ENABLE_BLOCK is unknown [Re: NovaTech2010] #453015
07/05/15 11:27
07/05/15 11:27
Joined: Dec 2009
Posts: 16
NovaTech2010 Offline OP
Newbie
NovaTech2010  Offline OP
Newbie

Joined: Dec 2009
Posts: 16
Thank you!

Means, maybe a systemfile is damaged?

Re: ENABLE_BLOCK is unknown [Re: NovaTech2010] #453017
07/05/15 12:51
07/05/15 12:51
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
#include <acknex.h>
? Do you have any (not necessarily modified) files of the GStudio7/include folder copied to your working directory/ scripts folder?

Last edited by Superku; 07/05/15 12:53.

"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: ENABLE_BLOCK is unknown [Re: NovaTech2010] #453020
07/05/15 13:52
07/05/15 13:52
Joined: Dec 2009
Posts: 16
NovaTech2010 Offline OP
Newbie
NovaTech2010  Offline OP
Newbie

Joined: Dec 2009
Posts: 16
Ty^^
No, i never added or edited files of the 3Dgs systems, a reinstallation hasn't work to.
ENABLE_BLOCK work's with C-Skript, but don't, and i need it, in Lite-C...

Re: ENABLE_BLOCK is unknown [Re: NovaTech2010] #453021
07/05/15 14:20
07/05/15 14:20
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
This should be defined in atypes.h (which is included via acknex.h)

#define EVENT_BLOCK 1

#define ENABLE_BLOCK (1<<EVENT_BLOCK)

Maybe there was a bug with the headers with exactly that one version you're using... check the contents of atypes.h in "include" folder.

Re: ENABLE_BLOCK is unknown [Re: NovaTech2010] #453022
07/05/15 14:36
07/05/15 14:36
Joined: Dec 2009
Posts: 16
NovaTech2010 Offline OP
Newbie
NovaTech2010  Offline OP
Newbie

Joined: Dec 2009
Posts: 16
O___ô

Awesome, it work's!

Thank you very much, dankeschön grin

I have edited atypes.h, but now i have the nuber 1 two times:
Code:
//event definitions
#define EVENT_SURFACE	        1	// collision with level surface
#define EVENT_BLOCK 		1
#define EVENT_ENTITY		2	// collisions with entity
#define EVENT_STUCK		3	// stuck in a corner
#define EVENT_PUSH		4	
#define EVENT_IMPACT		5	// hit by another entity
#define EVENT_FRICTION	        6
#define EVENT_DETECT		7
#define EVENT_SCAN		8
#define EVENT_SHOOT		9
#define EVENT_TRIGGER	        10
#define EVENT_SONAR		11
#define EVENT_FRAME		12


Re: ENABLE_BLOCK is unknown [Re: NovaTech2010] #453033
07/05/15 19:14
07/05/15 19:14
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Your A7 version is seriously outdated. Like, half a decade outdated.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com

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