EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Guild Bank - Why do we have this restriction? (https://www.eqemulator.org/forums/showthread.php?t=30885)

Secrets 03-25-2010 05:09 PM

Guild Bank - Why do we have this restriction?
 
(World, GuildBankZoneID)

I'm unsure as to why we would want to limit the guild bank to one zone. Is there something i'm missing here?

ChaosSlayerZ 03-25-2010 05:11 PM

/agree

a guild bank should be available anywhere a normal banker could be sticked to.

Derision 03-25-2010 05:22 PM

The guild bank is stored in the memory of that instance of that zone. While deposits/withdrawals etc are written to the database immediately, there is no mechanism to inform Guild Bankers in other zones to refresh their in-memory copies when changes are made.

Without that restriction, item duplication would be rampant.

While you might not like it, I believe it is live-like, and I really didn't feel like spending the extra hours required to allow the facility to have multiple guild bankers.

With the way inter-zone communication is handled via packets, assuring accurate synchronisation between zones is virtually impossible, without putting guild banks in shared memory and using mutexes to access them, and the facility to easily do that is not currently there. (It is technically possible).

Secrets 03-25-2010 06:17 PM

Quote:

Originally Posted by Derision (Post 185684)
The guild bank is stored in the memory of that instance of that zone. While deposits/withdrawals etc are written to the database immediately, there is no mechanism to inform Guild Bankers in other zones to refresh their in-memory copies when changes are made.

I see. That's the answer I needed, I didn't think of that.


All times are GMT -4. The time now is 08:31 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.