Jump to content
  • 0

@go (Rework)


Mystery

Question


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

I need someone with high knowledge on sourcing D:

Basically, what I need is a @go rework.. meaning, I would like it if a PLAYER were to use @go, they will have a separate MENU (No towns) but if a GM were to do @go, they well get all towns + the player menu.

Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

It means towns are removed? so what will be left is nothing I thought @go is for town warping

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

It means towns are removed? so what will be left is nothing I thought @go is for town warping

Isn't there a way where you can make a different menu for players gm level below 1 and another menu for gms above 40? Or I'm guessing it'll take to much sourcing lol
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

It means towns are removed? so what will be left is nothing I thought @go is for town warping

Isn't there a way where you can make a different menu for players gm level below 1 and another menu for gms above 40? Or I'm guessing it'll take to much sourcing lol

this is possible with SRC <-- efficient

but you can do it too with scripting <- -easier

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

but you can do it too with scripting <- -easier

yeah...same opinion as you..xD

i think it is easier with npc scripting

since i have a way to do it..( cant confirm it work well )

but i had some issue with your requests....:P

I would like it if a PLAYER were to use @go, they will have a separate MENU (No towns) but if a GM were to do @go, they well get all towns + the player menu.

If Players do @go ---> No Town ??? :( i though @go usually warp to Town ??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

I would like it if a PLAYER were to use @go, they will have a separate MENU (No towns) but if a GM were to do @go, they well get all towns + the player menu.

If Players do @go ---> No Town ??? :( i though @go usually warp to Town ??

actually @go = already define the x and y including map by the owner or dev

@warp map x y = you have to define it

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

actually @go = already define the x and y including map by the owner or dev

@warp map x y = you have to define it

erm..ya i know..but...seem that he is requesting a Menu type...i guess it would be a bit different ? not sure...

however, i just cant understand......

coz.. he say..when players use @go...no town.... ..LOL ?? i mean ...we use @go to warp to town right usually...

but in his case...he dont want it warp to town ? but gm is okay with the town warp...

and this is inside the Warp Menu...

so, i was thinking to build a simple npc with menu to choose the warp place...

and use @command to call the script perhap this might fit what he want...but of course not using @go unless he really decide to remove the original one..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  221
  • Reputation:   12
  • Joined:  12/18/11
  • Last Seen:  

I'm totally confused. You want a @go with no towns? Then what is the point in the command?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

Well my After reading Post #1 10x

im confused about his request

lets just wait for him to reply again about post #1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  47
  • Topics Per Day:  0.01
  • Content Count:  633
  • Reputation:   78
  • Joined:  11/14/11
  • Last Seen:  

Maybe its like an npc warper but this is used by using @go? Now Iam really confused

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Ahhhh nvm I think it's more easier done via scripting rofl! Anyways thank you all for your replies!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   47
  • Joined:  11/18/11
  • Last Seen:  

Well if you could explain well, I'm pretty sure we could help.

So what you mean is...that the command @go shows/pops-up a MENU? like the scripting one?

atcommand.c

ACMD_FUNC(gocmd)
{
if (pc_isGM(sd) >= 40 && pc_isGM(sd) <= 99) {
	//IF GM LEVEL IS IN THE RANGE WITHIN 40-99
	npc_event(sd,"NPC_NAME::OnLABEL",0);
	return 0;
} else {
	//IF GM LEVEL IS IN THE RANGE WITHIN 0-39
	npc_event(sd,"NPC_NAME::OnLABEL2",0);
	return 0;
}
}

script/npc.txt

-	script	NPC_NAME	-1,{

OnLABEL:
	//MENU FUNC if gm level is (40-99)


OnLABEL2:
	//MENU FUNC2 if gm level is (0-39)


}

Something like that?

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