From 67f54bebd29a54351fdff26452e9f16b1364800a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 18 Feb 2020 10:54:32 -0300 Subject: [PRIORITY: SEVERE] Just received a warning from system that referral system could be partly broken. So fix it! --- npc/003-3/malindou.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 82b8edf8f..52f75557a 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -569,22 +569,22 @@ OnPCBaseLvUpEvent: case 25: if (#REFERRAL_PROG && BaseLevel == 25 && #REFERRAL_CTRL < 1) { #REFERRAL_CTRL=1; - rodex_sendmail(gf_charid(#REFERRAL_PROG), "TMW2 Team", "Recruited Player got Lv 25!", strcharinfo(0)+" just got level 25!\nAs they get stronger, more rewards will be sent to you!", 0, SilverGift, 1); + rodex_sendmail(atoi(gf_charid(#REFERRAL_PROG)), "TMW2 Team", "Recruited Player got Lv 25!", strcharinfo(0)+" just got level 25!\nAs they get stronger, more rewards will be sent to you!", 0, SilverGift, 1); } case 50: if (#REFERRAL_PROG && BaseLevel == 50 && #REFERRAL_CTRL < 2) { #REFERRAL_CTRL=2; - rodex_sendmail(gf_charid(#REFERRAL_PROG), "TMW2 Team", "Recruited Player got Lv 50!", strcharinfo(0)+" just got level 50!\nAs they get stronger, more rewards will be sent to you!", 0, ArcmageBoxset, 1); + rodex_sendmail(atoi(gf_charid(#REFERRAL_PROG)), "TMW2 Team", "Recruited Player got Lv 50!", strcharinfo(0)+" just got level 50!\nAs they get stronger, more rewards will be sent to you!", 0, ArcmageBoxset, 1); } case 75: if (#REFERRAL_PROG && BaseLevel == 75 && #REFERRAL_CTRL < 3) { #REFERRAL_CTRL=3; - rodex_sendmail(gf_charid(#REFERRAL_PROG), "TMW2 Team", "Recruited Player got Lv 75!", strcharinfo(0)+" just got level 75!\nAs they get stronger, more rewards will be sent to you!", 0, PrismGift, 1); + rodex_sendmail(atoi(gf_charid(#REFERRAL_PROG)), "TMW2 Team", "Recruited Player got Lv 75!", strcharinfo(0)+" just got level 75!\nAs they get stronger, more rewards will be sent to you!", 0, PrismGift, 1); } case 100: if (#REFERRAL_PROG && BaseLevel == 100 && #REFERRAL_CTRL < 4) { #REFERRAL_CTRL=4; - rodex_sendmail(gf_charid(#REFERRAL_PROG), "TMW2 Team", "Recruited Player got Lv 100!", strcharinfo(0)+" just got level 100!\nTime to reap what you've sow for so long!", 0, SupremeGift, 1); + rodex_sendmail(atoi(gf_charid(#REFERRAL_PROG)), "TMW2 Team", "Recruited Player got Lv 100!", strcharinfo(0)+" just got level 100!\nTime to reap what you've sow for so long!", 0, SupremeGift, 1); } case 125: case 150: -- cgit v1.2.3-60-g2f50