Yoko

All sides of Injection
It is currently 2026-03-10 16:46:33

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Help with UO.Buy
PostPosted: 2004-08-01 20:52:34 
Offline

Joined: 2004-05-22 21:10:12
Posts: 15
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?


Top
   
 Post subject:
PostPosted: 2004-08-01 23:31:31 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
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 :P


Top
   
 Post subject:
PostPosted: 2004-08-01 23:47:46 
Offline

Joined: 2004-05-22 21:10:12
Posts: 15
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?


Top
   
 Post subject:
PostPosted: 2004-08-02 03:11:49 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
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...


Top
   
 Post subject:
PostPosted: 2004-08-02 20:44:55 
Offline

Joined: 2004-05-22 21:10:12
Posts: 15
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...


Top
   
 Post subject:
PostPosted: 2004-08-02 23:09:55 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
,set injectecho 1


Top
   
 Post subject:
PostPosted: 2004-08-06 08:01:28 
Offline

Joined: 2004-05-22 21:10:12
Posts: 15
Great!
Now I know what's do injectecho

thanks Yoko


Top
   
 Post subject:
PostPosted: 2004-08-13 03:21:54 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
Yeah, it said it in my actual on-screen journal. Sorry :P I had echo on... forgot to tell you :P


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited