# AI for NPC / Monsters

**URL:** <https://forum.kirupa.com/t/ai-for-npc-monsters/282436>\
**Category:** programming\
**Created:** [February 22, 2009, 1:38am UTC](https://forum.kirupa.com/t/ai-for-npc-monsters/282436 "2009-02-22T01:38:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![darnpunk](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@darnpunk](https://forum.kirupa.com/u/darnpunk)\
**Post date:** [February 22, 2009, 1:38am UTC](https://forum.kirupa.com/t/ai-for-npc-monsters/282436/1 "2009-02-22T01:38:49Z")

</div>

Hi,

I’ve been doing some reading lately on game AI and wondering where to place the logic n decision making in an online game environment. For an offline game, the AI can be processed on the game client. However, after much thoughts I can’t decide where to process it in an online game like mmorpg.

Since all users need to be in sync, I thought they should be done on the server. But it seems like it may be too heavy for server n also bandwidth. Then, I thought it can be done on the client and decided by a master player. But then who shnuld be the master player and can I trust the player’s data?

Right now, I am really thinking how to sync NPCs and monsters AI without putting too much load on the server. This will be my first for AI in online games. Any thoughts?
