Check for missing hobo glyphs

tebee

Member
here is a quick and dirty script to tell you which hobo glyphs you have not got.

I did start writing a much improved version of this but lost it ( and all my other scripts) in a hard drive crash, but got this back from someone I'd shared it with - sharing is good! (tell that to the RIAA)

As I don't think I can find the inspiration to re-write it again, I'll publish this version now in the hope that someone else may improve it for me! - and that those who can be bothered can at least use it as is - and I've got another backup of it!
 

Attachments

  • glyphs.ash
    2.6 KB · Views: 139

DerDrongo

Member
a quick update to avoid hammering the server with lots of visit_url()'s
Code:
void main() {
	string html = visit_url("questlog.php?which=5");
	void check_glyph (string where, string when) {
		if (!contains_text(html, where))
			print(where + " - " + when);
	}
	void check_glyph (string where) {
		if (!contains_text(html, where))
			print(where);
	}
	print("Glyphs needed....");
	check_glyph("The Arid, Extra-Dry Desert");
	check_glyph("The Cola Wars Battlefield", "have ascended at least once");
	check_glyph("The Hippy/Frat Battlefield", "during island war, wearing Frat Warrior Fatigues");
	check_glyph("Belowdecks", "anytime not during the island war");
	check_glyph("The Bugbear Pen", "muscle sign only, before you defeat Felonia");
	check_glyph("Camp Logging Camp", "mysticality sign only");
	check_glyph("Cobb's Knob Menagerie, Level 3");
	check_glyph("The Defiled Nook", "during council cyrpt quest");
	check_glyph("The Enormous Greater-Than Sign", "before learning the secrets of the Dungeon of Doom");
	check_glyph("The eXtreme Slope");
	check_glyph('The "Fun" House');
	check_glyph("The Lair of the Ninja Snowmen");
	check_glyph("The Limerick Dungeon");
	check_glyph("The Misspelled Cemetary", "before council cyrpt quest");
	check_glyph("Noob Cave");
	check_glyph("The Penultimate Fantasy Airship");
	check_glyph("The Poker Room");
	check_glyph("The Road to White Citadel", "before finding the citadel");
	check_glyph("The Sleazy Back Alley");
	check_glyph("Thugnderdome", "moxie sign only");
}
the order it prints out has been changed to match the wiki, also it now gives a message stating any limits on when you can get the code
 

zarqon

Well-known member
I found this quite useful (thanks tebee and DerDrongo!), so I thought I would share my tweaked version. This one gives slightly more useful information, as well as handling a few situations that the above didn't.

Code:
// glyph checker

string html = visit_url("questlog.php?which=5");
string[int] needed;

void check_glyph (string where, string when) {
   if (!contains_text(html, where)) needed[count(needed)] = where+" - "+when;
}
void check_glyph (string where) {
   if (!contains_text(html, where)) needed[count(needed)] = where;
}

void main() {
   if (item_amount($item[hobo binder]) + equipped_amount($item[hobo binder]) == 0) abort("No hobo binder.");
   check_glyph("The Arid, Extra-Dry Desert");
   check_glyph("The Cola Wars Battlefield", "have ascended at least once");
   check_glyph("The Hippy/Frat Battlefield","wearing Frat Warrior outfit");
   check_glyph("Belowdecks", "anytime not during the island war");
   check_glyph("The Bugbear Pen", "muscle sign only, before you defeat Felonia");
   check_glyph("Camp Logging Camp", "mysticality sign only");
   check_glyph("Cobb's Knob Menagerie, Level 3");
   check_glyph("The Defiled Nook", "during council cyrpt quest");
   check_glyph("The Enormous Greater-Than Sign", "before learning the secrets of the Dungeon of Doom");
   check_glyph("The eXtreme Slope");
   check_glyph('The "Fun" House');
   check_glyph("The Lair of the Ninja Snowmen");
   check_glyph("The Limerick Dungeon");
   check_glyph("The Misspelled Cemetary", "before council cyrpt quest");
   check_glyph("Noob Cave");
   check_glyph("The Penultimate Fantasy Airship");
   check_glyph("The Poker Room");
   check_glyph("The Road to White Citadel", "before finding the citadel");
   check_glyph("The Sleazy Back Alley");
   check_glyph("Thugnderdome", "moxie sign only");
   if (count(needed) == 0) print("You have all known glyphs!","blue");
   else {
      print("You still need "+count(needed)+" glyphs:","blue");
      foreach num in needed print(needed[num]);
   }
}
 

Bale

Minion
Bah! Back when I went hunting hobo glyphs I had to do it with a checklist written on paper! And there was none of this new-fangled mumbo-jumbo with the hobo glyphs being displayed in the quest log. Back then, to check my glyphs I had to unequip the binder and use it. Then I had to remember to re-equip the binder again or else I'd just waste turns until I realized I'd forgotten to wield it.

You whipper-snappers have it too easy.

In other words: Dang, I wish I'd been able to use this script back then.
 

Bale

Minion
Sorry, it just goes against my grain to say stuff that isn't actually true. It was only uphill in one direction, but the slope was well greased so it was twice as hard to climb. Does that count?
 

codster62

Member
REQUEST: Can somebody make this script check to see which glyphs are missing, then adventure and get glyphs for you? That would make it even so much more easier!
 
Top