Gamestudio Links
Zorro Links
Newest Posts
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
1 registered members (AndrewAMD), 1,213 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
empty pointer in weaponscript #213040
06/25/08 14:34
06/25/08 14:34
Joined: Feb 2006
Posts: 302
Beienrode/NDS/GERMANY
Dj_Pint Offline OP
Senior Member
Dj_Pint  Offline OP
Senior Member

Joined: Feb 2006
Posts: 302
Beienrode/NDS/GERMANY
hello! in my weaponaction i use this line:

vec_for_vertex(my.x, you, your.skill9);



when i shoot down the enemy with the gun, the gunaction gives the error: "emty pointer"

now i addet the following lines:
you = ptr_for_handle(my.skill5);//you is stored in skill5 in - the eventfunction of the gun
if(you != 0)
{
vec_for_vertex...
}

but the error still appears.....

can anyone pleaaaaaaase help me?? the game sucks if an error appears everytime you shoot a bot wink

best greetings...



edit: oh its not the empty pointer error, the engine says "invalid arguments"


Last edited by Dj_Pint; 06/25/08 14:36.

if u want to see some stuff i made, go to youTube and search for djpint, not dj pint^^
Re: empty pointer in weaponscript [Re: Dj_Pint] #213058
06/25/08 16:17
06/25/08 16:17
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
your.skill9 != you.skill9 no r


"empty"

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