Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 05:41
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AbrahamR, AndrewAMD), 1,278 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Ignore_you problem with c_move #287715
09/02/09 10:09
09/02/09 10:09
Joined: Jul 2005
Posts: 44
france
M
Mach Offline OP
Newbie
Mach  Offline OP
Newbie
M

Joined: Jul 2005
Posts: 44
france
Hello !

Monday, I post a message on the 7.80 public beta topic to say I found a "bug" with the IGNORE_YOU flag in the c_move function.

JCL, answer he didn't reproduce the bug. But I really have a problem with this IGNORE_YOU flag in c_move function, And it's since the 7.8 version, in the 7.7 it's work. confused

I create a small level for test, You can download it here : http://www.megaupload.com/?d=7LJ29JKV

You'll find the level, the lite-c file and the publish exe.

Test it, it's a bug, it will be good to have a correction version, or it's my code which have an error, sorry blush

My code :
Code:
#include <acknex.h>
#include <default.c>

void main()
{
	//video_aspect = 4/3;
	video_mode = 8;
	video_screen = 1;
	video_depth = 32;
	time_smooth = 0.99;
	fps_max=32;
	fps_lock=OFF;
	mouse_mode = 0;
	d3d_antialias = 1;
	d3d_anisotropy = 0;
	d3d_triplebuffer = 0;
	d3d_mipmapping = 3;
	sky_clip = 0;
	//warn_level = 0;
	enable_polycollision=2;
	preload_mode = 3;
	wait(-2);
	level_load("ignore_test.wmb");
}
ENTITY* caisse_ent;
action caisse_ac()
{
	set(me,POLYGON);
	caisse_ent=me;
}
action player_ac()
{
	set(me,POLYGON);
	while(me)
	{
		my.skill1=2*time_step*key_force.x;	// mouse movement changes PAN 
 	  	my.skill2=2*time_step*key_force.y;
 	  	you=caisse_ent;
 	  	c_move(me,my.skill1,nullvector,IGNORE_YOU|GLIDE);
 	  	wait(1);
	}
}




Leader "Mach Creation"
A7.80.1 Pro
Re: Ignore_you problem with c_move [Re: Mach] #287758
09/02/09 12:34
09/02/09 12:34
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
if you cut out you=caisse_ent;
then its better.
it doesnt solve the problem at all but its helping a bit.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Ignore_you problem with c_move [Re: alibaba] #287763
09/02/09 12:46
09/02/09 12:46
Joined: Jul 2005
Posts: 44
france
M
Mach Offline OP
Newbie
Mach  Offline OP
Newbie
M

Joined: Jul 2005
Posts: 44
france
You said yourself : "It doesn't solve the problem".

You don't give me a solution or a confirmation wink

I Try in A7.77.4 : it's work fine

I try in A7.80.0 and A7.80.1 : It doesn't work cry


Leader "Mach Creation"
A7.80.1 Pro
Re: Ignore_you problem with c_move [Re: Mach] #287895
09/03/09 06:57
09/03/09 06:57
Joined: Jul 2005
Posts: 44
france
M
Mach Offline OP
Newbie
Mach  Offline OP
Newbie
M

Joined: Jul 2005
Posts: 44
france
No answer ?
Nobody reproduce the problem ?
Nobody wants to help me ? cry

Like JCL says me, I send a mail at support with the small project I created for test this bug (for me it's a 7.8 bug).

I hope a quicly answer but if anyone have the same problem, tell it here please. wink


Leader "Mach Creation"
A7.80.1 Pro
Re: Ignore_you problem with c_move [Re: Mach] #287902
09/03/09 07:30
09/03/09 07:30
Joined: Jul 2005
Posts: 44
france
M
Mach Offline OP
Newbie
Mach  Offline OP
Newbie
M

Joined: Jul 2005
Posts: 44
france
Sorry for all this post but it's important wink

I received a reply from support and they confirmed that this is a bug wink
They reproduce my problem and say it will be fixed in the next update.

Thanks Support. smile


Leader "Mach Creation"
A7.80.1 Pro
Re: Ignore_you problem with c_move [Re: Mach] #287913
09/03/09 08:19
09/03/09 08:19
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Gah! I wasnt quick enough.
I just confirmed it from your mini-level too.
Definately a bug.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Ignore_you problem with c_move [Re: EvilSOB] #287960
09/03/09 12:30
09/03/09 12:30
Joined: Jul 2005
Posts: 44
france
M
Mach Offline OP
Newbie
Mach  Offline OP
Newbie
M

Joined: Jul 2005
Posts: 44
france
I'm happy to see that in the bug page grin

Quote:
c_move ignored the IGNORE_YOU parameter under some circumstances (fixed in 7.81.1). Workaround: set(you,PASSABLE); c_move(...); reset(you,PASSABLE); .


I would like to know, if I have the possibility to have the correction version when it realesed ?

Because the workaround isn't a solution for me. Indeed, the you entity in my big project, is a terrain. So if I set passable, Other entity on the terrain, has passed through it.

Thanks.


Leader "Mach Creation"
A7.80.1 Pro
Re: Ignore_you problem with c_move [Re: Mach] #287963
09/03/09 12:54
09/03/09 12:54
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
That's why you have "reset(you,PASSABLE)" immediately afterwards -- this stops it from being passable.

Basically, the terrain will only be PASSABLE for the duration of your c_move.

Jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: Ignore_you problem with c_move [Re: JibbSmart] #288703
09/08/09 08:47
09/08/09 08:47
Joined: Apr 2009
Posts: 39
T
TrQuocAn Offline
Newbie
TrQuocAn  Offline
Newbie
T

Joined: Apr 2009
Posts: 39
I meet the same Bug !
it's so terrible !
I often use the IGNORE_YOU -> I have to replace all :((


Moderated by  HeelX, Spirit 

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