Register |  Notes |  Sign in...     

Character Browser -> OOW content added to flags
Reply to topic


cream   Send PM







OOW content added to flags

Thu Apr 27, 2017 1:47 pm      
Possible to get OOW added to magelo/flags? We've been busy with content =)
Thanks

[MPG Group Trials] : Global - mpg_group_trials
- Mastery of Fear
- Mastery of Weaponry
- Mastery of Subversion
- Mastery of Efficiency
- Mastery of Ingenuity
- Mastery of Destruction

[Anguish] - if oow_rss_taromani_insignias=1 and mpg_raid_trials=63 then Flagged
-Taromani Signets - Global: oow_rss_taromani_insignias 0/1
-MPG Raid Trails - Global: mpg_raid_trials
-Trial of Hatred
-Trial of Specialization
-Trial of Endurance
-Trial of Foresight
-Trial of Adaptation
-Trial of Corruption

mpg_group_trials and mpg_raid_trials are bitwise:

-- MPG Group Trial Bits:
-- 1 MPG_fear
-- 2 MPG_ingenuity
-- 4 MPG_weaponry
-- 8 MPG_subversion
-- 16 MPG_efficiency
-- 32 MPG_destruciton

-- MPG Raid Trial General Notes
-- 1 MPG_hate
-- 2 MPG_endurance
-- 4 MPG_foresight
-- 8 MPG_specialization
-- 16 MPG_adaptation
-- 32 MPG_corruption
 

Maudigan   Send PM
Project Lead







Fri Apr 28, 2017 9:48 am      
That should be doable, you don't happen to have some sample records from your database do you? I can anonymize them and drop em in my test database.
 

cream   Send PM








Fri Apr 28, 2017 4:36 pm      
thank ya sir.

charid;npcid;zoneid;name;value;expdate
668362;0;0;oow_rss_taromani_insignias;1;\N
668362;0;0;oow_mpg_raids_complete;1;\N
668362;0;0;mpg_raids;63;\N

668363;0;0;mpg_raids;32;\N
668363;0;0;mpg_raids;16;\N
668363;0;0;mpg_raids;8;\N
668363;0;0;mpg_raids;4;\N
668363;0;0;mpg_raids;2;\N

668364;0;0;mpg_raids;1;\N
 

Maudigan   Send PM
Project Lead







Sat Apr 29, 2017 1:24 pm      
Does nothing go into zone_flags?

Whats oow_mpg_raids_complete for? Does that get set when you do all 6 raids?

Is it mpg_raid_trials or mpg_raids?

Does this look right? This char has mpg_group_trials = 63, mpg_raid_trials = 60, oow_rss_taromani_insignias = 1

http://charbrowser.mqemulator.net/flags.php?char=Athrogate

I never played OOW so I made some assumptions about how it should be logically organized and the language. If it needs to be rearranceg or the language needs adjustment let me know. I'll make the tweaks and shoot the modified files to you to see if it still works with your real-world data.
 

Maudigan   Send PM
Project Lead







Sat Apr 29, 2017 1:33 pm      
I went ahead and zipped up the changed files. It'll probably need another adjustment but seeing how it works on your real data will make that clear

http://mqemulator.net/flagupdates.zip

flags.php goes in the root directory, language.php goes in the include directory

If there are other intermediate flags in the process it might be good to add those too
 

cream   Send PM








Mon May 01, 2017 2:10 pm      
thanks. thats pretty much it for OOW flagging, will see if we can test this soon.
 

Maudigan   Send PM
Project Lead







Mon May 01, 2017 3:07 pm      
NP, happy to help, just let me know if it's good (it's probably not hehe) and I'll commit the changes to the baseline.
 

Maudigan   Send PM
Project Lead







Thu May 11, 2017 2:59 pm      
How has this worked out? I may make some other tweaks, namely splitting the configuration file into two superset modules, before I commit the changes. I update the version number in that file, but it should probably be in a separate file so admins don't have to manually edit that when they upgrade. I may or may not add an installer too.
 



Reply to topic