Gamestudio Links
Zorro Links
Newest Posts
blogherenowcenter
by 3s05bmmc. 06/05/24 06:08
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
2 registered members (AndrewAMD, VoroneTZ), 779 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19057 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Empty Pointer?? #219942
08/05/08 18:22
08/05/08 18:22
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
Hallo Leute ich habe ein Problem nämlich
die Engine sagt mir das mein Pointer leer ist.
Mein Script im folgendem.
Danke

Hi guys I have a big problem.
The engine says to me that the pointer is empty.
Please help me!
Thx







My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Re: Empty Pointer?? [Re: kwpsp] #219948
08/05/08 18:57
08/05/08 18:57
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
it wont work that way...

try


if(result.flag5 == on){...


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com
Re: Empty Pointer?? [Re: DLively] #219949
08/05/08 19:02
08/05/08 19:02
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
sry
it doesn't work
thx


My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Re: Empty Pointer?? [Re: kwpsp] #219955
08/05/08 19:31
08/05/08 19:31
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
c_trace...
if(you != NULL)
{
if(you.flag5 == 0n)
...


"empty"
Re: Empty Pointer?? [Re: flits] #219956
08/05/08 19:33
08/05/08 19:33
Joined: Aug 2003
Posts: 7,439
Red Dwarf
Michael_Schwarz Offline
Senior Expert
Michael_Schwarz  Offline
Senior Expert

Joined: Aug 2003
Posts: 7,439
Red Dwarf
i think the main point is, you aren't setting the you pointer anywhere in the action, so it's bloody obvious it's empty...


"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
Re: Empty Pointer?? [Re: Michael_Schwarz] #219958
08/05/08 20:10
08/05/08 20:10
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
I made it how flits it said
But the engine says then
possible endless loop in the action.
Can anyone made a testlevel
with an area(invisible,passable)
When I tap in the area then must come a Bitmap.
the Bad point is it must be with the Template_6 walkhthrough or so
Sry I'm a very blood Noob
Please Anyone of the experts!
Thx a lot


My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Re: Empty Pointer?? [Re: kwpsp] #219963
08/05/08 20:48
08/05/08 20:48
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
i have no endless loop

action markierung()
{
while(my != NULL)
{
c_trace(my.x,vector(my.x,my.y,my.z+500),IGNORE_ME|IGNORE_PASSABLE);
if(you != NULL)
{
if(you.FLAG5 == ON)
{
anzeige1.visible = ON;
}
}
wait(1);
}
}


Last edited by flits; 08/05/08 20:49.

"empty"
Re: Empty Pointer?? [Re: flits] #220187
08/06/08 10:40
08/06/08 10:40
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
hey hey hey flits
lots of thanx
the engine make now no problems
but when I go in the area there comes nothing(no Bitmap).
I've gave an x postion and y

panel Anzeige1
{
bmap = MeineBmp;
pos_x= 250;
pos_y= 500;
}

again lots of thanx

Last edited by kwpsp; 08/06/08 10:51.

My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Re: Empty Pointer?? [Re: kwpsp] #220408
08/07/08 09:53
08/07/08 09:53
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
Can anyone help me?
The engine make now no problems
but the Bitmap is not appearence.
I hope anyone can help me

my code:

BMAP Meinebmp = "Anzeige.tga";//Bild_location

PANEL Anzeige1()
{
pos_x = 250; //Position X
pos_y = 600; //Position Y
layer = 3; //Ebene
bmap = MeineBmp; //alternativ Name
}



///////////////////////////////////////////////////////////

action markierung()
{
while(my != NULL)
{
c_trace(my.x,vector(my.x,my.y,my.z+500),IGNORE_ME|IGNORE_PASSABLE);
if(you != NULL)
{
if(you.flag5 == ON)
{
anzeige1.VISIBLE = ON;
}
}
wait(1);
}
}


My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Re: Empty Pointer?? [Re: kwpsp] #220520
08/07/08 13:47
08/07/08 13:47
Joined: Aug 2008
Posts: 153
Germany,Stuttgart
kwpsp Offline OP
Member
kwpsp  Offline OP
Member

Joined: Aug 2008
Posts: 153
Germany,Stuttgart
sry but noobs must ask to become a pro
Can anyone from the hundreds of user help me?

thx

kwpsp


My system:
- Core 2 Quad 6600(4x 2,4GhZ)
- 2GB Ram
- GeForce 7050(:-))
- Windows seven
Page 1 of 2 1 2

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