Jump to content
  • 0

Warp to the GM


Kido

Question


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

Hello, i would like to know if it's possible to make a npc that when the player click it the npc opens a menus where the player can choose to see the cords of the postion of the gm or select to warp to where the gm is instead o:

 

thank you so much in advance o:!

 

example lol

Hello, i can tell you where the GM is, or instead i can teleport you right to the where the GM is. What would you like to do?
-1Know where the GM is
-2Go to where the GM is
1 Allright, the GM is here:
map,cord X, cord Y
have a nice day
2 Allright, i will teleport you right to where the GM is
teleports to where the GM is
end

thanks again o:!

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

prontera,150,150,1	script	GM Tracker	101,{

.@gm_name$ = "GM Untrustworthy";

mes "Tracking: " + .@gm_name$;

next;

.@i = select("Get coordinates.:Warp to GM.");

if (!getcharid(0,.@gm_name$)) {

mes .@gm_name$ + " is not online.";

close;

}

getmapxy(.@map$,.@x,.@y,0,.@gm_name$);

if (.@i == 1)

mes sprintf("%s is at %s (%d,%d).",.@gm_name$,.@map$,.@x,.@y);

else

warp .@map$,.@x,.@y;

close;

}

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  32
  • Reputation:   2
  • Joined:  06/09/12
  • Last Seen:  

atcommand "@goto "+(var gm name);

do not know if it works :S

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

i tryied that, even with acc. number and doesn't work D:! 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

prontera,150,150,1	script	GM Tracker	101,{
	.@gm_name$ = "GM Untrustworthy";

	mes "Tracking: " + .@gm_name$;
	next;
	.@i = select("Get coordinates.:Warp to GM.");
	if (!getcharid(0,.@gm_name$)) {
		mes .@gm_name$ + " is not online.";
		close;
	}
	getmapxy(.@map$,.@x,.@y,0,.@gm_name$);
	if (.@i == 1)
		mes sprintf("%s is at %s (%d,%d).",.@gm_name$,.@map$,.@x,.@y);
	else
		warp .@map$,.@x,.@y;
	close;
}

 

woa thank you so much Euphy it totally works o: !

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

@kido...  don't get mad on me :( i was gonna ask for some gm menu adder on that script ^^

 

@euphy.. what if theres a menu on disabling that gm finder.. for gm menu only.. so that when theres an event.. they can't use it (E.G Hide and Seek Event)^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Can't you just use @hidenpc and @shownpc for that?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

lol yea i would also use @unloadnpc GM Tracker

 

it shouldn't be a problem to deal with o:

 

@DwGen why i would get mad? to start with, we should be really thankful to all ppl here answering our questions, it's not a problem for me to share or something else :) feel free to

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  168
  • Reputation:   0
  • Joined:  11/20/13
  • Last Seen:  

@euphy.. yea ur ryt T_T (why did i never think of that)

@kido thx ^^

 

what about hmmm, addning specific acct id on it? i min i want to add E.G my helper on there. so the players can ask even without us GM's.. my helper is only a normal player ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

@euphy.. yea ur ryt T_T (why did i never think of that)

@kido thx ^^

 

what about hmmm, addning specific acct id on it? i min i want to add E.G my helper on there. so the players can ask even without us GM's.. my helper is only a normal player ^^

lol np

 

then you just replace the "test1" for the name of your helper

 

i also made some copies of it for different gm's that i may have :)

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