Register for your free account! | Forgot your password?

You last visited: Today at 20:42

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

Advertisement



[Update] Customized DB2Media

Discussion on [Update] Customized DB2Media within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
[Update] Customized DB2Media

Hello everyone,

Recently I was searching for an automated textdata generator to use it with other tools. I saw that the “DB2Media” converter released by JustNrik seems to do a good job, but I found some issues while using it and created a more flexible version.



New features:
- output filenames are configurable by XML (see files.xml)
- option to close the window after completing automatically
- option to use an absolute foldername, if you want to generate the files in a different location
- option to autodelete "skilldata" files if you are using vsro
- option to autodelete "skilldataenc" files if you are not using vsro
- option to partially generate files (see files.xml)
- If you start the tool after autogenerating the XML files it will ask for connection details
- removed the watermark from output files and added a delay to show JustNrik's name

Bugfix:
- The tool will ping on your target before connecting with SQL
- If you do not have an output folder the tool will not automatically close anymore
- Fixed filenames to match vsro (you can edit them anyway)
- standard "username" and "password" is changed to "0815" to enable external XML handling (seems to be tricky with empty entries)

Usage:
- You can execute the exe anywhere, it will autogenerate config files.
- The tool will ask for your login details on the 2nd startup
- It will run automatically, if you were able to connect to the SQL server.

While using this tool I discovered some issues in my own database. You might not be able to use the autogenerated textfiles before fixing all the issues by hand. I'll recommend to copy the files one by one in your media.pk2 and run a complete login (spawn your char too...). Then continue with the next file.

Example of "bugs":
- Generated a <crlf> at the end of a bsr link in chardata
- Chardata did not match to worldmapguide, disabled entries in DB
- Skilldata files messed up

Virustotal Link:



The source is updated to VS2015.

Have fun.
Attached Files
File Type: zip DB2Media_src.zip (111.1 KB, 217 views)
File Type: zip DB2Media.zip (27.7 KB, 209 views)
guckguck is offline  
Thanks
10 Users
Old 03/25/2020, 17:46   #2

 
XxGhostSpiriTxX's Avatar
 
elite*gold: 53
Join Date: Jul 2012
Posts: 541
Received Thanks: 190
Good thanks for shared bro!
XxGhostSpiriTxX is offline  
Old 03/26/2020, 07:14   #3




 
VORTEX*'s Avatar
 
elite*gold: 1014
Join Date: Apr 2015
Posts: 1,028
Received Thanks: 1,243
that's kinda nice from you to edit other work to make it useful
VORTEX* is offline  
Old 03/26/2020, 15:07   #4
 
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
Small update:
- changed standard entries for username/password to "0815"

It is not possible to "update" empty XML entries if you use an external tool. Thus it is easier to use some kind of dummy entry.
guckguck is offline  
Old 03/26/2020, 18:36   #5


 
*Deadly's Avatar
 
elite*gold: 1
Join Date: Feb 2020
Posts: 418
Received Thanks: 199
Thank you
*Deadly is offline  
Old 04/01/2020, 05:58   #6
 
ByMnkn's Avatar
 
elite*gold: 61
Join Date: Sep 2011
Posts: 341
Received Thanks: 56
Quote:
Originally Posted by guckguck View Post
Small update:
- changed standard entries for username/password to "0815"

It is not possible to "update" empty XML entries if you use an external tool. Thus it is easier to use some kind of dummy entry.
Works if you leave sql_name empty

Code:
<server_name>BYMNKN</server_name>
<sql_name></sql_name>
<database>SRO_VT_SHARD</database>
<username>sa</username>
<password>123</password>
ByMnkn is offline  
Old 04/01/2020, 10:02   #7
 
White Ros3's Avatar
 
elite*gold: 6
Join Date: Nov 2013
Posts: 279
Received Thanks: 223
nice one
White Ros3 is offline  
Old 04/01/2020, 17:13   #8
 
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
Quote:
Originally Posted by ByMnkn View Post
Works if you leave sql_name empty

Code:
<server_name>BYMNKN</server_name>
<sql_name></sql_name>
<database>SRO_VT_SHARD</database>
<username>sa</username>
<password>123</password>
If you are using an external function call like below, you cannot leave it blank. The "XML update" function is failing on empty entries. Ofc. you could add an entry like "if empty then code else other code" but this is complicated with autoit's XML API, because you would need additional functions for writing into an empty entry.

Code:
_XML_UpdateField($oXMLDoc_config, "config/sqlconfig/password", $sql_pass_name)
I do not call this program from the explorer window. There is a button in my DB adjusting tool, that is creating required media files on request. The XML file will be generated prior execution to support partial downloading and options. There is even a backup routine, because the program is using the SMC patch folder directly:

Code:
1: Open XML file
2: Update entries according to user selection
3: Write XML file
4: Run zip backup
5: Call the "DB2Media" tool
Btw. I tried to leve the SQL name blank and it did not connect. Maybe it is trying to use a default SQL server in your case, if there is only one valid selection.
guckguck is offline  
Old 04/28/2020, 20:10   #9
 
elite*gold: 0
Join Date: Jul 2013
Posts: 149
Received Thanks: 15
how to fix please



[OrO is offline  
Old 04/29/2020, 05:45   #10
 
ByMnkn's Avatar
 
elite*gold: 61
Join Date: Sep 2011
Posts: 341
Received Thanks: 56
Quote:
Originally Posted by [OrO View Post
how to fix please




<sql_name></sql_name>

and work
ByMnkn is offline  
Old 04/29/2020, 07:03   #11
 
elite*gold: 0
Join Date: Jul 2013
Posts: 149
Received Thanks: 15
Quote:
Originally Posted by ByMnkn View Post
<sql_name></sql_name>

and work
itry this too .. same problem
[OrO is offline  
Old 04/29/2020, 13:04   #12
 
ByMnkn's Avatar
 
elite*gold: 61
Join Date: Sep 2011
Posts: 341
Received Thanks: 56
Quote:
Originally Posted by [OrO View Post
itry this too .. same problem

<server_name>BYMNKN</server_name>
<sql_name></sql_name>
<database>SRO_VT_SHARD</database>
<username>sa</username>
<password>123</password>

try

server_name
username
password

edit
ByMnkn is offline  
Old 04/29/2020, 14:44   #13
 
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
The SQL name is only "SQLEXPRESS" in your case, while "TAREK" being your server- (computer-) name.
guckguck is offline  
Old 04/29/2020, 18:32   #14
 
elite*gold: 0
Join Date: Jul 2013
Posts: 149
Received Thanks: 15
same problem

what i do with <folder>\Patch_Internal\media\server_dep\silkroad\ textdata</folder>
<folder2>C:\Textdata</folder2>

did ihave to edite them ?
[OrO is offline  
Old 04/29/2020, 21:28   #15
 
elite*gold: 0
Join Date: Mar 2008
Posts: 159
Received Thanks: 61
I forgot to attach the SDEncrypt.dll in the zip file.
Please download it one more time and try it again.
guckguck is offline  
Reply

Tags
db2media, texdata, vsro


Similar Threads Similar Threads
[Release] Customized DB2Media
09/28/2022 - SRO PServer Guides & Releases - 20 Replies
Hello e*pvperz, here I bring a customized DB2Media that may be useful for many of you. What's different in this tool than the DB2Media most dev already use? -This one allows you to split your SkillData, ItemData and CharacterData which will make updates to take lower as well as the client itself will open faster in low-end computers. -RefShopGroup was added -Auto encryption of skilldata is no longer optional, anyway it's working perfectly using any skill data split method.
Customized FASTBLADE
09/18/2006 - Conquer Online 2 - 3 Replies
Hey guys, ITs been a while since i have seen any customized FB images... The only one i have found is the christmas Fastblade which is kinda lame. Anyone else have a simple 1? Like a bright orange FB? or just a simple one but cool colors? Thanks guys :bandit: :bandit: :bandit:
GM customized items pls help
02/12/2006 - World of Warcraft - 0 Replies
I think i spent like 2 weeks tryin to find this freaking program !!! and I`m getting pissed of , could anyone post me a link where i could dl this ?
L2Walker 10.2.3 - Customized for l2x -
02/01/2006 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 4 Replies
README IS INSIDE. All credits goes to Arsec ( Not from this forum ). I Only made the readme. Have fun people :)... :D >> Download it << Scan it if you want. Its Totally Safe :)



All times are GMT +1. The time now is 20:44.


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.