Jump to content
  • 0

[Debug] : Script debug : 0 110120319 : [Event] : npc is at : 113 & 315


DEsMOn

Question


  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

Hello Scripters,

I can't find a solution for this debug, Any pro scripter can guide to fix this issue.

npc is at :113 & 315 is random location.

image.png.7fca9437288a58d6224211c9aeb52cd3.png

find_gm_1.0.1.txt

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

You should make a better explanation of your problem.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  63
  • Topics Per Day:  0.05
  • Content Count:  172
  • Reputation:   1
  • Joined:  11/16/20
  • Last Seen:  

1 hour ago, cook1e said:

You should make a better explanation of your problem.

Already provided SS of CMD debug, and added script what else detail required more to elaborate?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  171
  • Reputation:   68
  • Joined:  10/25/20
  • Last Seen:  

I still don't know exactly what you want but these are the changes i did.

from
 

	unitwarp getnpcid(0),.map$,.@x,.@y;
	debugmes "[Event]: npc is at: "+.@x+" & "+.@y;

to

	unitwarp getnpcid(0),.map$,.@x,.@y;
	if (.debugMode)
		debugmes "[Event]: npc is at: "+.map$+" "+.@x+" & "+.@y;


To enable or disable debug.

.debugMode = 0; // 1 = enabled // 0 = disabled



 

find_gm_1.0.1.txt

Edited by cook1e
Attach Script
  • Love 1
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...