Skill gain theory ?
Posted:
Tue Jan 26, 2010 5:08 pm
by xantier
Do you know how the skills are calculated with AdvRate in skills.txt ? What is skillcurve ? And what is the formula for advrates ?
Re: Skill gain theory ?
Posted:
Thu Sep 29, 2011 12:25 pm
by Batlin
Due to declined lack of interest and decreased free time, it took me longer than originally anticipated...
... but here you go ...
Contained in the ZIP is a C++.NET DLL project. The project compiles without errors but cannot run on its own (as it's a library). To create mobiles and apply the skills etc. you will have to write your own code.
The decompilation is 98% 1-on-1 (C++.NET is still slightly different from C++). It's important to note that the GetTimeSecs (see: ) function is supposed to return the C time and the current implemenation in this DLL uses GetTickCount() / 1000. Fixing that is up to you!
I do not have enough time these days to concentrate on any UO related project but I'm still willing to answer any questions about this. I also want to add that this is the initial, first public version. Should I have time I'm gonna do more clean-up, add some unit tests and a demo project.