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 - Rimewynd

Pages: 1 [2]
16
Okay, so. What it looks like thus far is that it's actually a section in player.cpp. What this section does is (for efficiency, I've not doubt) look for an uint8 in those fields. I haven't entirely worked out how it's calling each field, so my investiagation's continuing. Should I figure this out, I'll post the original and new code I changed.

17

EDIT: This issue has been solved, and I've since made a tutorial about how to enable this. Please check here for a step-by-step on how I did it:

viewtopic.php?f=61&t=3939



ORIGINAL MESSAGE:

Alright, so, I've run into an interesting problem, and I'm hoping someone here might have an idea as to what's causing it. I'm still searching for answers myself, so on the off chance I find anything I'll self-reply and let everyone know.

First. Basic information:

Using Trinity Core.
Custome worldserver.conf, no core mods.
Using Trinity's basic DBs with a few minor edits and mods (just added things to them, mostly GOs),

For the project I'm working on, stats are being rebalanced to different levels across different races and classes.

The upshot of this is that I needed to alter the 'player_levelstats' Database.

These are the stats I was attempting to enter:

Field 0 - Field Type: tinyint(3) - Race: Night Elf (Race 4)
Field 1 - Field Type: tinyint(3) - Class: Priest (Class 5)
Field 2 - Field Type: tinyint(3) - Level: All levels (1-80)
Field 3 - Field Type: tinyint(3) - Strength: 984
Field 4 - Field Type: tinyint(3) - Agility: 1148
Field 5 - Field Type: tinyint(3) - Stamina: 613
Field 6 - Field Type: tinyint(3) - Intellect: 767
Field 7 - Field Type: tinyint(3) - Spirit: 1488

The first speedbump I ran into was that the data-type for fields 3-7 was tinyint(3) . (I noticed this when I logged in and all stats were 255)  So, I ended up changing the fields to smallint(5) types. When next I logged in to my Nelf Priest  I found that my stats looked like this:

Field 3 - Field Type: smallint(5) - Strength: 216
Field 4 - Field Type: smallint(5) - Agility: 124
Field 5 - Field Type: smallint(5) - Stamina: 101
Field 6 - Field Type: smallint(5) - Intellect: 255
Field 7 - Field Type: smallint(5) - Spirit: 208

After poking around in the DBs some, I noticed that all other primary stats in all other DBs were stored as smallint(6). Ah-ha!, I thought, I've found the problem! ...Of course, I hadn't, and after making the change this happened:

Field 3 - Field Type: smallint(6) - Strength: 216
Field 4 - Field Type: smallint(6) - Agility: 124
Field 5 - Field Type: smallint(6) - Stamina: 101
Field 6 - Field Type: smallint(6) - Intellect: 255
Field 7 - Field Type: smallint(6) - Spirit: 208

The stats remained exactly the same. So, I'm wondering if anyone on here even knows why, or perhaps has an inclining of where these numbers are processed through so that that can be altered. If anyone needs any additional information I'll try to supply it. I halfway suspect it's something tiny and simple that I'm overlooking. I'm good for that.  :roll:

Thanks to anyone who answers!
-Rimewynd

18
Serverside Modding / Re: Item Balancer
« on: March 12, 2012, 10:21:46 pm »
Heya. I'm not the best at this sort of stuff (I hadn't really looked at it yet), but I had a few links that you might want to look at. I actually had the thought to do the same thing as you're currently doing now, but I wasn't planning on getting to it for a while (and then it became unnecessary for what I wanted to do). So, I offer you the following in hopes it'll help:

http://elitistjerks.com/f15/t44718-item ... ost1152313

http://www.wowpedia.org/Talk:Item_level/Archive_1

http://wow-v.com/forums/index.php?topic=19208

Hope it helps!
-Rimewynd

19
Serverside Modding / Re: [QUESTION] Static Xp for Creatures
« on: March 11, 2012, 09:54:19 pm »
This... May or may not be unrelated.

The following applies to Trinity. I dunno if Arcemu's the same, although MaNGOs probably is.

I was trying to do something similar once, and I discovered that only part of the XP given comes from the DBs (DataBases) .

There's a curious bit of code in player.cpp that may also be hamstringing you.

It starts around line 387, with the heading:

"// == KillRewarder ===================================================="

Part of the section's function is actually adjusting the amount of XP the player receives based on the difference in levels.  I'm not really sure how to disable it so I can't give you any more help than that on that end, but even if you're doing everything else right, that bit of code might still be re-balancing how your XP is distributed.

Good luck!
-Rimewynd

20
Random / [MEMBER] Rimewynd
« on: March 11, 2012, 09:43:57 pm »
<takes a deep breath>

Hi.  :shock:

I'm... Not exactly new here. I've been floating around since fall last year (I think. My memory - particularly my memory for time - is really bloody spotty). I tend to be something of a perennial lurker, but I'm trying to break that habit, both so that I can ask questions and share anything I happen to learn in my experience in WoW-modding.

I'm currently heading a small server-project that's looking to alter the way WoW functions as well the creation of new areas.

I'm something of a jack-of-all-trades, and usually know just enough to be really dangerous. (like when I made all mobs unlootable). What I tend to do the most of is Database and DBC edits, with a few core edits here and there (and one attempt at Noggit, which is just brilliant). I really want to get into scripting (which, under Trinity, would be C++ scripting, which I know a bit) and I'd like to get into doing model edits (although Blender and I get along like bacon and starving hyenas).

Beyond that, I tend to have a bad memory and not know how to spell, but I'll help out as much as I can.

Sincerely,
-Rimewynd

Edit: Apparently, I joined in April, not fall. This goes right up there with that 'time memory' thing'.

Pages: 1 [2]