Hello again
I have some thoughts an posting glyphs.
Some people just post and cancel and respost and cancel...
Some poeple just keep posting posting posting - means to have a shitload of Gems/Glyphs/Enchants/Whatever in Bank or GuildBank
For people that post / cancel all is fine
For people that just post there are some thoughts.
Is it possible (i think IT IS) to change the code in that wise that my toon:
1. GoToAH
2. Start posting
3. GoToBank / GoToGuildBank
4. Run some macros to switch Bags or run some macros for Dumpster Addon to switch Gems/Glyphs/Enchants/Whatever i want to post
REPEAT - means:
5. GoToAH
6. Start posting
Mainproblem is now... after some posting cycles your Gems/Glyphs/Enchants/Whatever are all in the AH and my toon have to get them back to repost them.
Solution could be: Let the user put in a number CancelAfter"X"PostingCycles - would this work?
Some other thoughts
- Put in some waypoints to stand next to auctioneer - is that possible or is the fundtion only "GoToAuctioneerFastestWay"?
- Query for IsthisMailBoxForMyFaction - for the MOLL-E problem of opposite faction (easier solution would be to say "Just dont use neutral areas to AH")
- When FULLSCAN is enables add a /reloadui after the scan - becasue /rl SLOWS down the hole client until the UI is reloaded...
- Make Turbomailer work - saves some time and you know "TIME IS MONEY FRIEND" - Problem here: Turbomailer reloadsui after mailretrival part but then the toons starts running to the AH instead of looting all mail left
- Let this profile post to AH even it is empty - i dont know WHAT is difference between an empty AH or an AH with some items in it, the profile just "clicks" the Post Auctions button but it doesnt start?
- Let the toon ignore any COD mails he has in his box - my toon just stands at the mailbox and stops his work if there is a COD mail in it.
Sorry for wall of text
I hope there are some capable coders out there who can help to make this happen.
I would do it but i dont know how - im able to search some functions and look into them and the change some things at somebody's disposition.
Greetings
//edit1
Code:
<SubRoutine SubRoutineName="GetAllScan">
<CustomAction Code="Log ("Starting GetAll scan");" />
<CustomAction Code="Lua.DoString(AH_RunScan, 0);" />
<WaitAction Condition="false" Timeout="2500" />
<While Condition="Lua.GetReturnVal<int>(TSM_IsGetAllScanning,0) == 1" IgnoreCanRun="True" />
<CustomAction Code="Log ("GetAll scan ended");" />
</SubRoutine>
How to add a Lua.DoString("ReloadUI()"); after this scan?
//edit2
If i understand the code correct then this is the whole while loop and everything below defines the SubRoutines:
Code:
<While Condition="Me.IsAlive" IgnoreCanRun="True">
<If Condition="Me.IsAlive && DateTime.Now.Subtract((DateTime)var1).TotalSeconds >= (int)var2" IgnoreCanRun="True">
<If Condition="(bool)Settings["Crafting"]" IgnoreCanRun="True">
<CallSubRoutine SubRoutineName="Restock" />
<CallSubRoutine SubRoutineName="Crafting" />
<CallSubRoutine SubRoutineName="DoPost" />
</If>
<CallSubRoutine SubRoutineName="DoCancel" />
<CallSubRoutine SubRoutineName="DoPost" />
<CallSubRoutine SubRoutineName="GetMail" />
<While Condition="Lua.GetReturnVal<int>(Mail_IsEmpty,0) == 0" IgnoreCanRun="True">
<CallSubRoutine SubRoutineName="GetMail" />
<CallSubRoutine SubRoutineName="DoPost" />
</While>
<CustomAction Code="Lua.DoString("CloseAuctionHouse()");" />
<CustomAction Code="var1 = DateTime.Now;" />
<CustomAction Code="var2 = new Random().Next((int)Settings["MinWait"], (int)Settings["MaxWait"]);" />
<CustomAction Code="Log ("Starting the next Canceling and Posting cycle in {0} seconds",var2);" />
</If>
</While>
When i want my toon starts crafting only AFTER completely emtpying the mailbox then i only have to switch the lines to this?
Code:
<While Condition="Me.IsAlive" IgnoreCanRun="True">
<CallSubRoutine SubRoutineName="DoCancel" />
<CallSubRoutine SubRoutineName="DoPost" />
<CallSubRoutine SubRoutineName="GetMail" />
<While Condition="Lua.GetReturnVal<int>(Mail_IsEmpty,0) == 0" IgnoreCanRun="True">
<CallSubRoutine SubRoutineName="GetMail" />
<CallSubRoutine SubRoutineName="DoPost" />
<If Condition="Me.IsAlive && DateTime.Now.Subtract((DateTime)var1).TotalSeconds >= (int)var2" IgnoreCanRun="True">
<If Condition="(bool)Settings["Crafting"]" IgnoreCanRun="True">
<CallSubRoutine SubRoutineName="Restock" />
<CallSubRoutine SubRoutineName="Crafting" />
<CallSubRoutine SubRoutineName="DoPost" />
</If>
</While>
<CustomAction Code="Lua.DoString("CloseAuctionHouse()");" />
<CustomAction Code="var1 = DateTime.Now;" />
<CustomAction Code="var2 = new Random().Next((int)Settings["MinWait"], (int)Settings["MaxWait"]);" />
<CustomAction Code="Log ("Starting the next Canceling and Posting cycle in {0} seconds",var2);" />
</If>
</While>
And when i want to start with posting i only have to switch the 2 lines that says Dopost and DoCancel?
Some other questions just FMI:
Code:
<CustomAction Code="Lua.DoString("CloseAuctionHouse()");" />
<CustomAction Code="var1 = DateTime.Now;" />
<CustomAction Code="var2 = new Random().Next((int)Settings["MinWait"], (int)Settings["MaxWait"]);" />
<CustomAction Code="Log ("Starting the next Canceling and Posting cycle in {0} seconds",var2);" />
Is just for the randomization i can setup in the options?
And what is this for?
Code:
<While Condition="Me.IsAlive" IgnoreCanRun="True">
<If Condition="Me.IsAlive && DateTime.Now.Subtract((DateTime)var1).TotalSeconds >= (int)var2" IgnoreCanRun="True">
Im really nosy - sorry