Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Eudemons Online > EO PServer Hosting
You last visited: Today at 12:30

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

Advertisement



[help] Shop flags and Castles owners

Discussion on [help] Shop flags and Castles owners within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
zspider's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 416
Received Thanks: 131
[help] Shop flags and Castles owners

can any one right script to remove shop flags and castles old owners i tried every rest DB script here and non one of them work for that can any one tell me
thank you
zspider is offline  
Old 03/21/2010, 01:04   #2
 
elite*gold: 0
Join Date: Dec 2009
Posts: 375
Received Thanks: 146
sure i will when i get home from my walk.


Edit: couldnt figure out how to make a easy UPDATE script lol but here it is.
Attached Files
File Type: txt script.txt (616.3 KB, 32 views)
Knight^Hawk is offline  
Thanks
1 User
Old 03/21/2010, 02:36   #3
 
King_Arthur's Avatar
 
elite*gold: 246
Join Date: Jan 2008
Posts: 1,712
Received Thanks: 895
Did you try this?
Quote:
Originally Posted by King_Arthur View Post
Update cq_dynanpc set datastr = 'None', owner_name = default_owner_name, ownerid = 0, price = initial_price, deposit = 0 where ownerid > 9999;
King_Arthur is offline  
Thanks
1 User
Old 03/21/2010, 02:55   #4
 
elite*gold: 0
Join Date: Dec 2009
Posts: 375
Received Thanks: 146
wouldnt u hav to do one for every ID king?
Knight^Hawk is offline  
Old 03/21/2010, 03:04   #5
 
King_Arthur's Avatar
 
elite*gold: 246
Join Date: Jan 2008
Posts: 1,712
Received Thanks: 895
Quote:
Originally Posted by Knight^Hawk View Post
wouldnt u hav to do one for every ID king?
Nope mines all in one. It finds anything owned by a player (where ownerid > 9999)
King_Arthur is offline  
Thanks
1 User
Old 03/21/2010, 03:06   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 375
Received Thanks: 146
did not know that u can use > or < in a query ^^
Knight^Hawk is offline  
Old 03/21/2010, 03:11   #7
 
King_Arthur's Avatar
 
elite*gold: 246
Join Date: Jan 2008
Posts: 1,712
Received Thanks: 895
Quote:
Originally Posted by Knight^Hawk View Post
did not know that u can use > or < in a query ^^
*tip toes slightly off topic* Yes there are plenty of operators available in mysql:
King_Arthur is offline  
Old 03/21/2010, 03:23   #8
 
elite*gold: 0
Join Date: Dec 2009
Posts: 375
Received Thanks: 146
Code:
Update cq_dynanpc set datastr = 'None', owner_name = 'None', default_owner_name = 'None', ownerid = '0' where name ='Castle'; 

or 
for every id

Update cq_dynanpc set datastr = 'None', owner_name = 'None', default_owner_name = 'None', ownerid = '0' where id < 99999999;
these might be more useful to ur needings zspider

some credits go to King_Arthur
Knight^Hawk is offline  
Thanks
1 User
Old 03/21/2010, 15:00   #9
 
zspider's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 416
Received Thanks: 131
ok guys all this script just change the owners name of Shop flag and castles from owner name to None and don't remove it's prize how to remove it's old prize and make with normal prize
zspider is offline  
Thanks
1 User
Old 03/21/2010, 17:34   #10
 
King_Arthur's Avatar
 
elite*gold: 246
Join Date: Jan 2008
Posts: 1,712
Received Thanks: 895
Quote:
Originally Posted by zspider View Post
ok guys all this script just change the owners name of Shop flag and castles from owner name to None and don't remove it's prize how to remove it's old prize and make with normal prize
I never thought of that! Thanks.

Updated script:
Code:
Update cq_dynanpc set datastr = 'None', owner_name = default_owner_name, ownerid = 0, price = initial_price, deposit = 0 where ownerid > 9999;
King_Arthur is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[HELP]Shop Flags
04/27/2010 - CO2 Private Server - 10 Replies
I have a lots of packets in "my" source (LOTF)...not made by me... When I click on a shop flags it pops up "Do you want to start vending?" --> "Yes"--->This place is already in use....I tried to take the shopflag as an usual NPC and try to put the codes inside the NPC when it's clicked but it doesn't seem to work....if anyone is available to help me plz PM me. Thanks :)
HELP Removing Owners of Shops and Castles
12/12/2009 - EO PServer Hosting - 7 Replies
What db i need del to clear the owners in the game? cuz i have reseted the server and i need all shops without owners and the castles too.
how to spawn the shop flags
12/10/2008 - CO2 Private Server - 5 Replies
how to spawn the shop flags i got it in the datebase but canot spawn it help me pleas
To The Owners Of Darklordseo
08/28/2008 - EO PServer Hosting - 3 Replies
Do me a favor you retarded nubs. Just because you need players does not mean you can come to the other popular EO servers and recruite for yours. I personally love seeing BC's like the following (and this was taken from the BC log) 53251 14561767 Gunner 1219881426 0 Darklordseo loking 4 people currently working on 5th summon..High drop rates ws Its rather sad and pathetic you have to attempt to steal players. Going to suck even more for you when 3 servers i know have Knights of the...
[Help] Fixing Castles
08/25/2008 - EO PServer Hosting - 4 Replies
Hey, I need help to fix castles! If anyone know how to fix it, please tell it me. But please, please do not send me any full databases...



All times are GMT +2. The time now is 12:30.


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.