Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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
3 registered members (AndrewAMD, VoroneTZ, Akow), 1,459 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Code Abort..! #402890
06/11/12 17:05
06/11/12 17:05
Joined: May 2010
Posts: 41
İstanbul/Turkey
Sorrowful Offline OP
Newbie
Sorrowful  Offline OP
Newbie

Joined: May 2010
Posts: 41
İstanbul/Turkey
Code:
#include <acknex.h>
VECTOR* top_git;

action topa()
{
	player = me;
	while(1)
   {
   pXent_setvelocity(me,top_git);
   pXent_setdamping(me,34,40);  
   pXent_settype(me,PH_STATIC,PH_SPHERE);
  	pXent_move(me,top_git,nullvector);
  	if(key_w) 
  	top_git.x += 3;
  	wait(1); 
  	}
}

function cikis()
{
	sys_exit(NULL);
}

function main()
{
	 physX_open();
	video_screen = 1;
	video_mode = 10;
	level_load("AtesTop.wmb");
  	on_esc = cikis;
}



What went wrong there?

Last edited by Sorrowful; 06/11/12 17:05.

A8.40 Professional
Sancak Oyun Ekibi
Re: Code Abort..! [Re: Sorrowful] #402893
06/11/12 17:56
06/11/12 17:56
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
You need to register the player to the physics engine first.
pXent_settype


POTATO-MAN saves the day! - Random
Re: Code Abort..! [Re: Sorrowful] #402894
06/11/12 17:56
06/11/12 17:56
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Everything.
Whats your definition of wrong?

@Kartoffel
Dont awnser on such questions!
He needs to learn to post FULL threads, and not this low quality "Where's the error?"

Last edited by Ch40zzC0d3r; 06/11/12 17:57.
Re: Code Abort..! [Re: Ch40zzC0d3r] #402895
06/11/12 18:00
06/11/12 18:00
Joined: Jul 2008
Posts: 2,107
Germany
rayp Offline

X
rayp  Offline

X

Joined: Jul 2008
Posts: 2,107
Germany
i would include ackphysX.h first ...maybe.

and yeah post sucks, no abort infos.


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: Code Abort..! [Re: Ch40zzC0d3r] #402896
06/11/12 18:01
06/11/12 18:01
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Quote:
He needs to learn to post FULL threads, and not this low quality "Where's the error?"

I agree with this, but imo giving no answer is the wrong thing in this case...

EDIT:
whatever...
@Sorrowful let us know if there still are problems, but this time not only the "my code doesn't work! fix it for me!!" thing...

Try to give more detailed information about the problem, otherwise people don't even know whats not working.

Last edited by Kartoffel; 06/11/12 18:10.

POTATO-MAN saves the day! - Random
Re: Code Abort..! [Re: Kartoffel] #402897
06/11/12 18:08
06/11/12 18:08
Joined: May 2010
Posts: 41
İstanbul/Turkey
Sorrowful Offline OP
Newbie
Sorrowful  Offline OP
Newbie

Joined: May 2010
Posts: 41
İstanbul/Turkey
Thanks Kartoffel...


A8.40 Professional
Sancak Oyun Ekibi
Re: Code Abort..! [Re: Sorrowful] #402903
06/11/12 18:53
06/11/12 18:53
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
There comes the question by your knowledge why the hell youve got the pro version of 3dgs?


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