Jump to content
  • 0

2 Script Error [ Need Help ]


SlashGeeGee

Question


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

I have 2 scripts with error first the Disguise Event

here's the error :

ra9tms.jpg

script :

Disguise.txt

another script is the Dynamic NPC with menu's it doent show up the items in the quest

script :DonateShop.txt

here's the screenshot :

2iuq53a.jpg

Thank You For Helping :D

Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  162
  • Reputation:   3
  • Joined:  01/23/12
  • Last Seen:  

at line theres an error,

change this line

announce "a Gamemaster has started the Disguise Event"';'

to

announce "a Gamemaster has started the Disguise Event";

hope it fix the disguise event

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  11
  • Reputation:   3
  • Joined:  03/08/12
  • Last Seen:  

The ' ' are there to show you where rA found an error.

As it says, it misses an argument:

announce "A Gamemaster has started the Disguise Event",0;

greetz

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  162
  • Reputation:   3
  • Joined:  01/23/12
  • Last Seen:  

yeah i forgot that its "announce" and not "mes" so you have to put the

,0;

at the end. my mistake

Edited by Kanage
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Thanks Guys it works :D

anyone know the solution for the dynamic shop script ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  130
  • Reputation:   43
  • Joined:  12/11/11
  • Last Seen:  

If you don't want the dialogue open, you can add the green line.

Switched place of the two orange lines to make sure the shop is attached before we call it.

mes "Select only one.";

close2;

npcshopattach "quest_shop1";

callshop "quest_shop1",1;

end;

On each OnInit, the shops content is removed by:

npcshopitem "quest_shop1",0,0;

And no items are added after that.

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