SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 21/04/2012, 02:35 AM   #11
Niko_boy
High-roller
 
Niko_boy's Avatar
 
Join Date: Aug 2010
Location: Somewhere i belong
Posts: 1,338
Reputation: 138
Default Re: Dijkstra.inc - Dijkstra pathfinding algorithm

after understanding its usage i <3ed this include thanks for this :P

a query:- is this like GetDistanceBetweenPoints(blabla
? i mean like that but its better to find shortest distances ? true?
__________________
nope[IMG]http://*******/1r0SOkH_[/IMG]
•••[CLOSED]LCS•Freeroam•DM•Stunts•••AutoArena [0.3z][No SkinShot][sixtytiger.com]Want a decent Attack Defend Gamemode?
N/A176.31.229.148:7830Get This! Attack-Defend(v2.3.1)
Niko_boy is offline   Reply With Quote
Old 21/04/2012, 05:52 AM   #12
rbN.
Banned
 
Join Date: Jan 2010
Location: fissa
Posts: 1,079
Reputation: 289
Default Re: Dijkstra.inc - Dijkstra pathfinding algorithm

Or (not sure if this is true) you could make a plugin out of this and make it multithreaded, so it would be handy if people do got much nodes.

Last edited by rbN.; 21/04/2012 at 11:43 AM. Reason: gay autocorrect is gay
rbN. is offline   Reply With Quote
Old 21/04/2012, 08:53 AM   #13
Lorenc_
High-roller
 
Lorenc_'s Avatar
 
Join Date: Jan 2010
Location: Australia
Posts: 3,802
Reputation: 1160
Default Re: Dijkstra.inc - Dijkstra pathfinding algorithm

Quote:
Originally Posted by wups View Post
Well, there is this plugin released, you know?
Well, there is not a linux version for that plugin...

Thanks RyDeR`, going to upgrade my gps system

the paste id is invalid btw.

EDIT: nvm, lacks on nodes
__________________
Join the best Cops And Robbers in SA-MP, today. svr.sfcnr.com:7777

Lorenc_ is offline   Reply With Quote
Old 21/04/2012, 09:50 AM   #14
System64
Gangsta
 
System64's Avatar
 
Join Date: May 2011
Location: Zadar, Croatia
Posts: 933
Reputation: 143
Default Re: Dijkstra.inc - Dijkstra pathfinding algorithm

awesome job man
__________________
All my works
I left SA:MP! Maybe once I start scripting again but now I'm based on web programming
Soon, I'll buy domain system32.com.hr but for now you can contact me on LogoOff or on my Youtube channel!
System64 is offline   Reply With Quote
Old 21/04/2012, 09:50 AM   #15
RyDeR`
High-roller
 
RyDeR`'s Avatar
 
Join Date: Feb 2009
Location: Belgium
Posts: 2,929
Reputation: 696
Default Re: Dijkstra.inc - Dijkstra pathfinding algorithm

Quote:
Originally Posted by Niko_boy View Post
after understanding its usage i <3ed this include thanks for this :P

a query:- is this like GetDistanceBetweenPoints(blabla
? i mean like that but its better to find shortest distances ? true?
You can calculate the shortest path between two points with this and eventually you can retrieve the real distance between those points by looping through your path adding the distance between the current and the previous node.


Quote:
Originally Posted by RobinOwnz View Post
Or (not sure if this is trish you could make a plugin out of this and make it multithreaded, so it would be handy if people do got much nodes.
This include can calculate up to ~3000 nodes without freezing your server. I can make a plugin but it'd worthless as Gamer_Z already made one, plus this include is not all about GPS, you can create tons of other useful stuff with it.

EDIT: Now I think about, a threaded plugin will do much better! I will see what I can do, thanks.
__________________

Sup?
RyDeR` is offline   Reply With Quote
Old 21/04/2012, 11:40 AM   #16
TheArcher
High-roller
 
TheArcher's Avatar
 
Join Date: Dec 2009
Location: Home
Posts: 2,338
Reputation: 251
Default Re: Dijkstra.inc - Dijkstra pathfinding algorithm

One question, a path can be found and ok. But what can you do with the include beside GPS? As you know there's already a GPS plugin and more efficient than the include.
__________________
TheArcher is offline   Reply With Quote
Old 21/04/2012, 11:41 AM   #17
WooTFTW
Huge Clucker
 
WooTFTW's Avatar
 
Join Date: May 2011
Location: = GetPlayerPos(WooTFTW);
Posts: 241
Reputation: 37
Default Re: Dijkstra.inc - Dijkstra pathfinding algorithm

This is great.
Where can I get nodes of LS?
WooTFTW is offline   Reply With Quote
Old 21/04/2012, 12:16 PM   #18
[DOG]irinel1996
High-roller
 
[DOG]irinel1996's Avatar
 
Join Date: Jan 2010
Posts: 1,470
Reputation: 288
Default Respuesta: Dijkstra.inc - Dijkstra pathfinding algorithm

Awesome! 5/5
Respect.
[DOG]irinel1996 is offline   Reply With Quote
Old 21/04/2012, 12:21 PM   #19
Hiddos
High-roller
 
Hiddos's Avatar
 
Join Date: Sep 2008
Posts: 3,307
Reputation: 2184
Default Re: Dijkstra.inc - Dijkstra pathfinding algorithm

Good job, I might find this useful in the future .
__________________
Quote:
Originally Posted by DeWolf View Post
For fuck's sake people, this whole thread is fucked up now.
Hiddos is offline   Reply With Quote
Old 21/04/2012, 06:24 PM   #20
robintjeh
Big Clucker
 
robintjeh's Avatar
 
Join Date: Dec 2010
Location: The Netherlands
Posts: 185
Reputation: 78
Default Re: Dijkstra.inc - Dijkstra pathfinding algorithm

Cool there mate. But when will you do LS and SF?
__________________
blablabla
robintjeh is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
An algorithm for vehicle streamers Double-O-Seven Scripting Help 1 10/10/2011 08:17 PM
[Include] M4S7reamer v1 (object streamer that uses a zoning algorithm) M4S7ERMIND Includes 17 22/07/2011 08:03 PM
Bullets Algorithm ? MJ! Help Archive 0 18/08/2010 07:38 PM


All times are GMT. The time now is 10:58 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.