This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Night

Pages: [1]
1
Miscellaneous / Re: New class?
« on: April 27, 2012, 10:21:11 pm »
Quote from: "Jivy"
Hi,

It's coeff for each class for 100 levels.
Line 1 -> 100 : Class id 1 (lvl 1 to 100)
Line 101 -> 200 : Class id 2 (lvl 1 to 100)
etc...
I just copy/paste numbers from another - similar - class at the right place.

Greetings

Aaah, I see! But are you sure about that? gtChanceToMeleeCrit.dbc for example has 1100 entries which means there must be 11 classes, but in fact there are only 10 by default! So this could mean that they just count up and fill the infos for the non existing class anyway, but that doesn't seem to be the case for all dbcs!

Lets take a look at the gt* files:

gtBarberShopCostBase.dbc: 100 entries  
- 10 per class for 10 classes
- 9,0909... per class for 11 classes

gtChanceToMeleeCrit.dbc: 1100 entries
- 110 per class for 10 classes
- 100 per class for 11 classes

gtChanceToMeleeCritBase.dbc 11 entries
- 1,1 per class for 10 classes
- 1 per class for 11 classes

gtChanceToSpellCrit.dbc: 1100 entries
- 110 per class for 10 classes
- 100 per class for 11 classes

gtChanceToSpellCritBase.dbc: 11 entries
- 1,1 per class for 10 classes
- 1 per class for 11 classes

gtCombatRatings.dbc: 3200 entries
- 320 per class for 10 classes
- 290,9090... per class for 11 classes

gtNPCManaCostScaler.dbc: 100 entries
- 10 per class for 10 classes
- 9,0909... per class for 11 classes

gtOCTClassCombatRatingScalar.dbc: 352 entries
- 35,2 per class for 10 classes
- 32 per class for 11 classes

gtOCTRegenHP: 1100 entries
- 110 per class for 10 classes
- 100 per class for 11 classes

gtOCTRegenMP: 1100 entries
- 110 per class for 10 classes
- 100 per class for 11 classes

gtRegenHPPerSpt.dbc: 1100 entries
- 110 per class for 10 classes
- 100 per class for 11 classes

gtRegenMPPerSpt.dbc: 1100 entries
- 110 per class for 10 classes
- 100 per class for 11 classes


So obviously none of them does always apply! This could mean that none of them are correct.
Let me check it out.


--- imagine it's about half an hour later :P ---

Alright, I've added everywhere I can numEntries/11 entries. If the result was a decimal digit I've taken numEntries/10 entries.
And it actually worked, well kinda. I'm now able to look at my characters base stats but everything else will still crash the game. Why is that? Well my guess is that I should have taken everywhere the numEntries/10 entries and now some entries are missing.

http://imagr.eu/up/4f9aff44d00455_WoWSc ... 220401.jpg


Thats all from me for today, I really hope I can get this done tomorrow. And again, thank you very much, Jivy!


cheers

2
Miscellaneous / Re: New class?
« on: April 27, 2012, 07:16:25 pm »
Quote from: "Jivy"
Have you edited all gt*.dbc ?
Not yet. I've opened them, but the numbers appear to be random and I can't find any documentation for these files.
I'll take a look at it, thanks.

3
Miscellaneous / Re: New class?
« on: April 26, 2012, 08:41:45 pm »
Hey, thanks for posting this, but actually there aren't any new serverside changes that I haven't done and still it crashes once I'm opening the characters menu.
Does this guide work for you?

While searching for the old bug I've mentioned, I just found this macro on some other forum:
Code: [Select]
/console PlayerStatLeftDropDown none
/console PlayerStatRightDropDown none
/reload
This will clear the selection of the status dropdowns, so it doesn't crash right away. But once you select any option in it, it will crash.
I know this is no solution, but someone in that thread said this is an client side problem. Can anybody confirm this? Because then I will completly stop looking for the problem serverside (haven't looked into the druid problem at all, so I can't even tell if they are related).

So, for now I will start digging for it clientside. Maybe I can find that damn bug and squash it!

4
Miscellaneous / Re: New class?
« on: April 25, 2012, 11:31:05 pm »
I'm currently working on this and it's pretty straight forward so far.
See:
http://imagr.eu/up/4f986783117690_WoWSc ... 230303.jpg
http://imagr.eu/up/4f986783253d75_WoWSc ... 230339.jpg
http://imagr.eu/up/4f986783384846_WoWSc ... 230407.jpg

However, I'm stuck at opening the characters menu (pressing C ingame) and since I haven't touched wow for quite a while now I'm not quite sure how to progress.
What happens is, as soon as you open the characters menu wow will crash (access violation).

The ->crashdump<- says something about "GetCritChanceFromAgility", therefore I started digging right there serverside. Pretty soon I've found some class dependend stat calculations in the current Trinity source code within the file ObjectMgr.cpp at line 3596. At the end of the switch statement I've added the same code as the worlocks, but that didn't change anything.
So, since I'm going to sleep right now I'm asking you guys, if someone knows something about it. Personally this reminds me about an old bug of some of the older emulations where druids weren't able to open their characters menu as well! Sadly, I can not remember how that got solved, but at least it's something to start with.

Once everything seems to work I'll make a detailed tutorial about how I've done this! I also plan to write some tools that will do some repetitive tasks for you (similar to cromons continent creator where you just specify some basic values and the tools does everything else for you).


Yeah, I appreciate any kind of help!

5
Software Development / [TOOL] DBC to SQL Converter
« on: March 20, 2012, 09:38:19 pm »
Hey,
I just want to release an old project of mine, which may be usefull for some of you.

With this tool you can convert any given dbc file into a sql file. In order to do so, you have to specify the files format in a .xml file with the same name as the dbc.

For example Achievement.xml
http://pastebin.com/WHXxzC3z

Output:
http://pastebin.com/sDiKyHaW

20 more examples (for 3.3.5) are in the attached zip file.

XML Tags:
<primary> - This will tell the converter that this row should be used as the sql tables primary key. Gets parsed as an int.
<int> - Parses an int. Reads DBC.fieldsize bytes from the dbc file
<string x="n"> - This will parse a string. Replace n with the number of the following localisation indices (should be always 16). Nope, localisation isn't supported since I've never got any localized dbcs to play with.
<float> - Parses a float
<charArray x="n"> - Reads n characters directly from the current position in the file stream (not from the string block). Don't know if you actually need this, implemented it for debugging.


How does it work?
->Start the program.
->Klick on the button "choose dir" and select a folder which includes the dbc file you want to convert.
->Klick on the button "Start".
->Done! All converted files are now within the folder "sql".

The whole source code looks rather dirty since I've never finished this program, but maybe one of you guys get in use of it.

So far,
Night

PS: Written in C#. Sorry Linux and Mac users. Better get a proper operating system! :P

6
Noggit / Re: [BUG] Invisible doodads
« on: October 11, 2011, 01:58:56 am »
Just noticed it aswell. I believe all ice textures are broken (more specifically the way noggit renders them), since it happens to me on all doodads with that blueish color.

See
bugtraker/index.php?do=details&task_id=98
for some more examples.

7
Noggit / Re: (Another) Noggit3 Issue for your troubles!
« on: October 05, 2011, 03:48:03 am »
Try
Code: [Select]
Path = C:Documents and SettingsdwoDesktopWorld of Warcraft
instead of
Quote
Path = C:\Documents and SettingsdwoDesktopWorld of Warcraft
and it should work just fine.

8
Serverside Modding / 1.12 spell.dbc min & max damage
« on: August 04, 2011, 11:51:35 pm »
Hey there!
To put it in a nutshell, can somebody explain me how to calculate the damage done by spells from the infos given by the spell.dbc? (1.12 client)
Row 77 (starting from 0) seems to be the min damage -1, but I can't find anything about the max damage. I've already played a lot(!) with the surrounding rows, like taking two bits and add it to the min damage and such crazy stuff... Sometimes it works, sometimes it doesn't, but I need a valid solution for all spells! (and I'm way to lazy to write down 34927 values...)

I hope somebody knows how it is done, or I'm going insane!  :udumb:


Cheers,
Night

PS:
I'll upload an 1.12 spell.dbc just in case somebody want to take a look at it.

Pages: [1]