Register for your free account! | Forgot your password?

Go Back   elitepvpers > Silkroad Online > SRO Coding Corner
You last visited: Today at 00:54

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


GM Commands in filters

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2017
Posts: 368
Received Thanks: 70
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


 
elite*gold: 307
Join Date: Dec 2013
Posts: 811
Received Thanks: 587
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
 
elite*gold: 0
Join Date: Sep 2017
Posts: 368
Received Thanks: 70
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


 
elite*gold: 307
Join Date: Dec 2013
Posts: 811
Received Thanks: 587
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
 
elite*gold: 0
Join Date: Sep 2017
Posts: 368
Received Thanks: 70
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


 
elite*gold: 307
Join Date: Dec 2013
Posts: 811
Received Thanks: 587
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
 
elite*gold: 0
Join Date: Sep 2017
Posts: 368
Received Thanks: 70
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


 
elite*gold: 307
Join Date: Dec 2013
Posts: 811
Received Thanks: 587
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



« [Request] Pk2 Extractor Src | C# need some help to send packets »

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...
[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 - SRO Main - Discussions / Questions - 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 +2. The time now is 00:54.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.