Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > 4Story
You last visited: Today at 15:27

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

Advertisement



[Fix]How to fix the Exploit Change Name from Database

Discussion on [Fix]How to fix the Exploit Change Name from Database within the 4Story forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2010
Posts: 214
Received Thanks: 171
[Fix]How to fix the Exploit Change Name from Database

EDIT:
Sicarium is offline  
Thanks
3 Users
Old 10/06/2013, 10:10   #2
 
elite*gold: 50
Join Date: Mar 2010
Posts: 1,373
Received Thanks: 521
Really bad solution to fix a problem like that to be honest. This will just slow down the process of updating names when it is done e.g. by using some namechange scroll.
jacky919 is offline  
Thanks
1 User
Old 10/06/2013, 16:12   #3
 
elite*gold: 0
Join Date: Nov 2010
Posts: 214
Received Thanks: 171
It isn't stupid and it isn't slow, test it before speak^^^.
Why the people must use always and everytime namechange scroll when my script fix it alone ?.
Test it please .

Jacky919 if you want to be more sure, you can use this, but i repeat, it dont get slow


Code:
CREATE PROCEDURE [dbo].[PRTName]
AS
BEGIN
DECLARE @name1 VARCHAR(50)
DECLARE @name2 VARCHAR(50)
DECLARE @szNAME VARCHAR(50)
DECLARE @szNAME2 VARCHAR(50)
DECLARE @dwCharID INT
DECLARE @dwUserID INT
DECLARE @fakename VARCHAR(50)

SET @fakename = 'put_here_the_fake_name'


SELECT @name1 = szNAME FROM TCHARTABLE WHERE dwCharID = 1
SELECT @name2 = szNAME FROM TCHARTABLE_BACK WHERE dwCharID = 1

if(@name1 != @name2)
BEGIN
DECLARE bGroup_Cursor CURSOR FOR SELECT dwUserID,dwCharID,szNAME FROM TCHARTABLE
OPEN bGroup_Cursor
FETCH NEXT FROM bGroup_Cursor INTO @dwUserID,@dwCharID,@szNAME
WHILE @@FETCH_STATUS = 0
   BEGIN	
		  SELECT @szNAME2 = szNAME FROM TCHARTABLE_BACK WHERE dwCharID = @dwCharID  
			IF(@szNAME = @fakename)
	BEGIN
UPDATE TCHARTABLE SET szNAME = @szNAME2 WHERE dwCharID = @dwCharID 
	END
			FETCH NEXT FROM bGroup_Cursor INTO @dwUserID,@dwCharID,@szNAME
END
CLOSE bGroup_Cursor
DEALLOCATE bGroup_Cursor
END
END
Sicarium is offline  
Old 10/06/2013, 16:23   #4
 
elite*gold: 0
Join Date: Aug 2013
Posts: 348
Received Thanks: 65
Yes but at that exploit not just chars rename... the server is also crashing...
iKonsT is offline  
Old 10/06/2013, 16:30   #5
 
elite*gold: 0
Join Date: Nov 2010
Posts: 214
Received Thanks: 171
you fix it with the services fixed, this is only for exploit change name.
Sicarium is offline  
Old 10/06/2013, 20:40   #6
 
glossypvp's Avatar
 
elite*gold: 0
Join Date: Aug 2011
Posts: 662
Received Thanks: 658
That's only a script which restore char names. It's a better way if you find out what's causing that rename bug.
Now, you have rename bug like 5 times a day, and this script is restoring char names one by one.
It's not a real solution to it, it's just hiding that problem. Anyways good work.
It's more reasonable if you use a script something like this when someone load his character list I think, so the player won't notice that his char was bugged.
glossypvp is offline  
Reply


Similar Threads Similar Threads
change database
02/06/2013 - Metin2 Private Server - 2 Replies
hi, i want to change database but i don't know how. i delete all existing files on "/var/db/mysql " and paste new database files after i set permisions file... ? how it works?
[HOW-TO]Change Database[EP][SQL]
09/22/2012 - Shaiya PServer Development - 6 Replies
Hello Elite Pvpers , You wanna know how to change database in SQL? Then u came to the right place.. The Steps: 1] Open SQL 2] Connect 3] Now you'll see PS_UserData , PS_GameData and etc etc 4] Right click Them > Tasks > Detach > and Detach it and all. 5] After your done , Right click on System Database > Attach And choose the wanted PS_UserData etc. Ep 5 Database If u need : Credits To Shaiya xtreme
[WTS] Zandekaron Server/Database/gm panel exploit.
10/02/2011 - Dekaron Trading - 5 Replies
Contact me @ pacmanmelody on skype. I provide the exploit and the method. I will not explain exactly how to do it. I advise if you buy it you have some knowhow on how to use exploits (Though I have a youtube video on how to do the exploit) or you have a friend willing to do it. If this sort of exploit isn't allowed just say. Comes with: GM panel exploit-Allows you to ban people, unban people, so on so forth. Database exploit: See everything.. literally in text, no salted DB....
[HOW TO]Change database password
10/02/2011 - Shaiya PServer Development - 0 Replies
Remove this please .
How can i change the sea emulator database with OO?
12/29/2010 - SRO Private Server - 10 Replies
hi i have a problem i dont know how i can open and change my sea emulator database with open office? when i open it with oo then it load and then nothing come^^ sry for my bad english^^ hi ich habe ein problem wenn ich versuche die db von meinem sea server zu öffnen mit open office läd es und dann wenn´s normal fertig ist hängt es sich auf uns geht aus kennt wer ne lösung?



All times are GMT +1. The time now is 15:29.


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