Jump to content

[Guide]Create your own GMSHOP


Recommended Posts

Hi guys,I thought about creating a guide for GMshop.

 

Ok first of all,you must create your npc. PART I

 

1)Open your Navicat.

2)Open table npc.

3)Ok it has to be a monster.Let's try it out with Zaken.

4)Press the + at the bottom of the navicat.Means to add an npc.

5)Then you see a line without text.In the field id put your own id ex.95012.None of the npcs should have this number.

6)Id template same as Zaken's 13099.Or another what you want but remember it has to be a monster.

7)Field name-your desired name example Ntourim.

8)Server side name,leave it 0.

9)Title,put your own title.

10)Serversidetitle leave it 0.

11)Class put the same as your monster.LineageMonster.zaken_tr <--example.

12)collision_radius,collision_height,level and sex put the same as your monster.

13)Type put L2Merchant

14)From attackrang to the end which is drop_herbs put exactly the same stats as your monsters.

 

~Now if you want you can open your server and spawn your npc and see your progress.~

 

PART II

 

1)Go to your server/data/html/merchant

2)You see some numbers like 13128,13128-bought,13128-sold.The 13128 means that when you open your gmshop what do you want to say.

The 13128-bought means that when you buy something what do you want to say and 13128-sold when you sold something what do you want to say.

3)Now copy paste into the same folder,those 13128,13128-bought or 13128-sold or anothers numbers if you want.

4)Rename it as the npc id you created example 95012.All the three of them 95012,95012-bought,95012 sold.

5)By opening them with notepad you can edit what they say.

6)Open Navicat again.

7)Open table merchant_shopids.

8)In shop_id put a number of your choise.I suggest 95012 as your npc you created.

9)In npc_id 95012 you must put the id of your npc example 95012.

10)Go back where you were into merchants folder and open with notepad 95012 html.

11)Find this line<a action="bypass -h npc_%objectId%_Buy 310000555">Buy</a><br>.<---Change the number to 95012.

The number 95012 means that is connected with the shop_id we put before in Navicat.

12)Open 95012-bought find the line <a action="bypass -h npc_%objectId%_Buy  310000555">Buy</a><br>.<---Change the number to 95012.

13)Open 95012-sold find the line <a action="bypass -h npc_%objectId%_Buy  310000555">Buy</a><br>.<---Change the number to 95012.

 

PART III

(Be very careful as you edit those fields.)

1)Open Navicat

2)Open table merchant_buylists.

3)item_id put the id of your selling product.example 6580<--Tallum Dark Legions(Dual Swords S grade).

4)Price,put your price.

5)Shop_Id Put the id of your npc.example 95012

6)Order means in what kind of line you want your item.As it your first item put 1.That means when you open the Gmshop the first item you see would be the dual swords.

When you add another item do exactly the same only put in order number 2,that means it would be the 2nd item,next to dual swords and so on.

7)count means how much you want to buy each time.Example since we put duals let's put 1.

8)CurrentCount the same as count.Example we put 1.

9)time and savetime leave it 0.

 

~Enjoy your npc~

 

A little explanation about prices.

1000000000<-The ten numbers means 1 billion in adenas

100000000<-The nine numbers means millions in adenas.

Tip

Be careful with the prices,don't put 11 numbers or more.In order to have a normal gameplay think of the clans that would capture a castle and raise the tax.So don't put extremely high numbers.

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 1 year later...

Hi guys,I thought about creating a guide for GMshop.

 

Ok first of all,you must create your npc. PART I

 

1)Open your Navicat.

2)Open table npc.

3)Ok it has to be a monster.Let's try it out with Zaken.

4)Press the + at the bottom of the navicat.Means to add an npc.

5)Then you see a line without text.In the field id put your own id ex.95012.None of the npcs should have this number.

6)Id template same as Zaken's 13099.Or another what you want but remember it has to be a monster.

7)Field name-your desired name example Ntourim.

8)Server side name,leave it 0.

9)Title,put your own title.

10)Serversidetitle leave it 0.

11)Class put the same as your monster.LineageMonster.zaken_tr <--example.

12)collision_radius,collision_height,level and sex put the same as your monster.

13)Type put L2Merchant

14)From attackrang to the end which is drop_herbs put exactly the same stats as your monsters.

 

~Now if you want you can open your server and spawn your npc and see your progress.~

 

PART II

 

1)Go to your server/data/html/merchant

2)You see some numbers like 13128,13128-bought,13128-sold.The 13128 means that when you open your gmshop what do you want to say.

The 13128-bought means that when you buy something what do you want to say and 13128-sold when you sold something what do you want to say.

3)Now copy paste into the same folder,those 13128,13128-bought or 13128-sold or anothers numbers if you want.

4)Rename it as the npc id you created example 95012.All the three of them 95012,95012-bought,95012 sold.

5)By opening them with notepad you can edit what they say.

6)Open Navicat again.

7)Open table merchant_shopids.

8)In shop_id put a number of your choise.I suggest 95012 as your npc you created.

9)In npc_id 95012 you must put the id of your npc example 95012.

10)Go back where you were into merchants folder and open with notepad 95012 html.

11)Find this line<a action="bypass -h npc_%objectId%_Buy 310000555">Buy</a><br>.<---Change the number to 95012.

The number 95012 means that is connected with the shop_id we put before in Navicat.

12)Open 95012-bought find the line <a action="bypass -h npc_%objectId%_Buy  310000555">Buy</a><br>.<---Change the number to 95012.

13)Open 95012-sold find the line <a action="bypass -h npc_%objectId%_Buy  310000555">Buy</a><br>.<---Change the number to 95012.

 

PART III

(Be very careful as you edit those fields.)

1)Open Navicat

2)Open table merchant_buylists.

3)item_id put the id of your selling product.example 6580<--Tallum Dark Legions(Dual Swords S grade).

4)Price,put your price.

5)Shop_Id Put the id of your npc.example 95012

6)Order means in what kind of line you want your item.As it your first item put 1.That means when you open the Gmshop the first item you see would be the dual swords.

When you add another item do exactly the same only put in order number 2,that means it would be the 2nd item,next to dual swords and so on.

7)count means how much you want to buy each time.Example since we put duals let's put 1.

8)CurrentCount the same as count.Example we put 1.

9)time and savetime leave it 0.

 

~Enjoy your npc~

 

A little explanation about prices.

1000000000<-The ten numbers means 1 billion in adenas

100000000<-The nine numbers means millions in adenas.

Tip

Be careful with the prices,don't put 11 numbers or more.In order to have a normal gameplay think of the clans that would capture a castle and raise the tax.So don't put extremely high numbers.

 

wtf is this for C4 server? this is all wrong......

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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