From c6095ad062eaa0f5576cfab1c4fe436b90c2fbfe Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 10 Apr 2021 00:45:07 -0300 Subject: Add initial tools --- hercules/convert_server_to_client.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 hercules/convert_server_to_client.py (limited to 'hercules/convert_server_to_client.py') diff --git a/hercules/convert_server_to_client.py b/hercules/convert_server_to_client.py new file mode 100755 index 0000000..f98ead3 --- /dev/null +++ b/hercules/convert_server_to_client.py @@ -0,0 +1,29 @@ +#! /usr/bin/env python +# -*- coding: utf8 -*- +# +# Copyright (C) 2014 Evol Online +# Author: Andrei Karas (4144) + +from code.servertoclient.homunculuses import convertHomunculuses +from code.servertoclient.items import convertItems +from code.servertoclient.luas import convertLuas +from code.servertoclient.mercenaries import convertMercenaries +from code.servertoclient.monsters import convertMonsters +from code.servertoclient.npcs import convertNpcsNonFree +from code.servertoclient.pets import convertPets +from code.servertoclient.quests import convertQuests +from code.servertoclient.skills import convertSkillsToXml +from code.servertoclient.sprites import convertSpritesNonFree + +# non free data +idtofile = convertLuas() +convertSpritesNonFree(idtofile) +convertNpcsNonFree(idtofile) + +convertHomunculuses() +convertItems() +convertMercenaries() +convertMonsters(True, idtofile) +convertPets() +convertSkillsToXml() +convertQuests() -- cgit v1.2.3-70-g09d2