Jump to content

Wave Mode Sky Instance - Mostly working implementation


Recommended Posts


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  6
  • Reputation:   25
  • Joined:  11/16/16
  • Last Seen:  

The other day I released a 100% functional version of the official Wave Mode Forest instance, now I'm releasing a 75% working version of the official Wave Mode Sky instance. This one took a lot more work to get to this point and I wanna start working on something else so I'm releasing it in an almost done state. In Wave Mode Sky you battle against invaders that spawn in waves who try to get to the bottom of the stairs. If 20 of them get to the bottom of the stairs you lose, and every 5 waves you're rewarded with treasures spawning in random locations. The invaders will mostly opt to attack you but sometimes they lose interest and try to head for the finish line instead. This release also includes an update to the previous wave mode forest instance that I released a couple of days ago, it fixes a potential exploit and should not be able to be abused now assuming that no more than a full party can enter the instance.

The issues(things that aren't working as they should):

1) There's a simple if statement pathfinding system that forces the monsters to walk towards the closest dummy NPCs which will direct them towards the finish line. The problem is that in some cells the pathfinding sends them to the wrong dummy NPC which is usually too far away so they will simply stop moving and just freeze there if there are no players around. This can be fixed, it just takes some finetuning of the current system or a complete rewrite to a smarter pathfinding system

2) There are supposed to be mercenaries helping you in this wave mode. I've implemented this, but the problem is that when the mercenaries die the wave monsters seem to just stop moving at all if there are no players around completely breaking the game. So I've disabled this but the code is available in the script if you'd like to uncomment it and mess around with it.

Just like the wave mode forest version it will need a small source patch to make it work properly. A variable is implemented that can tell if monsters are attacking or not and force them to not attack if they are attacking using getunitdata and setunitdata.

I will get back to this and try to get it properly working but I'm shelfing it for now so I can work on other projects(BQ queue system for example). Anyways here it is:

Put this in your mob_db.txt:

2401,G_PORING,Poring,Poring,1,60,1,0,0,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0x4200061,400,1872,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[...]
2569,G_ANOPHELES,Anopheles,Anopheles,95,7238,1,0,0,1,242,260,7,10,64,60,42,58,88,42,10,12,0,4,64,0x4200061,170,1084,2304,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2570,G_BREEZE,Breeze,Breeze,92,6755,1,0,0,2,379,431,83,32,75,101,46,35,66,55,10,12,1,0,64,0x4200061,100,140,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2571,G_BUTOIJO,Butoijo,Butoijo,88,7524,0,0,0,1,358,460,77,12,50,65,30,30,106,44,10,12,2,6,43,0x4200061,200,1100,483,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2572,G_CARAMEL,Caramel,Caramel,25,518,1,0,0,1,67,76,39,0,19,10,15,10,32,5,10,12,0,2,22,0x4200061,200,1604,840,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2573,G_CHONCHON,Chonchon,Chonchon,5,57,1,0,0,1,11,14,27,0,13,4,4,0,8,5,10,12,0,4,24,0x4200061,200,1076,576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2574,G_CIVIL_SERVANT,Civil Servant,Mao Guai,89,5292,1,0,0,2,276,337,90,56,67,76,40,65,62,30,10,12,1,2,44,0x4200061,200,1257,528,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2575,G_COCO,Coco,Coco,38,836,1,0,0,1,71,82,37,0,22,13,30,20,38,10,10,12,0,2,22,0x4200061,150,1864,864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2576,G_CREAMY,Creamy,Creamy,23,378,1,0,0,1,61,62,28,20,16,1,1,0,1,20,10,12,0,4,24,0x4200061,150,1136,720,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2577,G_FABRE,Fabre,Fabre,6,72,1,0,0,1,12,15,24,0,12,5,5,5,12,5,10,12,0,4,22,0x4200061,400,1672,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2578,G_HORN,Horn,Horn,32,705,1,0,0,1,64,75,52,8,10,12,36,25,21,35,10,12,1,4,22,0x4200061,200,1528,528,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2579,G_HYLOZOIST,Heirozoist,Hylozoist,102,12000,1,0,0,1,268,349,101,68,97,67,72,88,69,60,10,12,0,6,47,0x4200061,155,741,1536,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2580,G_KAHO,Kaho,Kaho,98,7045,1,0,0,1,504,728,106,55,81,61,55,65,66,73,10,12,1,6,83,0x4200061,150,1700,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2581,G_LUDE,Lude,Lude,101,11574,1,0,0,2,218,296,90,53,97,38,55,82,69,55,10,12,0,1,29,0x4200061,150,890,960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2582,G_LUNATIC,Lunatic,Lunatic,3,55,1,0,0,1,11,12,18,0,10,3,3,0,8,5,10,12,0,2,60,0x4200061,200,1456,456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2583,G_MARTIN,Martin,Martin,39,1056,1,0,0,1,70,88,58,19,25,29,28,15,30,10,10,12,0,2,42,0x4200061,300,1480,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2584,G_MINERAL,Mineral,Mineral,96,8300,1,0,0,1,578,635,127,23,70,61,40,50,62,50,10,12,0,0,40,0x4200061,250,648,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2585,G_MOLE,Mole,Holden,85,6228,1,0,0,9,260,309,82,16,53,65,31,30,48,31,10,12,0,2,42,0x4200061,300,1400,960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2586,G_NERAID,Neraid,Nereid,98,9550,1,0,0,1,196,267,100,37,97,45,60,30,69,50,10,12,0,2,22,0x4200061,200,776,576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2587,G_OBSIDIAN,Obsidian,Obsidian,97,10088,1,0,0,1,590,670,129,37,84,38,40,60,53,50,10,12,0,0,42,0x4200061,350,720,864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2588,G_PITMAN,Pitman,Pitman,90,7208,1,0,0,1,182,242,104,48,78,56,45,35,50,30,10,12,2,1,42,0x4200061,180,960,336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2589,G_POPORING,Poporing,Poporing,30,524,1,0,0,1,74,94,36,17,17,26,20,18,36,5,10,12,1,3,25,0x4200061,300,1672,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2590,G_ROCKER,Rocker,Rocker,15,185,1,0,0,1,19,24,16,3,12,18,8,10,17,5,10,12,1,4,22,0x4200061,200,1864,864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2591,G_SAVAGE,Savage,Savage,59,2301,1,0,0,1,172,195,126,3,56,21,54,10,47,15,10,12,2,2,42,0x4200061,150,1960,960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2592,G_SIORAVA,Siorava,Siorava,87,6500,1,0,0,1,450,660,20,40,10,40,66,70,67,10,10,12,0,0,21,0x4200061,250,1536,1296,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2593,G_SIROMA,Siroma,Siroma,98,11910,1,0,0,1,389,489,64,38,83,43,50,70,80,60,10,12,0,0,61,0x4200061,180,432,648,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2594,G_SNOWIER,Snowier,Snowier,103,13934,1,0,0,2,510,592,121,47,91,61,67,45,61,55,10,12,2,0,41,0x4200061,220,936,1020,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2595,G_STAINER,Stainer,Stainer,21,365,1,0,0,1,65,74,22,25,10,10,24,0,39,15,10,12,0,4,24,0x4200061,200,1688,1188,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2596,G_STAPO,Stapo,Stapo,95,8805,1,0,0,1,364,415,129,36,20,46,25,35,53,30,10,12,0,0,42,0x4200061,300,936,792,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2597,G_STEEL_CHONCHON,Steel Chonchon,Steel Chonchon,48,1199,1,0,0,1,77,112,57,20,30,62,20,10,56,10,10,12,0,4,24,0x4200061,150,1076,576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2598,G_UNGOLIANT,Ungoliant,Ungoliant,94,17070,1,0,0,1,689,733,108,28,71,70,58,43,92,38,10,12,2,4,45,0x4200061,350,420,576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2599,G_WILD_RIDER,Wild Rider,Wild Rider,95,33300,0,0,0,1,1320,1848,480,22,100,100,30,70,100,30,10,12,2,5,41,0x4200061,150,432,432,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2600,G_WOLF,Wolf,Wolf,45,1219,1,0,0,1,80,91,55,3,27,24,30,15,33,5,10,12,1,2,22,0x4200061,200,1054,504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2601,G_YOYO,Yoyo,Yoyo,38,898,1,0,0,1,63,74,40,0,20,11,34,20,19,10,10,12,0,2,22,0x4200061,200,1054,54,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2602,G_ZIPPER_BEAR,Zipper Bear,Zipper Bear,90,6620,1,0,0,1,410,467,130,40,68,51,50,35,58,20,10,12,1,2,27,0x4200061,155,780,1008,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[...]
3075,WA_TREASURE,Treasure Chest,Treasure Chest,80,0,0,0,0,0,0,0,0,0,0,0,0,0,999,0,0,0,0,0,20,0x6200000,0,0,0,0,0,0,0,0,0,0,0,12081,3000,12086,3000,12076,3000,12091,3000,607,1000,0,0,0,0,0,0,0,0,0,0
3076,WA_MONSTER_1,ANGELING,Angeling,Angeling,77,19800,1,0,0,1,355,500,72,238,58,50,33,105,67,200,10,12,1,8,86,0x6203695,200,1072,672,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3077,WA_MONSTER_2,Deviling,Deviling,66,16890,1,0,0,1,298,481,67,70,48,50,33,75,77,200,10,12,1,6,87,0x6203695,200,1072,1056,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3078,WA_MONSTER_3,Fake Angel,False Angel,105,10988,1,0,0,2,505,640,106,84,112,67,43,81,68,80,10,12,0,8,66,0x3885,160,920,720,336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3079,WA_MONSTER_4,Cornus,Cornus,120,20722,1,0,0,2,288,810,66,95,51,47,59,99,93,77,10,12,1,2,66,0x1089,120,1000,624,300,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3080,WA_MONSTER_5,Solace,Lady Solace,123,24729,1,0,0,2,667,832,96,96,106,65,61,42,82,72,10,12,1,8,66,0x6203295,180,576,420,360,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3081,WA_MONSTER_6,Shelter,Mistress of Shelter,125,27000,1,0,0,2,691,935,80,89,99,66,41,103,95,89,10,12,1,8,66,0x6203295,160,432,420,360,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3082,WA_MONSTER_7,Skeggiold,Skeggiold,131,53290,1,0,0,1,733,1058,85,92,91,89,65,118,98,75,10,12,0,8,46,0x6203885,200,672,780,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3083,WA_MONSTER_8,Skeggiold,Skeggiold,131,52280,1,0,0,1,767,985,80,86,91,86,67,116,102,71,10,12,0,8,46,0x6203885,200,672,780,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3084,WA_MONSTER_9,Rudo,Rudo,135,501489,1,0,0,1,1401,2902,196,96,106,65,61,42,125,72,10,12,0,8,66,0x2003695,120,1576,504,360,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3085,WA_MONSTER_10,Incarnation of Morroc,Incarnation of Morroc,132,63900,1,0,0,1,1267,1412,199,35,126,91,63,61,76,37,10,12,2,8,27,0x6203695,110,576,480,432,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3086,WA_MERCENARY,Mercenary,Mercenary,101,20099,1,0,0,1,557,775,66,36,20,46,25,35,64,30,10,12,1,7,20,0x3795,200,672,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

And this in your instance_db.txt:

<Unused ID>,Wave Mode Forest,3600,300,1@def01,43,76
<Unused ID>,Wave Mode Sky,3600,300,1@def02,29,35

Just be aware of the fact that Sky Wave Mode could be exploited if you add too good rewards to it. This is more of a proof of concept and a 75% finished job rather than a complete version.

Edit: The .diff was missing some code, should be fixed now... Hopefully.

WaveMode.txt

 

script.diff

Edited by MasterOfMuppets
  • Upvote 6
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   1
  • Joined:  12/12/16
  • Last Seen:  

 

Friend your solution apparently was not compatible with the emulator I am using or there is an error in your code since the value that comes with the "script_getnum (st, 2)" can not be considered integer so delete the statement as integer and Place directly inside the if (), "+ if (script_getnum (st, 2));" I am not an expert with the emulator but based on the error that happened to me that was the solution ..... this modification is between the line 28 and 29 inside the script.diff that you posted

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

3 hours ago, Tanner said:

 

Friend your solution apparently was not compatible with the emulator I am using or there is an error in your code since the value that comes with the "script_getnum (st, 2)" can not be considered integer so delete the statement as integer and Place directly inside the if (), "+ if (script_getnum (st, 2));" I am not an expert with the emulator but based on the error that happened to me that was the solution ..... this modification is between the line 28 and 29 inside the script.diff that you posted

What emulator are yoy using and what git hash?

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   9
  • Joined:  03/07/13
  • Last Seen:  

Getting alot of errors.
Building_setunitdata Unit with ID '......' is not found.

Any idea?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  10/18/13
  • Last Seen:  

Spoiler
Spoiler

 

 

 

123.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  122
  • Reputation:   17
  • Joined:  12/10/12
  • Last Seen:  

1 hour ago, LOVE0825 said:
  Reveal hidden contents
  Reveal hidden contents

 

 

 

123.png

Do you install the 'Script.diff' attached in the first post?.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  10/18/13
  • Last Seen:  

13 hours ago, fictionx said:

您是否在第一篇文章中安裝了“Script.diff”?

Thank you^^

Link to comment
Share on other sites

  • 9 months later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  40
  • Reputation:   7
  • Joined:  12/30/11
  • Last Seen:  

On 10/12/2016 at 3:53 PM, MasterOfMuppets said:

The other day I released a 100% functional version of the official Wave Mode Forest instance, now I'm releasing a 75% working version of the official Wave Mode Sky instance. This one took a lot more work to get to this point and I wanna start working on something else so I'm releasing it in an almost done state. In Wave Mode Sky you battle against invaders that spawn in waves who try to get to the bottom of the stairs. If 20 of them get to the bottom of the stairs you lose, and every 5 waves you're rewarded with treasures spawning in random locations. The invaders will mostly opt to attack you but sometimes they lose interest and try to head for the finish line instead. This release also includes an update to the previous wave mode forest instance that I released a couple of days ago, it fixes a potential exploit and should not be able to be abused now assuming that no more than a full party can enter the instance.

The issues(things that aren't working as they should):

1) There's a simple if statement pathfinding system that forces the monsters to walk towards the closest dummy NPCs which will direct them towards the finish line. The problem is that in some cells the pathfinding sends them to the wrong dummy NPC which is usually too far away so they will simply stop moving and just freeze there if there are no players around. This can be fixed, it just takes some finetuning of the current system or a complete rewrite to a smarter pathfinding system

2) There are supposed to be mercenaries helping you in this wave mode. I've implemented this, but the problem is that when the mercenaries die the wave monsters seem to just stop moving at all if there are no players around completely breaking the game. So I've disabled this but the code is available in the script if you'd like to uncomment it and mess around with it.

Just like the wave mode forest version it will need a small source patch to make it work properly. A variable is implemented that can tell if monsters are attacking or not and force them to not attack if they are attacking using getunitdata and setunitdata.

I will get back to this and try to get it properly working but I'm shelfing it for now so I can work on other projects(BQ queue system for example). Anyways here it is:

Put this in your mob_db.txt:


2401,G_PORING,Poring,Poring,1,60,1,0,0,1,8,9,2,5,6,1,1,0,6,5,10,12,1,3,21,0x4200061,400,1872,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[...]
2569,G_ANOPHELES,Anopheles,Anopheles,95,7238,1,0,0,1,242,260,7,10,64,60,42,58,88,42,10,12,0,4,64,0x4200061,170,1084,2304,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2570,G_BREEZE,Breeze,Breeze,92,6755,1,0,0,2,379,431,83,32,75,101,46,35,66,55,10,12,1,0,64,0x4200061,100,140,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2571,G_BUTOIJO,Butoijo,Butoijo,88,7524,0,0,0,1,358,460,77,12,50,65,30,30,106,44,10,12,2,6,43,0x4200061,200,1100,483,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2572,G_CARAMEL,Caramel,Caramel,25,518,1,0,0,1,67,76,39,0,19,10,15,10,32,5,10,12,0,2,22,0x4200061,200,1604,840,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2573,G_CHONCHON,Chonchon,Chonchon,5,57,1,0,0,1,11,14,27,0,13,4,4,0,8,5,10,12,0,4,24,0x4200061,200,1076,576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2574,G_CIVIL_SERVANT,Civil Servant,Mao Guai,89,5292,1,0,0,2,276,337,90,56,67,76,40,65,62,30,10,12,1,2,44,0x4200061,200,1257,528,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2575,G_COCO,Coco,Coco,38,836,1,0,0,1,71,82,37,0,22,13,30,20,38,10,10,12,0,2,22,0x4200061,150,1864,864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2576,G_CREAMY,Creamy,Creamy,23,378,1,0,0,1,61,62,28,20,16,1,1,0,1,20,10,12,0,4,24,0x4200061,150,1136,720,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2577,G_FABRE,Fabre,Fabre,6,72,1,0,0,1,12,15,24,0,12,5,5,5,12,5,10,12,0,4,22,0x4200061,400,1672,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2578,G_HORN,Horn,Horn,32,705,1,0,0,1,64,75,52,8,10,12,36,25,21,35,10,12,1,4,22,0x4200061,200,1528,528,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2579,G_HYLOZOIST,Heirozoist,Hylozoist,102,12000,1,0,0,1,268,349,101,68,97,67,72,88,69,60,10,12,0,6,47,0x4200061,155,741,1536,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2580,G_KAHO,Kaho,Kaho,98,7045,1,0,0,1,504,728,106,55,81,61,55,65,66,73,10,12,1,6,83,0x4200061,150,1700,1000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2581,G_LUDE,Lude,Lude,101,11574,1,0,0,2,218,296,90,53,97,38,55,82,69,55,10,12,0,1,29,0x4200061,150,890,960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2582,G_LUNATIC,Lunatic,Lunatic,3,55,1,0,0,1,11,12,18,0,10,3,3,0,8,5,10,12,0,2,60,0x4200061,200,1456,456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2583,G_MARTIN,Martin,Martin,39,1056,1,0,0,1,70,88,58,19,25,29,28,15,30,10,10,12,0,2,42,0x4200061,300,1480,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2584,G_MINERAL,Mineral,Mineral,96,8300,1,0,0,1,578,635,127,23,70,61,40,50,62,50,10,12,0,0,40,0x4200061,250,648,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2585,G_MOLE,Mole,Holden,85,6228,1,0,0,9,260,309,82,16,53,65,31,30,48,31,10,12,0,2,42,0x4200061,300,1400,960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2586,G_NERAID,Neraid,Nereid,98,9550,1,0,0,1,196,267,100,37,97,45,60,30,69,50,10,12,0,2,22,0x4200061,200,776,576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2587,G_OBSIDIAN,Obsidian,Obsidian,97,10088,1,0,0,1,590,670,129,37,84,38,40,60,53,50,10,12,0,0,42,0x4200061,350,720,864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2588,G_PITMAN,Pitman,Pitman,90,7208,1,0,0,1,182,242,104,48,78,56,45,35,50,30,10,12,2,1,42,0x4200061,180,960,336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2589,G_POPORING,Poporing,Poporing,30,524,1,0,0,1,74,94,36,17,17,26,20,18,36,5,10,12,1,3,25,0x4200061,300,1672,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2590,G_ROCKER,Rocker,Rocker,15,185,1,0,0,1,19,24,16,3,12,18,8,10,17,5,10,12,1,4,22,0x4200061,200,1864,864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2591,G_SAVAGE,Savage,Savage,59,2301,1,0,0,1,172,195,126,3,56,21,54,10,47,15,10,12,2,2,42,0x4200061,150,1960,960,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2592,G_SIORAVA,Siorava,Siorava,87,6500,1,0,0,1,450,660,20,40,10,40,66,70,67,10,10,12,0,0,21,0x4200061,250,1536,1296,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2593,G_SIROMA,Siroma,Siroma,98,11910,1,0,0,1,389,489,64,38,83,43,50,70,80,60,10,12,0,0,61,0x4200061,180,432,648,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2594,G_SNOWIER,Snowier,Snowier,103,13934,1,0,0,2,510,592,121,47,91,61,67,45,61,55,10,12,2,0,41,0x4200061,220,936,1020,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2595,G_STAINER,Stainer,Stainer,21,365,1,0,0,1,65,74,22,25,10,10,24,0,39,15,10,12,0,4,24,0x4200061,200,1688,1188,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2596,G_STAPO,Stapo,Stapo,95,8805,1,0,0,1,364,415,129,36,20,46,25,35,53,30,10,12,0,0,42,0x4200061,300,936,792,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2597,G_STEEL_CHONCHON,Steel Chonchon,Steel Chonchon,48,1199,1,0,0,1,77,112,57,20,30,62,20,10,56,10,10,12,0,4,24,0x4200061,150,1076,576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2598,G_UNGOLIANT,Ungoliant,Ungoliant,94,17070,1,0,0,1,689,733,108,28,71,70,58,43,92,38,10,12,2,4,45,0x4200061,350,420,576,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2599,G_WILD_RIDER,Wild Rider,Wild Rider,95,33300,0,0,0,1,1320,1848,480,22,100,100,30,70,100,30,10,12,2,5,41,0x4200061,150,432,432,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2600,G_WOLF,Wolf,Wolf,45,1219,1,0,0,1,80,91,55,3,27,24,30,15,33,5,10,12,1,2,22,0x4200061,200,1054,504,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2601,G_YOYO,Yoyo,Yoyo,38,898,1,0,0,1,63,74,40,0,20,11,34,20,19,10,10,12,0,2,22,0x4200061,200,1054,54,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
2602,G_ZIPPER_BEAR,Zipper Bear,Zipper Bear,90,6620,1,0,0,1,410,467,130,40,68,51,50,35,58,20,10,12,1,2,27,0x4200061,155,780,1008,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[...]
3075,WA_TREASURE,Treasure Chest,Treasure Chest,80,0,0,0,0,0,0,0,0,0,0,0,0,0,999,0,0,0,0,0,20,0x6200000,0,0,0,0,0,0,0,0,0,0,0,12081,3000,12086,3000,12076,3000,12091,3000,607,1000,0,0,0,0,0,0,0,0,0,0
3076,WA_MONSTER_1,ANGELING,Angeling,Angeling,77,19800,1,0,0,1,355,500,72,238,58,50,33,105,67,200,10,12,1,8,86,0x6203695,200,1072,672,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3077,WA_MONSTER_2,Deviling,Deviling,66,16890,1,0,0,1,298,481,67,70,48,50,33,75,77,200,10,12,1,6,87,0x6203695,200,1072,1056,384,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3078,WA_MONSTER_3,Fake Angel,False Angel,105,10988,1,0,0,2,505,640,106,84,112,67,43,81,68,80,10,12,0,8,66,0x3885,160,920,720,336,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3079,WA_MONSTER_4,Cornus,Cornus,120,20722,1,0,0,2,288,810,66,95,51,47,59,99,93,77,10,12,1,2,66,0x1089,120,1000,624,300,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3080,WA_MONSTER_5,Solace,Lady Solace,123,24729,1,0,0,2,667,832,96,96,106,65,61,42,82,72,10,12,1,8,66,0x6203295,180,576,420,360,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3081,WA_MONSTER_6,Shelter,Mistress of Shelter,125,27000,1,0,0,2,691,935,80,89,99,66,41,103,95,89,10,12,1,8,66,0x6203295,160,432,420,360,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3082,WA_MONSTER_7,Skeggiold,Skeggiold,131,53290,1,0,0,1,733,1058,85,92,91,89,65,118,98,75,10,12,0,8,46,0x6203885,200,672,780,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3083,WA_MONSTER_8,Skeggiold,Skeggiold,131,52280,1,0,0,1,767,985,80,86,91,86,67,116,102,71,10,12,0,8,46,0x6203885,200,672,780,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3084,WA_MONSTER_9,Rudo,Rudo,135,501489,1,0,0,1,1401,2902,196,96,106,65,61,42,125,72,10,12,0,8,66,0x2003695,120,1576,504,360,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3085,WA_MONSTER_10,Incarnation of Morroc,Incarnation of Morroc,132,63900,1,0,0,1,1267,1412,199,35,126,91,63,61,76,37,10,12,2,8,27,0x6203695,110,576,480,432,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
3086,WA_MERCENARY,Mercenary,Mercenary,101,20099,1,0,0,1,557,775,66,36,20,46,25,35,64,30,10,12,1,7,20,0x3795,200,672,672,480,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

And this in your instance_db.txt:


<Unused ID>,Wave Mode Forest,3600,300,1@def01,43,76
<Unused ID>,Wave Mode Sky,3600,300,1@def02,29,35

Just be aware of the fact that Sky Wave Mode could be exploited if you add too good rewards to it. This is more of a proof of concept and a 75% finished job rather than a complete version.

Edit: The .diff was missing some code, should be fixed now... Hopefully.

WaveMode.txt

 

script.diff

3076,WA_MONSTER_1,ANGELING,Angeling,Angeling,77,19800,1,0,0,1,355,500,72,238,58,50,33,105,67,200,10,12,1,8,86,0x6203695,200,1072,672,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

For:

3076,WA_MONSTER_1,ANGELING,Angeling,77,19800,1,0,0,1,355,500,72,238,58,50,33,105,67,200,10,12,1,8,86,0x6203695,200,1072,672,672,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  197
  • Topics Per Day:  0.08
  • Content Count:  883
  • Reputation:   28
  • Joined:  02/13/17
  • Last Seen:  

@MasterOfMuppets can you please update this working on latest rathena? thank you so much

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
Reply to this topic...

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