Active Member Mind Rapist 188 Posted January 24, 2019 Active Member Share Posted January 24, 2019 This is my input_main.cpp: https://pastebin.com/wyRa3gXB As you may notice I have added this if statement a lot: if (ch->m_pkTimedEvent) { ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("취소 되었습니다.")); event_cancel(&ch->m_pkTimedEvent); } So far it works good but since I'm not too familliar with the project's source I'm posting it here to get some feedback and reviews if possible. The idea is to cancel logout every time the character does something for bugs and marketing reasons. Cancels I haven't manage to do yet: On hit (space press) On button click from right click menu On NPC click I haven't manage to send this to all Group members if group is deleted, as well as the second member of the group if the group has only 2 members Think about anything I left out of the list I appreciate any feedback and review. Best regards 1 1 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