Bot Metin2 Dev 4873 Posted February 19, 2018 Bot Share Posted February 19, 2018 This is my problem. When i make a lot of: Feb 19 07:04:48 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:49 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:49 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:49 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:49 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:49 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:49 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:49 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:50 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:53 :: COMMAND: BeranSetaou: user_horse_ride Feb 19 07:04:53 :: COMMAND: BeranSetaou: user_horse_ride The player crash and come at login board. And the only error that i get into syserr is this: SYSERR: Feb 19 06:48:13 :: Analyze: Handshake phase does not handle packet 3 (fd 16) SYSERR: Feb 19 06:48:13 :: Process: SEQUENCE 290a8500 mismatch 0xaf != 0x2f header 3 SYSERR: Feb 19 06:48:13 :: Process: SEQUENCE_LOG [UNKNOWN]------------- [003 : 0xaf] Link to comment Share on other sites More sharing options...
M.Sorin 282 Posted February 19, 2018 Share Posted February 19, 2018 Buy me a a lambo , and i will solve your problem. Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted February 19, 2018 Author Bot Share Posted February 19, 2018 Please... Link to comment Share on other sites More sharing options...
ManiacRobert 427 Posted February 19, 2018 Share Posted February 19, 2018 Buy @martysama0134 source and will work gud 2 Link to comment Share on other sites More sharing options...
Tacticus 73 Posted February 19, 2018 Share Posted February 19, 2018 after scamm 1000x ppl with fake protection, now you want help? Link to comment Share on other sites More sharing options...
Premium TAUMP 827 Posted February 19, 2018 Premium Share Posted February 19, 2018 lol and you do protection? and you cant fix primitive problems? 1 Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted February 19, 2018 Author Bot Share Posted February 19, 2018 5 minutes ago, .T4Ump said: lol and you do protection? and you cant fix primitive problems? You have solution of this problem? Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1195 Posted February 19, 2018 Active+ Member Share Posted February 19, 2018 Is look like your BeranSetaou is trying to ride a horse . Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted February 20, 2018 Author Bot Share Posted February 20, 2018 PROBLEM SOLVED! The crash of the client was caused by the StartRiding and StopRiding very speedly without a check. I fixed the problem with a Time Check into user_horse_ride function: ACMD(do_user_horse_ride) { if (ch->IsObserverMode()) return; if (ch->IsDead() || ch->IsStun()) return; LPITEM pItem = ch->GetWear(WEAR_UNIQUE1); LPITEM pItem2 = ch->GetWear(WEAR_UNIQUE2); if (pItem && pItem->IsRideItem()) ch->UnequipItem(pItem); if (pItem2 && pItem2->IsRideItem()) ch->UnequipItem(pItem2); if (ch->IsHorseRiding()) { if (ch->UnEquipSpecialRideUniqueItem()) { ch->RemoveAffect(AFFECT_MOUNT); ch->RemoveAffect(AFFECT_MOUNT_BONUS); } ch->StopRiding(); }else{ if (ch->GetLastMountTime() != 0) { if (get_dword_time() - ch->GetLastMountTime() < 2000) { ch->ChatPacket(CHAT_TYPE_INFO, "You are mount/unmount the horse too speedly, please wait a second."); return; } } if (ch->GetMountVnum()) return; if (ch->GetHorse() == NULL) return; ch->StartRiding(); } } GetLastMountTime already exists on all source, some HackShield and Protection serverside default has got that. I Disabled the protections serverside default and this is why the horse crashed. With this solution is Ok. THANK YOU FOR THE HELP AND I WANT TO SAY A THING... MARTYSAMA YOU DONT KNOW NOTHING OF ASM AND C++ Problem solved and happy game! 1 1 Link to comment Share on other sites More sharing options...
Premium Syreldar 1873 Posted February 20, 2018 Premium Share Posted February 20, 2018 Jesus Christ hang yourself..holy shit. 3 "Nothing's free in this life. Ignorant people have an obligation to make up for their ignorance by paying those who help them. Either you got the brains or cash, if you lack both you're useless." Syreldar Link to comment Share on other sites More sharing options...
Active+ Member Abel(Tiger) 1195 Posted February 20, 2018 Active+ Member Share Posted February 20, 2018 (edited) Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 5 Link to comment Share on other sites More sharing options...
M.Sorin 282 Posted February 20, 2018 Share Posted February 20, 2018 (edited) Man , please leave the c++ for others. It`s not for you! Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Premium Speachless 759 Posted February 20, 2018 Premium Share Posted February 20, 2018 9 hours ago, M2BobFixed said: PROBLEM SOLVED! The crash of the client was caused by the StartRiding and StopRiding very speedly without a check. I fixed the problem with a Time Check into user_horse_ride function: ACMD(do_user_horse_ride) { if (ch->IsObserverMode()) return; if (ch->IsDead() || ch->IsStun()) return; LPITEM pItem = ch->GetWear(WEAR_UNIQUE1); LPITEM pItem2 = ch->GetWear(WEAR_UNIQUE2); if (pItem && pItem->IsRideItem()) ch->UnequipItem(pItem); if (pItem2 && pItem2->IsRideItem()) ch->UnequipItem(pItem2); if (ch->IsHorseRiding()) { if (ch->UnEquipSpecialRideUniqueItem()) { ch->RemoveAffect(AFFECT_MOUNT); ch->RemoveAffect(AFFECT_MOUNT_BONUS); } ch->StopRiding(); }else{ if (ch->GetLastMountTime() != 0) { if (get_dword_time() - ch->GetLastMountTime() < 2000) { ch->ChatPacket(CHAT_TYPE_INFO, "You are mount/unmount the horse too speedly, please wait a second."); return; } } if (ch->GetMountVnum()) return; if (ch->GetHorse() == NULL) return; ch->StartRiding(); } } GetLastMountTime already exists on all source, some HackShield and Protection serverside default has got that. I Disabled the protections serverside default and this is why the horse crashed. With this solution is Ok. THANK YOU FOR THE HELP AND I WANT TO SAY A THING... MARTYSAMA YOU DONT KNOW NOTHING OF ASM AND C++ Problem solved and happy game! Your ACMD(do_user_horse_ride) it's not normal. You are not normal too. Link to comment Share on other sites More sharing options...
Tacticus 73 Posted February 20, 2018 Share Posted February 20, 2018 Link to comment Share on other sites More sharing options...
Honorable Member martysama0134 7173 Posted February 20, 2018 Honorable Member Share Posted February 20, 2018 (edited) 15 hours ago, M2BobFixed said: YOU DONT KNOW NOTHING Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 8 Check out my GitHub Link to comment Share on other sites More sharing options...
Braxy 618 Posted February 20, 2018 Share Posted February 20, 2018 Why isn't he banned yet? I'm the only one who thinks that the admins are making fun of him and that's why he is not banned yet? As long as I'll be a threat for you , i will always be your target :3 Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted February 21, 2018 Author Bot Share Posted February 21, 2018 (edited) 4 hours ago, martysama0134 said: Marty sama one of the worst programmer here. i don't tell anything other too. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Honorable Member martysama0134 7173 Posted February 21, 2018 Honorable Member Share Posted February 21, 2018 (edited) 54 minutes ago, M2BobFixed said: i don't tell anything other too. Yeah, yeah. So bad that I just need to fart to annihilate your existence. I don't like meddling with shit though. I prefer to keep myself clean. 12 hours ago, M.Sorin said: Man , please leave the c++ for others. It`s not for you! Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal 3 Check out my GitHub Link to comment Share on other sites More sharing options...
Bot Metin2 Dev 4873 Posted February 21, 2018 Author Bot Share Posted February 21, 2018 (edited) 58 minutes ago, martysama0134 said: Yeah, yeah. So bad that I just need to fart to annihilate your existence. I don't like meddling with shit though. I prefer to keep myself clean. WARNING and ADVICE: don't buy marty sama source they are full of bugs and problems, and you can find them on internet. Go back kid... You are from sardegna? You don't know C++ and you don't know italian too. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 656 Posted February 21, 2018 Forum Moderator Share Posted February 21, 2018 #Topic closed I would like to point out that we can not tolerate misbehavior. We want to be a forum where you help each other!Please read the Rules with carefully! Best regards Raylee Link to comment Share on other sites More sharing options...
Recommended Posts