Jump to content
  • 0
DEsMOn

Can Anyone Guide to fix this error

Question

Hello Everyone...!!!

Can any one guide to fix this issue

[Error]:
script error on npc/custom/battleground/unofficial/DeathMatch.txt line 422
    script:add_word: invalid word. A word consists of undercores and/or alphanumeric characters, and valid variable prefixes/postfixes.
   417 :                                //build teams
   418 :                                set .teamCount, $maxDMMemberCount / 2;
   419 :                                //warp first char
   420 :                                announce "[Death Match] The fight begins!",bc_all,0xC3FF00;
   421 :                                set [email protected], 0;
*  422 :                                set [email protected]$, bg_create_team; '('[email protected]$, $warpPointRed[0], $warpPointRed[1]);
   423 :                                set [email protected]$, bg_create_team; $deathMatchMap$, $warpPointBlue[0], $warpPointBlue[1]);
   424 :                                for(set [email protected],0; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1)
   425 :                                {
   426 :                                        if (attachrid([email protected][[email protected]]) == 1)
   427 :                                        {

script error on npc/custom/battleground/unofficial/Captain.txt line 476
    parse_line: expected ';'
   471 :                                //build teams
   472 :                                set [email protected], $maxCMemberCount / 2;
   473 :                                //warp first char
   474 :                                announce "[Captain] The fight begins!", bc_all, 0x0000FF;
   475 :                                set [email protected], 0;
*  476 :                                set [email protected], bg_create_team'('$captainMap$, $warpPointRed[0], $warpPointRed[1]);
   477 :                                set [email protected], bg_create_team($captainMap$, $warpPointBlue[0], $warpPointBlue[1]);
   478 :                                for(set [email protected],0; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1)
   479 :                                {
   480 :                                        if (attachrid([email protected][[email protected]]) == 1)
   481 :                                        {

script error on npc/custom/battleground/unofficial/TouchDown.txt line 557
    parse_line: expected ';'
   552 :                                //build teams
   553 :                                set .teamCount, $maxTDMemberCount / 2;
   554 :                                //warp first char
   555 :                                announce "[Touch Down] The fight begins!", bc_all, 0x00FF00;
   556 :                                set [email protected], 0;
*  557 :                                set [email protected], bg_create_team'('$touchdownMap$, $warpPointBlue[0], $warpPointBlue[1]);
   558 :                                set [email protected], bg_create_team($touchdownMap$, $warpPointRed[0], $warpPointRed[1]);
   559 :                                for(set [email protected],0; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1)
   560 :                                {
   561 :                                        if (attachrid([email protected][[email protected]]) == 1)
   562 :                                        {

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
On 10/15/2021 at 7:42 AM, Start_ said:

Try remove ; after bg_create_team;

Did still

[Error]:
script error on npc/custom/battleground/unofficial/DeathMatch.txt line 422
    parse_line: expected ';'
   417 :                                //build teams
   418 :                                set .teamCount, $maxDMMemberCount / 2;
   419 :                                //warp first char
   420 :                                announce "[Death Match] The fight begins!",bc_all,0xC3FF00;
   421 :                                set [email protected], 0;
*  422 :                                set [email protected]$, bg_create_team '('[email protected]$, $warpPointRed[0], $warpPointRed[1]);
   423 :                                set [email protected]$, bg_create_team; deathMatchMap$, $warpPointBlue[0], $warpPointBlue[1]);
   424 :                                for(set [email protected],0; [email protected]<getarraysize([email protected]); set [email protected],[email protected]+1)
   425 :                                {
   426 :                                        if (attachrid([email protected][[email protected]]) == 1)
   427 :                                        {
[Info]: npc_parse_function: Overwriting user function [CheckDMTeamRedPlayer] (npc/custom/battleground/unofficial/DeathMatch.txt:478)
[Info]: npc_parse_function: Overwriting user function [CheckDMTeamBluePlayer] (npc/custom/battleground/unofficial/DeathMatch.txt:490)
[Info]: npc_parse_function: Overwriting user function [CheckDMPlayers] (npc/custom/battleground/unofficial/DeathMatch.txt:502)

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.