Multiplayer Kit

SmartFoxServer gurus looking for a new job and companies looking for multi-player developers, this is the right place to meet!

Moderators: Lapo, Bax

Post Reply
Zerano
Posts: 10
Joined: 16 Jun 2011, 10:18

Multiplayer Kit

Post by Zerano »

Made with smartfoxserver2x, MySql and Unity3d

1. General
  • registration inside client via php
  • login to the game using the MySql database
  • creating and saving character to MySql
  • choosing character
  • "ID Factory"

2. Character
  • sending keyboard press to server
  • moving character
  • Inventory
  • Equip/Unequip
  • Pickup Items/Drop Items
  • Stats with Regeneration
  • Death
  • "passive" Skills---> increase the hit chance and damage
  • Talents 2 of each class
  • Private Chat
3. Npc
  • spawnig npcs from database
  • structure for AI to add easy diffrent AI behavior
  • sending status to client( hp, level)
  • die
3.1 AI
  • Attacking event handler --> fires the attacking state
  • See player event handler
  • Not see player event handler
  • NothingToDo event handler---> clear events
  • Aggro state --> looking for player to attack
  • Moving to Spawnpoint state
  • Active state ---> active , random walk waiting of the player
  • Thinking state ---> thinking what ai state/handler to fire
  • Desires
  • Aggression desire --> will attack if he see the player
  • Attack desire
  • Move to target desire --> following a target (for attack or summon/animal control)
  • Move to Spawnpoint desire --> if to far away the npc will walk to his spawnpoint
  • Walk desire --> random walk
  • Diffrent controllers to handle the ai.

And a lot more, get a full description + detailed videos here: http://zerano-unity3d.com/wp/?p=267
itsmylifesoham
Posts: 186
Joined: 16 Oct 2011, 14:33

Re: Multiplayer Kit

Post by itsmylifesoham »

looks awesome! thanks.
Zerano
Posts: 10
Joined: 16 Jun 2011, 10:18

Re: Multiplayer Kit

Post by Zerano »

Thank you i hope to finish the collision soon.
Zerano
Posts: 10
Joined: 16 Jun 2011, 10:18

Re: Multiplayer Kit

Post by Zerano »

Post Reply