Jump to content
  • 0

Disabling NPC?


Millenium

Question


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

I disable the script in "scripts_athena", but the npc's are still there?

I use "//" in front on the first line starting of script, npc's are gone, but my servers show parse error?

How do I delete NPC's without error?

Link to comment
Share on other sites

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

You need to restart your server?.. o_O And why would you get a parse error if you're commenting out the script file?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

You need to restart your server?.. o_O And why would you get a parse error if you're commenting out the script file?

I get Npc_parsesrcfile error?

Link to comment
Share on other sites


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

You need to restart your server?.. o_O And why would you get a parse error if you're commenting out the script file?

I get Npc_parsesrcfile error?

Also // in the NPC file.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

You need to restart your server?.. o_O And why would you get a parse error if you're commenting out the script file?

I get Npc_parsesrcfile error?

Also // in the NPC file.

Not sure where that would be? /hmm

Link to comment
Share on other sites


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

Inside your .txt, where you placed the custom NPC.

The line "Town,x,y,d<tab>script<tab>name<id,}" - Comment that. //Town,x,y,d<tab>script<tab>name<id,}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

Inside your .txt, where you placed the custom NPC.

The line "Town,x,y,d<tab>script<tab>name<id,}" - Comment that. //Town,x,y,d<tab>script<tab>name<id,}

I didn't enable a custom NPC yet, I'm trying to disable the npc's in turbotrack?

Link to comment
Share on other sites


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

Inside your .txt, where you placed the custom NPC.

The line "Town,x,y,d<tab>script<tab>name<id,}" - Comment that. //Town,x,y,d<tab>script<tab>name<id,}

I didn't enable a custom NPC yet, I'm trying to disable the npc's in turbotrack?

Oh I see! Okay, well you can remove the entire line from the scripts_athena than. ;D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

Inside your .txt, where you placed the custom NPC.

The line "Town,x,y,d<tab>script<tab>name<id,}" - Comment that. //Town,x,y,d<tab>script<tab>name<id,}

I didn't enable a custom NPC yet, I'm trying to disable the npc's in turbotrack?

Oh I see! Okay, well you can remove the entire line from the scripts_athena than. ;D

Remove all these?

// -------------------- Turbo Track Arena -----------------------
//npc: npc/re/other/turbotrack/Turbo_Track.txt
// Normal Courses (Non-PVP)
//npc: npc/re/other/turbotrack/Normal_Solo.txt
//npc: npc/re/other/turbotrack/Normal_4.txt
//npc: npc/re/other/turbotrack/Normal_8.txt
//npc: npc/re/other/turbotrack/Normal_16.txt
// Expert Courses (PVP)
//npc: npc/re/other/turbotrack/Expert_4.txt
//npc: npc/re/other/turbotrack/Expert_8.txt
//npc: npc/re/other/turbotrack/Expert_16.txt

Do I change any of these?

// turbo_room,110,135,3    script    Expert mode - 4 person    124,{
   end;

OnInit:
   waitingroom "Expert mode - 4 person",60,"Expert mode - 4 person::OnStartArena",4,1000,10,99;
   enablewaitingroomevent "Expert mode - 4 person";
   end;

OnEnable:
   enablenpc "Expert mode - 4 person";
   enablewaitingroomevent "Expert mode - 4 person";
   end;

OnStartArena:
   warpwaitingpc "turbo_e_4",298,161;
   donpcevent "Broadcast#e4::OnEnable";
   disablewaitingroomevent "Expert mode - 4 person";
   end;
}

Link to comment
Share on other sites


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

Inside your .txt, where you placed the custom NPC.

The line "Town,x,y,d<tab>script<tab>name<id,}" - Comment that. //Town,x,y,d<tab>script<tab>name<id,}

I didn't enable a custom NPC yet, I'm trying to disable the npc's in turbotrack?

Oh I see! Okay, well you can remove the entire line from the scripts_athena than. ;D

Remove all these?

// -------------------- Turbo Track Arena -----------------------
//npc: npc/re/other/turbotrack/Turbo_Track.txt
// Normal Courses (Non-PVP)
//npc: npc/re/other/turbotrack/Normal_Solo.txt
//npc: npc/re/other/turbotrack/Normal_4.txt
//npc: npc/re/other/turbotrack/Normal_8.txt
//npc: npc/re/other/turbotrack/Normal_16.txt
// Expert Courses (PVP)
//npc: npc/re/other/turbotrack/Expert_4.txt
//npc: npc/re/other/turbotrack/Expert_8.txt
//npc: npc/re/other/turbotrack/Expert_16.txt

Do I change any of these?

// turbo_room,110,135,3	script	Expert mode - 4 person	124,{
end;

OnInit:
waitingroom "Expert mode - 4 person",60,"Expert mode - 4 person::OnStartArena",4,1000,10,99;
enablewaitingroomevent "Expert mode - 4 person";
end;

OnEnable:
enablenpc "Expert mode - 4 person";
enablewaitingroomevent "Expert mode - 4 person";
end;

OnStartArena:
warpwaitingpc "turbo_e_4",298,161;
donpcevent "Broadcast#e4::OnEnable";
disablewaitingroomevent "Expert mode - 4 person";
end;
}

If you don't need them, remove them all. ^^,

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

Inside your .txt, where you placed the custom NPC.

The line "Town,x,y,d<tab>script<tab>name<id,}" - Comment that. //Town,x,y,d<tab>script<tab>name<id,}

I didn't enable a custom NPC yet, I'm trying to disable the npc's in turbotrack?

Oh I see! Okay, well you can remove the entire line from the scripts_athena than. ;D

Remove all these?

// -------------------- Turbo Track Arena -----------------------
//npc: npc/re/other/turbotrack/Turbo_Track.txt
// Normal Courses (Non-PVP)
//npc: npc/re/other/turbotrack/Normal_Solo.txt
//npc: npc/re/other/turbotrack/Normal_4.txt
//npc: npc/re/other/turbotrack/Normal_8.txt
//npc: npc/re/other/turbotrack/Normal_16.txt
// Expert Courses (PVP)
//npc: npc/re/other/turbotrack/Expert_4.txt
//npc: npc/re/other/turbotrack/Expert_8.txt
//npc: npc/re/other/turbotrack/Expert_16.txt

Do I change any of these?

// turbo_room,110,135,3	script	Expert mode - 4 person	124,{
end;

OnInit:
waitingroom "Expert mode - 4 person",60,"Expert mode - 4 person::OnStartArena",4,1000,10,99;
enablewaitingroomevent "Expert mode - 4 person";
end;

OnEnable:
enablenpc "Expert mode - 4 person";
enablewaitingroomevent "Expert mode - 4 person";
end;

OnStartArena:
warpwaitingpc "turbo_e_4",298,161;
donpcevent "Broadcast#e4::OnEnable";
disablewaitingroomevent "Expert mode - 4 person";
end;
}

If you don't need them, remove them all. ^^,

I removed them all, how to add my own NPC/warp into the map? I have the warp locations?

warps/customs/cities/turboroomin.txt

crystilia,67,91,0    warp    Mall    1,1,turbo_room,100,100

scripts_warps.conf

npc: npc/re/warps/custom/cities/turboroomin.txt
npc: npc/re/warps/custom/cities/turboroomout.txt

Link to comment
Share on other sites


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

I removed them all, how to add my own NPC/warp into the map? I have the warp locations?

warps/customs/cities/turboroomin.txt

crystilia,67,91,0	warp	Mall	1,1,turbo_room,100,100

scripts_warps.conf

npc: npc/re/warps/custom/cities/turboroomin.txt
npc: npc/re/warps/custom/cities/turboroomout.txt

Do you mean warp portals, or NPC's that warp you?

Edited by Sharpienero
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  131
  • Reputation:   0
  • Joined:  07/10/12
  • Last Seen:  

I removed them all, how to add my own NPC/warp into the map? I have the warp locations?

warps/customs/cities/turboroomin.txt

crystilia,67,91,0	warp	Mall	1,1,turbo_room,100,100

scripts_warps.conf

npc: npc/re/warps/custom/cities/turboroomin.txt
npc: npc/re/warps/custom/cities/turboroomout.txt

Do you mean warp portals, or NPC's that warp you?

Warp portals, sorry about that :P

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