Alayne

Quests, Games: Temple of Demon God

Recommended Posts

Temple of Demon God


Hello peoples,

I've been asked recently to create official instances that aren't release on rathena yet.

So here's my version of Temple of Demon God instance, based over infos took here and there, videos and divine-pride database.

In the rar, you'll find all you need, including Instance file, mob, item and quest db.

You'll still need up to date client (I personnaly use 20160201) to ensure the mobs are created client side.

Have fun.

Please, leave the credits and do not claim my work as yours.


 

  • Upvote 1
  • Love 1

Share this post


Link to post
Share on other sites

thank you so much.. been waiting for this. :D

Share this post


Link to post
Share on other sites

Hello,

I want to make bug report.

1. When Party leader generate the instance, only him warp into the instance.

2. After leader warp into instance, party member still at the tree. When they click the NPC, the NPC will only shows Cooling Down Message not options to enter the dungeon like usually do.
3. After in the room.. Sometime the warps appear and warp at the middle also appear (warp into Final boss), and when player who first time enter, they stuck in the map.

Hope you can fix it..

Thank you.

Share this post


Link to post
Share on other sites

@Alayne Aside from the bugs above, you also have a mistake in your mob_db.txt.
Nearly every Mob is missing two 00 in HP.

Examples:
Morroc Kid has 800k HP, but correct is 80m HP. (https://www.divine-pride.net/database/search?q=MM_MOROCC_KID)
Morroc Adult has 1,2m HP, but correct is 120m HP. (https://www.divine-pride.net/database/search?q=MM_MOROCC_ADT)
Muspelskoll has completely wrong HP value: 622944, correct would be 55,620,000 HP. (https://www.divine-pride.net/database/search?q=MM_MUSPELLSKOLL)

Here are the corrected entries:

3039,B_MOROCC_1,Fire Morroc Loyal Vessel,Fire Morroc Loyal Vessel,149,8000000,1,285500,164700,1,1901,2046,199,35,126,91,63,61,114,37,10,12,2,8,27,0x6203695,110,576,480,432,0,0,0,0,0,0,0,2111,10,7799,1000,7798,3000,985,160,7054,4850,2537,3,1541,20,0,0,0,0,0,0
3041,B_MOROCC_4,Cold Morroc Loyal Vessel,Cold Morroc Loyal Vessel,149,7700000,1,299000,202800,1,1235,1834,199,35,126,91,63,61,114,37,10,12,2,8,27,0x6203695,110,576,480,432,0,0,0,0,0,0,0,2111,10,7799,1000,7798,3000,985,160,7054,4850,2537,3,1541,20,0,0,0,0,0,0

3087,M_NYDHOG,Nyddhog,Nyddhog,160,215000,1,100,100,2,1835,2279,15,89,76,66,90,55,189,22,10,12,1,7,20,0x6203695,100,1500,500,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,
3088,MM_BRINARANEA_BABY,Brinarea Baby,Brinarea Baby,155,155600,1,0,100,1,2051,2267,80,200,16,26,30,115,79,5,10,12,2,0,20,0x6203695,100,1500,500,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,
3089,MM_LOCO_KASA,Loco Kasa,Loco Kasa,155,185000,1,0,0,1,3266,3932,30,30,88,44,88,21,95,44,10,12,2,6,47,0x6203695,300,1500,500,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,
3090,MM_LOCO_SALAMANDER,Loco Salamander,Loco Salamander,155,217650,1,0,0,1,2357,3428,121,36,60,103,45,35,172,15,10,12,2,6,47,0x6203695,500,1500,500,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,
3091,MM_BRINARANEA,Brinararea,Brinararea,165,81650000,1,0,0,3,8255,28452,264,177,135,135,12,72,220,91,10,12,2,6,61,0x6203295,500,1500,500,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,
3092,MM_MUSPELLSKOLL,Muspelskoll,Muspelskoll,165,55620000,1,0,0,3,9600,11970,211,170,202,119,6,45,275,71,10,12,2,6,63,0x6203295,500,1500,500,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,
3093,MM_BRINARANEA_CORE,Brinararea Core,Brinararea Core,160,300,1,0,0,0,1,2,1,1,1,1,1,1,1,1,0,0,2,6,21,0x0,500,1500,500,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,
3094,MM_MUSPELLSKOLL_CORE,Muspelskoll Core,Muspelskoll Core,160,300,1,0,0,0,1,2,1,1,1,1,1,1,1,1,0,0,2,6,23,0x0,500,1500,500,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,
3095,MM_GOD_SHADOW,God Shadow,God Shadow,1,100000000,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,2,6,23,0x6203885,500,1500,500,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,
3096,MM_MOROCC_KID,Morocc Kid,Morocc Kid,175,80000000,1,0,0,3,4249,6241,158,134,90,122,7,87,287,36,10,12,1,6,66,0x6203885,500,1500,500,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,
3097,MM_MOROCC_ADT,Morocc Adult,Morocc Adult,175,120000000,1,0,0,3,4715,6924,203,155,122,103,12,106,269,51,10,12,1,0,63,0x6203885,500,1500,500,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,
3098,MM_MOROCC_ORIGIN,Morocc Origin,Morocc Origin,160,3258000,1,0,0,3,6177,6217,351,212,195,35,5,36,355,7,10,12,2,6,87,0x6203885,500,1500,500,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,
3099,MM_MOROCC_REST,Morocc Origin,Morocc Origin,160,1450000,1,0,0,3,2963,3030,112,98,110,98,13,48,271,9,10,12,2,6,87,0x6203885,500,1500,500,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,

You also have the level range 145-175, but its minimum level is 160:

OnInit:
	setarray .base_level[0],160, 175;

You also have set the wrong quest id's in Abidal > 52501:

OnInit:
	set .questId, 62501;
	end;

and Commander Hiva Agip > 52500:

OnInit:
	set .questId, 62501;
	end;

Reason:
Your quest_db.txt:

62500,0,3097,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Defeat Morocc"
62501,0,3091,1,3092,1,0,0,0,0,0,0,0,0,0,0,0,"Aweakens Morocc"

As for the Bugs:
@rakuzas
1. The first problem was of an missing "break;" after instance creation, so it warped the leader instantly.

			//disable unused npcs for now
			disablenpc instance_npcname( "tdgWarp#1", instance_id() );
			disablenpc instance_npcname( "tdgWarp#2", instance_id() );
			disablenpc instance_npcname( "tdgWarp#3", instance_id() );
			disablenpc instance_npcname( "tdgWarp#4", instance_id() );
			disablenpc instance_npcname( "tdgWarp#5", instance_id() );
 		}
		break;

The 2nd problem was the check for the delay:

	if( [email protected]_delay > 0 )
		{
			mes "You have to wait : ^FF0000"[email protected]_delay+" Seconds.^000000";
			close;
		}

which should be moved after "case 1:":

set [email protected]$, "[Yggdrasil Lookalike]";
	mes [email protected]$;
	mes "You touched the tree and felt a strange flow of mana.";
	mes "Perhaps the flow of mana will guide to the depth of the temple.";
	next;
	switch( select( 
		(( [email protected]_id && [email protected]_leader && [email protected]_instance )?"Create " + .instance_name$:""),
		(( [email protected]_id && [email protected]_instance )?"Enter " + .instance_name$:""),
		(( [email protected]_id && [email protected]_leader && [email protected]_instance )?"Destroy " + .instance_name$:""),
	"Nevermind."
		)){
	case 1:
		if( [email protected]_delay > 0 )
		{
			mes "You have to wait : ^FF0000"[email protected]_delay+" Seconds.^000000";
			close;
		}

2. I only encountered the problem that every warp is enabled, after I @reloadscript.
But to counter that, you could move these:

//disable unused npcs for now
disablenpc instance_npcname( "tdgWarp#1", instance_id() );
disablenpc instance_npcname( "tdgWarp#2", instance_id() );
disablenpc instance_npcname( "tdgWarp#3", instance_id() );
disablenpc instance_npcname( "tdgWarp#4", instance_id() );
disablenpc instance_npcname( "tdgWarp#5", instance_id() );

after "OnInstanceInit":

OnInstanceInit:
	set [email protected]$, strnpcinfo(4);
	//disable unused npcs for now
	disablenpc instance_npcname( "tdgWarp#1", instance_id() );
	disablenpc instance_npcname( "tdgWarp#2", instance_id() );
	disablenpc instance_npcname( "tdgWarp#3", instance_id() );
	disablenpc instance_npcname( "tdgWarp#4", instance_id() );
	disablenpc instance_npcname( "tdgWarp#5", instance_id() );

OnInstanceInit will also trigger when @reloadscript is used.

Now for the lazy ones:
TempleOfDemonGod_RA.txt

Best Regards,
Chris

Edited by llchrisll
Forgot to mentioned the correct required level range
  • Like 2

Share this post


Link to post
Share on other sites

image.png.46659ccef3460755db7a80f34d16adb3.png

the first stage mobs are spawning continuously even after defeating the first two

Share this post


Link to post
Share on other sites
On 3.4.2018 at 12:51 AM, iubantot said:

image.png.46659ccef3460755db7a80f34d16adb3.png

the first stage mobs are spawning continuously even after defeating the first two

Hmm I'm wondering why I didn't fiddle with the spawns tho.
Only moved the warp disables into the OnInstanceInit.

Gonna check it.

Edit: Okay, I updated now a bit more than I intended to:
But after removing the "Instance_id()" in where it is not neccessary, the problem above didn't appear in any of my 3 test runs anymore.

Removed instance_id() parameter in most commands, not needed
Added missing EXP Rewards at Nydhogg based on iRo Wiki
Added getitem reward to the Quest NPCs
Added custom function (IGF_SquadPrize) for Expedition Price Box (22567)

Note: These changes are all done by me, but not approved by Alayne yet. I will make an GitHub Issue Report soon.
I also post here again the mob_db entries as file, I also updated the Hercules entries if someone is interested :) :

mob_db.txt
item_db.txt
TempleOfDemonGod_RA.txt

Regards,
Chris

Edited by llchrisll
  • Upvote 1
  • MVP 1

Share this post


Link to post
Share on other sites

can you guys provide the Title, Summary, Description of this instance it is located in the client folder file name is OngoingQuestInfoList_Sakray

edit: when I join the instance mobs won't stop respawning.

Edited by redkiller

Share this post


Link to post
Share on other sites

Not sure about that file, never worked with it.

About the spawns I'm not sure why it works for me, but not for you guys when I tested it 3 times in a row.

Regards,

Chris 

Share this post


Link to post
Share on other sites

if you killed the last monster ( MVP ) inside the instance you will not get any rewards?

Share this post


Link to post
Share on other sites
Posted (edited)

QQ图片20190828210205.png

 

Edited by Surefirer

Share this post


Link to post
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.

Loading...