I need any doc / help related to item attributes and how i can calculate it.
If you wrote any kind of special item calculator, please feel free to send me anything that can help me calculating it the easy way. I don't have enough time to read sources and figure out how it works so... give me infos please !
Item Attributes
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
<a href='http://koti.welho.com/ahoyden/download/ ... hSS.tk.zip' target='_blank'>http://koti.welho.com/ahoyden/download/ ... .tk.zip</a>
=)
=)
<img src='http://personales.ciudad.com.ar/KaoZureS/firma.jpg' border='0' alt='user posted image' />
Thank you but i was looking for how it was working...
I figured it out and added my new attributes... Just had to read some C++ byte to byte operator manuals. Now it works and i know how to add mine !
I figured it out and added my new attributes... Just had to read some C++ byte to byte operator manuals. Now it works and i know how to add mine !
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
i thin it works like:
first number is weapon style (ancient, sharp and so on) second would be the + rate (+1,+2,...,+15) then third would be special thingy (extra gold, critical increase chance and so on) then third would be how much (15%, 60% 150%) and so on but im not sure
first number is weapon style (ancient, sharp and so on) second would be the + rate (+1,+2,...,+15) then third would be special thingy (extra gold, critical increase chance and so on) then third would be how much (15%, 60% 150%) and so on but im not sure

<img src='http://www.hot.ee/carvanho/taavi.png' border='0' alt='user posted image' /><br><br><img src='http://www.hot.ee/carvanho/Elvine.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/LieroX.png' border='0' alt='user posted image' /><br><img src='http://www.hot.ee/carvanho/Football.png' border='0' alt='user posted image' />
You're right Tafka, but it uses some strange binary operators before being set to item...Tafka12 wrote: i thin it works like:
first number is weapon style (ancient, sharp and so on) second would be the + rate (+1,+2,...,+15) then third would be special thingy (extra gold, critical increase chance and so on) then third would be how much (15%, 60% 150%) and so on but im not sure![]()
First Type << 20
First Value << 16
Second Type << 12
Second Value << 8
I added my shit in files, so i don't need anymore help about those Attibutes.
<a href='http://www.technohell.net' target='_blank'><b><span style='color:red'>>>> Helbreath Ressources Website Here <<<</span></b></a><br>C++ Sources, Tools, Server Files, Help on Forum, C++ Snippets, Toplist... Updated often, come visit us !
you forgot upgrade:
Attribute >> 28;
Attribute >> 28;
<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)
<< and >> operations are simple... 0x0001 << 8 = 0x0100diuuude wrote:You're right Tafka, but it uses some strange binary operators before being set to item...Tafka12 wrote: i thin it works like:
first number is weapon style (ancient, sharp and so on) second would be the + rate (+1,+2,...,+15) then third would be special thingy (extra gold, critical increase chance and so on) then third would be how much (15%, 60% 150%) and so on but im not sure![]()
First Type << 20
First Value << 16
Second Type << 12
Second Value << 8
I added my shit in files, so i don't need anymore help about those Attibutes.
<img src='http://ic1.deviantart.com/fs11/i/2006/1 ... leroth.gif' border='0' alt='user posted image' />
wikipedia explained it well enough that i learned it within the day i stumbled across item stats when starting to do hg coding
<a href='http://en.wikipedia.org/wiki/Bitwise' target='_blank'>http://en.wikipedia.org/wiki/Bitwise</a>
granted is a little more complicated its still the same concept,
same 4 bits shit == 1 hex char
87654321 = 8 * 4 = 28
itemstat = itemstat | plusvalue <<28
sets the 8th hex value that holds the +x for items to plusvalue, and leaves the other stats alone
<a href='http://en.wikipedia.org/wiki/Bitwise' target='_blank'>http://en.wikipedia.org/wiki/Bitwise</a>
granted is a little more complicated its still the same concept,
same 4 bits shit == 1 hex char
87654321 = 8 * 4 = 28
itemstat = itemstat | plusvalue <<28
sets the 8th hex value that holds the +x for items to plusvalue, and leaves the other stats alone
-><-