| Yoko http://forum.yoko.com.ua/ |
|
| Help with UO.Buy http://forum.yoko.com.ua/viewtopic.php?f=3&t=1049 |
Page 1 of 1 |
| Author: | SeeK-n-DeSTroY [ 2004-08-01 20:52:34 ] |
| Post subject: | Help with UO.Buy |
There is a way to know, after a performed Buy command, if No item was bought? I making a AutoBuyer macro, it works perfectly, but when npc don't have any item of my list to sell i can't detect it and macro can't continue. Or, someone have another solution? |
|
| Author: | Thdin [ 2004-08-01 23:31:31 ] |
| Post subject: | |
If UO.InJournal("Objects Found/Bought:0")==1 Then #Go to next NPC, recall, bank, etc. Something to that effect. Using the UO.InJournal function check to see if you bought items or bought nothing. Post your script here so we can help you more |
|
| Author: | SeeK-n-DeSTroY [ 2004-08-01 23:47:46 ] |
| Post subject: | |
Don't works... Injection Journal is Diferent from UO Journal.. This message X items bought is from injection to uo client, but don't appear in UO.InJournal, only server messages appear in this command... tkz, but this not sovle the problem... Another Sugestion? |
|
| Author: | Thdin [ 2004-08-02 03:11:49 ] |
| Post subject: | |
Uhhh. I tried this myself. I used a ,buy command on an NPC that I knew wouldn't have the item so that I could see what it said. I clearly read in my journal "No items bought." So it should work just fine... |
|
| Author: | SeeK-n-DeSTroY [ 2004-08-02 20:44:55 ] |
| Post subject: | |
You read No items bought in your Ultima Online Client's Journal or using UO.Print(UO.Journal(0))? UO.Print(UO.Journal(0)) shows the last registred line on Injection Journal... You can't access client's journal.. only injection internal journal... |
|
| Author: | Yoko [ 2004-08-02 23:09:55 ] |
| Post subject: | |
,set injectecho 1 |
|
| Author: | SeeK-n-DeSTroY [ 2004-08-06 08:01:28 ] |
| Post subject: | |
Great! Now I know what's do injectecho thanks Yoko |
|
| Author: | Thdin [ 2004-08-13 03:21:54 ] |
| Post subject: | |
Yeah, it said it in my actual on-screen journal. Sorry |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|