Large updates bcnm, alliance ect
Posted: Tue Aug 28, 2012 5:26 pm
Large update:
BCNM treasure chest system:
-Crate spawns on win
-Triggering crate ends bcnm
-New sql table bcnm_treasure_chests.sql
-Chests reset along with everything else in the bcnm
-treasure pool loot system works with chests
-message "You find <item> on the armory crate." works
-added lua function - player:getBCNMloot();
I've added Armoury_Crate.lua to the Waughroon_Shrine folder. This new lua function is used there, it takes no arguments, it will just spawn the chest of which ever bcnm instance that player is in.
more bcnm notes:
The sql file bcnm_treasure_chests.sql will need new bcnm chests adding to it (see below).
I've added a file in documentation:
Waughroon_Shrine_armory_crates.txt which contains a list of armory crates for that zone
-------------------------------------------
Waughroon_Shrine
armory crates
17367089 - operation desert swarm
17367093 - operation desert swarm
17367097 - operation desert swarm
17367101 - hills are alive
17367105 - hills are alive
17367109 - hills are alive
17367113
17367117
and more...
-------------------------------------------
This is so we know which crates are free for other bcnm's and which are being used.
This will be a painful process setting up each chest individually so I thought this would be a good idea
Loot can currently be set in mob_droplist using the bcnm_info's lootdropid as the dropid, although this will need work because on ffxiclopedia the bcnm loot is in groups and can only obtain 1 item from each group. Maybe adding another column "group" or something in mob_droplist could solve the problem?
Alliance code: (Big thanks to onetime for the lesson)
-fixed a bug in bcnm alliance system
-used the correct uint8 values for all party & alliance loops (I understand all that now - mostly should be uint8 lol)
-removed all duplicate if statements- "if (PChar->PParty !=NULL)" and then repeats later in the sub
-It should be top quality now
Hopefully this will dramatically improve server perfomance for alliances.
New GM command @changesjob:
-@changesjob, changes SUB job if your a GM
Please add this wonderfull GM command to the cause!
BCNM treasure chest system:
-Crate spawns on win
-Triggering crate ends bcnm
-New sql table bcnm_treasure_chests.sql
-Chests reset along with everything else in the bcnm
-treasure pool loot system works with chests
-message "You find <item> on the armory crate." works
-added lua function - player:getBCNMloot();
I've added Armoury_Crate.lua to the Waughroon_Shrine folder. This new lua function is used there, it takes no arguments, it will just spawn the chest of which ever bcnm instance that player is in.
more bcnm notes:
The sql file bcnm_treasure_chests.sql will need new bcnm chests adding to it (see below).
I've added a file in documentation:
Waughroon_Shrine_armory_crates.txt which contains a list of armory crates for that zone
-------------------------------------------
Waughroon_Shrine
armory crates
17367089 - operation desert swarm
17367093 - operation desert swarm
17367097 - operation desert swarm
17367101 - hills are alive
17367105 - hills are alive
17367109 - hills are alive
17367113
17367117
and more...
-------------------------------------------
This is so we know which crates are free for other bcnm's and which are being used.
This will be a painful process setting up each chest individually so I thought this would be a good idea
Loot can currently be set in mob_droplist using the bcnm_info's lootdropid as the dropid, although this will need work because on ffxiclopedia the bcnm loot is in groups and can only obtain 1 item from each group. Maybe adding another column "group" or something in mob_droplist could solve the problem?
Alliance code: (Big thanks to onetime for the lesson)
-fixed a bug in bcnm alliance system
-used the correct uint8 values for all party & alliance loops (I understand all that now - mostly should be uint8 lol)
-removed all duplicate if statements- "if (PChar->PParty !=NULL)" and then repeats later in the sub
-It should be top quality now
Hopefully this will dramatically improve server perfomance for alliances.
New GM command @changesjob:
-@changesjob, changes SUB job if your a GM
Please add this wonderfull GM command to the cause!