Adrian1428 31 Posted January 18, 2015 Share Posted January 18, 2015 I have a problem with this code , not work. FPartyPIDCollector f; GetParty()->ForEachOnMapMember(f, GetMapIndex()); for (std::vector <DWORD>::iterator it = f.vecPIDs.begin(); it != f.vecPIDs.end(); it++) { LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it); if (ch) ch->ComputeSkill(dwVnum, ch); } Thanks in advance. 1 Link to comment Share on other sites More sharing options...
Adrian1428 31 Posted January 18, 2015 Author Share Posted January 18, 2015 up... Link to comment Share on other sites More sharing options...
Adrian1428 31 Posted January 18, 2015 Author Share Posted January 18, 2015 up.. Link to comment Share on other sites More sharing options...
Adrian1428 31 Posted January 19, 2015 Author Share Posted January 19, 2015 up..... Link to comment Share on other sites More sharing options...
Premium Solution Dash 81 Posted January 19, 2015 Premium Solution Share Posted January 19, 2015 LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it); if (ch) ch->ComputeSkill(dwVnum, ch); Change this with: LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(*it); ComputeSkill(dwVnum, ch); 3 Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted January 19, 2015 Premium Share Posted January 19, 2015 Please stop putting every time #solved, because now there's a lot of code not available for peoples which encounters the same bug. ^^ 1 Link to comment Share on other sites More sharing options...
Adrian1428 31 Posted January 19, 2015 Author Share Posted January 19, 2015 Please stop putting every time #solved, because now there's a lot of code not available for peoples which encounters the same bug. ^^ I edited first post. The problem is that I searched for days to fix, no one wanted to tell me what's wrong and no one wants to talk about too wolfman. It would be better to prohibit changing the subject. 1 Link to comment Share on other sites More sharing options...
Premium Galet 515 Posted January 19, 2015 Premium Share Posted January 19, 2015 Yeah, But nobody has the solution excepted some people, I doesn't had it, so I couldn't help 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