Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Imhotep, opm), 785 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
sys_marker #449636
03/26/15 21:17
03/26/15 21:17
Joined: Jul 2002
Posts: 3,208
Germany
Error014 Offline OP
Expert
Error014  Offline OP
Expert

Joined: Jul 2002
Posts: 3,208
Germany
This might be more of a feature request than a "Blame the manual". But anyways, sys_marker's entry in the manual states:

Quote:

The marker is also displayed in script error messages, allowing to find the precise location of the error


Which is a great feature for debugging!
Unfortunately, it isn't triggered anytime. In "Engine error messages", its implied to only appear for "Error E1513: Script crash in..." and "Error E1516: Invalid memory area".
Other errors, such as "Error E1515: Invalid arguments" do *NOT* show the marker. So this should be corrected in the manual. Or, better yet...

If there's no good reason against this, would it be possibly to display the sys_marker-content in every error message?

Here's a quick test for you, if you need it. Runs with no assets.
Uncomment the first line to get a "Script crash" (shows sys_marker), uncomment the second for an "Invalid argument" error (does not show sys_marker):

Code:
void main() {
	ENTITY* notinuse=NULL;

	sys_marker("TST");

	//notinuse.skill1 = 1; //Gives a "Script Crash".
	//c_move(notinuse,vector(1,0,0),nullvector,0); //Gives an "Invalid argument"
}



Perhaps this post will get me points for originality at least.

Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
Re: sys_marker [Re: Error014] #449672
03/28/15 02:49
03/28/15 02:49
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Have you set warn_level >=2 ?


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: sys_marker [Re: alibaba] #449687
03/28/15 22:35
03/28/15 22:35
Joined: Jul 2002
Posts: 3,208
Germany
Error014 Offline OP
Expert
Error014  Offline OP
Expert

Joined: Jul 2002
Posts: 3,208
Germany
Makes no difference. sys_marker is only shown for the "Script Crash"-error, regardless of warn_level.


Perhaps this post will get me points for originality at least.

Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
Re: sys_marker [Re: Error014] #449688
03/28/15 22:38
03/28/15 22:38
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Oh, you´re right! Nevermind.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: sys_marker [Re: alibaba] #449739
03/30/15 17:02
03/30/15 17:02
Joined: Jul 2000
Posts: 27,977
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,977
Frankfurt
This makes sense. We'll include the sys_marker in any error message in a future version, not only in crash messages.


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

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