avertuss 48 Posted March 19, 2018 Share Posted March 19, 2018 Hi. Do you know how to cancel mining animation faster? I changed mining time and i'm getting drop but animation is still continue. I tried like that if (number(1, 100) <= iPct) { OreDrop(ch, load->GetRaceNum()); ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("채광에 성공하였습니다.")); ch->mining_cancel(); ch->ChatPacket(CHAT_TYPE_INFO, "i wanna stop you XD"); } else { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("채광에 실패하였습니다.")); ch->mining_cancel(); ch->ChatPacket(CHAT_TYPE_INFO, "i wanna stop you XD"); } and it doesn't work. Link to comment Share on other sites More sharing options...
Premium TAUMP 839 Posted March 19, 2018 Premium Share Posted March 19, 2018 void CPythonPlayer::__SendClickActorPacket(CInstanceBase& rkInstVictim) s_dwNextTCPTime=dwCurTime+1000; try Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 19, 2018 Author Share Posted March 19, 2018 46 minut temu, .T4Ump napisał: void CPythonPlayer::__SendClickActorPacket(CInstanceBase& rkInstVictim) s_dwNextTCPTime=dwCurTime+1000; try Nope, still the same. Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 21, 2018 Author Share Posted March 21, 2018 f5 Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 23, 2018 Author Share Posted March 23, 2018 f5 Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 656 Posted March 23, 2018 Forum Moderator Share Posted March 23, 2018 Hmm.. Maybe in char.cpp? // MINING if (mining::IsVeinOfOre (GetRaceNum())) { char_event_info* info = AllocEventInfo<char_event_info>(); info->ch = this; m_pkMiningEvent = event_create(kill_ore_load_event, info, PASSES_PER_SEC(number(7 * 60, 15 * 60))); } // END_OF_MINING I'm not sure But you can try Best regards Raylee Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 24, 2018 Author Share Posted March 24, 2018 12 godzin temu, Raylee napisał: Hmm.. Maybe in char.cpp? // MINING if (mining::IsVeinOfOre (GetRaceNum())) { char_event_info* info = AllocEventInfo<char_event_info>(); info->ch = this; m_pkMiningEvent = event_create(kill_ore_load_event, info, PASSES_PER_SEC(number(7 * 60, 15 * 60))); } // END_OF_MINING I'm not sure But you can try Best regards Raylee It is destroying the vein after x seconds. Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 656 Posted March 24, 2018 Forum Moderator Share Posted March 24, 2018 vor 5 Stunden schrieb avertuss: It is destroying the vein after x seconds. hmm .. I had already thought that :/ Best regards Raylee Link to comment Share on other sites More sharing options...
avertuss 48 Posted March 26, 2018 Author Share Posted March 26, 2018 f5 Link to comment Share on other sites More sharing options...
avertuss 48 Posted April 3, 2018 Author Share Posted April 3, 2018 F5 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