SA-MP Forums Archive
[Include] FCNPC A.I. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] FCNPC A.I. (/showthread.php?tid=611925)

Pages: 1 2 3


Re: FCNPC Boss like World of Warcraft - Crayder - 05.08.2016

Quote:
Originally Posted by Freaksken
View Post
[*] Removed colandreas upcoming feature, since it will be implemented in FCNPC 2.0.
How are you so sure it will be in FCNPC 2.0?

Also I'm not sure what the "colandreas upcoming feature" was.


Re: FCNPC Boss like World of Warcraft - Freaksken - 06.08.2016

Quote:
Originally Posted by Crayder
View Post
How are you so sure it will be in FCNPC 2.0?
Have a look at the FCNPC GitHub issues. Especially these two (click and click). They both have the milestone set as FCNPC v2.0.

Quote:
Originally Posted by Crayder
View Post
Also I'm not sure what the "colandreas upcoming feature" was.
Have a look at this commit.


Re: FCNPC Boss like World of Warcraft - Crayder - 06.08.2016

Quote:
Originally Posted by Freaksken
View Post
Have a look at the FCNPC GitHub issues. Especially these two (click and click). They both have the milestone set as FCNPC v2.0.
I've actually already seen both of those, but I never noticed the 2.0 milestone.


Re: FCNPC Boss like World of Warcraft - Freaksken - 08.10.2016

FCNPC Boss 1.0.3

Changes: Download: Download link.

Other notes:


Re: FCNPC Boss like World of Warcraft - Red_Devils - 13.01.2017

WOWExample.pwn(601) : error 017: undefined symbol "WOW_GetBossIdFromPlayerid"


Re: FCNPC Boss like World of Warcraft - Freaksken - 14.01.2017

Quote:
Originally Posted by Red_Devils
View Post
WOWExample.pwn(601) : error 017: undefined symbol "WOW_GetBossIdFromPlayerid"
I see I forgot to update the function names in the example scripts. That's fixed now.
You'll have to redownload the examples again, or change WOW_GetBossNPCId to WOW_GetBossNPCID and WOW_GetBossIdFromPlayerid to WOW_GetBossIDFromPlayerID in your script.


Re: FCNPC Boss like World of Warcraft - Red_Devils - 14.01.2017

Quote:
Originally Posted by Freaksken
View Post
I see I forgot to update the function names in the example scripts. That's fixed now.
You'll have to redownload the examples again, or change WOW_GetBossNPCId to WOW_GetBossNPCID and WOW_GetBossIdFromPlayerid to WOW_GetBossIDFromPlayerID in your script.
THX MAN


Re: FCNPC Boss like World of Warcraft - Freaksken - 25.03.2017

Small update:
I've rewritten the main post so that it is not just about the WOW part, because the include can do a lot more than that.
I've changed the name to "FCNPC A.I.", because I felt that was better than "FCNPC Extended".
I've not changed the function prefixes, like I've said I would.

EDIT:
When I'm 100% sure of the new name, I will ask a beta tester to change the name of the thread.

EDIT 2:
The name change is now present in the whole repository.
I've also changed my mind about the prefix. It is changed from "WOW_", to "FAI_". Main post, wiki and whole repository updated with those changes.


Re: FCNPC A.I. - Freaksken - 17.04.2017

FCNPC A.I. 1.1.0

Changes: Download: Download link.


Re: FCNPC A.I. - Freaksken - 11.07.2017

FCNPC A.I. 1.1.1

Changes: Download: Download link.


Re: FCNPC A.I. - tarjet - 25.07.2017

C:\Users\User\Desktop\samp\pawno\include\FAI.inc(4 06) : error 017: undefined symbol "MapAndreas_GetAddress"
C:\Users\User\Desktop\samp\pawno\include\FAI.inc(4 10) : error 017: undefined symbol "MapAndreas_GetAddress"


Re: FCNPC A.I. - Freaksken - 25.07.2017

Quote:
Originally Posted by tarjet
Посмотреть сообщение
C:\Users\User\Desktop\samp\pawno\include\FAI.inc(4 06) : error 017: undefined symbol "MapAndreas_GetAddress"
C:\Users\User\Desktop\samp\pawno\include\FAI.inc(4 10) : error 017: undefined symbol "MapAndreas_GetAddress"
Requirements


Re: FCNPC A.I. - tarjet - 25.07.2017

Quote:
Originally Posted by Freaksken
Посмотреть сообщение
But I have it all... maybe I install something wrong. Anyway, thanks.


Re: FCNPC A.I. - Freaksken - 25.07.2017

Quote:
Originally Posted by tarjet
Посмотреть сообщение
But I have it all... maybe I install something wrong. Anyway, thanks.
You need to have mapandreas.inc in the pawno/include folder and mapandreas.dll in the plugins folder.


Re: FCNPC A.I. - Freaksken - 12.09.2018

For people wanting to help out with testing and give constructive criticism, please check the in development 2.0 branch. It is a complete rewrite and should vastly improve the easy of use of the include due to increased use of hooks.
The include is being split into 2 parts:The first one implements all the AI functionality and the second one is a collection of all the MMO functionality (textdraws, spells, ...). This decision was made because the include was a bit of a mess of 2 ideas, which violated the idea that you want to separate different things in different libraries. It is the same idea of separating math and string manipulation functions in different libraries (math.inc and string.inc) instead of combining them into one. Some people will only need the AI part, so they can only include that part. The second one requires the first one, so there shouldn't be any confusion.

This beta version is completely incompatible with older scripts, hence the major version number change. Currently, only the AI functionality is implemented and ready for testing. If you have any notes or questions, you can leave a reply in this thread, contact me on discord, or create an issue on GitHub.


Re: FCNPC A.I. - JuninhoSAMP - 21.10.2018

Dude, this is an AMAZING include.
I left SAMP forums in 2014, but this include made me enter my account and make this comment.
Great work.


Re: FCNPC A.I. - Alteh - 22.10.2018

I up some ideas with this library.


incredible release.


Re: FCNPC A.I. - liguanhua123 - 03.01.2019

Does npc have a viewing angle function? Is it not within the scope of the view, will not find and attack the player?


Re: FCNPC A.I. - Freaksken - 04.01.2019

Seems useful. I'll add it when I have some spare time. Current GitHub issue: click.


Re: FCNPC A.I. - faxxe - 24.01.2019

Ahoy! Awesome plugin.
I try to create NPC for my Team-Deathmatch system. So if there is a lack of players they should replace the missing players.
Do you guys think it may work?