Results 1 to 7 of 7

Thread: Sorting Caligos spell preps and stuff with gameObj-data.xml mods

  1. Default Sorting Caligos spell preps and stuff with gameObj-data.xml mods

    Updated as of 10/30/18, 1pm-ish EST.

    NOTE: I had an error in the code that was fixed earlier today. If you tried modifying your gameObj-data file and it failed, that's probably why. It's fixed now.

    Okay, for those of you who have found any, many, or too many (or want to!) spell preparation, spell messaging, flare modifiers or tokens, I am offering the ability to sort them out via ;sorter, through modifications to your gameObj-data.xml file.

    There are a few levels to this, on account of my liking exceedingly granular data when I look in my own containers.

    First up, sorting all things Caligos out. Please be aware that this covers both 2017 AND 2018; I have not seen everything this year that was found in 2017, just as there are many being found this year that were not (to my knowledge) found last year. Sources included, but were not limited to: the 2017 and 2018 Ebon Gate mini-game prize lists, PC for sale boards, personal and Platinum community finds, and the lich scripting Discord compilation.

    Step 1:

    Open your gameObj-data.xml file in a text or code editor. Notepad, NoteTab, editpad are fine; I don't recommend MS Word.

    A few tips before you get started with Steps 2-5:

    Before you start working on this, enter the following in game:

    ;repo unset-updatable gameobj-data.xml

    This will keep lich from overwriting your modifications, unless there is an error in the modified code.

    Backups are your friend. If something goes wrong with a modification, lich will at least try and re-download the standard gameObj-data.xml file. Make sure you save a copy of your original gameObj-data file (if it's not the standard), and a second of modifications as you go along. I recommend having two copies open - the backup and the one you are currently working on. Once you know the one you've modified works, use select all, copy, and paste to the backup copy before you move to the next step.

    Updated:

    You can test your modifications by using:

    ;eq GameObj.load_data

    Thank you goes to adred for that!

    Pastebins!

    If you use an xml patching script or gameobjadd (I'm not aware of all of the names of these things) you do not want to use the pastebins.

    If you DO want to use them, here:

    They have been updated as of 10/30/18.

    FULL modification, with individual spell circles and spells (aka steps 1-5): https://pastebin.com/M1g0mzpA

    PARTIAL modification, WITHOUT individual spell circles and spells (aka steps 1-4): https://pastebin.com/W6dBEJv6

    Step 2: Adding types

    Between two type categories, that is after a </type> tag but before a <type name="[name here]"> tag, paste the following:

    Code:
    	<type name="Caligos Spell modifiers">
    		<name>^(?:moon-white skeletal arm|wedge of petrified cake|piece of petrified flatbread|some petrified laver bread|small (?:chelioboros|palm frond-shaped) disk|(?:figure-etched stone|firefly-stamped golden|snowflake obsidian|bright firework-etched) epitaph|(?:ash and soot|icy snowflake|indigo smog|inky shadow|silvery smoke|thick mist)-filled jar|waxed willow leaflet|thin sheet of music|(?:grey-swirled faded|white-sheened crumpled) note|(?:dense mosquito|opaque termite|rosy tsetse fly|simple horsefly|green-hued sandfly|brown cockroach) ornament|(?:crisp bright white|greasy prayerbook) page|(?:leaf-edged flat brown|prismatic slip of|sheet of crisp runed|slip of antique yellow) paper|(?:silvery piece of|thin hoarfrost-rimed) papyrus|(?:feather-edged|glyph-stamped verdant|heavily (?:embellished|embelished)|mottled thick|odd-hued waxed|ripped multicolored|scribbled|smooth multicolored|thick|torn-out page of runed|translucent sheaf of|water-stained off-white) parchment|tablet of enruned rowan|bound white scroll|silver-edged indigo sheet|slab of rune-carved slate|(?:air symbol-embossed|amethyst skull|azure feather-etched|colorful starburst|dark stream|ghost|icicle-shaped|indigo (?:eel|sphere)|inky black|rock-inlaid|silvery (?:sphere|wing)|simple flower-crested|stormcloud|three-masted galleon|blossom|thick roiling cloud|(?:brilliant silvery|silver and) indigo|lotus|radiant sun-embossed|water-filled glass globe|wave-incised|passionflower) token|(?:cracked stone|hand-etched) tombstone|(?:blue monkey's paw|bright green tent-shaped|cerulean firefly|crested jay|pale-moon|star-strewn obsidian shard|swirling aetherstone|feystone-winged dragonfly) trinket|(?:energy-laced|music note-etched|(?:fancy|simple) stone|simple stone-filled) urn|(?:cloudy off-white|crimson and yellow|damp sheet of|disk of thick|dusty sheet of|ebon transparent|(?:flame|wave|spark)-embossed|(?:grey and|silver-edged) indigo|indigo-edged silver|scorched off-white|sigil-marked verdant|thin opaque|waxy indigo-veined|damp tattered|flame-edged red|frost-edged blue|pale silver) vellum|(?:array of boxthorn|snarl of gooseberry) vine|fossilized (?:(?:black kraken|grey|jellyfish) tentacle|brick red crab pincer|emerald iguana arm|spider crab appendage|werebear claw|barnacled claw|grey monkey arm)|miniature (?:(?:ship|bucket|clam|crab|parrot|cauldron)-shaped disk)|(?:miniature (?:(?:circle|lily|triple ring)-etched|inscribed|tidy)) tombstone|petrified (?:pickle|golden doughnut|hermit bar|(?:honey-laced|oil and anise|seed-encrusted) cake|sea biscuit|vathor club limb|rye pasty|round of millet bread)|(?:black and blue|carved (?:s|f)ulfurous rock|tuft of grass-embossed|chamomile and firefly-etched|piece of (?:calla-stamped|blackened|chalky|dark|lavender|petrified bark|salt-stained|sandy|oily)) species|tangle of (?:coarse brown tumbleweed|musk thistle brambles|oily kelp stipe|twisting creepers)|thin hoarfrost-rimed (?:papyrus|slip)|tiny (?:(?:elk antler|mineral deposit|redwood) trinket|seaweed-covered disk)|treated (?:goblin|orc|troll) hide)$|^cluster of (?:greenbrier vine|widgeonweed)$|^ghost-edged white certificate$|^edge of petrified cake$|^unadorned grey voucher|^(?:(?:black|blessed|reinforced) glaesine|small clear glass) ball</name>
    	</type>
    	<type name="flare token">
    		<name>^(?:(?:(?:small|iridescent) bubble|transparent spirit|gold scale|club)-shaped|(?:fiery|blood|lava) red|snake-etched|solid black|fogged glass|fluffy white|sandy brown|icy blue|crumbled stone|cresting wave|lopsided silver and gold) token$</name>
    	</type>
    These two types* will add A) all the spell preps, spell messaging modifications (including stuff that gives different manna bread, floating disks, and major sanctuaries, among other things), and B) all of the flare tokens known as of this posting. If you don't want them in separate categories, you can replace the following code:

    Code:
    </name>
    	</type>
    	<type name="flare token">
    		<name>
    with this: | (the pipe symbol).

    You can change the names ("Caligos spell modifiers" and "flare token") to whatever you'd like to call them by changing the text inside the quotes.

    * These two categories do not include the certificates sold at Flares of Interest.

    Step 3: Adding exceptions

    This part gets a little trickier.

    Exceptions keep various things included in the Caligos spell modifications category from also being sorted into other categories like scrolls, jewelry, and skins.

    A. Find <type name="jar">. Within that type there will be an <exclude> line. Replace that entire line (<exclude>[text]</exclude>) with the following:

    Code:
    		<exclude>^(?:glass bottle|(?:ash and soot|icy snowflake|indigo smog|inky shadow|silvery smoke|thick mist)-filled jar)$</exclude>
    B. Find <type name="scroll">. This type doesn't have an exclusion line, so add between </noun> and </type> the following line:

    Code:
    		<exclude>^(?:(?:leaf-edged flat brown|prismatic slip of|sheet of crisp runed|slip of antique yellow) paper|(?:silvery piece of|thin hoarfrost-rimed) papyrus|(?:feather-edged|glyph-stamped verdant|heavily (?:embellished|embelished)|mottled thick|odd-hued waxed|ripped multicolored|scribbled|smooth multicolored|thick|torn-out page of runed|translucent sheaf of|water-stained off-white) parchment|bound white scroll|(?:cloudy off-white|crimson and yellow|damp sheet of|disk of thick|dusty sheet of|ebon transparent|(?:flame|wave|spark)-embossed|(?:grey and|silver-edged) indigo|indigo-edged silver|scorched off-white|sigil-marked verdant|thin opaque|waxy indigo-veined|damp tattered|flame-edged red|frost-edged blue|pale silver|feathery soft white) vellum)$</exclude>
    C. Find <type name="jewelry">. This category already has a fairly hefty exclusion line, so between the spoon)$ and the </exclude> at the very end, paste the following:

    Code:
    |^(?:energy-laced|music note-etched|(?:simple|fancy) stone|simple stone-filled) urn$
    It should look like this:
    Code:
    spoon)$|^(?:energy-laced|music note-etched|(?:simple|fancy) stone|simple stone-filled) urn$</exclude>
    D. Find <type name="skin">. Like jewelry, this also had a large exclusion line. Here, between the drinking horn$ and the </exclude>, paste:

    Code:
    |^(?:treated (?:goblin|orc|troll) hide|fossilized (?:werebear claw|(?:grey|black kraken|jellyfish) tentacle|brick red crab pincer|barnacled claw))$
    So it looks like:

    Code:
    drinking horn$|^(?:treated (?:goblin|orc|troll) hide|fossilized (?:werebear claw|(?:grey|black kraken|jellyfish) tentacle|brick red crab pincer|barnacled claw))$</exclude>
    Those four exclusions should keep all the things from Caligos digging, games, and Deep Sea Diving from showing up in other categories.

    Step 4: Further sorting

    All of the following steps, and even step 3, are optional when adding sorting for Caligos spell mod items. This step and the next simply offer more granular information

    The three types listed here - just types now, all the exception lines were added back in Step 3 - sort out:

    Custom flare messaging - including those offered at Flares of Interest, which are not included in the Caligos spell modifications category listed in Step 2.
    Spell preparation - indicates that the item(s) listed modify the spell preparation messaging, 1st, 3rd, and hidden points of view.
    Spell messaging - indicates that the item(s) listed modify the effects of the spell: manna bread, floating disk, major sanct room description, tangleweed, bolt messaging, etc.

    As in Step 2, these can be added between any pair of </type><type> tags.

    Code:
    	<type name="Custom flare messaging">
    		<name>^(?:(?:silver-edged indigo|ebon transparent|crimson and yellow|scorched off-white|thin opaque|damp tattered|flame-edged red|frost-edged blue|pale silver) vellum)$|^((?:flame-edged red|dark-edged transparent|vine-edged thin|frost-edged blue|white-edged electric blue|perfectly smooth|singed off-white|silver-inked void black|stained orange|ghost-edged white) certificate|damp pale vellum (?:certificate|voucher)|unadorned grey voucher)$</name>
    	</type>
    	<type name="Spell preparation">
    		<name>^(?:(?:(?:spark|wave|flame)-embossed|cloudy off-white|(?:damp|dusty) sheet of|waxy indigo-veined|indigo-edged silver|sigil-marked verdant) vellum|(?:torn-out page of runed|heavily (?:embellished|embelished)|(?:smooth|ripped) multicolored|scribbled|thick|mottled thick|odd-hued waxed|translucent sheaf of|water-stained off-white|glyph-stamped verdant|feather-edged) parchment|(?:sheet of crisp runed|prismatic slip of|leaf-edged flat brown|slip of antique yellow) paper|waxed willow leaflet|treated (?:troll|orc|goblin) hide|(?:grey-swirled faded|white-sheened crumpled) note|thin sheet of music|(?:silvery piece of|thin hoarfrost-rimed) papyrus|indigo-edged silver sheet|slab of rune-carved slate|tablet of enruned rowan|thin hoarfrost-rimed slip|(?:crisp bright white|greasy prayerbook) page|bound white scroll|disk of thick vellum)$</name>
    	</type>
    	<type name="Spell messaging">
    	<name>^(?:(?:air symbol-embossed|colorful starburst|silvery wing|three-masted galleon|ghost|azure feather-etched|indigo (?:eel|sphere)|simple flower-crested|inky black|rock-inlaid|icicle-shaped|dark stream|stormcloud|amethyst skull|blossom|thick roiling cloud|lotus|(?:silver and|brilliant silvery) indigo|silvery sphere|radiant sun-embossed|water-filled glass globe|wave-incised|passionflower) token|(?:petrified (?:golden doughnut|pickle|(?:seed-encrusted|honey-laced|oil and anise) cake|hermit bar|sea biscuit|rye pasty|round of millet bread)|some petrified laver bread|piece of petrified flatbread|wedge of petrified cake)|(?:swirling aetherstone|pale-moon|star-strewn obsidian shard|blue monkey's paw|tiny (?:mineral deposit|redwood|elk antler)|crested jay|cerulean firefly|bright green tent-shaped|feystone-winged dragonfly) trinket|(?:black and blue|carved (?:s|f)ulfurous rock|tuft of grass-embossed|chamomile and firefly-etched|piece of (?:blackened|chalky|dark|lavender|petrified bark|salt-stained|sandy|oily|calla-stamped)) species|(?:dimly luminescent|cracked stone|hand-etched|miniature (?:(?:circle|triple ring|lily)-etched|inscribed|tidy)) tombstone|(?:firefly-stamped golden|snowflake obsidian|bright firework-etched|figure-etched stone) epitaph|(?:small (?:chelioboros|palm frond-shaped)|tiny seaweed-covered|miniature (?:crab|clam|bucket|parrot|ship|cauldron)-shaped) disk|array of boxthorn vine|petrified vathor club limb|tangle of (?:musk thistle brambles|oily kelp stipe|coarse brown tumbleweed|twisting creepers)|(?:simple horsefly|dense mosquito|opaque termite|rosy tsetse fly|green-hued sandfly|brown cockroach) ornament|fossilized (?:spider crab appendage|(?:werebear|barnacled) claw|(?:grey|black kraken|jellyfish) tentacle|(?:grey monkey|emerald iguana) arm|brick red crab pincer)|moon-white skeletal arm|(?:music note-etched|(?:fancy|simple) stone-filled|energy-laced|simple stone) urn|(?:silvery smoke|inky shadow|icy snowflake|thick mist|indigo smog)-filled jar|cluster of (?:greenbrier vine|widgeonweed)|snarl of gooseberry vine)$|^(?:(?:(?:black|reinforced|blessed) glaesine|small clear glass) ball)</name>
    	</type>
    Step 5: Individual circles, races, professions, and spells

    The following set of types is probably too granular for most; I have it in my gameObj-data currently but will probably be removing it at some point in the near future. However, if you want to see what spell circles, races, professions, and spells you have modification items for, you can add any or all of the following:

    Code:
    	</type>
    	<type name="100s">
    		<name>^(?:silvery piece of papyrus|white-sheened crumpled note)$</name>
    	</type>
    	<type name="300s">
    		<name>^(?:greasy prayerbook page)$</name>
    	</type>
    	<type name="500s">
    		<name>^(?:thin hoarfrost-rimed slip)$</name>
    	</type>
    	<type name="600s">
    		<name>^(?:leaf-edged flat brown paper)$</name>
    	</type>
    	<type name="1600s">
    		<name>^(?:crisp bright white page)$</name>
    	</type>
    	<type name="Ranger">
    		<name>^(?:sigil-marked verdant vellum|glyph-stamped verdant parchment|feather-edged parchment)$</name>
    	</type>
    	<type name="Cleric">
    		<name>^(?:waxy indigo-veined vellum)$</name>
    	</type>
    	<type name="Wizard">
    		<name>^(?:heavily (?:embellished|embelished) parchment|prismatic slip of paper)$</name>
    	</type>
    	<type name="Dwarf">
    		<name>^(?:slab of rune-carved slate)$</name>
    	</type>
    	<type name="Human">
    		<name>^(?:torn-out page of runed parchment)$</name>
    	</type>
    	<type name="Half-Elf">
    		<name>^(?:tablet of enruned rowan)$</name>
    	</type>
    	<type name="Elf">
    		<name>^(?:sheet of crisp runed paper)$</name>
    	</type>
    	<type name="All">
    		<name>^(?:(?:ripped|smooth) multicolored parchment|indigo-edged silver vellum|silver-edged indigo sheet)$</name>
    	</type>
    	<type name="106">
    		<name>^(?:cloudy off-white vellum)$</name>
    	</type>
    	<type name="214">
    		<name>^(?:bound white scroll)$</name>
    	</type>
    	<type name="216">
    		<name>^(?:(?:thick|mottled thick) parchment)$</name>
    	</type>
    	<type name="409">
    		<name>^(?:slip of antique yellow paper)$</name>
    	</type>
    	<type name="416">
    		<name>^(?:odd-hued waxed parchment)$</name>
    	</type>
    	<type name="602">
    		<name>^(?:translucent sheaf of parchment)$</name>
    	</type>
    	<type name="605">
    		<name>^(?:waxed willow leaflet)$</name>
    	</type>
    	<type name="612">
    		<name>^(?:scribbled parchment)$</name>
    	</type>
    	<type name="630">
    		<name>^(?:treated (?:troll|orc|goblin) hide)$</name>
    	</type>
    	<type name="901">
    		<name>^(?:spark-embossed vellum)$</name>
    	</type>
    	<type name="spell_903">
    		<name>^(?:wave\-embossed vellum)$</name>
    	</type>
    	<type name="906">
    		<name>^(?:flame-embossed vellum)$</name>
    	</type>
    	<type name="908">
    		<name>^(?:reinforced glaesine ball )$</name>
    	</type>
    	<type name="912">
    		<name>^(?:grey-swirled faded note)$</name>
    	</type>
    	<type name="917">
    		<name>^(?:dusty sheet of vellum)$</name>
    	</type>
    	<type name="1004">
    		<name>^(?:water-stained off-white parchment)$</name>
    	</type>
    	<type name="1006">
    		<name>^(?:thin sheet of music)$</name>
    	</type>
    	<type name="1215">
    		<name>^(?:thin hoarfrost-rimed papyrus)$</name>
    	</type>
    	<type name="1707">
    		<name>^(?:damp sheet of vellum)$</name>
    	</type>
    	<type name="111">
    		<name>^(?:(?:colorful starburst|silvery wing|three-masted galleon|ghost|azure feather-etched|indigo (?:eel|sphere)|simple flower-crested|stormcloud|amethyst skull|blossom|lotus|(?:silver and|brilliant silvery) indigo|silvery sphere|passionflower) token)$</name>
    	</type>
    	<type name="118">
    		<name>^(?:small clear glass ball)</name>
    	</type>
    	<type name="203">
    		<name>^(?:petrified (?:golden doughnut|pickle|(?:seed-encrusted|honey-laced|oil and anise) cake|hermit bar|sea biscuit|rye pasty|round of millet bread)|some petrified laver bread|wedge of petrified cake|piece of petrified flatbread)$</name>
    	</type>
    	<type name="220">
    		<name>^(?:(?:swirling aetherstone|pale-moon|star-strewn obsidian shard|cerulean firefly|blue monkey's paw|tiny (?:mineral deposit|redwood|elk antler)|crested jay|bright green tent-shaped|feystone-winged dragonfly) trinket)$</name>
    	</type>
    	<type name="306">
    		<name>^(?:(?:inky black|radiant sun-embossed) token|blessed glaesine ball)</name>
    	</type>
    	<type name="308">
    		<name>^(?:black and blue|carved (?:s|f)ulfurous rock|tuft of grass-embossed|chamomile and firefly-etched|piece of (?:blackened|chalky|dark|lavender|petrified bark|salt-stained|sandy|oily|calla-stamped) species)$</name>
    	</type>
    	<type name="318/1640">
    		<name>^(?:(?:dimly luminescent|cracked stone|hand-etched|miniature (?:(?:circle|triple ring|lily)-etched|inscribed|tidy)) tombstone)$</name>
    	</type>
    	<type name="350">
    		<name>^(?:(?:firefly-stamped golden|snowflake obsidian|bright firework-etched|figure-etched stone) epitaph)$</name>
    	</type>
    	<type name="505">
    		<name>^(?:air symbol-embossed token)$</name>
    	</type>
    	<type name="511">
    		<name>^(?:(?:small (?:chelioboros|palm frond-shaped)|tiny seaweed-covered|miniature (?:crab|clam|parrot|bucket|ship|cauldron)-shaped) disk|disk of thick vellum)$</name>
    	</type>
    	<type name="610">
    		<name>^(?:array of boxthorn vine|cluster of (?:greenbrier vine|widgeonweed)|snarl of gooseberry vine|petrified vathor club limb|tangle of (?:musk thistle brambles|oily kelp stipe|coarse brown tumbleweed|twisting creepers))$</name>
    	</type>
    	<type name="615">
    		<name>^(?:(?:simple horsefly|dense mosquito|opaque termite|rosy tsetse fly|green-hued sandfly|brown cockroach) ornament)$</name>
    	</type>
    	<type name="709">
    		<name>^(?:fossilized (?:spider crab appendage|werebear claw|(?:grey|black kraken|jellyfish) tentacle|(?:grey monkey|emerald iguana) arm|brick red crab pincer|barnacled claw)|moon-white skeletal arm)$</name>
    	</type>
    	<type name="713">
    		<name>^(?:black glaesine ball)</name>
    	</type>
    	<type name="903">
    		<name>^(?:(?:water-filled glass globe|wave-incised|dark stream) token)$</name>
    	</type>
    	<type name="907">
    		<name>^(?:icicle-shaped token)$</name>
    	</type>
    	<type name="908">
    		<name>^(?:reinforced glaesine ball)</name>
    	</type>
    	<type name="909">
    		<name>^(?:(?:music note-etched|simple stone-filled|energy-laced|(?:fancy|simple) stone) urn)$</name>
    	</type>
    	<type name="1206">
    		<name>^(?:rock-inlaid token)$</name>
    	</type>
    	<type name="1215">
    		<name>^(?:(?:silvery smoke|inky shadow|icy snowflake|thick mist|indigo smog)-filled jar|thin hoarfrost-rimed papyrus)$</name>
    	</type>
    	<type name="1707">
    		<name>^(?:thick roiling cloud token)$</name>
    	</type>
    Yes, that is a lot of categories. If you only want the ones applicable to all spells, certain races or professions, or particular circles, those are at the top and end with the "All" category.

    Adding all of the categories above will give sorting messaging like this:

    Caligos Spell modifiers,Spell preparation,300s (1): a waxy indigo-veined vellum.
    Caligos Spell modifiers,Spell preparation,All (1): a ripped multicolored parchment.
    Caligos Spell modifiers,Spell preparation,500s (1): a thin hoarfrost-rimed slip.
    Caligos Spell modifiers,Spell messaging,111 (1): a colorful starburst token.
    Caligos Spell modifiers,Spell preparation,600s (1): a leaf-edged flat brown paper.
    Caligos Spell modifiers,Spell preparation,216 (1): a mottled thick parchment.
    Caligos Spell modifiers,Spell preparation,906 (1): a flame-embossed vellum.

    If anyone finds something that isn't listed or sorts improperly, please let me know!
    Last edited by vyrshkana; 10-30-2018 at 02:07 PM.

  2. #2

    Default

    ;eq GameObj.load_data

    Dont need to exit lich or the client to reload the file after you make changes.

  3. Default

    Thank you! I did not know about that. I will update in the morning - I have a few other things I need to fix as well!

    Much appreciated.

  4. Default

    Updated and fixed an error.

  5. #5

    Default

    These appear to not yet be in your post (didn't check the pastebin):

    messaging, 203: piece of petrified flatbread
    messaging, 1215: an icy snowflake-filled jar
    messaging, 903: a water-filled glass globe token, a wave-incised token
    messaging, 306: a radiant sun-embossed token
    messaging, 111: a passionflower token
    messaging, 909: a fancy stone urn
    messaging, 308: carved fulfurous rock species (present, but not listed as 308)
    messaging, 308: carved sulfurous rock species (spelling correction that was fixed some time during EG)

  6. Default

    Updated code and pastebins. Thanks!

  7. #7

    Default

    Probably the last one- custome flare messaging (Ghezresh, lightning): grey and indigo vellum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •