Jump to content
  • 0

Can Anyone Guide to fix this error


Question

Posted

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 .@warped, 0;
*  422 :                                set .@redTeamId$, bg_create_team; '('$@deathMatchMap$, $warpPointRed[0], $warpPointRed[1]);
   423 :                                set .@blueTeamId$, bg_create_team; $deathMatchMap$, $warpPointBlue[0], $warpPointBlue[1]);
   424 :                                for(set .@i,0; .@i<getarraysize($@DMMembers); set .@i,.@i+1)
   425 :                                {
   426 :                                        if (attachrid($@DMMembers[.@i]) == 1)
   427 :                                        {

script error on npc/custom/battleground/unofficial/Captain.txt line 476
    parse_line: expected ';'
   471 :                                //build teams
   472 :                                set .@teamCount, $maxCMemberCount / 2;
   473 :                                //warp first char
   474 :                                announce "[Captain] The fight begins!", bc_all, 0x0000FF;
   475 :                                set .@warped, 0;
*  476 :                                set $@redTeam, bg_create_team'('$captainMap$, $warpPointRed[0], $warpPointRed[1]);
   477 :                                set $@blueTeam, bg_create_team($captainMap$, $warpPointBlue[0], $warpPointBlue[1]);
   478 :                                for(set .@i,0; .@i<getarraysize($@CMembers); set .@i,.@i+1)
   479 :                                {
   480 :                                        if (attachrid($@CMembers[.@i]) == 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 .@warped, 0;
*  557 :                                set $@blueTeam, bg_create_team'('$touchdownMap$, $warpPointBlue[0], $warpPointBlue[1]);
   558 :                                set $@redTeam, bg_create_team($touchdownMap$, $warpPointRed[0], $warpPointRed[1]);
   559 :                                for(set .@i,0; .@i<getarraysize($@TDMembers); set .@i,.@i+1)
   560 :                                {
   561 :                                        if (attachrid($@TDMembers[.@i]) == 1)
   562 :                                        {

3 answers to this question

Recommended Posts

  • 0
Posted
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 .@warped, 0;
*  422 :                                set .@redTeamId$, bg_create_team '('$@deathMatchMap$, $warpPointRed[0], $warpPointRed[1]);
   423 :                                set .@blueTeamId$, bg_create_team; deathMatchMap$, $warpPointBlue[0], $warpPointBlue[1]);
   424 :                                for(set .@i,0; .@i<getarraysize($@DMMembers); set .@i,.@i+1)
   425 :                                {
   426 :                                        if (attachrid($@DMMembers[.@i]) == 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)

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