daemitus / SomethingNeedDoing

86 stars 59 forks source link

script/solution for trading in a lot of leves? #63

Open gurkburk76 opened 2 years ago

gurkburk76 commented 2 years ago

So it would seem that's it's possible to make scripts to trade in stuff via leves and i'm the kind of person that forgets to do that witch ends up in me havin something like 99 leves to trade in, and that kinda sucks, and perhaps there are ppl who already crafted scripts like these or have similar script that would be modified that could share ? I'm focusing on lvl 90 leves on old sharlayan.

daemitus commented 2 years ago

is there a new coffee biscuit alternative?

On Fri, Apr 22, 2022 at 5:04 PM gurkburk76 @.***> wrote:

So it would seem that's it's possible to make scripts to trade in stuff via leves and i'm the kind of person that forgets to do that witch ends up in me havin something like 99 leves to trade in, and that kinda sucks, and perhaps there are ppl who already crafted scripts like these or have similar script that would be modified that could share ? I'm focusing on lvl 90 leves on old sharlayan.

— Reply to this email directly, view it on GitHub https://github.com/daemitus/SomethingNeedDoing/issues/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMTBCXDS2JV4KIX4HZO3LVGMH6PANCNFSM5UDMJ6YA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

gurkburk76 commented 2 years ago

I could be wrong but Tsai tou Vounou looks better unless i'm missign something? 1 trade = minimun of 5k (reward should vary a bit i think, 5k is on the lower end)

Tsai tou Vounou hq ~10k (5k + 5k) coffee biscuit = 3 trades seem like 7500-ish reward.

A trade-in script can be found here... :) https://github.com/daemitus/SomethingNeedDoing/wiki

gurkburk76 commented 2 years ago

I'm guessing some update did something to break the turnin scripts that can be found on the wiki, some dialog (selectyesno) got added etc, i'm not good enough to fix it.

gurkburk76 commented 2 years ago

Ok so i figured it out, add the bold part on the macro "Gillionaire - Turn-in"

/waitaddon Request /send Multiply

/waitaddon ContextIconMenu /send Numpad0 /click request_hand_over

/waitaddon SelectYesno /send Numpad0

/waitaddon Talk /send Numpad0

/waitaddon Talk /send Numpad0

/waitaddon JournalResult /click journal_result_complete /wait 0.25

Tiamat114 commented 2 years ago

I've managed to rewrite it to do Tsai van vonunu by just changing names, adjusting the menu clicks and and adding gurk's edit, but it seems to refuse to loop, it gets stuck once it loops back around on step 1 of speak to Grigge. Anyone happen to know what's up to cause that?

"[SND] Addon not visible: Failure while running /waitaddon Talk (step 1)"

MajorSquiggles commented 2 years ago

I tried to edit the macros to work with other leves but it's not working right. I don't know how to make it select the specific leve I want since it is random in which order the leves are listed. The only way I can make it work is by accepting enough other leves in the list until it has to be at the very bottom.

The other issue is with turn ins. I can get it far enough to where it asks for the item to be handed in, but then it breaks and does nothing. [SND] Addon not visible: Failure while running /waitaddon ContextIconMenu (step 3). I barely understand what the waitaddon commands are trying to do so I have no idea how to get it to hand-in the right item.

daemitus commented 2 years ago

When I was doing this yes, you would accept all the other leves until the one you want is the one that pops up first.

WaitAddon waits for an "addon" or window to be ready. ContextIconMenu is one, Synthesis is another. You can view them in the /xldata ai view.

On Mon, Apr 25, 2022 at 2:19 PM Squiggles @.***> wrote:

I tried to edit the macros to work with other leves but it's not working right. I don't know how to make it select the specific leve I want since it is random in which order the leves are listed. The only way I can make it work is by accepting enough other leves in the list until it has to be at the very bottom.

The other issue is with turn ins. I can get it far enough to where it asks for the item to be handed in, but then it breaks and does nothing. [SND] Addon not visible: Failure while running /waitaddon ContextIconMenu (step 3). I barely understand what the waitaddon commands are trying to do so I have no idea how to get it to hand-in the right item.

— Reply to this email directly, view it on GitHub https://github.com/daemitus/SomethingNeedDoing/issues/63#issuecomment-1108891891, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMTBFP6HE6XO623FG6WYDVG3OZNANCNFSM5UDMJ6YA . You are receiving this because you commented.Message ID: @.***>

MajorSquiggles commented 2 years ago

When I was doing this yes, you would accept all the other leves until the one you want is the one that pops up first. WaitAddon waits for an "addon" or window to be ready. ContextIconMenu is one, Synthesis is another. You can view them in the /xldata ai view.

Thanks for responding quickly, but this doesn't really help me.

Tiamat114 commented 2 years ago

Ok, I'm just dumb and figured it out. I did not realize where the code was to continue for 3 step turn-in in leves and needed to remove the extra turn-ins.

I dunno if it'll help anyone or whatever but this is the rewritten potion to turn on Tsai Von Vanunu. Blast from the Pasta must be accepted and held to force positioning correctly. It isn't a huge edit but it is what it is. This would replace everything under the "Gillionaire" sub folder right after the " Dur Spec (No potion)". However, you lose the coffee biscuit turn in functionality to just straight up copy paste this in there. Cherry pick appropriately if you want both.

{ "$type": "SomethingNeedDoing.FolderNode, SomethingNeedDoing", "Name": "Gillionaire", "Children": [ { "$type": "SomethingNeedDoing.MacroNode, SomethingNeedDoing", "Name": "Coffee Biscuit", "Contents": "/waitaddon \"Synthesis\" \n/ac \"Muscle Memory\" \n/ac \"Inner Quiet\" \n/ac \"Waste Not II\" \n/ac \"Final Appraisal\" \n/ac Groundwork \n/ac Innovation \n/ac \"Preparatory Touch\" \n/ac \"Preparatory Touch\" \n/ac \"Preparatory Touch\" \n/ac \"Delicate Synthesis\" \n/echo Craft finished \n/waitaddon \"RecipeNote\"\n/click synthesize\n/loop", "CraftingLoop": false, "CraftLoopCount": 0 }, { "$type": "SomethingNeedDoing.MacroNode, SomethingNeedDoing", "Name": "Gillionaire - Everything", "Contents": "/wait 1.5\n/runmacro \"Gillionaire - Grigge\"\n/wait 1.5\n/runmacro \"Gillionaire - Ahldiyrn\"\n/loop", "CraftingLoop": false, "CraftLoopCount": 0 }, { "$type": "SomethingNeedDoing.MacroNode, SomethingNeedDoing", "Name": "Gillionaire - Grigge", "Contents": "/target Grigge \n/send Numpad0\n\n/waitaddon Talk \n/send Numpad0\n\n/waitaddon SelectString \n/click select_string2\n\n/waitaddon GuildLeve \n/click guild_leve_culinarian\n/waitaddon JournalDetail \n/click journal_detail_accept\n/wait 0.5\n\n/send Escape \n/click select_string4 \n", "CraftingLoop": false, "CraftLoopCount": 0 }, { "$type": "SomethingNeedDoing.MacroNode, SomethingNeedDoing", "Name": "Gillionaire - Ahldiyrn", "Contents": "/runmacro \"Gillionaire - Start turn-in\"\n/runmacro \"Gillionaire - Turn-in\"\n", "CraftingLoop": false, "CraftLoopCount": 0 }, { "$type": "SomethingNeedDoing.MacroNode, SomethingNeedDoing", "Name": "Gillionaire - Start turn-in", "Contents": "/target Ahldiyrn \n/send Numpad0\n\n/waitaddon SelectIconString \n/click select_Icon_string2\n\n/waitaddon Talk \n/send Numpad0 \n", "CraftingLoop": false, "CraftLoopCount": 0 }, { "$type": "SomethingNeedDoing.MacroNode, SomethingNeedDoing", "Name": "Gillionaire - Turn-in", "Contents": "/waitaddon Request\n/send Multiply \n\n/waitaddon ContextIconMenu \n/send Numpad0 \n/click request_hand_over\n\n/waitaddon SelectYesno \n/send Numpad0 \n\n/waitaddon Talk \n/send Numpad0 \n\n/waitaddon Talk \n/send Numpad0 \n\n/waitaddon JournalResult \n/click journal_result_complete\n/wait 0.25\n", "CraftingLoop": false, "CraftLoopCount": 0 }, { "$type": "SomethingNeedDoing.MacroNode, SomethingNeedDoing", "Name": "Gillionaire - Next", "Contents": "/waitaddon Talk \n/send Numpad0 \n\n/waitaddon SelectString \n/send Numpad0 \n", "CraftingLoop": false, "CraftLoopCount": 0 } ]

gurkburk76 commented 1 year ago

Something seems to have broken here with the latest patch, anyone got a workign version of this now ? /click journal_detail_accept seems to do nothing when trying to get the leve,

solitonmedic commented 1 year ago

How do you specify a leve that isn't asking for Tsai? Like Carrot Nibbles (lv 84 Stickler for Carrots).