|
||
|
|||||||
| Razor: The Cutting Edge UO Assistant Razor is an Assistant program (similar to the popular UOAssist) for player run Ultima Online shards. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Nov 2005
Age: 58
Posts: 5
|
BEFORE WE BEGIN, AN INCENTIVE...
The first person to reply to this question with the correct answer has me at their disposal for a custom EasyUO script of your choice. Want to automate a boring task that Razor just can't do sufficiently but aren't sure how to use EasyUO? Well just answer this question and I'll write you a custom EasyUO script of your choice in order to show my thanks. I just recently started playing again...trying to use Razor Buy Agent to macro tailoring, but it isn't working very well. When I try to use the buy agent to buy thread or yarn, Razor constantly complains that I do not have sufficient funds to buy the items, even though I do have the funds...it will buy a few of the item, but never the amount I want. I am thinking that this might have something to do with the fact that OSI changed the price of thread/yarn on OSI servers to 7x what it used to be(or so I hear). Perhaps Razor is set to the default OSI price, while on my server the price is actually 7x lower and so Razor thinks I do not have sufficient funds. So is there any way to edit any config files or hex edit the exe to change the default prices on goods? Where is the price info stored? Or can I just turn off the 'helpful' Razor buy agent from stopping me from buying goods that I 'can't afford'? Even if I really can't afford it, the server will show an error("You can't afford this") anyway, so I don't need Razor to tell me that. If this is indeed the problem I would imagine that a lot of people must run into this bug since many prices vary by server. Or maybe I am completely wrong on the cause of this thing and one of you brilliant fellows can enlighten this ignorant guy on the true cause of my problem? You would make my macro a lot more efficient and make me a lot happier... :) |
|
|
|
|
|
#2 (permalink) |
|
Forum Novice
Join Date: Feb 2005
Posts: 134
|
Razor gets its prices directly from the server. However, due to a bug in the Razor Buy Agent you may actually not have the funds (anymore) to buy the yarn. Players on my shard noticed that if they added the same item to the buy agent more than once (instead of just increasing the amount), then they would get charged for items that they didn't receive.
This was due to the fact that Razor communicates directly with the server. What it did was add the item to buy to the "ToBuy" list twice - normally with the actual UO client, this is impossible, so RunUO didn't account for the possibility. When the server received the list of items to buy, it went through and found, say, Bloodmoss, and so charged the player and added it to the list. Then it goes through again, and finds Bloodmoss again. It charges the player, tries to add bloodmoss to the list but can't (because the vendor doesn't have anymore). No error is printed, because this was never seen to be a possibility. What we did in the spirit of robustness (despite an overwhelming urge to say "Your own damn fault for using a third-party tool") was simply add a check in the vendor code to make sure the vendor could sell an item before he charged the player for it. |
|
|
|
|
|
#3 (permalink) |
|
Join Date: Nov 2005
Age: 58
Posts: 5
|
If Razor gets the info directly from the server, then I am not sure why Razor is having this problem.
Let me give a precise example: I have 1 item to buy in my Buy Agent, which is 20 thread. The cost of 20 thread is 360 gold. On my character there is 479 gold. When I attempt to actually buy the thread, I get the message from Razor that it bought 11 items for 473gp (which would make the cost 43 gold each, according to Razor), and another message from Razor that I do not have enough gold to buy all of the items I want. However, after the purchase, the NPC says that I bought 11 items for 198 gold. When I made the purchase there was 0 thread on the character and afterward and I had 281 gold left still. So I am not being charged what Razor *thinks* the price is, but only what the actual price is. As you can see, there is a discrepency in prices between what the NPC thinks the price is and what Razor thinks the price is. I don't think it has anything to do with me having an item listed in the Buy Agent too many times. Thanks a lot for the reply, though. Let me know what you think. So that custom EasyUO script is still up for grabs to anybody that thinks they can solve this problem. Just think of all the time you will save in the long run with that custom EasyUO script by taking 1 minute out of your day to respond to this teeny little question, guys! ![]() |
|
|
|
|
|
#4 (permalink) |
|
Join Date: Nov 2005
Age: 58
Posts: 5
|
One more thing...
I didn't mention this because I thought it was common, but when I attempt to buy from this vendor I get a Razor message saying something along the lines of, "Warning Contains Count YYY does not match ExtInfo ZZZ". Where YYY and ZZZ are numbers, usually 3 digits in length. I assumed this meant that the item amounts at each vendor, or possibly item types, are no longer available even though they were available the last time that character used the vendor. I figured that was probably because somebody else bought the item in the mean time. I am not sure if this provides any hints to what is going on or whether it is a common message, but I figured I would mention it. |
|
|
|
|
|
#5 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
|
No thats a debug message, and the fact that you see it means something very strange is in fact going on :-P
If you could explore this further that would be great, pelase post what the message actually says. Basically what happens is the prices and descriptions for items come in different packets from the rest of the shop information, and apparently razor isnt matching them up correctly. I would be interested to see packet logs from this, but at the very least the content of that message would be helpful.... What type of shard is this?
__________________
Zippy, Razor Creator and RunUO Core Developer The RunUO Software Team "Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal." ~The Cryptonomicon |
|
|
|
|
|
#6 (permalink) |
|
Join Date: Nov 2005
Age: 58
Posts: 5
|
Okay no problem. Just let me know what you need and I'll do my best to get it for you.
That debug message doesn't happen every time, only occasionally. I can't recreate it at the moment, but if I remember correctly the two numbers were 140 and 142, respectfully. The shard is a RunUO shard called Redemption, using the old-school precast/instanhit/etc UO ruleset. Since the admins for this server seem not to like unattended macroers that use EasyUO very much, I will simply PM you the packet log instead of posting it here, given that it has my character information in it. I sent you a packet log of my character buying yarn with the buy agent. The situation is a little different in that Razor thinks yarn is cheaper than it actually is, but otherwise it's the same type of thing...Razor reports one total cost and the NPC reports another. Thanks a lot for the reply. I'll do whatever I can to help. edit: Just got the error to reproduce. This time it was "Container Count 79 does not match ExtInfo 78". Hope it helps. Another one: Container Count 248 does not match ExtInfo 247 And another: Container Count 267 does not match ExtInfo 247 And another: Container Count 36 does not match ExtInfo 35 |
|
|
|
|
|
#7 (permalink) |
|
Administrator
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,868
|
I will look into the packet log, but right now it sounds like your server just has messed up scripts since I think only a few people have this problem, they may well all play on redemption. Thanks for the log.
__________________
Zippy, Razor Creator and RunUO Core Developer The RunUO Software Team "Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal." ~The Cryptonomicon |
|
|
|
|
|
#8 (permalink) |
|
Join Date: Nov 2005
Age: 58
Posts: 5
|
Thanks for the investigation, Zippy. Please post or PM me your results and your opinion about what script is causing the problem and what might be done to resolve it, and I will make sure to forward the message to the admins on Redemption. Hopefully they will get this thing sorted out. You've been very helpful, so thank you yet again.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|