Jump to content
  • 0

Instance Script


Limestone

Question


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

if there's someone who can make this kind of script, a big thanks from me :3 LOL

map: guild_vs3

• selection ( Normal, Hard, Nightmare, Hardcore )

- each difficulty have 10 levels

- each difficulty have given time to finish the instance

- for Normal: 30 minutes

- for Hard: 45 minutes

- for Nightmare: 60 minutes

- for Hardcore: 90 minutes

- Maximum of 4 members in a party only. if the member exceeds the maximum, the npc will ignore the leader

- only the party leader can talk to npc in order to warp to the instance

if a player have a party members, the number of monsters will increase depends on the player(s) in a party. (example: if 4 players in a party, for level 1 (normal) from 1 mob it will increase to 4

- for Normal

• additional of 1 mob for each level depends on the party member count.

- for Hard:

• additional of 2 mobs for each level depends on the party member count.

- for Nightmare:

• additional of 3 mobs for each level depends on the party member count.

- for Hardcore:

• additional of 4 mobs for each level depends on the party member count.

- if the time runs out, automatically warp the player to its savepoint and stop its instance

- for every level, there are time limit given for the participant ( if time runs out, automatically warp the player to its save point and stop the instance )

- if the mobs for each level are all defeated, it will automatically go to the next level

- 5 secs countdown for monster spawn for each level

- for Normal:

- Level 1: 1 minute

- Level 2: 2 minutes

- Level 3: 3 minutes

- Level 4: 4 minutes

- Level 5: 5 minutes

- Level 6: 6 minutes

- Level 7: 7 minutes

- Level 8: 8 minutes

- Level 9: 9 minutes

- Level 10: 10 minutes

- for Hard:

- Level 1: 2 minutes

- Level 2: 4 minutes

- Level 3: 6 minutes

- Level 4: 8 minutes

- Level 5: 10 minutes

- Level 6: 12 minutes

- Level 7: 14 minutes

- Level 8: 16 minutes

- Level 9: 18 minutes

- Level 10: 20 minutes

- for Nightmare:

- Level 1: 3 minutes

- Level 2: 6 minutes

- Level 3: 9 minutes

- Level 4: 12 minutes

- Level 5: 15 minutes

- Level 6: 18 minutes

- Level 7: 21 minutes

- Level 8: 24 minutes

- Level 9: 27 minutes

- Level 10: 30 minutes

- for Hardcore:

- Level 1: 4 minutes

- Level 2: 8 minutes

- Level 3: 12 minutes

- Level 4: 16 minutes

- Level 5: 20 minutes

- Level 6: 24 minutes

- Level 7: 28 minutes

- Level 8: 32 minutes

- Level 9: 36 minutes

- Level 10: 40 minutes

- for each difficulty there are types of mobs ( custom mobs from my db )

- for Normal:

- Level 1: 1 mob

- Level 2: 2 mobs

- Level 3: 3 mobs

- Level 4: 4 mobs

- Level 5: 5 mobs

- Level 6: 6 mobs

- Level 7: 7 mobs

- Level 8: 8 mobs

- Level 9: 9 mobs

- Level 10: 10 mobs

- for Hard:

- Level 1: 2 mobs

- Level 2: 3 mobs

- Level 3: 4 mobs

- Level 4: 5 mobs

- Level 5: 6 mobs

- Level 6: 7 mobs

- Level 7: 8 mobs

- Level 8: 9 mobs

- Level 9: 10 mobs

- Level 10: 12 mobs

- for Nightmare:

- Level 1: 3 mobs

- Level 2: 4 mobs

- Level 3: 5 mobs

- Level 4: 6 mobs

- Level 5: 7 mobs

- Level 6: 8 mobs

- Level 7: 9 mobs

- Level 8: 10 mobs

- Level 9: 11 mobs

- Level 10: 13 mobs

- for Hardcore:

- Level 1: 5 mobs

- Level 2: 6 mobs

- Level 3: 7 mobs

- Level 4: 8 mobs

- Level 5: 9 mobs

- Level 6: 10 mobs

- Level 7: 12 mobs

- Level 8: 14 mobs

- Level 9: 16 mobs

- Level 10: 20 mobs

Prizes:

- the prizes for each difficulty are depends on what level they finished

for Normal:

- Level 1: 100 Hero Points

- Level 2: 110 Hero Points

- Level 3: 120 Hero Points

- Level 4: 130 Hero Points

- Level 5: 140 Hero Points

- Level 6: 150 Hero Points

- Level 7: 160 Hero Points

- Level 8: 170 Hero Points

- Level 9: 180 Hero Points

- Level 10: 200 Hero Points

for Hard:

- Level 1: 120 Hero Points

- Level 2: 140 Hero Points

- Level 3: 160 Hero Points

- Level 4: 180 Hero Points

- Level 5: 200 Hero Points

- Level 6: 220 Hero Points

- Level 7: 240 Hero Points

- Level 8: 260 Hero Points

- Level 9: 280 Hero Points

- Level 10: 300 Hero Points

for Nightmare:

- Level 1: 150 Hero Points

- Level 2: 180 Hero Points

- Level 3: 210 Hero Points

- Level 4: 240 Hero Points

- Level 5: 270 Hero Points

- Level 6: 300 Hero Points

- Level 7: 330 Hero Points

- Level 8: 360 Hero Points

- Level 9: 390 Hero Points

- Level 10: 420 Hero Points

for Hardcore:

- Level 1: 200 Hero Points

- Level 2: 250 Hero Points

- Level 3: 300 Hero Points

- Level 4: 350 Hero Points

- Level 5: 400 Hero Points

- Level 6: 450 Hero Points

- Level 7: 500 Hero Points

- Level 8: 550 Hero Points

- Level 9: 600 Hero Points

- Level 10: 700 Hero Points

Rankings:

- for each level there are top 10 rank

- menu's for ranking "Normal, Hard, Nightmare, Hardcore, Reset Rank"

- Reset Rank shows in GM only

format for Ranking, "<player name>","<level of difficulty>","<total time of finishing the instance>"

Hope the Gods of scripting can make me this kind of script, Especially @AnnieRuru and @Emistry and also @goddameit

Bump!

bump! @AnnieRuru please help!

Edited by Rage
Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

bump! please help!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  60
  • Reputation:   4
  • Joined:  12/19/12
  • Last Seen:  

Check the paid services.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

paid services? where? and who?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

- each difficulty have given time to finish the instance

- for Normal: 30 minutes

- for Hard: 45 minutes

- for Nightmare: 60 minutes

- for Hardcore: 90 minutes

// time limit (sec) of the instance per level - Normal, Hard, Hardcore, Nightmare
	setarray .timelimit[ 1 ], 1800, 2700, 3600, 4500;

 

 

- Maximum of 4 members in a party only. if the member exceeds the maximum, the npc will ignore the leader

	.max_players = 4;			// max players in the party

 

if a player have a party members, the number of monsters will increase

depends on the player(s) in a party. (example: if 4 players in a party,

for level 1 (normal) from 1 mob it will increase to 4

Done

 

- for every level, there are time limit given for the participant ( if

time runs out, automatically warp the player to its save point and stop

the instance )

// Time (min) / round / difficulty
	setarray .time_Normal[ 1 ], 1,2,3,4,5,6,7,8,9,10;
	setarray .time_Hard[ 1 ], 2,4,6,8,10,12,14,16,18,20;
	setarray .time_Hardcore[ 1 ], 3,6,9,12,15,18,21,24,27,30;
	setarray .time_Nightmare[ 1 ], 4,8,12,16,20,24,28,32,36,40;

 

- for each difficulty there are types of mobs ( custom mobs from my db )

- for Normal:

         - Level 1: 1 mob

         - Level 2: 2 mobs

// Number ( monsters / round / difficulty ) initialized
	setarray .mob_init_Normal[ 1 ], 1, 2, 3, 4, 5, 6, 7, 8, 9, 10;
	setarray .mob_init_Hard[ 1 ], 2, 3, 4, 5, 6, 7, 8, 9, 10, 12;
	setarray .mob_init_Hardcore[ 1 ], 3, 4, 5, 6, 7, 8, 9, 10, 11, 13;
	setarray .mob_init_Nightmare[ 1 ], 5, 6, 7, 8, 9, 10, 12, 14, 16, 20;

with mob ID / round / difficulty

// Mob ID / round
// Level : Normal
	setarray .mob_ID_Normal_round1[ 0 ], 1002,1005,1004;// poring, hornet, familiar
	setarray .mob_ID_Normal_round2[ 0 ], 1002,1005;
	setarray .mob_ID_Normal_round3[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round4[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round5[ 0 ], 1002,1005,1004,1005;
	setarray .mob_ID_Normal_round6[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round7[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round8[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round9[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round10[ 0 ], 1002,1005,1004;
// Level : Hard
	setarray .mob_ID_Hard_round1[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Hard_round2[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Hard_round3[ 0 ], 1002,1005,1004;

 

 

for Normal:

         - Level 1: 100 Hero Points

         - Level 2: 110 Hero Points

         - Level 3: 120 Hero Points

         - Level 4: 130 Hero Points

         - Level 5: 140 Hero Points

         - Level 6: 150 Hero Points

         - Level 7: 160 Hero Points

         - Level 8: 170 Hero Points

         - Level 9: 180 Hero Points

         - Level 10: 200 Hero Points

for Hard:

         - Level 1: 120 Hero Points

// Hero ( points / round / difficulty ) - using #hero_points variable
	setarray .hero_points_Normal[ 1 ], 100,110,120,130,140,150,160,170,180,200;
	setarray .hero_points_Hard[ 1 ], 120,140,160,180,200,220,240,260,280,300;
	setarray .hero_points_Hardcore[ 1 ], 150,180,210,240,270,300,330,360,390,420;
	setarray .hero_points_Nightmare[ 1 ], 200,250,300,350,400,450,500,550,600,700;

 

- Reset Rank shows in GM only

format for Ranking, "<player name>","<level of difficulty>","<total time of finishing the instance>"

Rank is weird here if the players can do the instance in party. Example : 4 players complete a round, they are all in top ranking -->> weird so I didn't put a rank

 

script:

http://pastebin.com/raw.php?i=N3x7cBG6

http://pastebin.com/raw.php?i=9cUxYghF

 

map:

client_side.rar

 

don't forget to update your mapcache.dat

 

EDIT: I forgot the function

 

Edited by Capuche
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Thank you so much. i'll post here if there are problems :3 god bless you my friend.



- each difficulty have given time to finish the instance

- for Normal: 30 minutes

- for Hard: 45 minutes

- for Nightmare: 60 minutes

- for Hardcore: 90 minutes

// time limit (sec) of the instance per level - Normal, Hard, Hardcore, Nightmare
	setarray .timelimit[ 1 ], 1800, 2700, 3600, 4500;

 

 

>- Maximum of 4 members in a party only. if the member exceeds the maximum, the npc will ignore the leader

	.max_players = 4;			// max players in the party

 

if a player have a party members, the number of monsters will increase
depends on the player(s) in a party. (example: if 4 players in a party,
for level 1 (normal) from 1 mob it will increase to 4

Done

 

- for every level, there are time limit given for the participant ( if
time runs out, automatically warp the player to its save point and stop
the instance )

// Time (min) / round / difficulty
	setarray .time_Normal[ 1 ], 1,2,3,4,5,6,7,8,9,10;
	setarray .time_Hard[ 1 ], 2,4,6,8,10,12,14,16,18,20;
	setarray .time_Hardcore[ 1 ], 3,6,9,12,15,18,21,24,27,30;
	setarray .time_Nightmare[ 1 ], 4,8,12,16,20,24,28,32,36,40;

 

- for each difficulty there are types of mobs ( custom mobs from my db )

- for Normal:

         - Level 1: 1 mob

         - Level 2: 2 mobs

// Number ( monsters / round / difficulty ) initialized
	setarray .mob_init_Normal[ 1 ], 1, 2, 3, 4, 5, 6, 7, 8, 9, 10;
	setarray .mob_init_Hard[ 1 ], 2, 3, 4, 5, 6, 7, 8, 9, 10, 12;
	setarray .mob_init_Hardcore[ 1 ], 3, 4, 5, 6, 7, 8, 9, 10, 11, 13;
	setarray .mob_init_Nightmare[ 1 ], 5, 6, 7, 8, 9, 10, 12, 14, 16, 20;

with mob ID / round / difficulty

// Mob ID / round
// Level : Normal
	setarray .mob_ID_Normal_round1[ 0 ], 1002,1005,1004;// poring, hornet, familiar
	setarray .mob_ID_Normal_round2[ 0 ], 1002,1005;
	setarray .mob_ID_Normal_round3[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round4[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round5[ 0 ], 1002,1005,1004,1005;
	setarray .mob_ID_Normal_round6[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round7[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round8[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round9[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Normal_round10[ 0 ], 1002,1005,1004;
// Level : Hard
	setarray .mob_ID_Hard_round1[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Hard_round2[ 0 ], 1002,1005,1004;
	setarray .mob_ID_Hard_round3[ 0 ], 1002,1005,1004;

 

 

for Normal:



         - Level 1: 100 Hero Points

         - Level 2: 110 Hero Points

         - Level 3: 120 Hero Points

         - Level 4: 130 Hero Points

         - Level 5: 140 Hero Points

         - Level 6: 150 Hero Points

         - Level 7: 160 Hero Points

         - Level 8: 170 Hero Points

         - Level 9: 180 Hero Points

         - Level 10: 200 Hero Points

for Hard:



         - Level 1: 120 Hero Points

// Hero ( points / round / difficulty ) - using #hero_points variable
	setarray .hero_points_Normal[ 1 ], 100,110,120,130,140,150,160,170,180,200;
	setarray .hero_points_Hard[ 1 ], 120,140,160,180,200,220,240,260,280,300;
	setarray .hero_points_Hardcore[ 1 ], 150,180,210,240,270,300,330,360,390,420;
	setarray .hero_points_Nightmare[ 1 ], 200,250,300,350,400,450,500,550,600,700;

 

- Reset Rank shows in GM only

format for Ranking, "<player name>","<level of difficulty>","<total time of finishing the instance>"

Rank is weird here if the players can do the instance in party. Example : 4 players complete a round, they are all in top ranking -->> weird so I didn't put a rank

 

script:

http://pastebin.com/raw.php?i=N3x7cBG6

http://pastebin.com/raw.php?i=9cUxYghF
 

map:

attachicon.gifclient_side.rar

 

don't forget to update your mapcache.dat

 

EDIT: I forgot the function
 

 

 

dude, i have problem on your script ( i think ), because when i try to access the map i get always gravity error but i already update my map_cache and put the map files on my grf

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Check if you forgot something

 

conf/maps_athena.conf

map: 1@guild

db/map_index.txt

1@guild

update your mapcache.dat (I hope you did well)

 

Client side

data/[email protected]

data/[email protected]

data/[email protected]

 

update your

data/resnametable.txt

 

If your client doesn't ignore missing file, update your resnametable.txt with

[email protected]#[email protected]#
[email protected]#[email protected]#
[email protected]#[email protected]#
À¯ÀúÀÎÅÍÆäÀ̽º\map\[email protected]#À¯ÀúÀÎÅÍÆäÀ̽º\map\[email protected]#

and add this bmp in data folder

texture.rar

 

 

 

 

 

EDIT: fix a typo the instance didn't end

http://pastebin.com/raw.php?i=JsbG3fJp


 

Edited by Capuche
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Thank you so much! working fine, how about adding 3 hours delay for reentering the instance?

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Thank you so much! working fine, how about adding 3 hours delay for reentering the instance?

You're welcome ;)

 

A delay for the player or his account ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

for the player, every 3 hours delay

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

for the player, every 3 hours delay

 

EDIT : I didn't make enough check

http://pastebin.com/raw.php?i=Tj3J2pjP

Edited by Capuche
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  647
  • Reputation:   16
  • Joined:  11/21/11
  • Last Seen:  

Thank you capuche! Lastly how to check repeating jobs? what i mean is, party cannot enter when there are 2 same jobs.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Thank you capuche! Lastly how to check repeating jobs? what i mean is, party cannot enter when there are 2 same jobs.

 

http://pastebin.com/raw.php?i=BnQ7c207

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

×
×
  • Create New...