Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > MapleStory
You last visited: Today at 22:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Tut]How to make a Shop w/ mySQL query browser

Discussion on [Tut]How to make a Shop w/ mySQL query browser within the MapleStory forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 150
Join Date: Dec 2007
Posts: 1,860
Received Thanks: 567
Cool [Tut]How to make a Shop w/ mySQL query browser

Okay so, this is how to make a shop using mySQL query browser

Step one:

Choose an NPC and find it's id.
Then, find a shop ID that isn't being used, by going to a resultset and clicking on "Shops"
Choose a shop id.

then, create a new script and insert this in


Code:
[COLOR="Purple"]INSERT INTO shops
(`shopid`, `npcid`)
VALUES
(shopid, npcid);[/COLOR]
<-- of course, change shopid and npc id to what you want them to be

Step 2:

Figure out the item id's, and the price of your items

Then, insert this in for each item:


[CODE]INSERT INTO shopitems (shopid, itemid, price, position) VALUES (shopid, itemid, price, position);[/CODE]

Eg. I want to put an onyx apple into my shop for 25000 mesos and my shopid is 6666

insert this code:


Code:
[COLOR="Purple"]INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6666, 2022179, 25000, 1);[/COLOR]
Note: Position decides where in the shop it'll be. So position 1 will put it first.

Make sure not to have duplicate positions

Good luck with this.
.SketchBear is offline  
Reply


Similar Threads Similar Threads
[HELP]How to make a query
08/04/2020 - EO PServer Hosting - 5 Replies
................ no need now
V14 DB mit Navicat/MySQL Query Browser
09/12/2010 - Flyff Private Server - 4 Replies
Ich habe mal nee Frage. Ich habe mir mal einen PServer mit V13 gemacht. I-Wann habe ich dann auf V14 gemacht. Und auf der Seite wo ich die files und so her hab, steht dass man die DB mit SQL Server Management öffnen muss. Kann ich die DB nicht vllt. i-wie mit Navicat oder MySQL Query Browser öffenen. Denn mit Server Management komme ich nicht zurecht.
How to make a query on character.dbo.user_character SQL server.
04/20/2009 - Dekaron Private Server - 8 Replies
Hello, I found that GM fix. but doesnt work for me i make a character with a error. can any ppl help me?
Problem: MySQL Query Error
09/10/2008 - Flyff Private Server - 2 Replies
Hi, ich hab heute die Serverfiles (rev_1) gedownloadet und auch wie in dem Guide konfiguriert. Sprich: MySQL installiert, Navicat installiert, .inis abgeändert, SQLs in Navicat eingefügt, neuz.ini abgeändert... Ich kann mich auch einloggen, aber bei der Charaktererstellung kommt immer folgendes Problem, egal welche Datenbank ich benutze...: MySQL Query Error 'Field' 'channelnum' doesn't have a default value' Btw: Ich hab auch schon probiert einen beliebigen Wert in der Tabelle...
how to make my browser refresh automaticly?
12/11/2005 - Off Topic - 4 Replies
topic...what do i type in address bar to make it do that?



All times are GMT +2. The time now is 22:21.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.