Matteo 46 Posted March 6, 2020 Share Posted March 6, 2020 Hi guys, It's maybe released somewhere else, but i ran into this with 300-400 player on my server and one of them injected a little python script which invites mobs or npcs into guild and party or forces guild skills on mobs or npcs. If that happens the core will crash since there is no checks for that. input_main.cpp Find in case GUILD_SUBHEADER_CG_ADD_MEMBER:: if (!ch->IsPC()) Replace: if (!ch->IsPC() || !newmember->IsPC()) Find in CInputMain::PartyUseSkill: if (pch) ch->GetParty()->SummonToLeader(pch->GetPlayerID()); Replace: if (pch) { if (pch->IsPC()) ch->GetParty()->SummonToLeader(pch->GetPlayerID()); } Add at the beginning of the CInputMain::PartyInvite function: if (!ch) return; In the same function find: if (!pInvitee || !ch->GetDesc() || !pInvitee->GetDesc()) Replace: if (!pInvitee || !ch->GetDesc() || !pInvitee->GetDesc() || !pInvitee->IsPC() || !ch->IsPC()) Add at the beginning of the CInputMain::PartyInviteAnswer function: if (!ch) return; In the same function find: if (!pInviter) Replace: if (!pInviter || !pInviter->IsPC()) Have a nice day! 8 System Administrator @ Hungarian Government System Administrator @ Vibestro Freelancer Developer @ Various projects Link to comment Share on other sites More sharing options...
Defacer35 21 Posted March 6, 2020 Share Posted March 6, 2020 Thank you very much. Link to comment Share on other sites More sharing options...
Flourine 106 Posted March 6, 2020 Share Posted March 6, 2020 (edited) That is already known Edited March 6, 2020 by Flourine Link to comment Share on other sites More sharing options...
ManiacRobert 427 Posted March 6, 2020 Share Posted March 6, 2020 if (pch && pch->IsPC()) ch->GetParty()->SummonToLeader(pch->GetPlayerID()); Link to comment Share on other sites More sharing options...
Active Member Helia01 2125 Posted March 6, 2020 Active Member Share Posted March 6, 2020 This is a very old bug. But thanks anyway. Link to comment Share on other sites More sharing options...
Active Member Exygo 1090 Posted March 25, 2020 Active Member Share Posted March 25, 2020 This is from 2017 2 https://www.youtube.com/channel/UCQ8mAeda9TWq6SsTzB53emw/videos Link to comment Share on other sites More sharing options...
Recommended Posts