SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 03/09/2015, 08:02 PM   #1
jeanluc162
Little Clucker
 
Join Date: May 2015
Location: Germany
Posts: 6
Reputation: 0
Red face PathFinder

Inspired by the GPS-Plugin by Gamer_Z, I decided to write my own plugin because he doesn't continue development and some Features I needed are missing. I'm writing this to calculate Routes for NPCs by the way.

My Goal is to Create a plugin that can read Ped and Car Nodes from a dnf-File created with "Aschratts Path Editor" so the original GTA SA Nodes can be used. You will be able to choose which type of Node (Car or Ped) to use on calculation.
I'm going to concentrate on Linux first because most Servers, including mine, run on Linux. When all the Features are ready I'm going to make a Windows Version. You are (of course) free to do it yourself. The source will be available on GitHub.

I hope someone besides me is going to have a use for this and I'm looking forward to release the first Version.

UPDATE: I created a repository on Github: https://github.com/jeanluc162/PathFinder
jeanluc162 is offline   Reply With Quote
Old 03/09/2015, 08:15 PM   #2
Jastak
Huge Clucker
 
Jastak's Avatar
 
Join Date: Jan 2015
Location: Esparta
Posts: 290
Reputation: 20
Default Re: PathFinder

When you will free it?, it is great idea.
__________________
The Lag is real!
Jastak is offline   Reply With Quote
Old 03/09/2015, 08:23 PM   #3
jeanluc162
Little Clucker
 
Join Date: May 2015
Location: Germany
Posts: 6
Reputation: 0
Default AW: Re: PathFinder

Quote:
Originally Posted by Jastak View Post
When you will free it?, it is great idea.
I want the following functions ready and tested before my first release:
-Import of Connections and Nodes from a File
-Threaded Calculation
-Callback on finished Calculation

I hope to be ready with this by the end of this month, but I can't promise since this is my first plugin and I don't know over what Kind of Problems I may stumble.
jeanluc162 is offline   Reply With Quote
Old 04/09/2015, 06:29 AM   #4
DRIFT_HUNTER
High-roller
 
Join Date: Oct 2009
Posts: 2,151
Reputation: 215
Default Re: PathFinder

Why just not fork Gamer_Z's GPS plugin and implement features you need?
DRIFT_HUNTER is offline   Reply With Quote
Old 04/09/2015, 07:21 AM   #5
AIped
Gangsta
 
AIped's Avatar
 
Join Date: Feb 2011
Location: Netherlands
Posts: 618
Reputation: 46
Default Re: PathFinder

Quote:
Originally Posted by jeanluc162 View Post
Inspired by the GPS-Plugin by Gamer_Z, I decided to write my own plugin because he doesn't continue development and some Features I needed are missing. I'm writing this to calculate Routes for NPCs by the way.

My Goal is to Create a plugin that can read Ped and Car Nodes from a dnf-File created with "Aschratts Path Editor" so the original GTA SA Nodes can be used. You will be able to choose which type of Node (Car or Ped) to use on calculation.
I'm going to concentrate on Linux first because most Servers, including mine, run on Linux. When all the Features are ready I'm going to make a Windows Version. You are (of course) free to do it yourself. The source will be available on GitHub.

I hope someone besides me is going to have a use for this and I'm looking forward to release the first Version.

UPDATE: I created a repository on Github: https://github.com/jeanluc162/PathFinder
That idea is working perfectly fine with the nodes from Gamer_Z plugin already.
http://forum.sa-mp.com/showthread.php?t=587634
We dont need any update from the plugin.
__________________
Want some traffic?

http://forum.sa-mp.com/showthread.php?t=587634
AIped is offline   Reply With Quote
Old 04/09/2015, 10:11 AM   #6
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,067
Reputation: 2660
Default Re: PathFinder

Quote:
Originally Posted by jeanluc162 View Post
I'm going to concentrate on Linux first because most Servers, including mine, run on Linux. When all the Features are ready I'm going to make a Windows Version. You are (of course) free to do it yourself. The source will be available on GitHub.
Assuming C++, the code should be cross compatible, so I fail to see the problem here. I've never written a plugin before, so perhaps I'm missing something?
__________________
Vince is offline   Reply With Quote
Old 04/09/2015, 10:49 AM   #7
Kyle
High-roller
 
Join Date: Mar 2009
Location: United Kingdom
Posts: 2,260
Reputation: 333
Default Re: PathFinder

I think you should expand upon the current GPS plugin created by Gamer_Z and address the bugs which are in the plugin. The code is quite bad and poorly programmed, maybe you can look into that. I've also noticed some crashes within the plugin too.

I think the basic fundamentals of the plugin are there, but they it just needs fixing.
Kyle is offline   Reply With Quote
Old 04/09/2015, 11:55 AM   #8
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Location: 🇩🇪
Posts: 1,786
Reputation: 635
Default AW: Re: PathFinder

Quote:
Originally Posted by KyleSmith View Post
I think you should expand upon the current GPS plugin created by Gamer_Z and address the bugs which are in the plugin. The code is quite bad and poorly programmed, maybe you can look into that. I've also noticed some crashes within the plugin too.

I think the basic fundamentals of the plugin are there, but they it just needs fixing.
I don't see any problems with it. Using it since 2 years without any crashes or problems with route finding, which is absolutely quick enough for this.
NaS is offline   Reply With Quote
Old 04/09/2015, 01:59 PM   #9
Evocator
Huge Clucker
 
Join Date: Nov 2013
Posts: 464
Reputation: 158
Default Re: AW: Re: PathFinder

Quote:
Originally Posted by NaS View Post
I don't see any problems with it. Using it since 2 years without any crashes or problems with route finding, which is absolutely quick enough for this.
I used the plugin for 3 days, and whenever 2+ paths are calculated at the same moment, the server crashes.
Already reported the bug on his thread - no fixes.
__________________
Evocator is offline   Reply With Quote
Old 04/09/2015, 02:02 PM   #10
NaS
High-roller
 
NaS's Avatar
 
Join Date: Mar 2008
Location: 🇩🇪
Posts: 1,786
Reputation: 635
Default AW: Re: AW: Re: PathFinder

Quote:
Originally Posted by Ralfie View Post
I used the plugin for 3 days, and whenever 2+ paths are calculated at the same moment, the server crashes.
Already reported the bug on his thread - no fixes.
Changed around the order of plugins that load?
Also do you use it with a new streamer plugin version?
NaS 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
[Plugin] PathFinder by Pamdex pamdex Plugin Development 150 28/07/2020 12:14 PM


All times are GMT. The time now is 05:07 PM.


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