Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, SBGuy, TipmyPip, ozgur), 923 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: A7 support for pathfinding by Hendrik Felix Pohl? [Re: Romin] #415713
01/22/13 17:14
01/22/13 17:14
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Quote:
Make sure that your pointers are valid first!

Obviously you don't need the code urgently or otherwise you would have tried JustSid's solution already:

action path_test2()
{
while(!getme) wait(1); // wait for the pointer to become valid
while(1)
...


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: A7 support for pathfinding by Hendrik Felix Pohl? [Re: Romin] #415721
01/22/13 18:38
01/22/13 18:38
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Originally Posted By: Romin
It is not working for me. Can someone fix it and post it here please?
I need it urgently.

Sorry pal, but this isn't how it works. What's urgently and what is not is highly subjective, just because something is urgent for you doesn't mean that we are obliged to help you with in minutes. Much less it means that we fix and write your code!
If you need help, we are here to give you pointers in the right direction. We do this in our free time, instead of working on our own projects or doing other things. We don't owe you an answer, and much less owe we work to you.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: A7 support for pathfinding by Hendrik Felix Pohl? [Re: WretchedSid] #415725
01/22/13 21:04
01/22/13 21:04
Joined: Jan 2013
Posts: 30
R
Romin Offline OP
Newbie
Romin  Offline OP
Newbie
R

Joined: Jan 2013
Posts: 30
Originally Posted By: Superku

Obviously you don't need the code urgently or otherwise you would have tried JustSid's solution already:


I am sorry guys i am not very good at explaining things. I already mentioned in my previouse code that JustSid's solution didn't work.

I am uploading the level so you can check it yourself and see what is wrong.

DOWNLOAD

Re: A7 support for pathfinding by Hendrik Felix Pohl? [Re: Romin] #415728
01/22/13 21:59
01/22/13 21:59
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
You did not say that, you didn't even write that it does not crash anymore. The reason why the pathfinding does not seem to work is obvious when you press F11 twice. Then compare your code with the original pathfinding example from the goodies archive.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: A7 support for pathfinding by Hendrik Felix Pohl? [Re: Superku] #415731
01/22/13 23:03
01/22/13 23:03
Joined: Jan 2013
Posts: 30
R
Romin Offline OP
Newbie
Romin  Offline OP
Newbie
R

Joined: Jan 2013
Posts: 30
Originally Posted By: Superku
You did not say that, you didn't even write that it does not crash anymore. The reason why the pathfinding does not seem to work is obvious when you press F11 twice. Then compare your code with the original pathfinding example from the goodies archive.


I tested the same code with the level included in your pathfinding and it works but the same code with this level which i included in my previouse post doesn't work?

I pressed f11 twice and saw there was smaller bounding box around my player so i copied these 3 lines from your code to my code and it still doesn't work.

Code:
c_setminmax(my);
vec_fill(my.min_x,-24);
vec_fill(my.max_x,24);



Please can you download my level and fix it? I will be very thanks full.

Re: A7 support for pathfinding by Hendrik Felix Pohl? [Re: Romin] #415776
01/23/13 15:09
01/23/13 15:09
Joined: Jan 2013
Posts: 30
R
Romin Offline OP
Newbie
Romin  Offline OP
Newbie
R

Joined: Jan 2013
Posts: 30
Helloooooooooooooooo Anyone?

Re: A7 support for pathfinding by Hendrik Felix Pohl? [Re: Romin] #415783
01/23/13 16:23
01/23/13 16:23
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You're impertinent. You cannot expect others to do your work!

http://www.conitec.net/litec/work16.htm !
http://www.conitec.net/litec/work17.htm !


Always learn from history, to be sure you make the same mistakes again...
Re: A7 support for pathfinding by Hendrik Felix Pohl? [Re: Uhrwerk] #415785
01/23/13 17:25
01/23/13 17:25
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Why dont you comment out code and see where exactly it crashes?
Would take 5 mins. Do your own stuff and dont c&p code and when it crashes let others fix it...
Its normal to have problems, and to need help but c&ping code here and expect that we fix it is simply rude.

Last edited by Ch40zzC0d3r; 01/23/13 17:26.
Page 2 of 2 1 2

Moderated by  aztec, Blink, HeelX 

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