Jump to content
  • 0
Sign in to follow this  
Litro

Fast Leveling Event

Question

how to make if someone reached max level when the event going will be automaticaly will be the winner

i just make the part of the script, but when the script trigered it will check if there is the winner or not

-	script	Fast Leveling Event	-1,{OnPCBaseLvUpEvent:	set .@eac, eaclass();	if( ( .@eac&EAJL_THIRD ) && ( BaseLevel == .@BaseLevel ) && ( JobLevel == .@JobLevel ) ){		switch(Class){		case 4060:			if( ) // confused in this part		case 4073:		case 4061:		case 4074:		case 4062:		case 4075:		case 4076:		case 4063:		case 4077:		case 4064:		case 4078:		case 4065:		case 4079:		default:			end;		}	}	end;OnInit:	.@BaseLevel = 150;	.@JobLevel = 50;	end;}

and i want to make its archived for the hall of fame or Ladder, for this i think i need to make sql database, that have table Char Name, Class and time elapse from moment the event start, the npc will look like this

 

1. Litro - Rune Knight - 4 Hours

2. SomeOne - Warlock - 4 Hours 5 Minute 2 second

3. WhoEver - Sura - 5 Hours 1 Minute 37 second

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.