Remove this from the SQLi need help too . same result as Jimmyxx.
/* Deletes shops in that range */
DELETE FROM `shops` WHERE `shopid` >= 5000 AND `shopid` <= 5081;
/* Deletes shop items in those shops */
DELETE FROM `shopitems` WHERE `shopid` >= 5000 AND `shopid` <= 5081;
Remove this from the SQL
And Re-Execute the sql...PHP:/* Deletes shops in that range */ DELETE FROM `shops` WHERE `shopid` >= 5000 AND `shopid` <= 5081; /* Deletes shop items in those shops */ DELETE FROM `shopitems` WHERE `shopid` >= 5000 AND `shopid` <= 5081;
I deleted the lines now i get duplicate error in 5000 what i should do
Instructions for Beginners
1.) Open All In One.js.
[COLOR="Red"]2.) Press Ctrl+H.
3.) Replace NPCID with whatever NPC you want to use.
4.) Replace PRICE with whatever you want to sell everything for.[/COLOR]
5.) Save.
6.) Open MySQL.
7.) Go to File > Open Script.
8.) Find the All In One.sql.
9.) Execute the All In One.sql.
10.) Go to your repack.
11.) Go to Scripts > NPC.
12.) Open whatever NPC you want to use.
13.) Open All In One.js.
14.) Copy the script into whatever NPC you are using.
15.) Save.
16.) Start server.
17.) I'm getting carried away huh?
18.) Log in.
19.) Go to your NPC, or spawn it with a command.
20.) Enjoy
Thanks, it really worked.
Although the ReadMe wasn't right.
Here's the ReadMe:
Code:Instructions for Beginners 1.) Open All In One.js. [COLOR="Red"]2.) Press Ctrl+H. 3.) Replace NPCID with whatever NPC you want to use. 4.) Replace PRICE with whatever you want to sell everything for.[/COLOR] 5.) Save. 6.) Open MySQL. 7.) Go to File > Open Script. 8.) Find the All In One.sql. 9.) Execute the All In One.sql. 10.) Go to your repack. 11.) Go to Scripts > NPC. 12.) Open whatever NPC you want to use. 13.) Open All In One.js. 14.) Copy the script into whatever NPC you are using. 15.) Save. 16.) Start server. 17.) I'm getting carried away huh? 18.) Log in. 19.) Go to your NPC, or spawn it with a command. 20.) Enjoy
The red part isn't right. It says that you have to search for "NPCID" in All In One.js, but there isn't anything like "NPCID", neither is there the word "PRICE".
You don't have to change anything in All In One.js exept the text that your NPC will say (That's like: Welcome to ...MS / ...Story).
So there is no reason why step 2 would be there.
About step 3: That has to be done in All In One.sql. Make sure that you search CaSe-sEnSiTiVE. Else it won't get the right PRICE and then your Sql will be f*cked up (then you still have the rar or just redownload).
The rest of the ReadMe was good.
Hmmmm...Good job!!!
Now I have this shop working...tt1:
OffTopic:WTH?How to we login now?No login conlum or watever:grr:
I did everything according to the revised read me and Im getting
"Script line: 10 Unknown column '9010002' in 'field list'
I am useing Mia's NPC ID. I also dont see a text box at the top of the MySQL Query Browser window with the All In One Script loaded where it shows a box at the top of the screen near the buttons in your picture where you say to take out and re insert those lines in the script file.