Honorable Member Mali 42304 Posted March 18, 2018 Honorable Member Share Posted March 18, 2018 Spoiler //syntax: #NewNotice # message yourmessage(._.->space) # message secondmessage(._.->space) # gmlvl GM_LEVEL(0-5) # minlvl minumumlevel # maxlvl maximumlevel # mapidx forkedmapindex # mapidx forkedmapindex # chat_type Chat Type(0-4) # day_type Day Type(0-1) 0->Month Days(0-31), 1->Week Days(0-6) # date Day # hour Hour # min Minute # end //Note: if you remove day, message will repeat everyday //Note2: if you remove hour, message will repeat everyhour //Note3: you can remove mapidx for everymap //Note4: if you remove(chat_type, day_type, minlvl, maxlvl, gmlvl) system will reset default values //Note5: you can add as many (messages, date, hour, min, mapidx) as you want This is the hidden content, please Sign In or Sign Up 4 5 Link to comment Share on other sites More sharing options...
metin2team 766 Posted March 18, 2018 Share Posted March 18, 2018 auto spamming 1 Link to comment Share on other sites More sharing options...
Forum Moderator Raylee 658 Posted March 18, 2018 Forum Moderator Share Posted March 18, 2018 Interesting system Thanks Best regards Raylee Link to comment Share on other sites More sharing options...
Tasho 244 Posted March 18, 2018 Share Posted March 18, 2018 That's why metin2 is cancerous community..we stole code/ideas from another guys and put inside without any mention or thanks for it, doesn't importantly if you post free or not. 1. Spoiler void CTournamentPvP::Destroy() { ClearSTDMap(); if (running_event != NULL) { event_cancel(&running_event); running_event = NULL; } } void DestroyAutoNotice() { message_data.clear(); if (running_event != NULL) { event_cancel(&running_event); running_event = NULL; } } 2. Spoiler bool CTournamentPvP::Initialize() { if (running_event != NULL) { event_cancel(&running_event); running_event = NULL; } TournamentPvPInfoData* info = AllocEventInfo<TournamentPvPInfoData>(); info->pTournament = this; running_event = event_create(tournament_timer, info, PASSES_PER_SEC(30)); } void InitAutoNotice() { if (running_event != NULL) { event_cancel(&running_event); running_event = NULL; } AutoNoticeInfoData* info = AllocEventInfo<AutoNoticeInfoData>(); running_event = event_create(automatic_event_timer, info, PASSES_PER_SEC(1)); } 3. Spoiler void CheckAutoNotice() { time_t cur_Time = time(NULL); struct tm vKey = *localtime(&cur_Time); } void CTournamentPvP::PrepareAnnouncement() { time_t cur_Time = time(NULL); struct tm vKey = *localtime(&cur_Time); } There are more.. You know very well about what i'm talking, already there exist more guys which take system a, b from C and make some changes and adapt it for another things. I don't will talk about the rest of code which is already non-sense, already all people can see it. Look: Already you and this guy stole the same concept of call event and check real time from Tournament PvP and do some changes, great coders. Good luck "Developer of future." 3 Link to comment Share on other sites More sharing options...
Honorable Member Mali 42304 Posted March 18, 2018 Author Honorable Member Share Posted March 18, 2018 19 minutes ago, Tasho said: That's why metin2 is cancerous community..we stole code/ideas from another guys and put inside without any mention or thanks for it, doesn't importantly if you post free or not. 1. Reveal hidden contents void CTournamentPvP::Destroy() { ClearSTDMap(); if (running_event != NULL) { event_cancel(&running_event); running_event = NULL; } } void DestroyAutoNotice() { message_data.clear(); if (running_event != NULL) { event_cancel(&running_event); running_event = NULL; } } 2. Reveal hidden contents bool CTournamentPvP::Initialize() { if (running_event != NULL) { event_cancel(&running_event); running_event = NULL; } TournamentPvPInfoData* info = AllocEventInfo<TournamentPvPInfoData>(); info->pTournament = this; running_event = event_create(tournament_timer, info, PASSES_PER_SEC(30)); } void InitAutoNotice() { if (running_event != NULL) { event_cancel(&running_event); running_event = NULL; } AutoNoticeInfoData* info = AllocEventInfo<AutoNoticeInfoData>(); running_event = event_create(automatic_event_timer, info, PASSES_PER_SEC(1)); } 3. Reveal hidden contents void CheckAutoNotice() { time_t cur_Time = time(NULL); struct tm vKey = *localtime(&cur_Time); } void CTournamentPvP::PrepareAnnouncement() { time_t cur_Time = time(NULL); struct tm vKey = *localtime(&cur_Time); } There are more.. You know very well about what i'm talking, already there exist more guys which take system a, b from C and make some changes and adapt it for another things. I don't will talk about the rest of code which is already non-sense, already all people can see it. Look: Already you and this guy stole the same concept of call event and check real time from Tournament PvP and do some changes, great coders. Good luck "Developer of future." Cry bitch Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19741 Posted March 18, 2018 Honorable Member Share Posted March 18, 2018 crontab + api much more sexy 1 Link to comment Share on other sites More sharing options...
Honorable Member Mali 42304 Posted March 19, 2018 Author Honorable Member Share Posted March 19, 2018 don't forget sysinstall/configure/Time Zone After select UTC Link to comment Share on other sites More sharing options...
Premium North 1184 Posted March 20, 2018 Premium Share Posted March 20, 2018 This is the hidden content, please Sign In or Sign Up 1 Link to comment Share on other sites More sharing options...
Honorable Member Mali 42304 Posted March 20, 2018 Author Honorable Member Share Posted March 20, 2018 3 hours ago, Fleon said: This is the hidden content, please Sign In or Sign Up So? Link to comment Share on other sites More sharing options...
Premium North 1184 Posted March 20, 2018 Premium Share Posted March 20, 2018 1 hour ago, Mali61 said: So? s.every(1min, []() { CHAT_TYPE_NOTICE("MyNotice"); }); // Pseudocode Link to comment Share on other sites More sharing options...
Honorable Member Mali 42304 Posted March 20, 2018 Author Honorable Member Share Posted March 20, 2018 19 minutes ago, Fleon said: s.every(1min, []() { CHAT_TYPE_NOTICE("MyNotice"); }); // Pseudocode But you can't set settings from txt, if you know that use why do you wrote? Link to comment Share on other sites More sharing options...
Premium North 1184 Posted March 22, 2018 Premium Share Posted March 22, 2018 On 3/20/2018 at 3:58 PM, Mali61 said: But you can't set settings from txt, if you know that use why do you wrote? It's not like you should always bitch about everything that we say. I'm sharing on the subject a library that can be used as an alternative, then people are free to choose between what they want, i'm not trying anything here or either saying anything bad to you. Link to comment Share on other sites More sharing options...
Daenerys 176 Posted March 22, 2018 Share Posted March 22, 2018 at least doing something and sharing it to the community. what are you guys doing? Do you thank "WEBZEN YMIR GAMES" for the files you use? If we look at it from that point of view, the whole Metin2 community is a thief. 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