Revision: 139Author: finitoDate: 21:13:15, 26 April 2009Message: Implemented: Items on map will delete after 10 minutes (only checks if something tries to modify the map items, possible to drop a single item and it will never get cleaned).

Revision: 141Author: finitoDate: 01:47:30, 09 May 2009Message: Fixed: DMAGIC logic evt command not being recognised. Found out to be a typo in the code that loads the evt files. This caused bugs such as unable to learn/upgrade black magic.

Fixed: NPC info packet casting the NPC id to a short when it shouldn't be. This was causing invalid NPCs in client with ids over maximum short value.

Implemented: /givemagic GM command.

Implemented: /giveitem GM command.

Implemented: /str GM command.

Implemented: /dex GM command.

Implemented: /int GM command.

Implemented: /wis GM command.

Fixed: GIVE_ITEM event evt command only gives 1 item if its equipment and 1 item if its stackable and it didn't find the same item already in inventory (it should give multiple equipement items and stackable items should haver its dura set to the amount being given).

Fixed: Corrected string lengths for username, password, character name, guild name, guild position name and guild information. Also fixes a side effect of this which caused players to be disconnected at character selection if their username or password length was 12 characters.

Fixed: Server crash when trying to send a PM to a character name of >= 12 characters in length.

Revision: 144Author: finitoDate: 21:16:37, 21 May 2009Message: Fixed: Items in monsterset table with number > 10000 should reference the tb_special_item table. Loading from table and generating the special items for the NPC item drops. (They now drop but still do not 100% work correctly because don't have the extended item data structure yet, so when the item is dropped and after player logs out and back in the stats return to the database default).

Added: SetLive: Handling of invalid user/npc objects found when NPC's being spawned. Also tidied up some of the code.

Fixed: BBS bugs when clicking next.

Added: Missing LOGIC_COOKING to EventLogicToString.

Fixed: Incorrect behaviour when executing LOGIC OR EVT commands. Was returning true when the LOGIC OR failed.

Altered: Changed the /str, /dex, int, /wis commands to just set the stat to the value given instead of adding or subtracting. E.g /str 123 will set str to 12.3.

Implemented: /bmagic GM command.

Implemented: /wmagic GM command.

Implemented: /dmagic GM command.

Implemented: /sword GM command.

Implemented: /axe GM command.

Implemented: /bow GM command.

Implemented: /spear GM command.

Implemented: /knuckle GM command.

Implemented: /staff GM command.

Fixed: Guards not spawning in their static locations.

Fixed: Guards do not teleport to player. Implemented the IsDetecterRange function and added the calls to it.

Fixed: Magic defence calculation for players, when being attacked by a NPC.

Fixed: Magic defence calculation for players, when being attacked by a player.

Fixed: Magic damage calculation for players, both player and npc targets.

Implemented: Execution of an event in evt script when a npc is killed. This will fix quests such as, killing the talking werewolf.

Fixed: When attempting to buy items from shop that have a limited quantity and you don't have enough weight or money to buy them. It still deducted the quantity you tried to buy from the maximum quantity.

Fixed: Able to use magic when wearing a weapon if you precast the magic first without a weapon then put the weapon back on.

Fixed: MagicCircle attacks are sending the wrong failure packet to the client. They was sending the failure packet for MagicRail attacks instead.

Revision: 146Author: finitoDate: 01:38:45, 02 June 2009Message: Fixed: NPC and USER going invisible. Caused by new code for cleaning up the map of invalid objects. Wasn't taking away the BAND value when looking up a NPC or USER.

Fixed: Some NPC not being aggressive when they should be. Found out to be a bug in FindEnemy function with the calculation of the search range always being 0.

Implemented: ArrowPathFind for both NPC and USER. This will prevent shooting through dungeon walls etc.

Fixed: Stamina does not updating on server side until player moves.

Fixed: GBird Feather showing a potion effect.

Implemented: Throwing of items and barrr when warping to town.

Fixed: POS gem should be a non-tradeable item.

Fixed: Ring items will not equip into a slot if both ring slots are occupied.

Fixed: Guild name not showing above head of a newly joined member.

Fixed: Player getting warped to the pker warp spot when moral is virtuous or greater.

Implemented: All Auras (Special Attack) except for Multiple Attack and Master Multiple Attack for sword and knuckle. This also includes auras placed on players by an NPC.

Bug Fix: NPC data being overwritten and causing odd behaviour in NPC. Caused by the NPC path finding map exceeding its buffer size. The search range of NPC has been capped to 15 and buffer size adjusted to 1000 from 500.

Bug Fix: Able to run NPC events on an NPC even when it is dead. Moved the calls to NpcDeadEvent to before the NPC was killed to avoid it failing because of the new check.

Bug Fix: NPC CheckRemainSpecialAttack not checking if sSpecialNo <= 0 and therefore was crashing the server in some cases.

Bug Fix: Not being removed from guild when deleting character. Caused by doing case sensitive comparisons on player names. Client was sending in lower case and server had it in upper case, meant there was no match and it failed.