Get Backers Posted December 1, 2020 Posted December 1, 2020 Hello anyone how to remove announce in pvp points shop
1 Royr Posted December 1, 2020 Posted December 1, 2020 (edited) 1 hour ago, Get Backers said: Hello anyone how to remove announce in pvp points shop You posted in a wrong Category. it should be in "Source Request" Didn't test in-game. i just checked from the repo it should be simple.Locate / Find: src/map/npc.cpp Find:case NPCTYPE_POINTSHOP: (Line: 1834) case NPCTYPE_POINTSHOP: if (display) { char output[CHAT_SIZE_MAX]; memset(output, '\0', sizeof(output)); sprintf(output, msg_txt(sd, 715), nd->u.shop.pointshop_str); // Point Shop List: '%s' clif_broadcast(&sd->bl, output, strlen(output) + 1, BC_BLUE,SELF); } cost[0] = static_cast<int>(pc_readreg2(sd, nd->u.shop.pointshop_str)); break; } } Replaced:- (REMOVED) + (ADD) - sprintf(output, msg_txt(sd, 715), nd->u.shop.pointshop_str); // Point Shop List: '%s' + //sprintf(output, msg_txt(sd, 715), nd->u.shop.pointshop_str); // Point Shop List: '%s' Final Output: case NPCTYPE_POINTSHOP: if (display) { char output[CHAT_SIZE_MAX]; memset(output, '\0', sizeof(output)); //sprintf(output, msg_txt(sd, 715), nd->u.shop.pointshop_str); // Point Shop List: '%s' clif_broadcast(&sd->bl, output, strlen(output) + 1, BC_BLUE,SELF); } cost[0] = static_cast<int>(pc_readreg2(sd, nd->u.shop.pointshop_str)); break; } } Recompile your "Emulator" ./configure && make clean && make server Edited December 1, 2020 by Royr 1 1
0 Chasewalk Posted December 1, 2020 Posted December 1, 2020 i'm sorry for the wrong post by the way thank you very much bro i will try problem solved thank you so much for helping me
Question
Get Backers
Hello anyone how to remove announce in pvp points shop
2 answers to this question
Recommended Posts