safademirel 292 Posted November 22, 2014 Share Posted November 22, 2014 Hello, I have a problem on my compiled game, when I try offer exp to my guild it's fail. case GUILD_SUBHEADER_CG_OFFER: { DWORD offer = *reinterpret_cast<const DWORD*>(c_pData); if (pGuild->GetLevel() >= GUILD_MAX_LEVEL) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±æµå> ±æµå°¡ ÀÌ¹Ì ÃÖ°í ·¹º§ÀÔ´Ï´Ù.")); } else { offer /= 100; offer *= 100; if (pGuild->OfferExp(ch, offer)) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±æµå> %uÀÇ °æÇèÄ¡¸¦ ÅõÀÚÇÏ¿´½À´Ï´Ù."), offer); } else { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±æµå> °æÇèÄ¡ ÅõÀÚ¿¡ ½ÇÆĞÇÏ¿´½À´Ï´Ù.")); } } } return SubPacketLen; When I try offer exp I get this ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<±æµå> °æÇèÄ¡ ÅõÀÚ¿¡ ½ÇÆĞÇÏ¿´½À´Ï´Ù.")); No sysser in game or db. Link to comment Share on other sites More sharing options...
Night 367 Posted November 22, 2014 Share Posted November 22, 2014 ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<길드> 경험치 투자에 실패하였습니다.")); (use google to get a translation it can be help full to you) well the condition if (pGuild->OfferExp(ch, offer)) seems not to be fulfilled so it pass to else wich gives you that text Link to comment Share on other sites More sharing options...
safademirel 292 Posted November 22, 2014 Author Share Posted November 22, 2014 ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("<길드> 경험치 투자에 실패하였습니다.")); (use google to get a translation it can be help full to you) well the condition if (pGuild->OfferExp(ch, offer)) seems not to be fulfilled so it pass to else wich gives you that text I did not touch to guild.cpp It's same as mainline Link to comment Share on other sites More sharing options...
Night 367 Posted November 22, 2014 Share Posted November 22, 2014 i know that you did not there are not many ppl who would want to touch such a sub_packet could you tell exactly what you are trying to do (ingame) for ex. the exp value and etc... Link to comment Share on other sites More sharing options...
safademirel 292 Posted November 22, 2014 Author Share Posted November 22, 2014 On 11/22/2014 at 6:59 PM, Night said: i know that you did not there are not many ppl who would want to touch such a sub_packet could you tell exactly what you are trying to do (ingame) for ex. the exp value and etc... Link to comment Share on other sites More sharing options...
Thrall 184 Posted January 7, 2021 Share Posted January 7, 2021 UP!, Im having the same problem, anyone can help? Link to comment Share on other sites More sharing options...
Thrall 184 Posted January 10, 2021 Share Posted January 10, 2021 fixed problem was locale_string.txt %d was not having space after d it was like this: %dtexblblblaa need to be like this: %d textblblbla 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