Jump to content

Quests, Games: Illusion Moonlight


Recommended Posts


  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

Illusion Moonlight


Illusion Moonlight Story.


 

  • Upvote 1
  • Love 1
  • MVP 2
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   37
  • Joined:  02/25/18
  • Last Seen:  

@crazyarashi I found 2 problems but only 1 I solved it:

Quote

[Warning]: Usage of deprecated constant 'UNITTYPE_PC'.

1) at line 1157, change:
getmapxy(.@map$,.@x,.@y,UNITTYPE_PC);
with:
getmapxy(.@map$,.@x,.@y,BL_PC);

-------------------------------------------------------------------------------

Quote

[Error]:  Loading NPC file: npc/custom/quests/Illusion_Moonlight.txt
script error on npc/custom/quests/Illusion_Moonlight.txt line 307
    parse_line: expect command, missing function name or calling undeclared function
   302 :                mes "[ Muyeon ]";
   303 :                mes "If you're looking for the teacher, she's in the other room.";
   304 :                close;
   305 :        }
   306 :        if(illusion_moonlight == 2){
*  307 :                'p'cblockall getcharid(3),1;
   308 :                sleep2 2000;
   309 :                npctalk "Whatever you say, I'm not doing it anymore.","Muyeon#moonlight_in",bc_self;
   310 :                sleep2 2000;
   311 :                npctalk "This is the third time I had nightmares. I can't take it anymore!","Muyeon#moonlight_in",bc_self;
   312 :                sleep2 2000;
 

2) I don't know how to solve this problem with the undeclared fuction "pcblockall"... any suggestions?
edit: I need to make this patch posted by @joecalis ? 

 

Edited by CyberDevil
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  50
  • Topics Per Day:  0.02
  • Content Count:  763
  • Reputation:   227
  • Joined:  02/11/17
  • Last Seen:  

21 hours ago, CyberDevil said:

getmapxy(.@map$,.@x,.@y,UNITTYPE_PC);
with:
getmapxy(.@map$,.@x,.@y,BL_PC);


Oh, I made this script sometime ago. so I havent updated it to the new getmapxy and using my personal pcblockall command. but using that diff should work since the pcblockall base came from that diff.

  • Love 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   37
  • Joined:  02/25/18
  • Last Seen:  

ok thank you @crazyarashi , I'll try to install the diff now... another thing, when you go to the bottom left of the map to kill the Wizard (ID: 3764 in map pay_d03_i,55,75), this just reborn immediately without a pause between his death and rebirth... Is it possible to insert a respawn timer of 1-2 minutes from his death and how can I do it?

-	script	illusion_mob#moonlight	-1,{
	OnInit:
		monster "pay_d03_i",0,0,"Angry Nine Tail",3759,15,strnpcinfo(0)+"::OnSummonMVP";
		monster "pay_d03_i",55,75,"Wizard of Truth",3764,1,strnpcinfo(0)+"::OnSummonWizard";
		end;
		
	OnSummonMVP:
		monster "pay_d03_i",0,0,"Angry Nine Tail",3759,1,strnpcinfo(0)+"::OnSummonMVP";
		$illusion_mvp += 1;
		if($illusion_mvp == 1000){
			mapannounce "pay_d03_i","Angry Moonlight Flower : Who dares bully us again? They're in a lot of trouble.",bc_map;
			getmapxy(.@map$,.@x,.@y,BL_PC);
			monster "pay_d03_i",.@x,.@y,"Angry Moonlight Flower",3758,1;
			$illusion_mvp = 0;
		}
		end;
		
	OnSummonWizard:
		monster "pay_d03_i",55,75,"Wizard of Truth",3764,1,strnpcinfo(0)+"::OnSummonWizard";
		end;
}

 

Edited by CyberDevil
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  31
  • Reputation:   1
  • Joined:  11/12/18
  • Last Seen:  

does this work with the newest rathena? i've never used a .c to add a quest

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   37
  • Joined:  02/25/18
  • Last Seen:  

I have the last rAthena and work only if you make this patch/dif:
https://rathena.org/board/applications/core/interface/file/attachment.php?id=20477
taked here: 

...and need to change this:
getmapxy(.@map$,.@x,.@y,UNITTYPE_PC);
with:
getmapxy(.@map$,.@x,.@y,BL_PC);

Edited by CyberDevil
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  31
  • Reputation:   1
  • Joined:  11/12/18
  • Last Seen:  

thanks  i think i got it working

Edited by care1190
Link to comment
Share on other sites

  • 1 month later...

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

when i use the database and use @item command i think the item itself is not implemented in-game, even though i insert it to import folder how do i fix it?

Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.02
  • Content Count:  113
  • Reputation:   1
  • Joined:  12/15/18
  • Last Seen:  

how do I install the pcblockall.patch?

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   37
  • Joined:  02/25/18
  • Last Seen:  

I have fixed the instant respawn of the Wizard (ID 3764)...
REPLACE:

	OnSummonWizard:
		monster "pay_d03_i",55,75,"Wizard of Truth",3764,1,strnpcinfo(0)+"::OnSummonWizard";
		end;


WITH:

	OnSummonWizard:
		addtimer 60000, strnpcinfo(3) + "::On60secs";
		end;
	On60secs:
		monster "pay_d03_i",55,75,"Wizard of Truth",3764,1,strnpcinfo(0)+"::OnSummonWizard";
		end;

...change "addtimer 60000" (are 60 seconds) with all seconds you need!

 

p.s.: it's correct "strnpcinfo(3)" or "strnpcinfo(0)" in the addtimer command???

Edited by CyberDevil
Link to comment
Share on other sites

  • 4 weeks later...

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

@crazyarashi

the 1st quest of illusion moonlight, "Go back and talk to Muyeon inside the Detached Payon Palace. She'll reward you with 5 Illusion Stones and more experience." -> I get no illusion stone when finish quest

daily kill 20 angry soldier and 20 angry ninetail give 2 illusion stone

Edited by Quesooo
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   37
  • Joined:  02/25/18
  • Last Seen:  

On 7/25/2019 at 8:42 AM, Quesooo said:

@crazyarashi

the 1st quest of illusion moonlight, "Go back and talk to Muyeon inside the Detached Payon Palace. She'll reward you with 5 Illusion Stones and more experience." -> I get no illusion stone when finish quest

daily kill 20 angry soldier and 20 angry ninetail give 2 illusion stone

You can set the exp value you need... search LINE 544

completequest 7788;

Add after:

getitem 25271,5; //= Illusion Stone
getexp 500000,500000;

-----------------------------------------------------------------------------

For the daily quests search LINE 892-893

            setquest 7785;
            getitem 25271,1; //= Illusion Stone

and replace with:

            setquest 7785;
            getitem 25271,2; //= Illusion Stone
            getexp 300000,300000;

and search LINE 904-905

            setquest 7787;
            getitem 25271,1; //= Illusion Stone

and replace with:

            setquest 7787;
            getitem 25271,2; //= Illusion Stone
            getexp 300000,300000;

 

Edited by CyberDevil
  • MVP 1
Link to comment
Share on other sites


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

i can't see those lines, im using search and notepad ++ something change on the script please check.

@CyberDevil if you don't mind where can i see those lines? i can't see it on the script thank you.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   37
  • Joined:  02/25/18
  • Last Seen:  

On 7/27/2019 at 8:49 AM, Quesooo said:

@CyberDevil if you don't mind where can i see those lines? i can't see it on the script thank you.

I have write the correct lines in my preview post and in attach there is the file with this modifications

Illusion Moonlight.c

Edited by CyberDevil
  • MVP 1
Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  99
  • Reputation:   11
  • Joined:  01/22/13
  • Last Seen:  

Hi.
When I kill the mobs of the instance, it takes me out of the game.
Does anyone know why it can happen?
Thank you.

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   37
  • Joined:  02/25/18
  • Last Seen:  

An error after the recent rAthena update from github is posted here: 

looking for a fix...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.02
  • Content Count:  242
  • Reputation:   37
  • Joined:  02/25/18
  • Last Seen:  

Thank you a lot @cherryeury... now work, but can you fix also the Illusion Vampire script?
 

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.02
  • Content Count:  113
  • Reputation:   1
  • Joined:  12/15/18
  • Last Seen:  

I have two issues:

1. Please see attached picture. First complete quest, warp to pay_dun03 145,43 then talk to "Shimmering Portal", it will show the Debug message.

2. Daily quest hunt angry soldiers, I can actually repeat this quest again and again, not like hunt Nine Tails, you need to wait until next day 4:00am.

Can anyone fix this? Thanks.

1.PNG

Edited: I have fixed issue 2, edited quest_db, problem fixed. Issues 1 still show debug message.

Edited by Surefirer
Link to comment
Share on other sites

  • 9 months later...

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  12/10/14
  • Last Seen:  

For some reason monsters have no sound effect.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

13 hours ago, Xiao said:

For some reason monsters have no sound effect.

Its from client side not server side

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   0
  • Joined:  12/10/14
  • Last Seen:  

On 9/5/2020 at 4:01 PM, LearningRO said:

Its from client side not server side

I already managed to fix it, thanks.

On 12/2/2019 at 1:36 AM, Surefirer said:

Tengo dos problemas:

1. Consulte la imagen adjunta. Primero completa la misión, cambia a pay_dun03 145,43 y luego habla con "Shimmering Portal", se mostrará el mensaje de depuración.

2. Búsqueda diaria de soldados enojados, puedo repetir esta búsqueda una y otra vez, no como cazar Nueve Colas, debes esperar hasta las 4:00 am del día siguiente.

¿Alguien puede arreglar esto? Gracias.

1.PNG

Editado: He solucionado el problema 2, editado quest_db, problema solucionado. Los problemas 1 todavía muestran un mensaje de depuración.

i have same problem number 1

Could you fix it?

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   2
  • Joined:  05/01/20
  • Last Seen:  

Anyone can convert item_db to yml?

Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/24/18
  • Last Seen:  

how to install pcblockall???

Link to comment
Share on other sites

  • 2 months later...

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  72
  • Reputation:   7
  • Joined:  06/23/14
  • Last Seen:  

[Error]:
script error on npc/custom/roservers/Illusion Moonlight.c line 96
    parse_line: expect command, missing function name or calling undeclared function
    91 :         close;
    92 :        }
    93 :
    94 : OnInit:
    95 :        questinfo 7776,QTYPE_QUEST2;
*   96 :        's'etquestinfo_level 7776,100,175;
    97 :        end;
    98 : }
    99 : payon,167,229,3        script  Elder Jagyeom#illusion_moonlight        4_M_HUOLDARMY,{
   100 :        if(BaseLevel < 100){
   101 :                mes "[ Jagyeom ]";
[Error]:
script error on npc/custom/roservers/Illusion Moonlight.c line 307
    parse_line: expect command, missing function name or calling undeclared function
   302 :        }
   303 :
   304 :
   305 : OnInit:
   306 :        questinfo 7777,QTYPE_QUEST;
*  307 :        's'etquestinfo_req 7777,7776,1;
   308 :        end;
   309 : }
   310 : payon_in03,33,95,3     script  Muyeon#moonlight_in     4_F_TAEKWON,{
   311 :        if(illusion_moonlight < 2){
   312 :                mes "[ Muyeon ]";
[Error]:
script error on npc/custom/roservers/Illusion Moonlight.c line 317
    parse_line: expect command, missing function name or calling undeclared function
   312 :                mes "[ Muyeon ]";
   313 :                mes "If you're looking for the teacher, she's in the other room.";
   314 :                close;
   315 :        }
   316 :        if(illusion_moonlight == 2){
*  317 :                'p'cblockall getcharid(3),1;
   318 :                sleep2 2000;
   319 :                npctalk "Whatever you say, I'm not doing it anymore.","Muyeon#moonlight_in",bc_self;
   320 :                sleep2 2000;
   321 :                npctalk "This is the third time I had nightmares. I can't take it anymore!","Muyeon#moonlight_in",bc_self;
   322 :                sleep2 2000;
[Error]:
script error on npc/custom/roservers/Illusion Moonlight.c line 692
    parse_line: expect command, missing function name or calling undeclared function
   687 :                end;
   688 :        }
   689 :
   690 : OnInit:
   691 :        questinfo 7781,QTYPE_QUEST;
*  692 :        's'etquestinfo_req 7781,7780,1;
   693 :        end;
   694 : }
   695 : pay_d03_i,140,46,0     script  Shimmering Portal#illusion_moonlight_2  4_ENERGY_BLUE,{
   696 :        mes "I can go back to the ruined village.","What should I do?";
   697 :        next;

 

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