-
Posts
22 -
Joined
-
Last visited
-
Feedback
0%
Community Answers
-
MadTiago's post in SSH: Network error: Connection refused was marked as the answer
You're probably using a different port on sshd_config.
To use a ssh tunnel to connect to mysql, you just need to create a local mysql user on your server and then configure navicat to use local user + ssh tunnel like this:
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif
If you changed ssh port, you need to reload/restart ssh daemon:
service sshd restart -
MadTiago's post in Mounts won't allow attack whilst sitting on it was marked as the answer
To attack you need to change your binary.
On InstanceBase.cpp, add your mount vnum to the switch on:
UINT CInstanceBase::SHORSE::GetLevel()And to allow damage with that mount, you need to edit your game's pvp.cpp, adding your mount vnum to the switch on:
bool CPVPManager::CanAttack(LPCHARACTER pkChr, LPCHARACTER pkVictim)