Jump to content

Recommended Posts

  • Developer

In cmd_general.cpp search and post here this function:

ACMD(do_ride)
{
  ...
}

It is in this function that what you say happens, in fact the CTRL + G command starts this command from player.

Edited by Mitachi
  • Good 2

Villains are not born, they are made.
Join

Link to comment
https://metin2.dev/topic/28763-cant-ride-mount-with-ctrlg/#findComment-147607
Share on other sites

  • Developer
1 minute ago, dexolus said:

Hi, im sorry i found it like 10 minutes before u write me here. THanks for response. My problem was bad type and subtype in database. When  i set it corectly it works now ? Thank you and have a nice day ?

My mistake, I read that you had inserted a new mount system, not a new mount.
This is why I thought the problem stemmed from the code. Anyway well, you have solved

Villains are not born, they are made.
Join

Link to comment
https://metin2.dev/topic/28763-cant-ride-mount-with-ctrlg/#findComment-147609
Share on other sites

  • Developer

Because the various types are linked to subtypes, such as in Srcs/Server/db/ProtoReader.cpp

int get_Item_SubType_Value(int type_value, string inputString) 
{
...
	static string arSub16[] = { "UNIQUE_NONE", "UNIQUE_BOOK", "UNIQUE_SPECIAL_RIDE", ...

You probably use UNIQUE_SPECIAL_RIDE, which is a subtype that is part of array number arSub16

Villains are not born, they are made.
Join

Link to comment
https://metin2.dev/topic/28763-cant-ride-mount-with-ctrlg/#findComment-147612
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.