adrian26v2 0 Posted January 5, 2015 npc/guild/agit_main.txt announce " WOW!! " + strcharinfo(0) + ", conquered [" + getcastlename(strnpcinfo(2)) + "] castle for [" + getguildname(.@GID) + "] guild!",bc_all|bc_woe; Help why its not broadcasting the player who broke emperium Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted January 6, 2015 Nope, it happens with current npc/guild/agit_main.txt file: // Respawn the Emperium, and display new owners. sleep 500; // Slow down script execution slightly. if( agitcheck() ) donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena"; sleep 7000; announce "The [" + getcastlename(strnpcinfo(2)) + "] castle has been conquered by the [" + getguildname(.@GID) + "] guild.",bc_all|bc_woe; end; The sleep script command detaches RID from script, so it won't be able to get any user name with strcharinfo() and push an empty string. Either get the char name before the sleep commands and save to a temporary variable, or change all sleep to sleep2, which will retain attached RID to the script. 1 adrian26v2 reacted to this Quote Share this post Link to post Share on other sites
0 malufett 247 Posted January 5, 2015 where did you put it after the line? // The Emperium has been broken.OnAgitBreak: and are you using custom agit controller? Quote Share this post Link to post Share on other sites
0 adrian26v2 0 Posted January 6, 2015 thanks it works now Muaaah :* Quote Share this post Link to post Share on other sites
0 d706109 0 Posted April 17, 2016 What if it happens in woe setter? how should we edit it? Quote Share this post Link to post Share on other sites
Help why its not broadcasting the player who broke emperium
Share this post
Link to post
Share on other sites