UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

EUO Script Help Needed

MB

Knight
I use this "Auction Sell Helper" file to automatically generate a list of all my armor on hand. The issue I'm having is the output is very convoluted and comes out like this:

Code:
Item number 1  , 
Exceptional Horned Leather Gorget 
Crafted By Eos 
Hit Point Increase 4 
Lower Reagent Cost 12% 
Mana Regeneration 2 
Reflect Physical Damage 10% 
Physical Resist 8% 
Fire Resist 8% 
Cold Resist 18% 
Poison Resist 7% 
Energy Resist 7% 
Energy Resist 7% 
Energy Resist 7% 
Energy Resist 7% 
Energy Resist 7% 
Energy Resist 7% 
Energy Resist 7%

I have a process in Excel to convert this to a single line for each armor piece, but it's pretty cumbersome. I've found other scripts (like the attached RK) that do similar things using the WriteFastDOSarray sub which outputs each piece on a single line that would be much easier to work with:

Code:
1 Exceptional Horned Leather Gorget$Weight: 1 Stone$Crafted By Eos$Hit Point Increase 4$Lower Reagent Cost 12%$Mana Regeneration 2$Reflect Physical Damage 10%$Physical Resist 8%$Fire Resist 8%$Cold Resist 18%$Poison Resist 7%$Energy Resist 7%$Strength Requirement 20$Durability 45 / 45$

These other scripts aren't suitable to use because when scanning many different containers at once, the output is in order by serial number instead of grouped by container. I like the Auction Sell Helper because I can add each container to the menu in the order I want it.

What I've been trying to do is implement the WriteFastDOSarray sub as what Auction Sell Helper uses to write to the text file rather than the custom one it uses to produce line by line output. I'm not at all familiar with EUO and this script is an Italian one that I've translated the menu buttons for my use.

Is there anybody here familiar enough with EUO to make Auction Sell Helper output single line outputs using WriteFastDOSarray or by other means?
 

Attachments

  • Auction Sell Helper.txt
    12.5 KB · Views: 11
  • RKUltraOrganizer.txt
    62.2 KB · Views: 7

MB

Knight
Yes, that output would be a lot easier to work with. Posting like this is a lot easier to browse than the current vertical output of 10 lines per piece. Plus the repeating of energy resist on every one
 

MMMartin

Squire
hmm, if are you just wanna make for know container... so just add bagcontainer ID* and same type containers can group together :)
 

MMMartin

Squire
how do you wanna file ???

something like this ???


or single line only ? not number item ???

like you can see... at picture >>>>>>>> TunicCraft [wanna here space ???] or how are you wanna 1 single line ??? looking ?
 

MMMartin

Squire
Yes, that output would be a lot easier to work with. Posting like this is a lot easier to browse than the current vertical output of 10 lines per piece. Plus the repeating of energy resist on every one
ah here can see :) so resist make like X/X/X/X/X ....
 

TheWhitezone

Sorceror
just a test on a random bag i have using auction helper:

[COLOR="N/A"] +------------------------------+ [/COLOR]
[COLOR="N/A"] Lotto numero 1 [/COLOR]
[COLOR="N/A"]
Talisman Of Damage Removal
Phoenix Protection: +21%
Alchemy Bonus: 30%
Charges: 42
ID: PRYXJRD
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"] Lotto numero 2 [/COLOR]
[COLOR="N/A"]
Exceptional Spined Leather Tunic
Crafted By Lord Gendo Ikari
Lower Mana Cost 6%
Luck 40
Stamina Increase 7
Physical Resist 18%
Fire Resist 5%
Cold Resist 7%
Poison Resist 18%
Energy Resist 6%
ID: JPWCDND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"] Lotto numero 3 [/COLOR]
[COLOR="N/A"]
Exceptional Barbed Leather Gorget
Crafted By Lord Gendo Ikari
Lower Mana Cost 8%
Stamina Increase 8
Physical Resist 4%
Fire Resist 5%
Cold Resist 9%
Poison Resist 19%
Energy Resist 27%
ID: IUTDCND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"] Lotto numero 4 [/COLOR]
[COLOR="N/A"]
Exceptional Barbed Leather Gorget
Crafted By Lord Gendo Ikari
Mana Regeneration 2
Physical Resist 18%
Fire Resist 7%
Cold Resist 5%
Poison Resist 23%
Energy Resist 16%
ID: TRNDCND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"] Lotto numero 5 [/COLOR]
[COLOR="N/A"]
Exceptional Spined Leather Gorget
Crafted By Lord Gendo Ikari
Lower Mana Cost 6%
Luck 123
Mana Increase 7
Physical Resist 21%
Fire Resist 5%
Cold Resist 7%
Poison Resist 6%
Energy Resist 5%
ID: LLWEBND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"] Lotto numero 6 [/COLOR]
[COLOR="N/A"]
Exceptional Horned Leather Gorget
Crafted By Lord Gendo Ikari
Lower Mana Cost 5%
Physical Resist 17%
Fire Resist 12%
Cold Resist 8%
Poison Resist 21%
Energy Resist 5%
ID: QMLCBND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"] Lotto numero 7 [/COLOR]
[COLOR="N/A"]
Exceptional Horned Leather Gorget
Crafted By Lord Gendo Ikari
Hit Point Increase 5
Lower Reagent Cost 18%
Physical Resist 19%
Fire Resist 7%
Cold Resist 21%
Poison Resist 7%
Energy Resist 9%
ID: FWKCBND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"] Lotto numero 8 [/COLOR]
[COLOR="N/A"]
Exceptional Barbed Leather Gorget
Crafted By Lord Gendo Ikari
Reflect Physical Damage 11%
Stamina Increase 8
Physical Resist 17%
Fire Resist 22%
Cold Resist 6%
Poison Resist 8%
Energy Resist 12%
ID: HESZAND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"] Lotto numero 9 [/COLOR]
[COLOR="N/A"]
Exceptional Barbed Leather Tunic
Crafted By Lord Gendo Ikari
Hit Point Increase 4
Mana Regeneration 2
Stamina Increase 6
Physical Resist 5%
Fire Resist 7%
Cold Resist 8%
Poison Resist 15%
Energy Resist 11%
ID: BTGNAND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+

Lotto numero 10 [/COLOR]
[COLOR="N/A"]
Exceptional Horned Leather Tunic
Crafted By Lord Gendo Ikari
Hit Point Increase 5
Luck 49
Mana Regeneration 2
Physical Resist 21%
Fire Resist 11%
Cold Resist 10%
Poison Resist 5%
Energy Resist 5%
ID: AKIKAND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"] Lotto numero 11 [/COLOR]
[COLOR="N/A"]
Exceptional Barbed Leather Tunic
Crafted By Lord Gendo Ikari
Hit Point Increase 5
Mana Regeneration 1
Physical Resist 20%
Fire Resist 7%
Cold Resist 21%
Poison Resist 9%
Energy Resist 7%
ID: SKEEAND
Prezzo:
[/COLOR]
[COLOR="N/A"] +------------------------------+
[/COLOR]
[COLOR="N/A"]
ICQ: N/A
MSN: N/A
[/COLOR]
 

TheWhitezone

Sorceror
umm seems like i solved the error with the repeating on last string of every object, but dont apply correct color to varius strings
 

MB

Knight
how do you wanna file ???

something like this ???


or single line only ? not number item ???

like you can see... at picture >>>>>>>> TunicCraft [wanna here space ???] or how are you wanna 1 single line ??? looking ?
If it ouputs like that I could work with it pretty easily. Do you have it doing that? I can add the spaces with find and replace. Putting Item Number on same line as rest would help or even better would be to not have item number.

Physical Resist 7%Fire Resist 8%Cold Resist10%

Replace "Physical Resist " and "%" with blank. Replace "Fire Resist " and "Cold Resist " with \.
Then you have 7/8/10

I can build Excel macro that runs all the necessary replaces and instantly convert outputs.
 
Last edited:

MMMartin

Squire
i was try make space but i dont like it heh :) here is it propably will make one line*
 

Attachments

  • qweqeqwe.txt
    12.2 KB · Views: 8

MB

Knight
Works great, thank you <3 <3 <3 <3. If you don't like space, maybe do a $ between each line instead of space so things can be clearer?
 

MB

Knight
Don't need item number since I delete and redo those so I have 0001 instead of just 1
 

MB

Knight
Just comma separator since I get it in form of LRC, Mana, MR. I'll be back home to test new one in couple of hours. Thank you so much.
 

MB

Knight
Script works great, Martin. I changed the separator to a $ and built this Excel tool that automatically formats the script. Now I can very quickly convert the auction output to a readable list.

My armor stockpile uses the same bags each time and I struggled to figure out a way to add the bags in the same order to the Auction Maker prior to compiling the list. UOS can't seem to target an item with a regular cursor and I couldn't figure out what to do in EUO. What I ended up doing was building a click screen macro in UOS to click the menu button and then position of each bag. Wasn't too hard to build since each bag is offset same distance, so I just had to enter the top bag for each column and autopopulate from there. It's not the cleanest, but it works, so I'm happy.
 

Attachments

  • Auction Maker.txt
    12.2 KB · Views: 13
  • Auction Maker Formatter Excel.rar
    23.7 KB · Views: 10

MB

Knight
So I was wanting to put a type of "marker" in each bag so that when I generate my armor lists, I can quickly add section headers like I had here. This way I don't have to find all section breaks manually.

I was unable to find any item that would consistently be the first item scanned when I add a container so that I could use it as a marker.

Would it be possible to record the bag object ID in the item list when each new bag is added? If that is not possible, could a simple separator be added between bags?

Some kind of space in these sections so that the output is
BAG ABCDE
Gorget
Gorget
BAG FGHIJ
Sleeves
Sleeves

or

---------
Gorget
Gorget
------
Sleeves
Sleeves
 
Top