Jump to content
  • 0

I need help about Auto Event script by Stolao


Frost Diver

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  178
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

I've asked in owner's script post about the script error. but still no replies. so I decided and humbly to ask support here. 

I've got an error with "Fabre Event". after won the event,im stucked in the event's map. it didn't warp me out back to prontera and didn't get any event's reward. here, I attached screen shot and my script. wish someone can help me with the script.

thanks in advance =]

Untitled.jpg

autoevent.txt

Edited by vilkhl
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   27
  • Joined:  02/12/14
  • Last Seen:  

What is the line of the problem?

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  178
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

5 hours ago, luizragna said:

What is the line of the problem?

 

there's no line error. everything was fine when load the script. the error only showed up when u win the "Fabre Event". other event was fine without any errors.

but I think there's something wrong with line '2371' in the script and I have no idea how to fix it.

maybe u can try the script that I've attached. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

https://github.com/Stolao/Npc_Release/blob/master/Auto_Event/Auto_Event.txt#L1183

line 1183

		.@size = getarraysize( .@cid );
		attachrid getcharid(3, .@name$); // ADD THIS LINE
		for ( .@i = 0; .@i < .@size; .@i++ ){

line 1189

	mapannounce .EnterMap$[16],.EventName$[16]+" ended with a total  of "+(.@size)+" winners.",bc_all; // FIX THIS LINE

@vilkhl

Edited by AnnieRuru
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.02
  • Content Count:  178
  • Reputation:   6
  • Joined:  10/22/18
  • Last Seen:  

On ‎1‎/‎9‎/‎2019 at 3:56 PM, AnnieRuru said:

https://github.com/Stolao/Npc_Release/blob/master/Auto_Event/Auto_Event.txt#L1183

line 1183


		.@size = getarraysize( .@cid );
		attachrid getcharid(3, .@name$); // ADD THIS LINE
		for ( .@i = 0; .@i < .@size; .@i++ ){

line 1189


	mapannounce .EnterMap$[16],.EventName$[16]+" ended with a total  of "+(.@size)+" winners.",bc_all; // FIX THIS LINE

@vilkhl

thanks a lot  Annie. I will try it out. and can u assist me with this? I got an error when recompile and I have no idea where's my mistake.

 

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