Kick to convert: easy and fast way to convert your item_proto/mob_proto to txt files!

09/21/2013 12:41 Deus.Ex.Machina#1
Hi all,
this is my first release :)
This "kick converter" will allow you to generate txt files (item_names, item_proto, mob_proto, mob_names) for the rev-34k game.

The script was written in python by me, so you need python 2.7 and MySQLDB (python extension) installed on your server.

If you found any error, please report it to me and I'll fix it as soon as possibile.

PS: If you get errors while converting the item_proto, please remove items that have type 29 or type 31.

PPS: The archive was created with 7zip.

PPPS: Remeber to open the .py files and change the mysql connection data.
The line to edit is the following:
Code:
db = MySQLdb.connect(host="localhost", user="root", passwd="psw", db="proto")
Have a nice day!


-------------------------------------------------
Changelog:
Code:
v2:
-fixed item_proto converter
-fixed item duration

v3:
-fixed addon_type
09/21/2013 12:54 #Kajo#2
Bestimmt zu gebrauchen, Thank you!
09/21/2013 19:17 Metin2 Team#3
good work !!
09/21/2013 19:22 HaveBeen™#4
thanks dude
09/29/2013 13:58 Deus.Ex.Machina#5
Updated to v3.
09/29/2013 16:48 Laben#6
awasome thanks
09/29/2013 22:41 night_walker34#7
thanks <3333
10/02/2013 09:15 xP3NG3Rx#8
Not bad, but that Get*Flag is so unsightly :awesome:

Check mine old xml converter:

Last word: Thanks.
10/10/2013 08:42 Mastermonkey#9
cd /usr/ports/databases/py-MySQLdb/
make install clean

Danke vielmals!
10/13/2013 22:46 rapperclau#10
what is the comand to use the script....
10/14/2013 01:25 atag#11
./convert.sh
10/16/2013 23:13 K0tn4scher#12
PHP Code:
TypeErrorcannot concatenate 'str' and 'NoneType' objects 
10/28/2013 18:52 adgoke1992#13
error "TypeError: cannot concatenate 'str' and 'NoneType' objects"
11/12/2013 16:26 Axel102#14
a video tutorial please?
12/13/2013 20:19 pezcabrutal#15
install: py mysqldb. here

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

:D