Jump to content

Command list for new players


Recommended Posts

  • Bronze

service.h

add

#define NEW_PLAYER_COMMANDS

cmd.cpp
add

#ifdef NEW_PLAYER_COMMANDS
ACMD(do_list_commands);
#endif

find

{ "user_horse_feed",    do_user_horse_feed,        0,        POS_FISHING,    GM_PLAYER    },

add

#ifdef NEW_PLAYER_COMMANDS

    { "list_commands",        do_list_commands,            0,            POS_DEAD,    GM_PLAYER    },

#endif

cmd_general.cpp
add to bottom

#ifdef NEW_PLAYER_COMMANDS
ACMD(do_list_commands)
{
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: You must put / at the beginning of all written codes.");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: Example code usage is /war.");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: war. It is useful for guild structure.");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: it is now suitable for Guild structure.");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: stat st, dx, ht, iq. Adds 1 point to the status you choose.");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: stat-st, dx, ht, iq. Removes 1 point from your selection.");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: restart_here. Being dead makes you wake up.");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: restart_town. Teleports you to the city if you're dead.");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: ungroup. Allows you to exit your existing groups. ");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: close_shop. It closes your open market. ");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: set_walk_mode. Your character can only walk, not run. ");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: set_run_mode. If your character is walk, it will run. ");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: pkmode. Sets your character's aggression level (guild, free, peace. ");
    ch->ChatPacket(CHAT_TYPE_INFO, "Usage: unmount. Your character dismounts. ");
}
#endif

I wanted to do this so that new players can do something by looking at the commands, I don't know what benefit it will be, maybe very different things can be done based on thought, the rest is up to your imagination.

example usage

spacer.png

Edited by Metin2 Dev
Core X - External 2 Internal
  • Think 1
  • Love 2

hasanmacit

Link to comment
Share on other sites

  • Bronze
5 hours ago, hachiwari said:

in such an ugly way?

i am just shared if you think you can do better, don't hesitate, we are here for the community after all, I said that idea can be developed, but I just did it like that.

  • Good 2

hasanmacit

Link to comment
Share on other sites

  • 3 weeks later...
On 7/11/2021 at 5:27 PM, hachiwari said:

in such an ugly way?

do it better.

 

@thread 

thanks very usefull, 

you can customize it for you and that's very good.

  • Love 1
Spoiler

Ymir Entertainment was founded in 1999 in Seoul, Korea and 
is currently headed by Byoung Gwan Kim as CEO. The company 
started developing its first 2D online game Metin the same 
year it was founded. The game was commercially launched in 
Korea a year later and received a prize from the Korean 
                    Ministry of Information and Communication in December of the 
                    same year. Following the success of their flagship game Ymir 
                    Entertainment immediately started work on the game’s sequel 
                    Metin 2, which went into Closed Beta in Korea in May 2004. 
                    The game was officially launched in Korea and China in March 
                    2005 before being launched in Asia, Europe and North America 
                    in the years that followed. In January 2011 all of the company’s 
                    shares were bought by Webzen Inc., a Korean game giant known for 
                    their popular MMORPG, MU Online. The company was also awarded 
                    Gameforge’s Global Best Partner of the Year in 2011.
                    
                    Source: https://mmos.com/publishers/ymir-entertainment
                    
                    Thank you ymir 🙂 ❤️ and F*** you Gameforge, 2011 you ruined it.

 

Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.