Jump to content

[ Dead Download Link ] Notice System With Timer [ We Need You ]


Mali

Recommended Posts

  • Honorable Member

 

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

  • Metin2 Dev 4
  • Love 5

 

Link to comment
Share on other sites

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."

  • Love 3
Link to comment
Share on other sites

  • Honorable Member
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

  • Premium
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.