Matau kad daug kas nori susikurti GM shopa,bet nemoka smiley taigi
as dabar jus pamokysiu sakitykit idemei! Gerai ce labai lengwa bet gal kas nezinos
PIRMA DALIS
pirma reikia tai tureti omenyje:
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 = Ciuvas kuris atrodo kaip joda norijoje =]] = 243
shop10.txt = Elf Lala = 242
Numeriai einantys po lygybes zenklo yra NPC numeriai kurie naudojami monster.txt ir monstersetbase.txt failuose. Turekite tai galvoje...
Taigi dabar monstersetbase.txt faile susiraskite skaiciu atitinkanty kuri nors NPC. pwz jus pasirinkote Hansa. surandate sitas eilutes (NEPAMIRSKITE CIA PAWYZDYS!!!)
Code:
251 0 0 116 141 3
251 0 0 123 126 3
Istrynkite viena is ju o kitoje pakeiskite koordinates i tokia vieta kur niekas negaletu nuejti nebent GM`ai nusiteleportuotu. Pwz:
Code:
251 6 0 250 250 0
Dabar Hansas stoves kazkur stadiumo juodoje vietoje kur niex jo negales pasiekti 251 yra monstro numeris 6 mapo numeris o 250 250 mapo coordinates. Kiti du skaiciai yra tie kuriu jums nederetu liesti
Zinoma GM shopa galima ideti ne tik vienoje vietoje. Tiesiog nukopijuokite eilute ir pakeiskite mapo numeri bei koordinates.
ANTRA DALIS
Dabar jums reikes MuBagShopEditor
Kadangi mes redagavome Hansa su bagshop`u mums reikes editinti shop0.txt faila.
Mano atveju viskas atrodo taip:
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 //Sa****nder+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
Dabar naudodamiesi MuBagShopEditoriumi istrynkite viska ir jei norite kad GM shope butu bokai iraykite sias eilutes:
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
Pirma eilute reiksmes neturi, bet palikite ja kad veliau zinotumete kox cia shopas. NEISTRYNKITE PASKUTINES EILUTES (end). Jei ja istrynsite Gameserveris jums mes klaidos pranesimus... smiley
Jei kas nors nepavyko skaitykite viska is naujo! As esu tikras kad si pamoka veiki 99.99% by GeTTinG smileysmiley