Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Icon Calculator Formula (SOLVED)

Newbie Spellweaver
Joined
Oct 24, 2021
Messages
80
Reaction score
35
Hello,

Does anybody know the exact formula for icon calculation in dn? How dn get the icon by using the id from itemtable.

I want to create an app that can easily load and grab icon id from a dds file.

Thanks
 
Newbie Spellweaver
Joined
Jun 10, 2020
Messages
33
Reaction score
27
Hello,

Does anybody know the exact formula for icon calculation in dn? How dn get the icon by using the id from itemtable.

I want to create an app that can easily load and grab icon id from a dds file.

Thanks
App using C++,C#? or a website?
 
Newbie Spellweaver
Joined
Oct 24, 2021
Messages
80
Reaction score
35
Not really fond with C# but that’s the easiest way to create an app, so I guess that
 
Newbie Spellweaver
Joined
Apr 7, 2022
Messages
10
Reaction score
4
This The correct formula to get iconID
( FileNum - 1 ) * 200 + ( RowNum - 1 ) * 10 + ( ColNum - 1 ) + 1

with note : RowNum start from 1 and ColNum start from 0
 
Newbie Spellweaver
Joined
Oct 24, 2021
Messages
80
Reaction score
35
Huh, with reiza calculation, I can calculate the exact number. Maybe I didn't know how to properly use julia's formula.

Correct me if I'm wrong.

The FileName is 32, Row Number 9, Column Number 200.

1697876516456 - Icon Calculator Formula (SOLVED) - RaGEZONE Forums
1697876488828 - Icon Calculator Formula (SOLVED) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Apr 7, 2022
Messages
10
Reaction score
4
im use those for excel and its fix :D

Huh, with reiza calculation, I can calculate the exact number. Maybe I didn't know how to properly use julia's formula.

Correct me if I'm wrong.

The FileName is 32, Row Number 9, Column Number 200.as far as i know colunm max is 10(9 as it start from 0) and row max iis 20

and its the wrong you put as its row you put the column, as max row=20 and column=9(as start from 0)
as you using 9 so i using 8 as it start from 0
and its same result, im still using this until now rather then reza use as i dont need to count where icon slot, as i think those formula i share more easy but basically the same, row(top-down) column(left-right)
but if col start from 1 then use ( ColNum - 2 )
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Oct 24, 2021
Messages
80
Reaction score
35
im use those for excel and its fix :D




and its the wrong you put as its row you put the column, as max row=20 and column=9(as start from 0)
as you using 9 so i using 8 as it start from 0
and its same result, im still using this until now rather then reza use as i dont need to count where icon slot, as i think those formula i share more easy but basically the same, row(top-down) column(left-right)
but if col start from 1 then use ( ColNum - 2 )
OH. Okay, I get it now on how to use the formula. Thank you so much!
 
Back
Top