Jump to content
  • 0

something wrong on line 8


Jb Roxas

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  01/28/12
  • Last Seen:  


prontera,151,189,5 script Soul Linker 59,{
mes "[soul Linker]";
mes "Good day my friend. I am the Soul Linker";
mes "I can link your soul to the Valkyrian Gods to increase your abilities";
mes "Do you want to try?";
next;
switch(select ("Yes,please:Sorry, I am not interested")) {
Yes (Case 1):
next;
 mes "[soul Linker]";
 mes "Ok.Please select which spirit you would like to be linked to.";
 mes "Please be adviced that you can only be linked to a soul with the same job as you";
 mes "Please select your job from the following list.";
 next;
 switch(select ("Monk:Star Gladiator:Sage:Crusader:Super Novice:Knight:Wizard:Priest:Assassin:Rouge:Blacksmith:Hunter:Soul Linker"))
{
 case 1:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_MONK,360000,5;
  skilleffect 447,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 2:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_STAR,360000,5;
  skilleffect 448,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 3:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_SAGE,360000,5;
  skilleffect 449,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 4:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_CRUSADER,360000,5;
  skilleffect 450,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 5:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_SUPERNOVICE,360000,5;
  skilleffect 451,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 6:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_KNIGHT,360000,5;
  skilleffect 452,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 7:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_WIZARD,360000,5;
  skilleffect 453,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 8:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_PRIEST,360000,5;
  skilleffect 454,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 9:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_ASSASIN,360000,5;
  skilleffect 455,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 10:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_ROUGE,360000,5;
  skilleffect 456,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 11:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_ASSASIN,360000,5;
  skilleffect 457,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 12:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_BLACKSMITH,360000,5;
  skilleffect 458,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 13:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_HUNTER,360000,5;
  skilleffect 460,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
 case 14:
 next;
  mes "[soul Linker]";
  mes "Here you go!";
  sc_start SL_SOULLINKER,360000,5;
  skilleffect 461,0;
  mes "Thank you! And I hope to see you soon again.";
  close;
}
No (Case 2):
next;
  mes "[soul Linker]";
  mes "Have a nice day.";
  close;
}
 }

the error missing function or calling undeclaired function

on line 8

Bump :D

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

		Yes (Case 1):

^ this part is invalid.

You probably meant something like this?

		case 1:

also, line 130 should be:

		case 2:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  01/28/12
  • Last Seen:  

i just get that script on script section

Can you refix it sir?

Bump "-"

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   4
  • Joined:  03/06/12
  • Last Seen:  

prontera,151,189,5 script Soul Linker 59,{
mes "[soul Linker]";
mes "Good day my friend. I am the Soul Linker";
mes "I can link your soul to the Valkyrian Gods to increase your abilities";
mes "Do you want to try?";
next;
switch(select ("Yes,please:Sorry, I am not interested")) {
case 1:
	next;
	mes "[soul Linker]";
	mes "Ok.Please select which spirit you would like to be linked to.";
	mes "Please be adviced that you can only be linked to a soul with the same job as you";
	mes "Please select your job from the following list.";
	next;
	switch(select ("Monk:Star Gladiator:Sage:Crusader:Super Novice:Knight:Wizard:Priest:Assassin:Rouge:Blacksmith:Hunter:Soul Linker"))
	{
	case 1:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_MONK,360000,5;
		skilleffect 447,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 2:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_STAR,360000,5;
		skilleffect 448,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 3:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_SAGE,360000,5;
		skilleffect 449,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 4:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_CRUSADER,360000,5;
		skilleffect 450,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 5:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_SUPERNOVICE,360000,5;
		skilleffect 451,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 6:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_KNIGHT,360000,5;
		skilleffect 452,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 7:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_WIZARD,360000,5;
		skilleffect 453,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 8:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_PRIEST,360000,5;
		skilleffect 454,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 9:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_ASSASIN,360000,5;
		skilleffect 455,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 10:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_ROUGE,360000,5;
		skilleffect 456,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 11:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_ASSASIN,360000,5;
		skilleffect 457,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 12:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_BLACKSMITH,360000,5;
		skilleffect 458,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 13:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_HUNTER,360000,5;
		skilleffect 460,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	case 14:
		next;
		mes "[soul Linker]";
		mes "Here you go!";
		sc_start SL_SOULLINKER,360000,5;
		skilleffect 461,0;
		mes "Thank you! And I hope to see you soon again.";
		close;
	}
case 2:
	next;
	mes "[soul Linker]";
	mes "Have a nice day.";
	close;
}
}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  01/28/12
  • Last Seen:  

@trenx

they get STONED after they got Link on there character.

also there is something wrong after the link, for example i choose Whitesmith, if they get talis the "FULL ADRENALINE RUSH SKILL" WILL BE ENABLE TO USE, but when i test that NPC nothing happens the Full adrenaline rush skill is still disabled even if u get talis on that npc.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   4
  • Joined:  03/06/12
  • Last Seen:  

Ohhhh i see please do the following

on Case X:

next;

Erase this next; as its not necesarry for the script to work you can add it after mes "Here you go!";

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  01/28/12
  • Last Seen:  

still gets stoned :D


prontera,151,189,5 script SoulLinker 59,{
mes "[soul Linker]";
mes "Good day my friend. I am the Soul Linker";
mes "I can link your soul to the Valkyrian Gods to increase your abilities";
mes "Do you want to try?";
next;
switch(select ("Yes,please:Sorry, I am not interested")) {
case 1:
next;
mes "[soul Linker]";
mes "Ok.Please select which spirit you would like to be linked to.";
mes "Please be adviced that you can only be linked to a soul with the same job as you";
mes "Please select your job from the following list.";
next;
switch(select ("Monk:Star Gladiator:Sage:Crusader:Super Novice:Knight:Wizard:Priest:Assassin:Rouge:Blacksmith:Hunter:Soul Linker"))
{
case 1:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_MONK,360000,5;
skilleffect 447,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 2:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_STAR,360000,5;
skilleffect 448,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 3:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_SAGE,360000,5;
skilleffect 449,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 4:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_CRUSADER,360000,5;
skilleffect 450,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 5:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_SUPERNOVICE,360000,5;
skilleffect 451,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 6:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_KNIGHT,360000,5;
skilleffect 452,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 7:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_WIZARD,360000,5;
skilleffect 453,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 8:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_PRIEST,360000,5;
skilleffect 454,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 9:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_ASSASIN,360000,5;
skilleffect 455,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 10:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_ROUGE,360000,5;
skilleffect 456,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 11:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_ASSASIN,360000,5;
skilleffect 457,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 12:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_BLACKSMITH,360000,5;
skilleffect 458,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 13:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_HUNTER,360000,5;
skilleffect 460,0;
mes "Thank you! And I hope to see you soon again.";
close;
case 14:
mes "[soul Linker]";
mes "Here you go!";
next;
sc_start SL_SOULLINKER,360000,5;
skilleffect 461,0;
mes "Thank you! And I hope to see you soon again.";
close;
}
case 2:
mes "[soul Linker]";
mes "Have a nice day.";
close;
}
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  222
  • Reputation:   35
  • Joined:  12/13/11
  • Last Seen:  

roxas, after you get stoned are you able to move still?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   0
  • Joined:  01/28/12
  • Last Seen:  

i can't moved when i get stoned, and also when u get linked nothings change on your skill, like on Whitesmith Job if u get linked the FULL ADRENALINE RUSH will be enable right?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

well..in your way...certain soul link effect didnt take place with the command using..

like SinX Sonic Blow Damage is not doubled after Soul Linked...

and yet..there is no need to choose what link to have..since soul link are fixed for each job...

you may use this to improve / fix your script.

[ Pastebin] Soul Linker NPC

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