Welcome to AC Web.
Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    AshamaneCore Contributer

    Join Date
    Mar 2009
    Posts
    1,328

    Post [Arcemu] New Races


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    This is my First Tut so i will improve it over time.

    Once you have your Patch with your new Races inplanted.

    Open Player.h
    Search: Enum Races

    You should get something like
    Code:
    enum Races
    {
        RACE_HUMAN = 1,
        RACE_ORC = 2,
        RACE_DWARF = 3,
        RACE_NIGHTELF = 4,
        RACE_UNDEAD = 5,
        RACE_TAUREN = 6,
        RACE_GNOME = 7,
        RACE_TROLL = 8,
        RACE_BLOODELF = 10,
        RACE_DRAENEI = 11,
    };
    Change to What ever race you have under the same ID
    so High Elf under ID 20 = RACE_HIGHELF = 20
    you should get something like this
    Code:
    enum Races
    {
        RACE_HUMAN = 1,
        RACE_ORC = 2,
        RACE_DWARF = 3,
        RACE_NIGHTELF = 4,
        RACE_UNDEAD = 5,
        RACE_TAUREN = 6,
        RACE_GNOME = 7,
        RACE_TROLL = 8,
        RACE_BLOODELF = 10,
        RACE_DRAENEI = 11,
        RACE_OGRO = 12,
        RACE_NAGA_ = 13,
        RACE_BROKEN = 14,
        RACE_SKELETON = 9,
        RACE_VRYKUL = 16,
        RACE_TUSKARR = 17,
        RACE_FORESTTROLL = 18,
        RACE_HIGHELF = 20,
    };
    Once that is Done
    Open Ojectmgr.cpp
    and Search: // Search for a playercreateinfo.
    You should see something like
    Code:
    		// Search for a playercreateinfo.
    		for(uint32 Race = RACE_HUMAN; Race <= RACE_DRAENEI; ++Race)
    Change The code to the last Race you added in the Previews file so it would be high elf for me.
    Code:
    		// Search for a playercreateinfo.
    		for(uint32 Race = RACE_HUMAN; Race <= RACE_HIGHELF; ++Race)
    playercreateInfo (Arcemu)
    Code:
    Fields
    Index
    
    The record's index number. There is so many , because of race/class combinations. Each seperate race and class has it's own Index number.
    
    
    Race
    
    This is the race data for that indexID.
    
    1 - HUMAN
    
    2 - ORC
    
    3 - DWARF
    
    4 - NIGHTELF
    
    5 - UNDEAD
    
    6 - TAUREN
    
    7 - GNOME
    
    8 - TROLL
    
    9 - GOBLIN
    
    10 - BLOODELF
    
    11 - DRAENEI
    or new race ID
    
    Factiontemplate
    
    The default factions the Index will begin with.
    
    1 - HUMAN
    
    2 - ORC
    
    3 - DWARF
    
    4 - NIGHTELF
    
    5 - UNDEAD
    
    6 - TAUREN
    
    115 - GNOME
    
    116 - TROLL
    
    ?? - GOBLIN
    
    1610 - BLOODELF
    
    1629 - DRAENEI
    class
    
    1 - Warrior
    
    2 - Paladin
    
    3 - Hunter
    
    4 - Rogue
    
    5 - Priest
    
    6 - Death knight
    
    7 - Shaman
    
    8 - Mage
    
    9 - Warlock
    
    11 - Druid
    
    What Class the new race has.
    
    
    MapID
    
    (Index)
    
    0 - Eastern Kingoms
    
    1 - Kalimdor
    
    530 - Outlands/Silvermoon/Exodar
    
    571 - Northrend
    
    609 - Ebon Hold
    
    
    ZoneID
    
    The ZONE ID of the starting location of the class/race Template. (Index)
    
    You can find the x,y,z MapID, zoneID of place by using the .gps command.
    
    
    PositionX
    
    This is the first part of a WoW location. (North/South)
    
    
    PositionY
    
    This is the second part of a WoW location. (West/east)
    
    
    PositionZ
    
    This is the height portion of the WoW location. (up/down)
    
    
    DisplayID
    
    This is the blank Male/Female Model for that Race/Facial features you pick out.
    
    49 = Human
    
    51 = Orc
    
    53 = Dwarf
    
    55 = NIGHTELF
    
    57 = UNDEAD
    
    59 = TAUREN
    
    1563 = Gnome
    
    1478 = TROLL
    
    ????? = GOBLIN
    
    15476 = BLOODELF
    
    16125 = DRAENEI
    or Whats displayid In DBC


    I hope this helps.
    I hope to making a Patching TUT soon
    Last edited by Nupper; 03-24-2013 at 09:36 PM.

  2. #2
    Good Job +rep {i will give you tomorrow i haven't got any rep now}.

  3. #3
    Die Hard Yaoi Fanantic

    Join Date
    Nov 2011
    Location
    Jalan Empangan 7/14b Shah Alam, Selangor 40000 Malaysia
    Posts
    999
    Woo! EPIC GUIDE!! <333

    +REP

  4. #4

  5. #5


    Join Date
    Apr 2010
    Location
    your death my happiness
    Posts
    4,232
    not enough

  6. #6
    nae'blis

    Join Date
    May 2009
    Location
    Shayol Ghul
    Posts
    245
    Great!I can create and enter the world with new race.
    I really don't know why it couldn't be done on trinity.
    Tnx for the tut +rep
    You should finish it,atleast server-side modding(db stuff).

    Quote Originally Posted by maziu1234 View Post
    Wtf is ogro?
    Ogres
    Last edited by Moridin; 03-24-2013 at 04:17 PM.

  7. #7
    Exodus

    Join Date
    Jul 2009
    Location
    Exodus - The Myth and Legends
    Posts
    4,774
    Lol...On TC works fine

  8. #8

  9. #9
    nae'blis

    Join Date
    May 2009
    Location
    Shayol Ghul
    Posts
    245
    Well i can't get it to work i get constantly this error:
    Player::Create: Possible hacking-attempt: Account 1 tried creating a character named 'Adsdas' with an invalid race/class pair (14/1) - refusing to do so.
    But in arcemu i create races fine,guess i am doing something wrong with the core.
    I edited Shareddefines.h and add data into db,but still...getting that error.

  10. #10
    AshamaneCore Contributer

    Join Date
    Mar 2009
    Posts
    1,328
    PLayercreateinfo (Arcemu)
    Code:
    Fields
    Index
    
    The record's index number. There is so many , because of race/class combinations. Each seperate race and class has it's own Index number.
    
    
    Race
    
    This is the race data for that indexID.
    
    1 - HUMAN
    
    2 - ORC
    
    3 - DWARF
    
    4 - NIGHTELF
    
    5 - UNDEAD
    
    6 - TAUREN
    
    7 - GNOME
    
    8 - TROLL
    
    9 - GOBLIN
    
    10 - BLOODELF
    
    11 - DRAENEI
    or new race ID
    
    Factiontemplate
    
    The default factions the Index will begin with.
    
    1 - HUMAN
    
    2 - ORC
    
    3 - DWARF
    
    4 - NIGHTELF
    
    5 - UNDEAD
    
    6 - TAUREN
    
    115 - GNOME
    
    116 - TROLL
    
    ?? - GOBLIN
    
    1610 - BLOODELF
    
    1629 - DRAENEI
    class
    
    1 - Warrior
    
    2 - Paladin
    
    3 - Hunter
    
    4 - Rogue
    
    5 - Priest
    
    6 - Death knight
    
    7 - Shaman
    
    8 - Mage
    
    9 - Warlock
    
    11 - Druid
    
    What Class the new race has.
    
    
    MapID
    
    (Index)
    
    0 - Eastern Kingoms
    
    1 - Kalimdor
    
    530 - Outlands/Silvermoon/Exodar
    
    571 - Northrend
    
    609 - Ebon Hold
    
    
    ZoneID
    
    The ZONE ID of the starting location of the class/race Template. (Index)
    
    You can find the x,y,z MapID, zoneID of place by using the .gps command.
    
    
    PositionX
    
    This is the first part of a WoW location. (North/South)
    
    
    PositionY
    
    This is the second part of a WoW location. (West/east)
    
    
    PositionZ
    
    This is the height portion of the WoW location. (up/down)
    
    
    DisplayID
    
    This is the blank Male/Female Model for that Race/Facial features you pick out.
    
    49 = Human
    
    51 = Orc
    
    53 = Dwarf
    
    55 = NIGHTELF
    
    57 = UNDEAD
    
    59 = TAUREN
    
    1563 = Gnome
    
    1478 = TROLL
    
    ????? = GOBLIN
    
    15476 = BLOODELF
    
    16125 = DRAENEI
    or Whats displayid In DBC

  11. #11
    Banned

    Join Date
    Oct 2011
    Location
    NotePad++
    Posts
    538
    Add Screenshots and it would make it EPIC

  12. #12
    AshamaneCore Contributer

    Join Date
    Mar 2009
    Posts
    1,328

  13. #13

  14. #14
    nice tut thanks

  15. #15

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Nice

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •