Register for your free account! | Forgot your password?

You last visited: Today at 01:24

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

Advertisement



GM Commands in filters

Discussion on GM Commands in filters within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
Talking GM Commands in filters

Hey guys,

I can find the notice packet in the filter different from the packet in bots like auto notice, and when I tried the packet of the bots notice in the filter, I get a crash immediately when I send the notice.. so what is the packet of the GM commands in the filters like : totown or smth?!

Notice : I know that the filter isn't a GM to use warp or movetouser or smth like that..
#HB is offline  
Old 01/05/2018, 10:07   #2

 
KingDollar's Avatar
 
elite*gold: 1117
Join Date: Dec 2013
Posts: 858
Received Thanks: 806
i can't understand what you mean really
but anyway since filter is just handling users in sessions , so users must have gm authorization to use gm command

i have done this already on NaviFilter long time ago
it will require some reverse engineering stuff on game server in order to remove gm command authorization
then you should make anti cheat in filter side
KingDollar is offline  
Old 01/05/2018, 12:21   #3
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
O.O

It looks kinda hard, but nvm...
I wanted to ask something else, I was working on disable skills by region, I declared region from teleporting or moving and it worked perfectly but when I use a skill I blocks me and tells me the notice but while the moving I use the skill and when I stop it blocks me...
I think I should stop the movement to declare the region.. I know its looks hard to understand, I will show you a video if you didn't understand
#HB is offline  
Old 01/05/2018, 21:52   #4

 
KingDollar's Avatar
 
elite*gold: 1117
Join Date: Dec 2013
Posts: 858
Received Thanks: 806
it depends on the way that you read region with it
you could read character region from db
or just parse b021 packet with the right way
KingDollar is offline  
Old 01/06/2018, 05:05   #5
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
Well, I read the region with movement packet : 0x9001

Code:
if (_pck.Opcode == 0xB021 && (FilterMain.CURRENT_REGION))
                                {
                                    try
                                    {
                                        _pck.Lock(); // Lock
                                        UInt32 Target = _pck.ReadUInt32(); // Unique ID from player

                                        // Check if target == this.unique_ID
                                        if (Target == this.Unique_ID)
                                        {
                                            byte unk = _pck.ReadUInt8();
                                            short Region = _pck.ReadInt16();
                                            int RegionL = Region.ToString().Length;

                                            // Make sure region is 5 numbers.
                                            if(RegionL == 5 && _pck.GetBytes().Length == 24) {
                                                // Register good.
                                                this.selfWalkLatestRegion = Region;
                                                this.ReadCurrentRegion = Region;
                                            }
                                            else
                                            {
                                                // Register false.
                                                this.selfWalkLatestRegion = -1;
                                                this.ReadCurrentRegion = -1;
                                            }

                                            /*Console.WriteLine("Current length: " + RegionL);
                                            Console.WriteLine("Current bytes: " + _pck.GetBytes().Length);
                                            Console.WriteLine("Current region: " + Region);
                                            */
                                        }
                                    }
                                    catch { }
                                }
*I added this : ReadCurrentRegion
#HB is offline  
Thanks
1 User
Old 01/06/2018, 18:49   #6

 
KingDollar's Avatar
 
elite*gold: 1117
Join Date: Dec 2013
Posts: 858
Received Thanks: 806
Quote:
Originally Posted by #HB View Post
Well, I read the region with movement packet : 0x9001

Code:
if (_pck.Opcode == 0xB021 && (FilterMain.CURRENT_REGION))
                                {
                                    try
                                    {
                                        _pck.Lock(); // Lock
                                        UInt32 Target = _pck.ReadUInt32(); // Unique ID from player

                                        // Check if target == this.unique_ID
                                        if (Target == this.Unique_ID)
                                        {
                                            byte unk = _pck.ReadUInt8();
                                            short Region = _pck.ReadInt16();
                                            int RegionL = Region.ToString().Length;

                                            // Make sure region is 5 numbers.
                                            if(RegionL == 5 && _pck.GetBytes().Length == 24) {
                                                // Register good.
                                                this.selfWalkLatestRegion = Region;
                                                this.ReadCurrentRegion = Region;
                                            }
                                            else
                                            {
                                                // Register false.
                                                this.selfWalkLatestRegion = -1;
                                                this.ReadCurrentRegion = -1;
                                            }

                                            /*Console.WriteLine("Current length: " + RegionL);
                                            Console.WriteLine("Current bytes: " + _pck.GetBytes().Length);
                                            Console.WriteLine("Current region: " + Region);
                                            */
                                        }
                                    }
                                    catch { }
                                }
*I added this : ReadCurrentRegion

this not the right parse
but anyway
byte unk = _pck.ReadUInt8(); // this byte is bool HasDestination - if 0 == sky move else !skymove

so just check if hasdestination read region
else don't
KingDollar is offline  
Old 01/06/2018, 21:42   #7
 
#HB's Avatar
 
elite*gold: 100
Join Date: Sep 2017
Posts: 1,110
Received Thanks: 907
You mean like this!?

*Sorry for being stupid
Code:
byte unk = _pck.ReadUInt8(); // this byte is bool HasDestination - if 0 == sky move else !skymove
                                                short Region = _pck.ReadInt16();
                                                int RegionL = Region.ToString().Length;

                                                if (unk != 0)
                                                {
                                                    // Make sure region is 5 numbers.
                                                    if (RegionL == 5 && _pck.GetBytes().Length == 24)
                                                    {
                                                        // Register good.
                                                        this.selfWalkLatestRegion = Region;
                                                        this.ReadCurrentRegion = Region;
                                                    }
                                                    else
                                                    {
                                                        // Register false.
                                                        this.selfWalkLatestRegion = -1;
                                                        this.ReadCurrentRegion = -1;
                                                    }
                                                }
#HB is offline  
Old 01/16/2018, 15:16   #8

 
KingDollar's Avatar
 
elite*gold: 1117
Join Date: Dec 2013
Posts: 858
Received Thanks: 806
Quote:
Originally Posted by #HB View Post
You mean like this!?

*Sorry for being stupid
Code:
byte unk = _pck.ReadUInt8(); // this byte is bool HasDestination - if 0 == sky move else !skymove
                                                short Region = _pck.ReadInt16();
                                                int RegionL = Region.ToString().Length;

                                                if (unk != 0)
                                                {
                                                    // Make sure region is 5 numbers.
                                                    if (RegionL == 5 && _pck.GetBytes().Length == 24)
                                                    {
                                                        // Register good.
                                                        this.selfWalkLatestRegion = Region;
                                                        this.ReadCurrentRegion = Region;
                                                    }
                                                    else
                                                    {
                                                        // Register false.
                                                        this.selfWalkLatestRegion = -1;
                                                        this.ReadCurrentRegion = -1;
                                                    }
                                                }
well ye i think it could work
KingDollar is offline  
Reply


Similar Threads Similar Threads
WPE Filters to cheat on emulated Servers
12/14/2008 - WoW PServer Exploits, Hacks & Tools - 66 Replies
Hi, i made these WPE Filters for emulated Servers about two weeks ago, they work perfectly and let you do funky stuff without typing any strange numbers. Download What they do for you: They give you some nice spells, which are: - Deep Breath (about 4000 dmg on every enemy you can see, nice for grinding) - Apocalypse (about 16000 dmg on EVERYONE in a 5 meter circle around you) - Aegis of Ragnaros (Selfbuff that absorbs 35000 dmg and deals 250 dmg to melee attackers)
[Key Commands] Default Key Commands for the beginners
10/01/2008 - General Gaming Releases - 0 Replies
Default keybindings: Abilities Window V Backpack Window: B Career Window: K Character Window: C Battlegroup Window: Left Alt + R Developer Window: ; Guild Window: G Help Window: H
Search Ran Online WPE Filters !!!
08/15/2006 - General Gaming Discussion - 1 Replies
Hello, read tropic !! i need it please !
Search WPE Filters
03/10/2006 - Silkroad Online - 9 Replies
Hello every one ^^ I need Working WPE Pro Filters for Silkroadonline !! If anyone have plz pm me thx :) Neofight



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


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.