Jump to content
  • 0

I need a script that will lock the castle doors I wish


ADM Ytallo

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

 

I need a script that will lock the castle doors I wish

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

The title matches the description at least.


izlude,100,100,0	script	I need a script that will	56,{
	disablenpc "lock the castle doors I wish";
	end;
}

ordeal_1-1,100,150,0	warp	lock the castle doors I wish	1,1,ordeal_1-1,128,150

 

  • Love 1
  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

56 minutes ago, Capuche said:

The title matches the description at least.



izlude,100,100,0	script	I need a script that will	56,{
	disablenpc "lock the castle doors I wish";
	end;
}

ordeal_1-1,100,150,0	warp	lock the castle doors I wish	1,1,ordeal_1-1,128,150

 

Erro

Sem título.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  228
  • Reputation:   19
  • Joined:  10/27/12
  • Last Seen:  

On 2/24/2019 at 12:22 AM, YtalloNv said:

Erro

Sem título.png

1.

Do not copy paste from the forum if you don't know how to clean the forum messy code up

2.

Do type in word for word into your npc file.  rathena forum has the tendency to add in scrap into scripts.

3.

*disablenpc is a script command so if need be refer to rathena/doc/script_commands.txt or something named similar to the filename.

and search within the file for *disablenpc

 

4.

*disablenpc "<NPC object name>";

<NPC object name> is the whole name of a specific npc!

if you want to block castle warps you need to mention which one or you gonna have to DIY (DO IT YOURSELF)!

 

5.

Since this is script request, be specific which castle,  furthermore which edition castle.

 

6.

From the screenshot you have provided there is second error. 

which links to the first error which is random scrap rathena forum loves to slip into script whenever it feels love to.

steps to remove those scrap

 

copy paste those code in notepad plus

and search for any >> ? << and see if it is related to code

then compare the code you have copied.

and remove all those unrelated >> ? << 

 

Edited by utofaery
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...