Jump to content
  • 0

Can't display emperium breakers name. [player not attached!]


Auryn

Question


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  147
  • Reputation:   1
  • Joined:  01/26/12
  • Last Seen:  

Full error message :

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

[Debug]: Function: strcharinfo (1 parameter):

[Debug]: Data: number value=0

[Debug]: Source (NPC): Agit#prtg_cas02 at prtg_cas02 (158,174)

Here is what the line I added in my agit_main.txt :

// Respawn the Emperium, and display new owners.
sleep 500; // Slow down script execution slightly.
if( agitcheck() )
 donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena";
sleep 7000;
sleep 500;
announce "[" + getcastlename(strnpcinfo(2)) + "] a été pris par la guilde [" + getguildName(.@GID) + "].",bc_all|bc_woe;
announce "Breaker : "+strnpcinfo(2),strcharinfo(0)+".",bc_map|bc_woe;
end;

Btw : I'm using Woe Time Settter v3 by [GM]Xeon.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  1315
  • Reputation:   372
  • Joined:  12/10/11
  • Last Seen:  

This has been done numerous times. Please use the search function next time on how to properly announce emp breaker's name.

http://rathena.org/b...ker#entry106641

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