[Guide] Making a GM Shop

View previous topic View next topic Go down

[Guide] Making a GM Shop

Post by  on Sun Dec 23, 2007 1:12 pm

Ok, this is very easy to do, but since not many ppl know how to do it, I decided to make a guide.

Part 1: Locating the GM Shop

First, have this in mind:
shop0.txt = Hans the Blacksmith = 251
shop1.txt = Bar Lorencia = 255
shop2.txt = Pasi The Wizard = 254
shop3.txt = Peddler (N00b area) = 250
shop4.txt = Peddler (Far to the north) = 248
shop5.txt = Potion Girl = 253
shop6.txt = Bar Davias = 244
shop7.txt = Wizard Shop Davias = 245
shop8.txt = Weapon/Armor Shop Davias = 246
shop9.txt = Yoda-Looking Dude In Noria XD = 243
shop10.txt = Elf Lala = 242

The bold number is the number for that NPC used in monster.txt and monstersetbase.txt. Please keep this in mind...

Find, in monstersetbase.txt, all the entries starting with the NPC number you chose.
Eg. You chose Hans? You found these lines (EXAMPLE, REMEMBER!!!)

Code:
251 0 0 116 141 3
251 0 0 123 126 3
You
erase one of them. In the other line, the one you didn't delete, you
put coords of somewhere nobody can get to, only you, by warping.
Example:
Code:
251 6 0 250 250 0
That
would be some weird black spot in the middle of nowhere in Stadium, 251
being the monster code, 6 being the map number, 250 250 being the
coords, the other two numbers being something you shouldnt tamper with
Razz.

Ok, that done, you have set the position of the "GM Shop" and made sure
nobody can get to it, and there are no duplicates of the shop. Of
course, you could always make 2 gm shops in different locations.

Part 2:

For this part, you need Mu Bag Shop Editor
In this case, since we're using Hans, we have to edit shop0.txt. Open it with MuBagShopEditor. In my case, I get this:
Code:
//Hans the Black Smith
4 15 11 255 0 0 0 //Bolts+11
4 7 11 255 0 0 0 //Arrows+11

14 8 0 100 0 0 0 //Antidote
14 1 11 100 0 0 0 //Small Healing Potion+11
14 2 11 100 0 0 0 //Medium Healing Potion+11
14 3 11 100 0 0 0 //Large Healing Potion+11
14 4 11 100 0 0 0 //Small Mana Potion+11
14 5 11 100 0 0 0 //Medium Mana Potion+11
14 6 11 100 0 0 0 //Large Mana Potion+11

13 0 0 0 0 0 0 //Guardian Angel
13 1 0 0 0 0 0 //Satan
13 2 0 0 0 0 0 //Horn of Unilia
13 3 0 255 0 0 0 //DinoRant

14 14 0 0 0 0 0 //Jewel of Soul
14 13 0 255 0 0 0 //Jewel of Bless
14 16 0 255 0 0 0 //Jewel of Life

0 1 0 255 1 1 4 //Short Sword+0+16+skill+luck
0 2 0 255 1 1 4 //Rapier+0+16+skill+luck
0 3 0 255 1 1 4 //Katache+0+16+skill+luck
0 4 0 255 1 1 4 //Scimitar+0+16+skill+luck
0 5 0 255 1 1 4 //Blade+0+16+skill+luck
0 6 0 255 1 1 4 //Gladius+0+16+skill+luck
0 7 0 255 1 1 4 //Falchion+0+16+skill+luck
0 8 0 255 1 1 4 //Serpent Borg+0+16+skill+luck
0 9 0 255 1 1 4 //Salamander+0+16+skill+luck
0 10 0 255 1 1 4 //Light Saber+0+16+skill+luck
0 11 0 255 1 1 4 //Legendary Sword+0+16+skill+luck
0 15 0 255 1 1 4 //Giant Sword+0+16+skill+luck
0 12 0 255 1 1 4 //Helical Sword+0+16+skill+luck

7 1 0 255 0 1 4 //Dragon Helm+0+16+luck
8 1 0 255 0 1 4 //Dragon Armor+0+16+luck
9 1 0 255 0 1 4 //Dragon Pants+0+16+luck
10 1 0 255 0 1 4 //Dragon Gloves+0+16+luck
11 1 0 255 0 1 4 //Dragon Boots+0+16+luck

//Black Dragon Set
7 16 0 255 0 1 7 //Black Dragon Helm
8 16 0 255 0 1 4 //Black Dragon Armor
9 16 0 255 0 1 4 //Black Dragon Pants
10 16 0 255 0 1 4 //Black Dragon Gloves
11 16 0 255 0 1 4 //Black Dragon Boots
Using MuBagShopEditor, delete every line. Now find the items you want to put in the shop.
Eg. If you wanted all BoKs, these would be the codes:
Code:
//Hans The Blacksmith
14 11 8 255 0 1 0 //Box of Kundun+1+Luck
14 11 9 255 0 1 0 //Box of Kundun+2+Luck
14 11 10 255 0 1 0 //Box of Kundun+3+Luck
14 11 11 255 0 1 0 //Box of Kundun+4+Luck
14 11 12 255 0 1 0 //Box of Kundun+5+Luck
end
The first line probably won't appear, but that doesn't matter. That line would be for
reference, so you can remember this shop file is for Hans The Blacksmith.
DO NOT DELETE THE LAST LINE (end)
Without this line, the Gameserver will give you errors. That's about
all you need to do to make a GM Shop. If I forgot anything, post, I
will add it Razz

PS: If you get any errors, or something doesn't come out right, READ THE GUIDE AGAIN.
I am 99.99% sure this guide has no errors.


Favourite Game : MuOnline
Registration date : 1969-12-31

View user profile

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum