Jump to content
  • 0

Question

Posted (edited)

Hello i want to edit my @go command it has no problem on compiling it just says that when compiling there is a modified mapindex.h and atcommand.c but the compile is complete so i can run the server, the problem is when i use @go command the this i want to show didnt xD heres the this i edited so far.

 

atcommand.c

		{ MAP_BG,      110,  39 }, // 36=Battlegrounds
		{ MAP_VENDING,      110,  39 }, // 37=market
		{ MAP_TURBO,      110,  39 }, // 38=MALL
		{ MAP_EDEN,      110,  39 }, // 39=EDEN
	} else if (strncmp(map_name, "bg", 3) == 0) {
		town = 36;
	} else if (strncmp(map_name, "market", 3) == 0) {
		town = 37;
	} else if (strncmp(map_name, "mall", 3) == 0) {
		town = 38;
	} else if (strncmp(map_name, "eden", 3) == 0) {
		town = 38;
	}

 

mapindex.h

#define MAP_TURBO "turbo_room"
#define MAP_VENDING "poring_w01"
#define MAP_BG "bat_room"
#define MAP_EDEN "moc_para01"

 

And yet there is no changes, yes of course i recompile the server xD please help me with this thanks in advance!

another thing how can i remove restrictions of normal player using @go, when they are using @go 28 or something it says you are not authorized to warp there.

Edited by Vex

2 answers to this question

Recommended Posts

  • 1
Posted

If you're talking about the message when you type '@go' try to edit it in conf/help.txt

go: "Params: <city name|number>\n" "Warps you to a city.\n"
	"  -3: (Memo point 2)  14: louyang         31: mora\n"
	"  -2: (Memo point 1)  15: start point     32: dewata\n"
	"  -1: (Memo point 0)  16: prison/jail     33: malangdo island\n"
	"   0: prontera              17: jawaii             34: malaya port\n"
	"   1: morocc                18: ayothaya       35: eclage\n"
	"   2: geffen                  19: einbroch\n"
	"   3: payon                  20: lighthalzen\n"
	"   4: alberta                 21: einbech\n"
	"   5: izlude                   22: hugel\n"
	"   6: aldebaran           23: rachel\n"
	"   7: xmas (lutie)        24: veins\n"
	"   8: comodo               25: moscovia\n"
	"   9: yuno                     26: midgard camp\n"
	"  10: amatsu               27: manuk\n"
	"  11: gonryun              28: splendide\n"
	"  12: umbala               29: brasilis\n"
	"  13: niflheim              30: el dicastes\n"

 

For your last question just add a mapflag nowarpto

splendide	mapflag    nowarpto

 

  • Upvote 1
  • Love 1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...