xml drop list

Submit your code requests, and if you are good at coding come help others with their requests.
Dax
<3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

Drajwer wrote: XML is much more readable. Long lines in cfgs sux. That was my point to make it.
Riiiiiiiiiiiiiiiiiiiiight. Sounds completely worth it.
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

Like anyone is going to be editing configs every minute. If you were to, you'd make an application to write the configs which in that case it wouldn't matter which format you use.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
Dax
&lt;3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

bone-you wrote: Like anyone is going to be editing configs every minute. If you were to, you'd make an application to write the configs which in that case it wouldn't matter which format you use.
<3 Now thats thinking! Now make the program write packet style configs(Remove field names and seperators) and thats exactly what i thought about 2 years ago when I thought along the lines of simplifying the configs at the users level and making it really efficient at the servers level.(Long sentance eh? Holy fuck and I'm talking to the grammar nazi.. Oh well shit happens)
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

Funny. Your sentence was correct anyway xD (for the most part :P)
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
Dax
&lt;3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

bone-you wrote: for the most part :P
That's what buds will do to you.
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

bone-you wrote: Like anyone is going to be editing configs every minute. If you were to, you'd make an application to write the configs which in that case it wouldn't matter which format you use.
True but when I move all cfgs to xml ones and make them readable for stupid kids and add a more readable app for more stupid kids who cant even edit xml file so then HB server files will be friendly for all stupid kids who are posting stupid questions. Am I wrong ?

Simple potion CFG:

Code: Select all

....
potion = 1   RedPotion           220 1  192 1  191 1  -1  0 -1  0 -1  0          20          10
...


Same as XML:

Code: Select all

...
<Potion SkillLimit="20" Difficulty="10" Name="RedPotion">
<Ingredient ItemID="220" Count="1">SlimeJelly</Ingredient>
<Ingredient ItemID="192" Count="1">AntLeg</Ingredient>
<Ingredient ItemID="191" Count="1">SnakeTongue</Ingredient>
</Potion>
...
And no need to put ID in every cfg line - just use lists instead of arrays.
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
bone-you
Spamtastic
Posts: 1310
Joined: Wed Mar 16, 2005 3:12 am

Post by bone-you »

Drajwer wrote:
bone-you wrote: Like anyone is going to be editing configs every minute. If you were to, you'd make an application to write the configs which in that case it wouldn't matter which format you use.
True but when I move all cfgs to xml ones and make them readable for stupid kids and add a more readable app for more stupid kids who cant even edit xml file so then HB server files will be friendly for all stupid kids who are posting stupid questions. Am I wrong ?

Simple potion CFG:

Code: Select all

....
potion = 1   RedPotion           220 1  192 1  191 1  -1  0 -1  0 -1  0          20          10
...


Same as XML:

Code: Select all

...
<Potion SkillLimit="20" Difficulty="10" Name="RedPotion">
<Ingredient ItemID="220" Count="1">SlimeJelly</Ingredient>
<Ingredient ItemID="192" Count="1">AntLeg</Ingredient>
<Ingredient ItemID="191" Count="1">SnakeTongue</Ingredient>
</Potion>
...
And no need to put ID in every cfg line - just use lists instead of arrays.
But I doubt anyone would ever use it. Why go through all the trouble? I myself prefer to use the old cfg files, just optimized a bit like Dax said.
<img src='http://www.helbreathx.net/sig/sig.jpeg' border='0' alt='user posted image' /><br><a href='http://mafia.cheats4us.org/index.php?x=231030' target='_blank'>#1 on Mafia :D</a><br><!--QuoteBegin-Slipknight+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Slipknight)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->100mb Internet, burstable too 10GB oc192<br>his speed can go up too 10gbs<br>...<br>Yes my car can have a top speed of 1000mph<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br>^^ I wonder where the retard went to.
sokol
Loyal fan
Posts: 228
Joined: Mon May 02, 2005 7:28 pm
Location: P(r)oland

Post by sokol »

0:Monstr: 18 17 11 14 ( Zombie Scorpion Skeleton Orc-Mage )
1:Group: Weapons 43500000 (43 %)
2:DROP: 16666666 12 MainGauche (16 %)
2:DROP: 16666666 15 Gradius (16 %)
2:DROP: 16666666 23 Sabre (16 %)
2:DROP: 16666666 31 Esterk (16 %)
2:DROP: 16666666 62 Tomahoc (16 %)
2:DROP: 16666670 65 SaxonAxe (16 %)
<<
1:Group: Shields 23500000 (23 %)
2:DROP: 33333333 79 WoodShield (33 %)
2:DROP: 33333333 80 LeatherShield (33 %)
2:DROP: 33333334 81 TargeShield (33 %)
<<
1:Group: Wands 13500000 (13 %)
2:DROP: 100000000 258 MagicWand(MS0) (100 %)
<<
1:Group: EmptyGroup 19500000 (20 %)
<<
<<



drop like that? :>
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

sokol wrote: 0:Monstr: 18 17 11 14 ( Zombie Scorpion Skeleton Orc-Mage )
1:Group: Weapons 43500000 (43 %)
2:DROP: 16666666 12 MainGauche (16 %)
2:DROP: 16666666 15 Gradius (16 %)
2:DROP: 16666666 23 Sabre (16 %)
2:DROP: 16666666 31 Esterk (16 %)
2:DROP: 16666666 62 Tomahoc (16 %)
2:DROP: 16666670 65 SaxonAxe (16 %)
<<
1:Group: Shields 23500000 (23 %)
2:DROP: 33333333 79 WoodShield (33 %)
2:DROP: 33333333 80 LeatherShield (33 %)
2:DROP: 33333334 81 TargeShield (33 %)
<<
1:Group: Wands 13500000 (13 %)
2:DROP: 100000000 258 MagicWand(MS0) (100 %)
<<
1:Group: EmptyGroup 19500000 (20 %)
<<
<<



drop like that? :>
we dont talk about hbpl configs
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
Acidx
Member
Posts: 198
Joined: Tue Mar 23, 2004 4:27 am

Post by Acidx »

ewww @ XML
.CFG > .XML

XML Is fucking retarded..
In the future it would bring problems
Parsing/Decoding = too much resources..
Who would bother wasting time on it?
Seems pretty useless to me...
Any major helbreath dev is gunna laugh at it.
And there gunna say and i quote
"Whats the use in making it XML When i can do the same shit 100x easier with a CFG? it seems pointless to add a diffrent file format to read something thats going to be edited once in a blue moon, server files are for effeciency not to paint a pretty picture."
im done now :rolleyes:
<b>-<span style='color:green'>ACiD-x </span><span style='color:red'> Owning PCs Since 1987</span><br><img src='http://img204.imageshack.us/img204/2245/hackertf5.gif' border='0' alt='user posted image' /><br><img src='http://img509.imageshack.us/img509/6697 ... 4sc4ed.png' border='0' alt='user posted image' /><br><span style='color:orange'>i am Pwn NetGAYLORDS !</span></b><br><span style='color:blue'><br>I Pwn HBUSA =)</span>
Orkl
Loyal fan
Posts: 376
Joined: Sat Sep 17, 2005 2:31 pm

Post by Orkl »

Acidx wrote: ewww @ XML
.CFG > .XML

XML Is fucking retarded..
In the future it would bring problems
Parsing/Decoding = too much resources..
Who would bother wasting time on it?
Seems pretty useless to me...
Any major helbreath dev is gunna laugh at it.
And there gunna say and i quote
"Whats the use in making it XML When i can do the same shit 100x easier with a CFG? it seems pointless to add a diffrent file format to read something thats going to be edited once in a blue moon, server files are for effeciency not to paint a pretty picture."
im done now :rolleyes:
Thats already been said >.>
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
Acidx
Member
Posts: 198
Joined: Tue Mar 23, 2004 4:27 am

Post by Acidx »

Orkl wrote:
Acidx wrote: ewww @ XML
.CFG > .XML

XML Is fucking retarded..
In the future it would bring problems
Parsing/Decoding = too much resources..
Who would bother wasting time on it?
Seems pretty useless to me...
Any major helbreath dev is gunna laugh at it.
And there gunna say and i quote
"Whats the use in making it XML When i can do the same shit 100x easier with a CFG? it seems pointless to add a diffrent file format to read something thats going to be edited once in a blue moon, server files are for effeciency not to paint a pretty picture."
im done now  :rolleyes:
Thats already been said >.>
pfft i was just puttin in my opinion orkl fuck off
<b>-<span style='color:green'>ACiD-x </span><span style='color:red'> Owning PCs Since 1987</span><br><img src='http://img204.imageshack.us/img204/2245/hackertf5.gif' border='0' alt='user posted image' /><br><img src='http://img509.imageshack.us/img509/6697 ... 4sc4ed.png' border='0' alt='user posted image' /><br><span style='color:orange'>i am Pwn NetGAYLORDS !</span></b><br><span style='color:blue'><br>I Pwn HBUSA =)</span>
Orkl
Loyal fan
Posts: 376
Joined: Sat Sep 17, 2005 2:31 pm

Post by Orkl »

Acidx wrote:
Orkl wrote:
Acidx wrote: ewww @ XML
.CFG > .XML

XML Is fucking retarded..
In the future it would bring problems
Parsing/Decoding = too much resources..
Who would bother wasting time on it?
Seems pretty useless to me...
Any major helbreath dev is gunna laugh at it.
And there gunna say and i quote
"Whats the use in making it XML When i can do the same shit 100x easier with a CFG? it seems pointless to add a diffrent file format to read something thats going to be edited once in a blue moon, server files are for effeciency not to paint a pretty picture."
im done now  :rolleyes:
Thats already been said >.>
pfft i was just puttin in my opinion orkl fuck off
Your retardedness level outweighs the value of your opinion. Go die.
<!--QuoteBegin-crazymnig88+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (crazymnig88)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->by notepad??? it didn't show any code, just show words wif no mean<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd--><br><!--QuoteBegin-charlie+--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (charlie)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->he'll probably save it as 600pagebook.bmp<br><br>400gb file plzkthnx<!--QuoteEnd--></td></tr></table><div class='signature'><!--QuoteEEnd-->
Dax
&lt;3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

Orkl wrote:
Acidx wrote:
Orkl wrote: Thats already been said >.>
pfft i was just puttin in my opinion orkl fuck off
Your retardedness level outweighs the value of your opinion. Go die.
Pwnt!
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
Post Reply