• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

LibCareerDB

 

Project Updated:
Files Updated: Fri, Oct 17 2008
Supports Game Version: Beta 3.0
Category: Development Tools
Tags:

[Edit Tags]

Project Manager: SidSixSeven
Additional Authors: No additional authors
Current Version: LibCareerDBv01
License: GNU General Public License version 3 (GPLv3)
Development Site: CurseForge
Avg Daily DL (last 30 days): 1
Downloads Total: 2,102
Favorites: 20
Comments: 1
  • Contests
  • About LibCareerDB
  •  

LibCareerDB is a storage library for capturing player careers in scenarios and groups and saving them between sessions.

By default, the WAR API does not make career data available for units outside of groups or scenarios. This addon simply saves that data for later retrieval.

Data capture and storage is automatic. If you have ever seen a player in a scenario or a group, you will know the career of that player whenever you run across them. Devs simple need to access the stored data using one of the following two methods:

Usage
playerCareer, hasCareer = CareerDB.GetCareer(playerName)
---where playerName = wstring of player's name; parses out extra characters if needed
playerCareer, hasCareer = CareerDB.GetCareerByTarget(targetType)
---where targetType = "selffriendlytarget" or "selfhostiletarget" or "mouseovertarget"

Getting other TargetInfo:
This library is designed to only save Career information because that is the only information not easily found in the Default API. Most other information can be found by simple using the default WAR API:

TargetInfo.m_Units[targetType].name
TargetInfo.m_Units[targetType].entityid
TargetInfo.m_Units[targetType].healthPercent
TargetInfo.m_Units[targetType].type (ex: SystemData.TargetObjectType.SELF)
TargetInfo.m_Units[targetType].level
TargetInfo.m_Units[targetType].tier
TargetInfo.m_Units[targetType].conType
TargetInfo.m_Units[targetType].isPvP
TargetInfo.m_Units[targetType].isNPC

TargetInfo.m_Units["selffriendlytarget"].name = returns the player name of your friendly target.

Proof of concept
Please see my proof of concept addon CareerText for an example of how to use this data.

  • Downloads (1)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  LibCareerDBv01 Release Beta 3.0 2,102 10/17/2008
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • I was wondering why some of the Careers were not showing up for targets, and it's because I recently reinstalled Windows and it has to rebuild the data storage.

    Does it store the data once you've targetted them, or can it simply be if they are in your area?

    Reply Report Permalink
  • 1 page(s)
  • Similar Addons
  •  

Average downloads per day

  1. 199 LibSlash Development Tools
  2. 75 Phantom Buffs & Debuffs, Development...
  3. 46 NerfedButtons Action Bars, and Development...
  4. 24 LibSurveyor Development Tools
  5. 19 RV_Mods Unit Frames, Combat, Development...