Jump to content
  • 0

fatal error player not attached


domez86

Question


  • Group:  Members
  • Topic Count:  85
  • Topics Per Day:  0.02
  • Content Count:  207
  • Reputation:   0
  • Joined:  06/11/13
  • Last Seen:  

help me to fix this error pls?

[Warning]: script:get_val: cannot access player variable 'killedrid', defaulting to 0
[Error]: get_val_: fatal error ! player not attached!
[Debug]: Function: setr (2 parameters):
[Debug]: Data: variable name='.@mob_id' index=0
[Debug]: Data: param name='killedrid' type=122
[Debug]: Source (NPC): lhz_dun_n at lhz_dun_n (0,0)

tnx!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

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

you're probably killing monster with event label using GM commands, which you shouldn't 

else the script should have check if any player are attached before continue execution.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   9
  • Joined:  08/22/19
  • Last Seen:  

post the script

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   0
  • Joined:  10/23/15
  • Last Seen:  

On 10/15/2019 at 4:54 PM, Emistry said:

you're probably killing monster with event label using GM commands, which you shouldn't 

else the script should have check if any player are attached before continue execution.

Same problem...I killing monsters with simple skills, not GM commands.

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