Register for your free account! | Forgot your password?
Rust Cheats

You last visited: Today at 22:43

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

Advertisement



[Release].php SQL zu XML Converter

Discussion on [Release].php SQL zu XML Converter within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
SilverBow's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 105
Received Thanks: 124
Post [Release].php SQL zu XML Converter

Hey ho,

ich hab mir mal die Mühe gemacht *hust* und habe einen .php Script erstellt, mit welchem man Items & Monster ( item_proto & mob_proto ) aus der Datenbank in das XML Format umwandelt.

Wozu man das braucht?
Quote:
Originally Posted by lfcmaus View Post
die xml kannste dann packen XD und in den clienten einfügen
somit stimmen dann serverside und clientside item_proto und mob_proto überein

Wenn ihr "locale_name" habt:

item_proto:

mob_proto:


Wenn ihr "gb2312name" habt:


item_proto:

mob_proto:

Zwar gibt es das schon als Anwendung, nur hat diese leider viele Bugs, sodass man die daraus bekomme .xml erst korrigieren musst/e. Dazu gab es das nur für die item_proto

Für die, die nicht wissen was man mit dem Script macht:

PS: Die Spalten dazwischen sind unwichtig. Der Archiver ignoriert sie. Also keine Sorgen darum machen

Für ein Thanks würde ich mich freuen, ist aber kein muss

Und wer das als seins ausgibt ... soll sich einen Keks kaufen und daran ersticken <.<

Grüße,
XxMeuchelxX
SilverBow is offline  
Thanks
19 Users
Old 02/10/2012, 19:43   #2
 
elite*gold: 0
Join Date: Sep 2011
Posts: 1,218
Received Thanks: 706
Nice danke das du es mit uns Teilst ^_^
.Restince is offline  
Thanks
1 User
Old 02/10/2012, 19:50   #3
 
lfcmaus's Avatar
 
elite*gold: 205
Join Date: Jun 2010
Posts: 5,334
Received Thanks: 2,510
und was ist fail?

Quote:
<Item vnum="1" name="'µ·²Ù·¯¹Ì '" gb2312name="" type="9" subtype="0" weight="0" size="1" antiflag="0" flag="0" wearflag="0" immuneflag="" gold="0" buy_price="100" limittype0="0" limitvalue0="0" limittype1="0" limitvalue1="0" applytype0="0" applyvalue0="0" applytype1="0" applyvalue1="0" applytype2="0" applyvalue2="0" value0="0" value1="0" value2="0" value3="0" value4="0" value5="0" socket0="-1" socket1="-1" socket2="-1" socket3="-1" socket4="-1" socket5="-1" refine_vnum="0" refine_set="0" magic_pct="0" specular="0" socket_pct="0" />
geht bis zum ende weiter das gb2312 name fehlt

mob_proto schaut komplett so aus...

Quote:
<Mob vnum="101" name="'??'" gb2312name="" type="0" rank="0" battle_type="0" level="1" event_type="0" mob_color="0" />

<Mob vnum="102" name="'??'" gb2312name="" type="0" rank="0" battle_type="0" level="3" event_type="0" mob_color="0" />
lfcmaus is offline  
Old 02/10/2012, 19:51   #4

 
TheÐeciSion's Avatar
 
elite*gold: 40
Join Date: Apr 2010
Posts: 626
Received Thanks: 289
ich verstehe nicht, was es bringen soll, wenn man ne XML davon hat ?
TheÐeciSion is offline  
Old 02/10/2012, 19:53   #5
 
lfcmaus's Avatar
 
elite*gold: 205
Join Date: Jun 2010
Posts: 5,334
Received Thanks: 2,510
Quote:
Originally Posted by Freaqiichen View Post
ich verstehe nicht, was es bringen soll, wenn man ne XML davon hat ?
die xml kannste dann packen XD und in den clienten einfügen
somit stimmen dann serverside und clientside item_proto und mob_proto überein
lfcmaus is offline  
Old 02/10/2012, 20:38   #6
 
SilverBow's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 105
Received Thanks: 124
Quote:
Originally Posted by lfcmaus View Post
und was ist fail?



geht bis zum ende weiter das gb2312 name fehlt

mob_proto schaut komplett so aus...
Kann es sein, dass du in der DB anstatt "locale_name" "gb2312name" hast?

Wenn ja, dann:


item_proto:

mob_proto:


EDIT: Hab es in meinen ersten Post eingefügt
SilverBow is offline  
Old 02/10/2012, 21:15   #7
 
elite*gold: 0
Join Date: Aug 2009
Posts: 962
Received Thanks: 97
bitre andersrum
lautlosertot is offline  
Old 02/10/2012, 21:47   #8
 
SilverBow's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 105
Received Thanks: 124
Quote:
Originally Posted by lautlosertot View Post
bitre andersrum
Das ist bisschen komplizierter

Mal schauen ...
SilverBow is offline  
Old 06/14/2012, 16:09   #9
 
elite*gold: 0
Join Date: Oct 2009
Posts: 382
Received Thanks: 161
thank you dude
vpser is offline  
Reply


Similar Threads Similar Threads
[Release] CFlyFF bin Converter
12/25/2013 - Flyff PServer Guides & Releases - 24 Replies
So Leute .... Ich und ein paar andere ... ich weiss nur von ein paar Amerikanern ... sind an dieses Tool gekommen .... Da sich einige Hart fühlen ... Release ich es ... Ich denke das Ding wurde anderswo eh schon Released .-..
[Release]Item_Proto Converter
03/16/2013 - Metin2 PServer Guides & Strategies - 43 Replies
Hi guys, i'm portuguese and my english isn't very good, so sorry for the english!!! This is my first topic and sorry for anything, let's go to the release. This is one program to convert the item_proto of the client for the item_proto of the navicat :) is good, i know, very people are searched for this program much time and now the program is there :). The program as translated to portuguese by me, so sorry for the this. Screens: http://img220.imageshack.us/img220/8830/upload1.p ng ...
[Release]DDS-Converter
01/20/2011 - Metin2 PServer Guides & Strategies - 22 Replies
Hey ich habe heute mal mein Desktop aufgeräumt :P und da fand ich plötzlich eine komische Datei. Aufeinmal stellte sich raus das es ein DDS-Converter war. Er wandelt DDS Dateien in jpg und png dateien um. Da das für manche Client´s nützlich ist dachte ich ich stell es mal hier rein. Virustotal Screen http://img3.fotos-hochladen.net/uploads/virrustot al0t16k9zq.png Screen vom Programm http://img3.fotos-hochladen.net/uploads/programmn gw8demb.png MfG Fun-Zocker
[RELEASE] DDS converter
08/18/2009 - EO PServer Guides & Releases - 9 Replies
Well, because this is a tool, i post it here and not on another section :bandit: People were complaining they cant open or edit a dds file.. This tool, can convert the dds file to jpg,png,bmp,tga and it can convert "to" dds :handsdown:



All times are GMT +1. The time now is 22:46.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.