Jump to content
  • 0

Please Fix this Script


SlashGeeGee

Question


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

Hello rA :D

Please Fix my Script it gives me these errors when i start the event :

post-415-0-93523100-1337621101_thumb.jpg

and here's my script :

PoringSummoner.txt

Thanks ,

SlashGeeGee

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


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

you have to use a GM char to configure the NPC before the event start...

everytime you reloadscript / restart ....make sure you re-configure the NPC

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:  

yeah , i re configured it set the items , number of special and normal porings then start event . my players kills -1 -2 -3 then get's a null item . then that error in map-server pops

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   152
  • Joined:  02/21/12
  • Last Seen:  

the problem is that the menu trys to get the itemname from .ItemID

but at this moment there isn't set any value for this variable.

switch(select("Item [" + getitemname(.ItemID) + "]:Special Porings [" + .SpecialPorings + "]:Normal Porings [" + .NormalPorings + "]:Start Event:End Event")) {
	case 1:
		mes "Which item would you like Special Poring to drop?";
		mes "Please input the item ID:";
		input .ItemID;
		goto Main;

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:  

that's why i ask him to configure the setting of the NPC using a GM....

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:  

that's why i ask him to configure the setting of the NPC using a GM....

yeah i configured it already see this :

after configure start event :

post-415-0-50783200-1337622355_thumb.jpg

then the events starts and here look it's negative :

post-415-0-51758900-1337622400_thumb.jpg

BUMP !

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:  

erm......it work fine for me...

Initial Load

without any configuration ...and npc work fine ( except mapname since i dont have the royal_room map )

item show NULL because the item ID 0 is not exists ...

W2xu9.png

Second ...

using a GM Character..and input all the settings that is required.

in this cases : Reward - TCG / Poring - 10 / Special Poring - 10

oIhQQ.png

Third

I started the Game by click on the START Event in the Menu.

and information of the scripts is displayed.

1EAeK.png

Last

When i killed those poring....it will display the Poring that left ....

when i killed the Special Poring..i get 1 TCG Card.

in this case : Amistry got a TCG Card!

VjyMl.png

from the start until the end..i didnt get any error... and i using latest rAthena.

the only part i edit ...Map Name


or i could be my method is not enough to try to duplicate your problems...so you may tell us how you make this work until it show you the error message / problems.

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:  

erm......it work fine for me...

Initial Load

without any configuration ...and npc work fine ( except mapname since i dont have the royal_room map )

item show NULL because the item ID 0 is not exists ...

W2xu9.png

Second ...

using a GM Character..and input all the settings that is required.

in this cases : Reward - TCG / Poring - 10 / Special Poring - 10

oIhQQ.png

Third

I started the Game by click on the START Event in the Menu.

and information of the scripts is displayed.

1EAeK.png

Last

When i killed those poring....it will display the Poring that left ....

when i killed the Special Poring..i get 1 TCG Card.

in this case : Amistry got a TCG Card!

VjyMl.png

from the start until the end..i didnt get any error... and i using latest rAthena.

the only part i edit ...Map Name


or i could be my method is not enough to try to duplicate your problems...so you may tell us how you make this work until it show you the error message / problems.

weird , btw im using latest eA rev r15120

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