Jump to content
  • 0

Woe Warper Can u fix this?


Kariton Revolution

Question


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.04
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

[Error]:

script error on npc/a/woewarper.txt line 31

script:add_word: invalid word. A word consists of undercores and/or alfanumeric characters, and valid variable prefixes/postfixes.

26 :

27 : "^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,

28 : "^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,

29 : "^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,

30 : "^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE;

* 31 : '"'^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1;

32 : "^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2;

33 : "^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

34 :

35 :

36 : PRT:

[Error]:

script error on npc/a/woewarper.txt line 32

script:add_word: invalid word. A word consists of undercores and/or alfanumeric characters, and valid variable prefixes/postfixes.

27 :

28 : "^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,

29 : "^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,

30 : "^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,

31 : "^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE;

* 32 : '"'^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1;

33 : "^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2;

34 : "^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

35 :

36 :

37 : PRT:

error on Line 30 if i add space error on line 31 ?

//===== eAthena Script ======================================
//= Woe Warper
//===========================================================
//===== By ==================================================
//= [banned]
//===== Version =============================================
//= 0.1
//===== Compatible With =====================================
//= eAthena SVN and Freya SVN
//===== Description =========================================
//= Warp you to castle area
//===== Comments ============================================
//= 1.0 - Initial beta release					  [banned]
//===========================================================
prontera.gat,163,205,5 script WoE Warper 1029,{

mes "[^ff0000WoE Warper^000000]";
mes "Hi ^0000CD"+strcharinfo(0)+"^000000! I can warp you to some castle areas!";
mes "You Want?";
menu "Yes",LGOGO,"No",LNO;


LGOGO:
mes "[^ff0000WoE Warper^000000]";
mes "Great, Choose the Map!";
menu
"^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,
"^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,
"^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,
"^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE;
"^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1;
"^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2;
"^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;


PRT:
mes "[^ff0000WoE Warper^000000]";
mes "Here we go!";
warp "sch_gld.gat", 288,254;
close;

PAY:mes "[^ff0000WoE Warper^000000]";
mes "Here we go!";
warp "gef_fild13.gat", 143,240;
close;

GEF:
mes "[^ff0000WoE Warper^000000]";
mes "Here we go!";
warp "prt_gld.gat", 110,240;
close;

ALDE:
mes "[^ff0000WoE Warper^000000]";
mes "Here we go!";
warp "aru_gld.gat", 290,107;
close;

AL1:
mes "[^ff0000WoE Warper^000000]";
mes "Here we go!";
warp "aru_gld.gat", 298,344;
close;

ALE2:
mes "[^ff0000WoE Warper^000000]";
mes "Here we go!";
warp "prt_gld.gat", 132,165;
close;

ADE3:
mes "[^ff0000WoE Warper^000000]";
mes "Here we go!";
warp "sch_gld.gat", 294,94;
close;

LNO:
mes "[^ff0000WoE Warper^000000]";
mes "Ok, Good  Bye.";
close;
}

Edited by Arcenciel
Codeboxed
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  218
  • Reputation:   16
  • Joined:  01/24/12
  • Last Seen:  

Try changing this part

"^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,
"^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,
"^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,
"^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE;
"^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1;
"^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2;
"^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

Into this

"^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,
"^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,
"^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,
"^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE,
"^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1,
"^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2,
"^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

He put a ; where it wasn't necessary.

Edited by Eden
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  56
  • Reputation:   1
  • Joined:  11/21/11
  • Last Seen:  

as you can see

28 : "^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,

29 : "^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,

30 : "^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,

31 : "^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE;

* 32 : '"'^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1;

33 : "^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2;

34 : "^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

change the ";" to "," in line 31,32,33 so it's like this

28 : "^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,

29 : "^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,

30 : "^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,

31 : "^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE,

* 32 : '"'^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1,

33 : "^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2,

34 : "^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

hope this can help /ok

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.04
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

i don't have this ";" to "," ???

Try changing this part

"^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,
"^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,
"^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,
"^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE;
"^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1;
"^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2;
"^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

Into this

"^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,
"^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,
"^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,
"^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE,
"^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1,
"^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2,
"^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

He put a ; where it wasn't necessary.

as you can see

28 : "^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,

29 : "^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,

30 : "^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,

31 : "^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE;

* 32 : '"'^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1;

33 : "^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2;

34 : "^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

change the ";" to "," in line 31,32,33 so it's like this

28 : "^008000- ^000000 Monday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",PRT,

29 : "^008000- ^000000 Tuesday ^FF0000["+ (getmapusers("gef_fild13.gat"))+ "]^000000",PAY,

30 : "^008000- ^000000 Wednesday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",GEF,

31 : "^008000- ^000000 Thursday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",ALDE,

* 32 : '"'^008000- ^000000 Friday ^FF0000["+ (getmapusers("aru_gld.gat"))+ "]^000000",AL1,

33 : "^008000- ^000000 Saturday ^FF0000["+ (getmapusers("prt_gld.gat"))+ "]^000000",ALE2,

34 : "^008000- ^000000 Sunday ^FF0000["+ (getmapusers("sch_gld.gat"))+ "]^000000",ADE3;

hope this can help /ok

its not working

Problem Solved

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