- Fix#360 exposed cheek_type, chin_type, ear_type, eye_brow_type, eye_type, lip_type, nose_type, body_age, body_size to spawn set
all but body_age and body_size have three indexes (0-2):
/spawn set command_name [value] [index]
value is a signed integer (can be negative/positive per the requirements)
index is between 0-2, sets R/G/B fields respectively in the database (thats how it loads up)
- Fix#359 better handling of MMovementLocations
- Fix#353 we now properly update the windows against your inventory
- "obtained" lua function now called when item is looted (previously only done when item is 'added' to the player)
- Fix#342 - lock down fuel components (the resulting messaging may need to be corrected, but the concept is in)
- Fix#361 - expansion/holiday flag triggering on a spawn no longer throws 'error adding spawn'. Now has a warning message instead. Also did some other messages to try to reduce 'error' based logging as to not confuse real errors with just server settings/unrelated noise in the database.
- Deadlock fix on spawn removal and deleting spawns
- Fix#358 lootdrop will be checked against completed quest identified by ID
alter table lootdrop add column no_drop_quest_completed int(10) unsigned not null default 0;
- zone instance type now cached into a map after querying zone id (so we don't continuously query)
- mentor now removes spells on the person mentoring
- Fix#354 - GetZoneLockoutTimer(Player, ZoneID, displayClient=false) added, returns string of lockout time (includes a space at the beginning). DisplayClient = true will send the message to the client.
- Can't hail dead spawns
- Crash fix in TempRemoveGroup when group id no longer exists
Fix#357 - support to quest steps by race type
Eg. race 298 is gnolls
AddQuestStepKillByRace(Quest, 1, "I need to kill five Gnolls!", 5, 100, "I need to do what is asked of me.", 1221, 298)
Fix#352 - Add AddQuestStepZoneLoc since existing AddQuestStepLocation does not support zone id and it looks for 3 sets of locations at the end of the function (so it can accept multiple arguments of locations). AddQuestStepZoneLoc introduces 4th optional argument of zone_id for each loc set x,y,z, zone_id
AddQuestStepZoneLoc(Quest, 2, "Go to Oakmyst Falls", 10, "Visit the Oakmyst location hinted of in the line "The life giver billows and feeds."", 11, 994, 0, -204, zoneid, anotherx, anothery, anotherz, anotherzoneid)
RULE_INIT(R_Player, MentorItemDecayRate, ".05"); // 5% per level lost when mentoring
mentoring now lowers the item stats although display needs work to display lowered stat value (higher stat value)
reordering some of the mutex locks for info/pos/vis to avoid deadlocking (still a few more to address)
Added StopMovement(Spawn) for NPCs in a movement loop, purges movement loop and stops npc at position
indestructable items supported
appearance items limited to appearance only
makeadmin charname status added to console commands (windows)
fixed "used" to allow removal of an item without crashing the world. The function can return a value less than 0 to omit from calling RemoveItem or decrementing the charges by code. Having no return (0) or any return larger than 0 means we will try to code decrement the item if it is still there.