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
Sometimes...
Author Message
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #18
RE: Sometimes...
(09-13-2013 06:54 AM)babazar Wrote:  wow extreme that sounds awsome, a like the idea of the npc's working a certain times, that would be very sweet if someone could script it, same with the mining and potion system
Yeah, it works with my environment system that is realtime ingame... so in 00:00am to 06:00am they will not sell things Big Grin
Its already working, same for mining and potion system.

(09-13-2013 07:03 AM)Mordaunt Wrote:  Doesn't need to be scripted at all.. it's a setting in sphere.ini

Code:
// NPC AI settings
// NPC_AI_PATH                  0x001   NPC pathfinding
// NPC_AI_FOOD                  0x002   NPC food search (objects + grass)
// NPC_AI_EXTRA                 0x004   NPC magics, etc
// NPC_AI_ALWAYSINT             0x008   Always be as smart as possible with pathfinding
// NPC_AI_INTFOOD               0x010   NPC food search (more intelligent and trusworthy)
// NPC_AI_COMBAT                0x040   Look for friends in combat
// NPC_AI_VEND_TIME             0x080   vendors closing their shops at nighttime    <----------------------
// NPC_AI_LOOTING               0x0100  loot corpses an the way
// NPC_AI_MOVEOBSTACLES         0x0200  if moveable items block my way, try to move them
Yeah, but you can't handle the time they will stop working.

(09-13-2013 07:48 AM)Alaric Wrote:  Is the map complete, or do you wanna help with that? Or anything...
Yes, the map is complete. It's already have the cities and every house area done.
For now I don't need help because I can't work on it. And next week I will start as trainee on Petrobras so it will eat all my busy time :/

I think until the end of year the core will be done and it would be open for alpha/beta testing.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
09-13-2013 09:55 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Sometimes... - ShiryuX - 11-16-2012, 11:34 PM
RE: Sometimes... - Rayvolution - 11-17-2012, 04:02 AM
RE: Sometimes... - JeBu - 11-18-2012, 11:03 PM
RE: Sometimes... - Lazarus - 11-19-2012, 03:42 AM
RE: Sometimes... - Archaaz - 09-07-2013, 06:59 PM
RE: Sometimes... - JeBu - 11-19-2012, 08:17 AM
RE: Sometimes... - Lazarus - 11-22-2012, 12:37 AM
RE: Sometimes... - JeBu - 11-22-2012, 07:29 AM
RE: Sometimes... - darksun84 - 11-22-2012, 02:12 AM
RE: Sometimes... - Mordaunt - 11-22-2012, 09:42 AM
RE: Sometimes... - Evkus - 04-10-2013, 03:57 AM
RE: Sometimes... - Khaos - 09-07-2013, 06:18 PM
RE: Sometimes... - Khaos - 09-07-2013, 08:28 PM
RE: Sometimes... - Extreme - 09-08-2013, 01:35 AM
RE: Sometimes... - babazar - 09-13-2013, 06:54 AM
RE: Sometimes... - Mordaunt - 09-13-2013, 07:03 AM
RE: Sometimes... - Alaric - 09-13-2013, 07:48 AM
RE: Sometimes... - Extreme - 09-13-2013 09:55 AM

Forum Jump:


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