Register for your free account! | Forgot your password?

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

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

Advertisement



About GM command packet.

Discussion on About GM command packet. within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2017
Posts: 79
Received Thanks: 13
About GM command packet.

Hello everyone.

i'm trying to block some GM commands in my filter (Makeitem, Loadmonster, zoe, zoe2 etc.) Dont ask me why xD.


My question is how i can read the packet 0x7010 (GM Command packet), how i can know what command is sending my client to my filter and block/allow it.
iGamerFD is offline  
Old 11/07/2017, 04:33   #2

 
KingDollar's Avatar
 
elite*gold: 1117
Join Date: Dec 2013
Posts: 858
Received Thanks: 806
with reading the first byte

here is a simple code
Code:
            byte action = pck.ReadUInt8();
            GameCommands commandsEnum = (GameCommands)action;
            string commandName = commandsEnum.ToString();
Code:
public enum GameCommands : byte
{
    FindUser = 1,
    GoTown = 2,
    ToTown = 3,
    WorldStatus = 4,
    LoadMonster = 6,
    MakeItem = 7,
    MoveToUser = 8,
    WP = 10,
    Zoe = 12,
    Ban = 13,
    Invisible = 14,
    Invincible = 15,
    Recalluser = 17,
    Recallguild = 18,
    Liename = 19,
    Mobkill = 20,
    resetq = 28,
    Movetonpc = 31,
    Makerentitem = 38,
    Spawnunique_loc = 42
}
KingDollar is offline  
Thanks
4 Users
Reply

Tags
block, c#, filter, gm, vsro


Similar Threads Similar Threads
friends what is bonus add "command" like "71051" and "71052" jobs command its need fo
12/22/2013 - Metin2 Private Server - 0 Replies
friends what is bonus add "command" like "71051" and "71052" jobs commands its need for me for quest boni so i want add boni as "71051" and "71052" but with quest push
Command line interface working command
08/05/2012 - DarkOrbit - 27 Replies
I found only one working command: Enter "J" when you are in teleport Anyone know other commands?



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


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.