dragon-community.net

Archive => Interlude - Tarantula server [sub-stack]/CLOSED => Obsolete => General => Topic started by: stealth on March 27, 2014, 01:24:15 PM

Title: Damage Formula's (Drake)
Post by: stealth on March 27, 2014, 01:24:15 PM
Hi Drake,

Could you please post the formula's for magical and physical damage for interlude ?
Would really like to know them.
Title: Re: Damage Formula's (Drake)
Post by: =drake= on March 27, 2014, 01:57:32 PM
Extremely problematic to write it on forum as is not written by me but is hardcoded by ncsoft in the core engine (and is not just a formula like X=Y-Z)
Title: Re: Damage Formula's (Drake)
Post by: stealth on March 27, 2014, 02:20:03 PM
Quote from: =drake= on March 27, 2014, 01:57:32 PM
Extremely problematic to write it on forum as is not written by me but is hardcoded by ncsoft in the core engine (and is not just a formula like X=Y-Z)

is there a way to simplify it to get a taste of at least to some accuracy ? Just basic stuff , or will still be too large?
Title: Re: Damage Formula's (Drake)
Post by: unhandledexeption on March 27, 2014, 02:41:41 PM
Quote from: =drake= on March 27, 2014, 01:57:32 PM
Extremely problematic to write it on forum as is not written by me but is hardcoded by ncsoft in the core engine (and is not just a formula like X=Y-Z)

Everything on computers are X=Y-Z (of course with longer formula, plus some ifs). Else it couldn't be computed.
Title: Re: Damage Formula's (Drake)
Post by: Chicks on March 27, 2014, 03:38:47 PM
Quote from: unhandledexeption on March 27, 2014, 02:41:41 PM
Everything on computers are X=Y-Z (of course with longer formula, plus some ifs). Else it couldn't be computed.

Yes, and you also don't see it, so it's not really relevant here. I'd say a slightly less precise answer would satisfy the majority...

The damage and armor calculation including shields block chances and all possible parameters are most likely not all at the same place/branching quite a bit, which is why he say it's not easy to extract.

It may also not be readable or hard to read (I guess they got a code obstruction system, changing variable names to nonsense and even spaces in other chars...)

If that's the case, it would take a long time to understand the algo enough to have all parameters needed to answer this question.
Title: Re: Damage Formula's (Drake)
Post by: =drake= on March 27, 2014, 04:27:31 PM
Quote from: unhandledexeption on March 27, 2014, 02:41:41 PM
Everything on computers are X=Y-Z (of course with longer formula, plus some ifs). Else it couldn't be computed.

If as answer is enough an IDA disassembly+analysis of a 9118kb executable then ok :)
Title: Re: Damage Formula's (Drake)
Post by: loXol on March 27, 2014, 05:22:42 PM
http://l2p.lacrafter.ru/