The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NPCS - Town stones
Author Message
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #21
RE: NPCS - Town stones
I actually can't take credit for the caravan, that's just something I found during my search for AI scripts and intend to improve in the future. I did however probably save it from the loss of the old forums and script sharing Smile

Let me know how the scripts work and any questions or suggestions you have. I'm really trying to make it the best it can be.
07-13-2012 02:24 PM
Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #22
RE: NPCS - Town stones
is there a specific way this needs to be added to an npc, because im getting lots of errors with it, working through them now. also some things like i_combatmove_timer and i_memory_poison_new throw up errors, i dont see the itemdefs for those in the scripts.
07-13-2012 03:08 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #23
RE: NPCS - Town stones
Right, those are from new systems. I've commented those lines for now. Sorry about that.

For adding them, just put the appropriate set in their @create method. Such as SetUndead
07-13-2012 03:28 PM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #24
RE: NPCS - Town stones
To make it more generic, instead of looking specifically for c_man or c_woman, check <SERV.CHARDEF.<ID>.CAN> to see if it includes MT_USEHANDS and MT_EQUIP flags...
07-13-2012 03:29 PM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #25
RE: NPCS - Town stones
Updated.

New format is: SetFactionBasics racef_orc

More flexible. Also, I almost have the sigils working. I think I like your system better than EA's Smile
07-19-2012 01:11 PM
Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #26
RE: NPCS - Town stones
i didnt release this into the script sharing yet incase their is bugs, but just wanted to let everyone know i updated the first post. its the complete system.

updated the first post with a rough outline of the system. its work in progress, if anyone wants to jump in and make some changes, or bug fixes maybe would could turn this into a nice ol community pot luck of awesomeness
07-26-2012 12:33 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)