Jump to content
  • 0

[Debug]: npc_scriptcont: 'Unknown NPC'


LearningRO

Question


  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

hei, in my console i get this error

 

[Error]: buildin_delitem: failed to delete 50 items (AID=2000169 item_id=6488).
[Debug]: Source (NPC): Thanks Ticket Machine at malangdo (215,119)
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Thanks Ticket Machine (id=110365850).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Thanks Ticket Machine (id=110365850).
[Debug]: npc_scriptcont: 'Unknown NPC' (sd->npc_id=0) is not Thanks Ticket Machine (id=110365850)

somebody can help about this? and the meaning of this error?

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   263
  • Joined:  09/08/13
  • Last Seen:  

I was able to reproduce it. I will share info about this vulnerability with developers. But in few days. I am not at home now. ?

Edited by Functor
  • Upvote 1
  • Love 1
  • Like 1
Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   260
  • Joined:  04/25/12
  • Last Seen:  

6 hours ago, melv0 said:

any news about this?? have developer try to fix this vulnerability?

Prob this

https://github.com/rathena/rathena/commit/25aaeec135409c735554f973a5c271c6be5acee6

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

Could it be because this other NPC's (malangdo,218,123,1    script    Namis#invest    545,4,4) OnTouch gets executed while you're on the other and sets the player current NPC id to 0 with its "end"?

Test removing this for now:

OnTouch:
	if (rand(2))
		emotion ET_SLEEPY;
	else
		specialeffect EF_SLEEPATTACK;
	end;

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

[Error]: buildin_delitem: failed to delete 50 items (AID=2000169 item_id=6488).

comes from this line
https://github.com/rathena/rathena/blob/master/npc/re/guild/invest_main.txt#L1579

this tells a lot
few days ago melvo show me a screenshot of someone trying to hack in his server, he claim that player is duping elunium

yes his map-server also spam with this kind of error

I also have no idea how the countitem can fail the check, but the delitem command can catch it, maybe some 3rd party tools can bypass it

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

2 hours ago, AnnieRuru said:

[Error]: buildin_delitem: failed to delete 50 items (AID=2000169 item_id=6488).

comes from this line
https://github.com/rathena/rathena/blob/master/npc/re/guild/invest_main.txt#L1579

this tells a lot
few days ago melvo show me a screenshot of someone trying to hack in his server, he claim that player is duping elunium 

yes his map-server also spam with this kind of error 

I also have no idea how the countitem can fail the check, but the delitem command can catch it, maybe some 3rd party tools can bypass it 

yes , I have encounter the same issue at the same line in one of the server (it was beta test)
and after the gepard is on the problem just disappear
it make sense to be 3rd party software

 

however I couldn't find what was the issue

I think the best thing to do is make the delitem command return the number of the deleted items as extra check for those who done have any protection on their servers

or does the script auto stop on fail , I just woke up xD

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

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

On 1/31/2019 at 11:25 AM, Functor said:

I was able to reproduce it. I will share info about this vulnerability with developers. But in few days. I am not at home now. ?

how did u reproduce it? with 3rdparty software?. i just want to know :D. just answer yes or no ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   263
  • Joined:  09/08/13
  • Last Seen:  

@melv0 Yes.

P.S. I sent info to developers of emulators.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

6 hours ago, Functor said:

@melv0 Yes.

P.S. I sent info to developers of emulators.

okay now make sense ?

sometime i got this warning too?

http://prntscr.com/mdq6e5
 

does this also include 3rd party software?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   263
  • Joined:  09/08/13
  • Last Seen:  

Correct

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

any news about this?? have developer try to fix this vulnerability?

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