Jump to content

Tool for official proto's


Recommended Posts

  • Premium

Personally i dumped the official protos to xml, then i made the sql queries off that, and then with a python converter, i made txt files by linking my proto databases to that converter.

That way i've got the txts.

  • Love 1

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

To convert item_proto sql to txt files, you need this script in python: http://pastebin.com/WitKDY41

 

You need MySQLdb on your freebsd

If you haven't it, just install it - it's a mysql library to python

cd /usr/ports/databases/py-MySQLdb/ && make install clean

 

You need also change the connection properties in script

default it's:

host_mysql = 'localhost'
user_mysql = 'mt2'
passwd_mysql = 'mt2!@#'

And if you want convert also mob_proto in this way, you need onlu change from

#print mob_proto()

to

print mob_proto()

Run convert.py Script on Putty with ./convert.py or python convert.py and download item_names,txt, item_proto.xml from the Server...

 

now compiling the txt files with this archiver: 

This is the hidden content, please

done.

  • Metin2 Dev 1
Link to comment
Share on other sites

  • Premium
11 hours ago, UnknownUser said:

To convert item_proto sql to txt files, you need this script in python: http://pastebin.com/WitKDY41

 

You need MySQLdb on your freebsd

If you haven't it, just install it - it's a mysql library to python


cd /usr/ports/databases/py-MySQLdb/ && make install clean

 

You need also change the connection properties in script

default it's:


host_mysql = 'localhost'
user_mysql = 'mt2'
passwd_mysql = 'mt2!@#'

And if you want convert also mob_proto in this way, you need onlu change from


#print mob_proto()

to


print mob_proto()

Run convert.py Script on Putty with ./convert.py or python convert.py and download item_names,txt, item_proto.xml from the Server...

 

now compiling the txt files with this archiver: 

This is the hidden content, please

done.

I need unpacker official proto's, no my proto's. 

but thanks.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.