mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-10 20:22:41 +00:00
Created Quest Globals to Data Buckets: How-To (markdown)
parent
4cbf681b4e
commit
031821aa28
28
Quest-Globals-to-Data-Buckets:-How-To.md
Normal file
28
Quest-Globals-to-Data-Buckets:-How-To.md
Normal file
@ -0,0 +1,28 @@
|
||||
# Quest Globals to Data Buckets: How-To
|
||||
|
||||
* As many may know, Quest Globals are stored using a name, type, value, and duration.
|
||||
|
||||
* Due to this we can do a 1:1 conversion of all 8 types of globals:
|
||||
|
||||
* Types of Globals and their specificities: https://pastebin.com/kfUjyET4
|
||||
|
||||
# Conversion
|
||||
|
||||
* The way we will be storing this data is by using the bucket's name.
|
||||
|
||||
* As you can see, types 0 through six have similar names, based on NPC/Player/Zone specificity.
|
||||
Type 7 is global, so the bucket name is just the qglobal name with no specificity.
|
||||
|
||||
* conversion.sql: https://pastebin.com/ecepEXU3
|
||||
|
||||
# Lua/Perl Requirements
|
||||
|
||||
* The Lua module necessary for using the Lua script (lua_modules/buckets.lua): https://pastebin.com/Rsnp301Q
|
||||
|
||||
* The Perl plugin necessary for using the Perl script (plugins/buckets.pl): https://pastebin.com/mhRvZC5x
|
||||
|
||||
# Lua/Perl Examples
|
||||
|
||||
* A Perl example of setting, reading, and deleting this version of data buckets: https://pastebin.com/9M5imeRH
|
||||
|
||||
* A Lua example of setting, reading, and deleting this version of data buckets: https://pastebin.com/vNP4dVSd
|
||||
Loading…
x
Reference in New Issue
Block a user