Server Emulator : Change Log

A place where the developers will submit any work done to the somadev server or client.

Re: Server Emulator : Change Log

Postby Finito » Thu May 28, 2009 3:50 am

Revision: 139
Author: finito
Date: 21:13:15, 26 April 2009
Message:
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).

Fixed: Magic attacks stop magic being cast.

Fixed: Monsters not moving to target if attacked from long range.
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

Re: Server Emulator : Change Log

Postby Finito » Thu May 28, 2009 3:50 am

Revision: 140
Author: finito
Date: 19:39:50, 28 April 2009
Message:
Fixed: Able to cast magic when wearing a shield.

Fixed: No message shown when trying to throw away an item that can't be thrown.
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

Re: Server Emulator : Change Log

Postby Finito » Thu May 28, 2009 3:51 am

Revision: 141
Author: finito
Date: 01:47:30, 09 May 2009
Message:
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: HOWMUCH_ITEM logic evt command. Was wrongly implemented it was basicaly inverted (returning true when should return false etc.).

Fixed: No message being shown when warehouse is full.

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.
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

Re: Server Emulator : Change Log

Postby Finito » Thu May 28, 2009 3:51 am

Revision: 142
Author: finito
Date: 23:50:16, 11 May 2009
Message:
Fixed: LoadCharData not supporting character name lengths of 12.

Fixed: Items on ground sometimes disappearing. Found out was not sending correct packet data for money piles. Was forgetting to send the item name.

Fixed: Warp locations are static and should be random (within -10 and +10 of original warp location).

Fixed: Warp bug where character goes invisible and end up in invalid co-ordinates.

Fixed: White and Black magic not saving to magic belt.
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

Re: Server Emulator : Change Log

Postby Finito » Thu May 28, 2009 3:51 am

Revision: 143
Author: finito
Date: 00:48:18, 16 May 2009
Message:
Fixed: Items still not automatically being removed from map after X time (time is now 20 minutes, increased from 10 minutes).

Fixed: Items when dropped are finding space to put the item on map differently to the euro 1p1.

Fixed: Unable to drop items while moving.

Fixed: Shop quantity remaining for those items in shop with quantity not changing. Was sending wrong data in packet.

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.

Fixed: Character not being removed from guild application list when character is deleted.

Fixed: Gaining stats and skills from using cure poison and other magic of same plus type group.

Fixed: When wearing items with +HP e.g. claw necklace, when attacked with magic or NPC you lose the +HP from the item. Was using m_sMaxHP instead of GetMaxHP().

Fixed: Continue time for magic cast by NPC not being set in the packet to client. This is most likely the cause of status magic disappearing a few seconds after acquiring it.

Fixed: MaxHP being set to Current HP e.g. happens alot when warping. The current hp and max hp was being sent the wrong way around in packet data sent to the client within FillUserInfo.
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

Re: Server Emulator : Change Log

Postby Finito » Thu May 28, 2009 3:51 am

Revision: 144
Author: finito
Date: 21:16:37, 21 May 2009
Message:
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.

Fixed: CNpc::SetDead missing flag to stop packets being sent. Updated all calls.

Implemented: KILL_NPC event EVT command.

Implemented: LIVE_NPC event EVT command.

Implemented: CHECK_ALIVE_NPC logic EVT command.

Fixed: Corrected monster drops to have possible 25 spaces for drops instead of the incorrect 9.

Corrected: Defines for NPC_BACK 0x10 to 0x0A and NPC_RECALL 0x11 to 0x0B

Fixed: Compiler warning within ThrowItem, GiveX and GiveY variables getting skipped because of case labels.
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

Re: Server Emulator : Change Log

Postby Finito » Thu May 28, 2009 3:51 am

Revision: 145
Author: finito
Date: 17:43:28, 23 May 2009
Message:
Fixed: Memory leaks when shutting down the server.

Fixed: GM /recall command.

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.
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

Re: Server Emulator : Change Log

Postby Finito » Tue Jun 02, 2009 1:41 am

Revision: 146
Author: finito
Date: 01:38:45, 02 June 2009
Message:
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.
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

Re: Server Emulator : Change Log

Postby Finito » Sun Jun 07, 2009 5:50 pm

Revision: 147
Author: finito
Date: 17:48:05, 07 June 2009
Message:
Altered: Level cap to 130 from 100

Altered: Moved level cap message into LevelUp function and only show message when you reach the cap.

Bug Fix: KILL_NPC evt command not working.

Bug Fix: NPC item drops, not correctly initialising the array and doing rand between wrong values.

Bug Fix: NPC determine attack type using wrong rand values.

Bug Fix: NPC determine magic attack using wrong rand values.

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: NpcDeadEvent not working. Forgot to add NPC_BAND to the NPC server id.

Bug Fix: Special Attack (Auras) effect not removing when changing equipment.

Improved: Error checking on GiveMagic and Rob Magic.

Bug Fix: IsHaveMagic not going through the entire magic array when searching for magic.

Bug Fix: CheckRemainMagic not checking the iMagicEffectValue >= MAX_MAGIC_EFFECT.

Bug Fix: GetSendMagicData not checking magic id <= 0 was only checking < 0.

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.

Improved: Guild system and made it thread safe.

Bug Fix: Missing messages for item breaking when dura > 0 and < 5.

Implemented: Hair Shop
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

Re: Server Emulator : Change Log

Postby Finito » Sat Jun 13, 2009 3:57 pm

Revision: 149
Author: finito
Date: 15:54:56, 13 June 2009
Message:
Implemented: /hidden GM command.

Implemented: /appear GM command.

Implementing: Guild Wars

Bug Fix: HP and MP recovery timers not being reset when reviving from death.

Bug Fix: Special Attacks being targeted on self instead of the target. This meant that auras such as paralyze would paralyze
Finito
SomaDev Staff
 
Posts: 425
Joined: Fri Jan 11, 2008 6:25 pm

PreviousNext

Return to Development blog

Who is online

Users browsing this forum: No registered users and 1 guest

cron