Jump to content
  • 0

Duplicate problem


danielps

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

WTF you guys did in the duplicate command???

 

I have a npc like this:


gardenia,131,187,4    script    Treinadora    10478,{

........

}

and this duplciate command:

1@man,247,245,4    duplicate(Treinadora)    Treinadora#2    510

 

And my duplicated used to work, and now it says "original npc not found for duplicating".

Link to comment
Share on other sites

10 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:  

We didn't change duplicate command. Check your script.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

5 minutes ago, Capuche said:

We didn't change duplicate command. Check your script.

But my script worked with older rathena version, and now i get ths error "original npc not found for duplicating....."

What about the "disable npc" did you guys changed this command?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   10
  • Joined:  01/21/13
  • Last Seen:  

47 minutes ago, danielps said:

WTF you guys did in the duplicate command???

 

I have a npc like this:


gardenia,131,187,4    script    Treinadora    10478,{

........

}

and this duplciate command:

1@man,247,245,4    duplicate(Treinadora)    Treinadora#2    510

 

And my duplicated used to work, and now it says "original npc not found for duplicating".

Try use the same sprite id.

gardenia,131,187,4    script    Treinadora    510,{

1@man,247,245,4    duplicate(Treinadora)    Treinadora#2    510

 

Edited by BrOgBr
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

1 minute ago, BrOgBr said:

Try use the same sprite id.


gardenia,131,187,4    script    Treinadora    510,{

1@man,247,245,4    duplicate(Treinadora)    Treinadora#2    510

 

Tryed it and lots of different things...

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

I removed all my codes isite the npc, and it worked o.O
So i guess i have a problem in my npc code? But in the prompt don't say aything aboutr error in this script =/

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   10
  • Joined:  01/21/13
  • Last Seen:  

Check the TABs.

And try do it:

-	script	Treinadora	-1,{
1@man,247,245,4	duplicate(Treinadora)	Treinadora#man	510
gardenia,131,187,4	duplicate(Treinadora)	Treinadora#gard	510

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

Just now, BrOgBr said:

Check the TABs.

And try do it:


-	script	Treinadora	-1,{

1@man,247,245,4	duplicate(Treinadora)	Treinadora#man	510
gardenia,131,187,4	duplicate(Treinadora)	Treinadora#gard	510

 

I tried this way as well, it worked, and removing all. why normal npc duplcate dont work?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  97
  • Reputation:   10
  • Joined:  01/21/13
  • Last Seen:  

2 minutes ago, danielps said:

I tried this way as well, it worked, and removing all. why normal npc duplcate dont work?

I really don't know, sorry. :wacko:

Try change only the Treinadora#2 to Treinadora#man

Edited by BrOgBr
  • Upvote 1
Link to comment
Share on other sites

  • 0

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

May you provide your npc script here?

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

56 minutes ago, Capuche said:

May you provide your npc script here?

No need thanks by the way.. solved with:

-	script	Treinadora	-1,{

But.... it whould work with normal scripts as well, but ok...

thanks and like for the help =D

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