Activity Not Available

Commits : Individual Commit

  Analyzed 11 months ago based on code collected 11 months ago.

Commit ID 80274cb416e33d7ec49266bea8b5bbeba5ccc2f5

Avatar Contributor: raistlinthewiz Files Modified: 54
Date: 13-February-2012 at 11:21 Lines Added: 6420
Repository: git://github.com/mooege/mooege.git master Lines Removed: 269
Commit Comment: Merge pull request #437 from mdz444/master
Powers implementation and basic Monster AI using powers.

MDZ's description:
------------------

This PR primarily contains my powers implementation and new monster ai brain code, but has a few notable changes to other mooege code.

Brain.cs and MonsterBrain.cs have been almost completely rewritten in order to implement a basic AI that reads power snos from mpq data, then randomly select a power and activate a PowerAction. The AI will properly shutdown for some status changes such as stun, blind and being killed.

In Player.cs, there is a basic implementation to support using/generating hero resources: mana, spirit etc.

Also notably, sending ticks to the player clients was moved from Player.Update() to World.Update(). This helped make client timing massively more consistent because before when the tick was sent depended on where the player actor was at in World's actor list. For example this caused lots of problems where sometimes the tick was sent and then client state updates were made, causing a weird lag. Like often projectiles hitting didn't visually register on the client until the projectile had flown way past what it hit.

DWordDataMessage3 has been implemented in CancelChanneledSkillMessage.
 

Changes by Language

Language Code Added Code Removed Comments Added Comment Removed Blanks Added Blanks Removed
  C# 4749 188 799 53 836 28
  XML 36 0 0 0 0 0

Changes by File

Showing page 1 of 6
File Language Code Added Code Removed Comments Added Comment Removed Blanks Added Blanks Removed
...ge/Core/GS/Actors/Actions/PowerAction.cs C# 97 0 24 0 16 0
src/Mooege/Core/GS/Actors/Actor.cs C# 120 1 1 0 22 0
...Core/GS/Actors/Implementations/Zombie.cs C# 10 0 0 1 0 0
src/Mooege/Core/GS/Actors/Monster.cs C# 5 70 0 20 0 12
...re/GS/Actors/Movement/MovementHelpers.cs C# 4 1 0 0 1 0
src/Mooege/Core/GS/AI/Brain.cs C# 12 6 3 0 1 0
...Mooege/Core/GS/AI/Brains/MonsterBrain.cs C# 45 18 8 6 3 0
src/Mooege/Core/GS/Games/GameCommands.cs C# 0 19 19 0 0 0
...ege/Core/GS/Generators/WorldGenerator.cs C# 2 0 1 0 1 0
src/Mooege/Core/GS/Map/World.cs C# 12 1 0 0 3 0
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.