From 831ace2651186f538ab0b818830f4adc921c35b9 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Sat, 7 Mar 2020 22:23:24 +0530 Subject: Fixed Experience Gain Message --- conf/messages.conf | 2 +- src/map/pc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/messages.conf b/conf/messages.conf index 98b0e0a9d..4fdc13b09 100644 --- a/conf/messages.conf +++ b/conf/messages.conf @@ -694,7 +694,7 @@ 886: Gained %dz. 887: %s stole an Unknown Item (id: %i). 888: %s stole %s. -889: Experience Gained Base:%"PRIu64" (%.2f%%) Job:%"PRIu64" (%.2f%%) +889: Experience Gained Base:%llu (%.2f%%) Job:%llu (%.2f%%) 890: [KS Warning!! - Owner : %s] 891: [Watch out! %s is trying to KS you!] 892: Growth: hp:%d sp:%d str(%.2f) agi(%.2f) vit(%.2f) int(%.2f) dex(%.2f) luk(%.2f) diff --git a/src/map/pc.c b/src/map/pc.c index c96e957c7..fc1552e62 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -7120,8 +7120,8 @@ static bool pc_gainexp(struct map_session_data *sd, struct block_list *src, uint if(sd->state.showexp) { char output[256]; sprintf(output, - msg_sd(sd, 889), // Experience Gained Base:%"PRIu64" (%.2f%%) Job:%"PRIu64" (%.2f%%) - base_exp, nextbp * (float)100, job_exp, nextjp * (float)100); + msg_sd(sd, 889), // Experience Gained Base:%llu (%.2f%%) Job:%llu (%.2f%%) + (unsigned long long)base_exp, nextbp * 100.0f, (unsigned long long)job_exp, nextjp * 100.0f); clif_disp_onlyself(sd, output); } -- cgit v1.2.3-70-g09d2