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

Pages: [1]
1
Serverside Modding / Re: [QUESTION] Static Xp for Creatures
« on: February 08, 2012, 11:40:14 pm »
I did assign values to Exp in creature_names

Other than creature.cpp I don't know another place where the variable would reference my new line in creature_names.

2
Serverside Modding / [QUESTION] Static Xp for Creatures
« on: February 08, 2012, 05:41:29 am »
I'm trying to get each creature to give a set amount of Xp per kill instead of calculating the Xp based on levels.

I've already found out how to modify the amount of Xp for any kill. I changed it to 10,000 in the code, I ran it and it worked.

 Plus I tested to see if It would reference the variable "Type" under the "Creature.h" which would then lead to my "creature_names" database on my server. I ran it and that also worked. Wolves were worth 1xp and Kobold Miners were worth 7xp.

The Part I am hung up on is when I add the new variable "Exp"

creature_names
-I add a new row, Datatype Int, Length 10, Unsigned, Default 0

Creature.h
-I add "uint32 Exp;"

Stats.cpp
-I change "Type" to "Exp" in "xp = (victimI->Exp)"

I don't know why it doesn't want to reference my new variable. All I can do is speculate, is there a different part of Arcemu's code that registers the variables for "CreatureInfo"?

I would greatly appreciate any help with my issue.






3
Noggit / Re: Noggit rev 120
« on: October 04, 2011, 09:30:04 pm »
How long does it take approximately to get your user group approved?

4
Showoff - what you are working on / Re: [SHOWOFF] [WIP] Frenetic Raptor
« on: October 04, 2011, 09:11:24 pm »
This creature has always been one of my favorite out of MTG. You did an excellent job with the wire frame and plane work.

Pages: [1]