Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 18:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Filter workaround for mBot arrow purchase problem

Discussion on Filter workaround for mBot arrow purchase problem within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Filter workaround for mBot arrow purchase problem

Hey guys,
So as you know the new servers are mostly all only ch. In these servers mbot cannot purchase arrow from Hotan Blacksmith. The reason is simple: mBot tries to buy arrows from the 5th tab. (acutally 6th tab becuase it is 0-indexed) Because on an original Hotan Blacksmith, there is also an EU Option at the Blacksmith:



However if you edit your server to be CH Only, the EU option will be gone(everyone does this) and hence the arrow will be at 2nd tab (actually 3th tab because it is 0-indexed). But mbot will still try to buy it from the 5th tab. That's why it won't be able to get arrows.

There's a quick, dirty workaround I found about this, and tried it on a server and it works fine. This is not a execute-a-query/download-an-exe kind of fix, you have to add this piece of codes to your filter source.

So mbot goes to same coordinate to buy arrows. First we must make sure we detect it's going to be a arrow purchase so we don't fuck up any other purchase.

Declare a public bool, I called mine "InterfereNextArrowPurchase".
(I know im not parsing the coordinate correctly but who cares)

If the character is moving to that exact coordinate, we know it will probably be an arrow purchase by mbot.
We reset our variable everytime a move packet is sent.

Now let's interfere that purhcase packet.


So we got the client side done. This will be enough mbot to buy arrows correctly. However, the client still thinks it sends a buy packet for tab 5, however the result will come as 2. This will crash the client. That's why we also edit the 0xB034 result packet.



And that's it. mBot can purchase arrows from hotan blacksmith with no problems now
sarkoplata is offline  
Thanks
4 Users
Old 08/20/2017, 12:23   #2
 
elite*gold: 111
Join Date: May 2009
Posts: 617
Received Thanks: 589
isnt that easy just remove from client side shopping data and leave the server shopping tables
qoaway is offline  
Old 08/20/2017, 14:21   #3

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Quote:
Originally Posted by qoaway View Post
isnt that easy just remove from client side shopping data and leave the server shopping tables
doesn't work and even if it did 0xb034 would crash your client.
sarkoplata is offline  
Old 08/20/2017, 14:57   #4
 
elite*gold: 111
Join Date: May 2009
Posts: 617
Received Thanks: 589
Quote:
Originally Posted by sarkoplata View Post
doesn't work and even if it did 0xb034 would crash your client.
than instead of "detecting" bot and arrow buying; correct the B034 packet. Still easier and less complex

qoaway is offline  
Old 08/20/2017, 18:08   #5

 
sarkoplata's Avatar
 
elite*gold: 166
Join Date: Apr 2009
Posts: 2,339
Received Thanks: 2,661
Quote:
Originally Posted by qoaway View Post
than instead of "detecting" bot and arrow buying; correct the B034 packet. Still easier and less complex

Bot detection is just an extra precaution I have for myself, since I already have to detect it for some other stuff. This is still an easy fix, idc about making it less complex - this way I don't have to touch to database.

Lots of servers are telling their players to go buy arrows from Donwhang, they can't fix this. This may help them.
sarkoplata is offline  
Reply


Similar Threads Similar Threads
[Pet-Filter] Pet Filter Problem
12/28/2011 - Flyff Private Server - 3 Replies
Hab ein kleines Problem mit nen Pet-Filter und zwar sobald ich auf Speichern drücke schmiert meine neuz ab. 2011/12/28 00:20:15 GetDlgItem : nID=912 not Found. 2011/12/28 00:20:15 GetDlgItem : nID=699 not Found. 2011/12/28 00:20:15 GetDlgItem : nID=533 not Found.
MSEA Arrow Filter [Leeched]
06/11/2011 - MapleStory - 2 Replies
Here it is... it basically filters the arrows so you wont see them when they are dropped. Item filter for Bow and Crossbow arrows: -Arrow for Bow -Bronze Arrow for Bow -Steel Arrow for Bow -Arrow for Bow -Diamond Arrow for Bow -Arrow for Crossbow
Arrow New Unrealskill v.19 Cracked Try Now [NO SPAM] Arrow USPSFPremiumCrack with S
11/16/2010 - Soldier Front Hacks, Bots, Cheats & Exploits - 2 Replies
Arrow USPSFPremiumCrack with SpeedHack Added 100% Workin Until Now.. 1. Download the File below 2. Extract to desktop 3. Click injector and browes USPSFPremiumCrack.dll 4. guns.exe change it to specialforce.exe 5. Log in SF and Start Menu for the hack!
Arrow filter?
07/16/2010 - SRO Private Server - 2 Replies
Is there a arrow filter so the sro-db bot picks up the amount of arrows and wont go over the limit unless there are less arrows If so can you send me a link to thread?



All times are GMT +1. The time now is 18:18.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.