dexolus 12 Posted February 27, 2022 Share Posted February 27, 2022 Hi, im making server. I want to sit on mount then unmount it and again sit on it fast. It working but when im attacking monster it writes - If you want to do this, you have to stop. What can i do to remove it to make to work, so i can jump on mount multiple times really fast when im attacking monster? Thank you Link to comment Share on other sites More sharing options...
Contributor Amun 1906 Posted February 28, 2022 Contributor Share Posted February 28, 2022 Search for that string in the source and remove the check. Link to comment Share on other sites More sharing options...
dexolus 12 Posted February 28, 2022 Author Share Posted February 28, 2022 Can you please tell me where can i find it please? Link to comment Share on other sites More sharing options...
Contributor Amun 1906 Posted February 28, 2022 Contributor Share Posted February 28, 2022 4 minutes ago, dexolus said: Can you please tell me where can i find it please? I just told you to search it in the source(server source). Use n++ with global search. If you can't find it, it might be because it's in korean, so you have to open locale_string.txt and find the korean string matching this, then search that. I tried looking for it in my source, but I don't have it, so it has to be something changed in your source. Good luck Link to comment Share on other sites More sharing options...
dexolus 12 Posted February 28, 2022 Author Share Posted February 28, 2022 Okay thanks Link to comment Share on other sites More sharing options...
Contributor Amun 1906 Posted February 28, 2022 Contributor Share Posted February 28, 2022 (edited) 9 minutes ago, dexolus said: Okay thanks I'm not sure, but it might be in cmd_general.cpp, somewhere in one of the ride functions. Edit: Or in horse_rider.cpp bool CHorseRider::StartRiding() Edited February 28, 2022 by Amun Link to comment Share on other sites More sharing options...
dexolus 12 Posted February 28, 2022 Author Share Posted February 28, 2022 Yeah thanks when i will have time i will look at it and if i find it i will write here Link to comment Share on other sites More sharing options...
dexolus 12 Posted March 2, 2022 Author Share Posted March 2, 2022 Hi, so i did not find it in that korean shit but i found how to make it work. In cmd general.cpp line around 2588 Spoiler // TODO : 탈것용 SubType 추가 switch (item->GetVnum()) { case 71114: // 저신이용권 add more cases with vnum of your seals from mount. And in database change type to 18. It works for me Link to comment Share on other sites More sharing options...
Premium Solution xTryhard 12 Posted March 2, 2022 Premium Solution Share Posted March 2, 2022 (edited) when you click on a item the client will send a packet to the server and leads you to CHARACTER::UseItemEx for example you have a wolf seal with the VNUM 500 use in this function (CHARACTER::UseItemEx) a switch statement for each vnum you want to mount the code should look like this : bool CHARACTER::UseItemEx(LPITEM item, TItemPos DestCell) { if (item == NULL) return; DWORD ItemID = item->GetVnum(); switch (ItemID) { case 500: if(this->IsRiding()) { this->MountVnum(0); return true; } else { this->MountVnum(101); return true; } break; default: break; } Note : you have to add your own Logic with Bonus Attributes and so on Edited March 2, 2022 by xTryhard Link to comment Share on other sites More sharing options...
dexolus 12 Posted March 2, 2022 Author Share Posted March 2, 2022 Hi, i appreciate your job, but i fixed it with that what i writed. Thank you 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now