View Single Post
  #6  
Old 02-26-2012, 07:13 PM
jamitsu89 jamitsu89 is offline
Registered User
Join Date: Jun 2011
Posts: 27
jamitsu89 is an unknown quantity at this point
Well, it's actually for a minigame that then provides loot at the end. As such, when you finish the game a flag is set that lets the NPC know you've finished (you will only ever be on one at a time, and Ownership of the NPC is set on the serverside so no one else can use it at the same time). Another flag is set that lets the NPC know what loot it should be providing (set on the player after the minigame ends). It then sets the loot within itself on the clientside and when it has been looted communicates with the server to reset itself for another player.

The above information isn't too important, but what is is that it doesn't use any client > server interaction except at the end for the reset. So I can't simply send the loot information along with something else.

I suppose I can settle for having all possible loot in each NPC stated, and then requesting the fields from the SQL DB accordingly while the player is playing the minigame, but that seems like a work around for something that could work much better.
Reply With Quote