Jump to content
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
Link to comment
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.

Link to comment
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 3
Link to comment
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
  • Like 1
Link to comment
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
Link to comment
Share on other sites

On 4/9/2018 at 10:25 AM, llchrisll said:

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 11.58 kB · 77 downloads
item_db.txt 649 B · 75 downloads
TempleOfDemonGod_RA.txt 31.75 kB · 112 downloads

Regards,
Chris

Do you have it updated to the latest version of rA?

  • Upvote 1
Link to comment
Share on other sites

This is Damm messed Up....

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

CONFIRMED!!!!! MY USERS SEND ME THIS SCREENSHOT WITH THE ISSUE!

Temple.thumb.png.2faf41a721477540aa04a45ab36942db.png

 

 

FIRST:
- The first two announcements are not displayed when entering the map! I suspect those are trigered just after generating the instance and not when the party leader put a foot in that map! 


instance_id(), "[Temple of Demon God] Eliminate the Demon God's Apostles, Ahat and Shnaim.",bc_map,0x00ff99;
sleep 1500;
instance_announce instance_id(), "[Temple of Demon God] Then collect their Souls. Those are the key to open the Temple.",bc_map,0x00ff99;

From this part!:

OnInstanceInit:
	set [email protected]$, strnpcinfo(4);
	//disable unused npcs for now
	disablenpc instance_npcname( "tdgWarp#1" );
	disablenpc instance_npcname( "tdgWarp#2" );
	disablenpc instance_npcname( "tdgWarp#3" );
	disablenpc instance_npcname( "tdgWarp#4" );
	disablenpc instance_npcname( "tdgWarp#5" );
	
	set 'instance_tdg_level, 0;
	set .max_tdg_level, 6;
	
	set .moroccId, -1;
	
	instance_announce instance_id(), "[Temple of Demon God] Eliminate the Demon God's Apostles, Ahat and Shnaim.",bc_map,0x00ff99;
	sleep 1500;
	instance_announce instance_id(), "[Temple of Demon God] Then collect their Souls. Those are the key to open the Temple.",bc_map,0x00ff99;

Any Idea how to send those broadcast once Inside the map? and Not once the instance init? Because those are sent before the party arrives the instance map, causing players to lose instructions on what to do

Maybe is In wrong Order, because I made a @reloadscript while in instance  and then it shows the messages, and that is because I was in the map, But when I enter from a diferent map those messages are not even displayed in my regular chat display box. 

SECOND:    Where is AHAT?

He/She/It Should appear,to challenge the party to desist from continuing the incursion to the temple, then Hide himself, and then goes the Apostoles spawns... but because of the first point.. everything happens before the people arrive into the map.

Also give this quest to the leader, and this quest should be removed if the instance is destroyed:

    [7596] = {
        Title = "Qualifications of the Guests",
        Description = {
            "To enter the Temple of the Demon God, you need a key. Defeat Gatekeeper Ahat and Shnayim, and use their souls to open the temple entrance."
        },
        Summary = "1 Ahat's Soul, 1 Shnayim's Soul"
    },

ukjh.thumb.png.d599e8806988d0a994227a0161c4f535.png

THIRD:    Where are the Effects?
The Soul Globe should spawn this effect continously when the two apostoles are defeated,
EF_SPHERE;
and turn the effect off once the temple door is opened, Also once the door Is opened for the instance duration, This menu should be skipped and not showed again and again and again every time it triggers the ontouch label.

Also the leader can be able to open it's dialog by clicking on it, and not only Triggering it  on touch.
ukjh.png.b0c2178b399d147e69890ff9e3f0783a.png

Where is the Warp Portal effect to the center of this map? 
It says the Door was opened... But Bro! AT LEAST Display a warp portal effect, so the players will know that they should step there, and not guessing or loosing time  wandering around whitout knowing.

ukjh.thumb.png.3857a47adb9bded62e814e14739f61be.png

FOURTH:  THE QUEST'S
Abidal sprite is 4_M_SAGE_C    or    ID 755

Since there's no quest cooldown, a new one can be taken imediately after being completed.!

Making this dialog in script useless:

	else
	{
		mes "Now that we've taken care of the main body, we can take things slow.";
		mes "Why don't you go rest for now? Leave the rest to us.";
	}
	cutin "", 255;
	close;

The correct way is to give a new quest for the cooldown, to make use of that dialoge. Once passed the time, the player can take again the hunting quest.

Also the original quest id's are those and already exist in client luafiles and emulator yml files:

  - Id: 7594
    Title: Frost Spider and Fire Wolf
    Targets:
      - Mob: MM_BRINARANEA
        Count: 1
      - Mob: MM_MUSPELLSKOLL
        Count: 1
  - Id: 7597
    Title: Fall of the False God
 

Ongoinquestinfolist.lub:
 

	[7597] = {
		Title = "Fall of the False God",
		Description = {
			"You defeated Demon God Morocc, who wanted to create a new world and play God. Report to Commander Hiva Agip."
		},
		Summary = "Report to the Commander",
		NpcSpr = "4_M_REDSWORD",
		NpcNavi = "moro_vol",
		NpcPosX = 108,
		NpcPosY = 88,
		RewardEXP = "1000000",
		RewardJEXP = "500000",
		RewardItemList = {
			{ ItemID = 22567, ItemNum = 1 }
		}
	},
	[7598] = {
		Title = "Caged God",
		Description = {
			"Confined in his own world, the Demon God is cursed to suffer for eternity. Come back tomorrow and put him out of his misery once more."
		},
		Summary = "Come back tomorrow"
	},


PLEASE PROVIDE AND SHARE CONTENT TO THE USERS WITH THE CORRECT STUFF!

Edited by iraciz
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...

Important Information

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