avertuss 48 Posted January 14, 2016 Share Posted January 14, 2016 Hey. How do such a thing in a source that, for example. After winning level, ie. 90 no longer experience conquered on the map of the index, eg. 23? Link to comment Share on other sites More sharing options...
ds_aim 241 Posted January 14, 2016 Share Posted January 14, 2016 // FUCKING START { DWORD dwPID; LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(dwPID); if (ch->GetMapIndex() == 111) { if(ch->GetLevel() >= 90) { return; } } } // FUCKING END Add this in char_item case POINT_EXP PS: Don't tested. 1 Link to comment Share on other sites More sharing options...
avertuss 48 Posted January 14, 2016 Author Share Posted January 14, 2016 1 hour ago, ds_aim said: // FUCKING START { LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(dwPID); if (ch->GetMapIndex == 111) { if(ch->GetLevel() => 90) { return; } } } // FUCKING END Add this in char_item case POINT_EXP PS: Don't tested. char.cpp:3198: error: 'dwPID' was not declared in this scope char.cpp:3199: error: invalid use of member (did you forget the '&' ?) char.cpp:3200: error: expected primary-expression before '>' token LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(dwPID); if (ch->GetMapIndex == 73) { if(ch->GetLevel() => 95) { return; } } } Link to comment Share on other sites More sharing options...
DarkAng3l 25 Posted January 14, 2016 Share Posted January 14, 2016 Spoiler if (GetLevel() >= 90 && GetMapIndex() == 73) return; char.cpp - function PointChange in case POINT_EXP Link to comment Share on other sites More sharing options...
ds_aim 241 Posted January 14, 2016 Share Posted January 14, 2016 edited. : Link to comment Share on other sites More sharing options...
avertuss 48 Posted January 15, 2016 Author Share Posted January 15, 2016 45 minutes ago, ds_aim said: edited. : char.cpp:3199: error: 'dwPID' was not declared in this scope char.cpp:3201: error: invalid use of member (did you forget the '&' ?) { LPCHARACTER ch; dwPID = ch->GetPlayerID(); LPCHARACTER MM = CHARACTER_MANAGER::instance().FindByPID(dwPID); if (MM->GetMapIndex == 73) { if(MM->GetLevel() >= 95) { return; } } } Link to comment Share on other sites More sharing options...
ds_aim 241 Posted January 15, 2016 Share Posted January 15, 2016 // FUCKING START { DWORD dwPID; LPCHARACTER ch = CHARACTER_MANAGER::instance().FindByPID(dwPID); if (ch->GetMapIndex() == 111) { if(ch->GetLevel() >= 90) { return; } } } // FUCKING END 2 minutes ago, avertuss said: char.cpp:3199: error: 'dwPID' was not declared in this scope char.cpp:3201: error: invalid use of member (did you forget the '&' ?) { LPCHARACTER ch; dwPID = ch->GetPlayerID(); LPCHARACTER MM = CHARACTER_MANAGER::instance().FindByPID(dwPID); if (MM->GetMapIndex == 73) { if(MM->GetLevel() >= 95) { return; } } } 1 Link to comment Share on other sites More sharing options...
avertuss 48 Posted January 30, 2016 Author Share Posted January 30, 2016 The problem is that these maps listed there is ok, but on other maps after killing a monster crashes channel. Link to comment Share on other sites More sharing options...
avertuss 48 Posted January 31, 2016 Author Share Posted January 31, 2016 f5 Link to comment Share on other sites More sharing options...
avertuss 48 Posted February 2, 2016 Author Share Posted February 2, 2016 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