Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 16:25

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

Advertisement



[Request] Wipe everything

Discussion on [Request] Wipe everything within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2008
Posts: 355
Received Thanks: 5
[Request] Wipe everything

How can I wipe everything safely, using SQL code. I saw a SQL wipe before but I tried it, I got an error something like "Name is already in use".

So if you don't mind can you please give me a clean SQL(data) Wipe? Thank you
khemomo is offline  
Old 12/11/2017, 12:35   #2
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Code:
USE CHARACTER_01_DBF
GO

EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'
EXEC sp_MSForEachTable 'DELETE FROM ?'
EXEC sp_MSForEachTable 'ALTER TABLE ? CHECK CONSTRAINT ALL'
EXEC sp_MSForEachTable 'DBCC CHECKIDENT (?, RESEED, 1)'
GO
Better backup your BASE_VALUE_TBL, since you'll need it's data for new characters.
xTwiLightx is offline  
Thanks
2 Users
Old 12/14/2017, 10:23   #3
 
elite*gold: 0
Join Date: Jun 2008
Posts: 355
Received Thanks: 5
Quote:
Originally Posted by xTwiLightx View Post
Code:
USE CHARACTER_01_DBF
GO

EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'
EXEC sp_MSForEachTable 'DELETE FROM ?'
EXEC sp_MSForEachTable 'ALTER TABLE ? CHECK CONSTRAINT ALL'
EXEC sp_MSForEachTable 'DBCC CHECKIDENT (?, RESEED, 1)'
GO
Better backup your BASE_VALUE_TBL, since you'll need it's data for new characters.
I just tried to copy and paste this to my sql as new query but it says

Msg 102, Level 15, State 1, Line 3
Incorrect syntax near '.'.

What does it mean?
khemomo is offline  
Old 12/14/2017, 12:06   #4
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by khemomo View Post
I just tried to copy and paste this to my sql as new query but it says

Msg 102, Level 15, State 1, Line 3
Incorrect syntax near '.'.

What does it mean?
My fault.

Code:
EXEC sp_MSForEachTable "DBCC CHECKIDENT ('?', RESEED, 1)"
xTwiLightx is offline  
Thanks
1 User
Old 12/15/2017, 01:01   #5
 
elite*gold: 0
Join Date: Jun 2008
Posts: 355
Received Thanks: 5
Quote:
Originally Posted by xTwiLightx View Post
My fault.

Code:
EXEC sp_MSForEachTable "DBCC CHECKIDENT ('?', RESEED, 1)"
Dude, sorry for giving you another question

Do I just need to copy and paste this as new query and execute, or do I need to Execute this too?


Because I got this error while executing the one that you've given to me


Thank you for your response
khemomo is offline  
Old 12/15/2017, 01:53   #6
 
elite*gold: 0
Join Date: Dec 2014
Posts: 190
Received Thanks: 87
i have a release in the release section just copy and paste in the new query and execute.,
Zeljian is offline  
Old 12/15/2017, 07:33   #7
 
elite*gold: 0
Join Date: Jun 2008
Posts: 355
Received Thanks: 5
Quote:
Originally Posted by Zeljian View Post
i have a release in the release section just copy and paste in the new query and execute.,
Yeah and then after that when you create a character it will go and said name is already in use even if its not.
khemomo is offline  
Old 12/15/2017, 16:33   #8
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,741
Received Thanks: 1,674
Quote:
Originally Posted by khemomo View Post
Dude, sorry for giving you another question

Do I just need to copy and paste this as new query and execute, or do I need to Execute this too?


Because I got this error while executing the one that you've given to me


Thank you for your response
Quote:
Msg 7997, Level 16, State 1, Line 3
'tblCouple_deleted' does not contain an identity column.
Lines like this one are just for information purpose. The script tries to uncheck indexes on every table - if a table doesn't have one, this line will appear.

You'll have to copy my script and replace
Code:
USE CHARACTER_01_DBF
by
Code:
USE ACCOUNT_DBF
if you also want to wipe account data and
Code:
USE LOGGING_01_DBF
for the logging data - basically, the script with all single "DELETE FROM" statements does the same as my does; except the fact that IDENTITY columns are being reset in mine.
xTwiLightx is offline  
Thanks
1 User
Old 12/15/2017, 23:44   #9
 
elite*gold: 0
Join Date: Jun 2008
Posts: 355
Received Thanks: 5
I'am curious how they made a script for database. I tried on my ACCOUNT_DBF > Script Database as > CREATE to > New Query Editor Window.

but its incomplete I mean all my custome code in character STR or something in account is cannot be seen.


Something just like this [Code is being cut to make it short]

[ATTACH]Here's the sample what I want to do to my Database[/ATTACH]



From their own database? how they get this? thank you this just most likely having a backup for their database without the data of the players (Name job loggins characters) its just like the code/data.

I wanted to know how they did it because I still stick with restoring database from backup lol.
Attached Files
File Type: txt Database2014.txt (592.6 KB, 10 views)
khemomo is offline  
Old 12/16/2017, 09:47   #10
 
elite*gold: 0
Join Date: Mar 2013
Posts: 204
Received Thanks: 38
why dont you delete the database and execute your database again? or restore your clean database again?
flyffdev is offline  
Thanks
1 User
Old 12/16/2017, 11:25   #11
 
elite*gold: 0
Join Date: Jun 2008
Posts: 355
Received Thanks: 5
Quote:
Originally Posted by flyffdev View Post
why dont you delete the database and execute your database again? or restore your clean database again?
Because I did some changes in database and forget what i Edit there and I accidentally delete my backup for my clean database. So i was wondering how to get a clean (No character no login datas) database script again.
khemomo is offline  
Old 12/16/2017, 13:12   #12
 
elite*gold: 0
Join Date: Mar 2013
Posts: 204
Received Thanks: 38
Use AiO Database Script of sedrika and add all you need to add there?
flyffdev is offline  
Old 12/17/2017, 19:43   #13
 
elite*gold: 0
Join Date: Jan 2017
Posts: 301
Received Thanks: 28
Wtf man, is it that hard? if try getting some backups and restore database. If itīs says database already exist go to sql folder and delete the files from that particular database or use a query to do so. End of story should be enough information tho
KingKeesie is offline  
Old 12/18/2017, 01:08   #14
 
elite*gold: 0
Join Date: Jun 2008
Posts: 355
Received Thanks: 5
Quote:
Originally Posted by KingKeesie View Post
Wtf man, is it that hard? if try getting some backups and restore database. If itīs says database already exist go to sql folder and delete the files from that particular database or use a query to do so. End of story should be enough information tho
WTF man, I don't know if you read some of my reply but thank you for your response.

#closerequest Thank you.
khemomo is offline  
Old 12/18/2017, 09:56   #15
 
elite*gold: 0
Join Date: Jan 2017
Posts: 301
Received Thanks: 28
Quote:
Originally Posted by khemomo View Post
WTF man, I don't know if you read some of my reply but thank you for your response.

#closerequest Thank you.
Lel
KingKeesie is offline  
Reply


Similar Threads Similar Threads
NEW SERVER: Oxidized Mindset 2WK Wipe, Fresh wipe
03/14/2017 - Rust Server Advertising - 0 Replies
Brand new server wiped yesterday: 3/13/17 at 6pm (PT) Admin and Mod have over 2500 combined hours of playtime, very mature and never interrupt gameplay. If you would like us to play with the community we do so the vanilla way and dont use any powers to gain advantage in PvP EVER. Vanilla, 5 man group max, admin base for raiding, small random starter bases, join now and be one of the original community members and help us grow! Once server pop is at a consistent 40-50 i will raise the...



All times are GMT +1. The time now is 16:26.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.