Current Royalty count in gCLI?

Darzil

Developer
Have added tracking in r16606 BUT it will not reset when you get the sceptre, and will not know your current royalty, only that used in future, so please set those manually.
 

Magus_Prime

Well-known member
Thank you! For the neophyte scripters among us how would I fetch that value in the gCLI? Nevermind. I figured it out.

Now to grep my log files for consumed Royal Teas.
 
Last edited:

Bale

Minion
Mafia should parse current value out of the museum leaderboard as a means of self correction.

Not that it matters to me, it's just that mafia does similar things for other values that it tracks, so the lack of consistency seems inappropriate.
 

Darzil

Developer
Regex to pull it isn't bad ("showplayer.php\\?who=(\\d+)><b>(.*?)</b></td><td width=30></td><td>(\\d+)</td>"), but will have to create MuseumRequest.php to handle Museum parsing which I don't think we currently do (ice house is a choice).

May do it if I get time over the weekend, but absolutely no promises.
 
Top