(0.5.11) Status for Monday, January 13, 2014

(0.5.11) Status for Monday, January 13, 2014

Postby lugdunon » Mon Jan 13, 2014 12:34 am

/etc files altered in this update:
  • behaviors.json
  • commands.json
  • items.json
  • npcs.json
  • vendorCache.json
  • vendors.json


Release Notes:
  • Fixed two issues with manifest generation that were causing problems with composite classpaths on windows. Thanks Marxell for finding and reporting this!
  • Vendor icons are now defined as part of the vendor definition.
  • Added net.lugdunon.ui.inventory.slot.InventorySlotInteraction.addInventorySlotInteractionListener(listener) to the client-side API.
  • Added net.lugdunon.ui.inventory.slot.InventorySlotInteraction.removeInventorySlotInteractionListener(listener) to the client-side API.
  • Added net.lugdunon.ui.inventory.slot.InventorySlotInteraction.callInventorySlotInteractionListener(method,data) to the client-side API.
  • Inventory Slot Interaction listeners may subscribe to the following events: inventoryItemSelected, inventoryItemUnselected, and inventoryItemDropped.
  • Vendor UI now has a sell drop target that becomes visible when a player selects an inventory item. To sell, simply drop the item on the now visible target element.
  • The InventoryDialog now attempts to call the parentShown() function, when the dialog is shown, on the subpanel.
  • The InventoryDialog now attempts to call the parentHidden() function, when the dialog is hidden, on the subpanel.
  • Added showMissedOnly boolean argument to the net.lugdunon.ui.Console.prototype.log(msg,color,foreign,showMissedOnly) function. If this is set to true, the message will only show up in the live log
  • frame, and not the console.
  • Added game.getVendorIconForNPC(npcId) to the client-side API.
  • Altered currency events will only show a client message in the live log frame, to prevent cluttering up the console.
  • The parameter filter API has been modified to make it more useful. Instead of the process and postProcess methods accepting a CommandRequest object, they now accept a Character and CommandProperties objects instead.
  • ConsoleCommand now implements IServerInvokedCommand.
  • ConsoleFiredCommand now provides a method for server triggered console commands: handle(CommandProperties props, String consoleMessage). This is useful for allowing NPCs to speak and emote.
  • EmoteConsoleCommand now callable on the server side.
  • SayConsoleCommand now callable on the server side.
  • YellConsoleCommand now callable on the server side.
  • Added PurchaseItemFromVendorCommand.
  • Added UpdateVendorSlotCommand.
  • Added support for VendorInstance objects to CommandProperties.
  • Added the NPC trigger API, providing a generic method of triggering various actions by NPCs.
  • Added PlayerProximityBehavior. This behavior fires a triggered action when a player ventures into the NPCs trigger radius.
  • Added net.lugdunon.state.character.Character.canAssignItem(Item item, int amount) to the server-side API.
  • Added net.lugdunon.state.character.Character.canAssignItem(Item item, int amount, boolean b, String object) to the server-side API.
  • Added net.lugdunon.state.currency.ICurrency.multiply(float multiplier) to the server-side API.
  • Players now inform the server of when they are viewing a vendor's wares.
  • Added net.lugdunon.state.vendor.slot.IVendorSlot.handlePurchase(PlayerCharacter pc) to the server-side API.
  • Added net.lugdunon.state.vendor.slot.IVendorSlot.setVendorInstance(VendorInstance vendorInstance) to the server-side API.
  • Added net.lugdunon.state.vendor.slot.IVendorSlot.getVendorInstance() to the server-side API.
  • Added a net.lugdunon.state.vendor.slot.RechargingVendorSlot. Slots of this type become unavailable for a certain time after a purchase.
  • Added net.lugdunon.state.State.makeObjectFromJSONDefinition(JSONObject o) to the server-side API.
  • Added a vendor for brewing supplies.
  • Added a warning if a single server timestep frame takes longer than the maximum frame length.

Here is link to an imgur album containing several gifs of the completed vendor UI in action: http://imgur.com/a/4shez

Here's an example of an NPC calling out to a player when they become close:

Image
User avatar
lugdunon
Site Admin
 
Posts: 407
Joined: Tue Nov 05, 2013 5:53 pm

Return to Updates

Who is online

Users browsing this forum: Google [Bot] and 18 guests

cron