Jump to content
  • 0

[Error]: buildin_strcharinfo: fatal error ! player not attached!


Question

Posted

Hello Scripters,

Can any one guide to fix this issue.

[Error]: buildin_strcharinfo: fatal error ! player not attached!
[Debug]: Function: strcharinfo (1 parameter):
[Debug]: Data: number value=0
[Debug]: Source (NPC): Invasion NPC at prontera (170,153)
[Debug]: Source (NPC): Invasion NPC at prontera (170,153)

GoblinInvasion-event.txt

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

add

if(playerattached())

before

announce "It seems that "+strcharinfo(0)+" has ended the Invasion!",bc_all;

like this

if(playerattached()) announce "It seems that "+strcharinfo(0)+" has ended the Invasion!",bc_all;

 

or just remove

announce "It seems that "+strcharinfo(0)+" has ended the Invasion!",bc_all;

because as I see there is no place calling the OnStop event while a character is attached.

Edited by sader1992

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...