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

Pages: 1 [2] 3 4 ... 11
16
Thanks for all the help everyone.
I've gotten what I need. :)

17
Miscellaneous / Adding a Level Requirement Message Per Class?
« on: July 06, 2016, 10:49:35 pm »
Hello everyone!

I'm trying to replicate the "You must have an existing character of at least level 55 on any realm to create a Death Knight" message, however, for another class with different text shown.

I was able to achieve having the same message show. However, it automatically showed when I made the class Heroic server-side. My current issue is that both different classes have different requirements. So the same message can't be shown on these different classes.

Looking into GlueStrings.lua, this is where the message's text is being handled:
Code: [Select]
CHAR_CREATE_LEVEL_REQUIREMENT = "You must have an existing character of at least level 55 on any realm to create a Death Knight.";

What I don't know is where this message is defined exactly. Where does it tell the client to display the "CHAR_CREATE_LEVEL_REQUIREMENT" message for Heroic Classes? If I know where this is, I can easily create another one for the other class.


Here's an in-game view of what I'm talking about:

 - Message when creating a DK without meeting requirements:


 - Message I need to show when not meeting requirements on a DIFFERENT class, Demon Hunter:


Instead, the same message is displayed, so how can I have a different message shown per class?
I've already tried looking in a few places such as an 'Entire Solution' search server-side for "CHAR_CREATE_LEVEL_REQUIREMENT" and in CharacterCreate.lua/.xml and a few others.
I could be searching for the wrong thing, but any help is appreciated.

Thanks!
Deathorous.

18
FIXED THE ERROR BEFORE
Turns out it was a really simple fix.

I'll post more if I run into anything else but I believe I'm almost done. :)

19
I'm getting really close to getting what I need done.
However, for the following code (c++):

Code: [Select]
   // set starting level
uint32 start_level = getClass() != CLASS_DEATH_KNIGHT
        ? sWorld->getIntConfig(CONFIG_START_PLAYER_LEVEL)
        : sWorld->getIntConfig(CONFIG_START_HEROIC_PLAYER_LEVEL);

I could do it this way, however, I need both classes starting at different levels so I created my own configs for it, so I can't do it this way or else the other class (CLASS_DEMONHUNTER) would be using the same configs as CLASS_DEATHKNIGHT, DKs:

Code: [Select]
   // set starting level
uint32 start_level = (getClass() != CLASS_DEATH_KNIGHT && getClass() != CLASS_DEMONHUNTER)
        ? sWorld->getIntConfig(CONFIG_START_PLAYER_LEVEL)
        : sWorld->getIntConfig(CONFIG_START_HEROIC_PLAYER_LEVEL);

So I thought of copying the same code but changing the class to DH instead of DK and changing the configs it's directed to. So like this:



However, I receive the following compiling error:




So, how should I be writing the code in this case?
My objective is to set DK to the following configs in code (defaults):
Code: [Select]
uint32 start_level = getClass() != CLASS_DEATH_KNIGHT
        ? sWorld->getIntConfig(CONFIG_START_PLAYER_LEVEL)
        : sWorld->getIntConfig(CONFIG_START_HEROIC_PLAYER_LEVEL);

And then to have the Demon Hunter class (CLASS_DEMONHUNTER) with these custom configs in code:
Code: [Select]
uint32 start_level = getClass() != CLASS_DEMONHUNTER
        ? sWorld->getIntConfig(CONFIG_START_PLAYER_LEVEL)
        : sWorld->getIntConfig(CONFIG_START_ULTRAHEROIC_PLAYER_LEVEL);

"CONFIG_START_PLAYER_LEVEL" those stay the same for CLASS_DEMONHUNTER.
"CONFIG_START_HEROIC_PLAYER_LEVEL" need to become "CONFIG_START_ULTRAHEROIC_PLAYER_LEVEL" for CLASS_DEMONHUNTER.


Thanks!
Any help is appreciated and I appreciate the help I got so far. :)

-- Quick Update:
I have a broad understanding of the error "redefinition; muliple initialization". From what I know, the error is telling me I have repeated code. Which I technically do, but how I should write the code is what I don't understand to achieve what I wrote above.

21
Alright, that makes it easier to determine what to do in a way.
However, any ideas where I should be looking into the core in specific?

The only file I could think of is player.cpp.
Doing a quick search to "Heroic", I found some interesting results such as the following:
Code: [Select]
   // set starting level
    uint32 start_level = getClass() != CLASS_DEATH_KNIGHT
        ? sWorld->getIntConfig(CONFIG_START_PLAYER_LEVEL)
        : sWorld->getIntConfig(CONFIG_START_HEROIC_PLAYER_LEVEL);

    if (m_session->HasPermission(rbac::RBAC_PERM_USE_START_GM_LEVEL))
    {
        uint32 gm_level = sWorld->getIntConfig(CONFIG_START_GM_LEVEL);
        if (gm_level > start_level)
            start_level = gm_level;
    }

    SetUInt32Value(UNIT_FIELD_LEVEL, start_level);

    InitRunes();

    SetUInt32Value(PLAYER_FIELD_COINAGE, sWorld->getIntConfig(CONFIG_START_PLAYER_MONEY));
    SetHonorPoints(sWorld->getIntConfig(CONFIG_START_HONOR_POINTS));
    SetArenaPoints(sWorld->getIntConfig(CONFIG_START_ARENA_POINTS));

There's a lot more but this would be very long.
Anyhow, looking into the code above it also specifies something about Death Knights in resemblance to it being a heroic class on a starting level.
I'm not exactly sure how to do this yet, but I feel like I could be getting somewhere.

Any other files beside player.cpp you believe I should be looking into?

Thanks for the responses! :)

22
Serverside Modding / [TrinityCore 335] How To Make A Class Heroic?
« on: July 04, 2016, 05:18:19 pm »
Hello everyone!

I've created a new class and I was wondering, how is it possible to set the class as a heroic class?
I'd like to do this for 2 reasons:

1) The class is supposed to be a Heroic Class, special.
2) I need to set a level limitation to be able to play the class.

My main goal is somehow to make this heroic class (Class ID: 12) different from the DK heroic because DK requires a level 55, while my new class will require another level 90 character in order to play or create the class.

Is this a client-side or server-side, or maybe even both?
I'm running on TrinityCore 3.3.5a. If anyone has any ideas, it's appreciated.

Thanks,
Deathorous.

23
Quote from: "Ginufe"
Cool shit dude. Nice to see you continue on this. Alot of progress since the first time you've shown me the interface screenshots.

Keep up the good work!

Thanks Ginufe! :)
I'm glad you like the progress!

24
Quote from: "stoneharry"
First time I've seen myself actually credited for this. It was always meant to be a temporary job, you can implement the missing features and fix the bugs (looking at the arrows on the buttons). Some good improvements all around.

Thanks, it means a lot coming from you. :)
You kind of inspired me to actually make this btw. It was about the time when we had a conversation on the "[SHOWOFF] What Are You Working On" thread. I was showing the new Jinyu race but you mentioned the character creation UI and it came to my attention that you've got a great point. And a little bit of time later, I started drawing on paper how I want to create a new char-creation UI, etc...

So basically, I appreciate it by a bunch for a lot that you've done. I also apologize for pulling up an argument on that thread. Hope we're good. :)

25
Bump!
Thanks for the comments everyone. :)

26
Quote from: "phantomx"
Loving that first one looks great nice job.

Thank you!
I appreciate it. :)

27
Lately I've created my own character creation screen for my server completely from scratch in order to have something unique.
So I came up with a few ideas and I've finally put it all into work. I've tried replicating the zooming in feature during customization too.

Below is a video showing both character creation screen options and a comment/vote here or on the YouTube video itself for which screen you prefer or would like to see released, would be very much appreciated.

The following is represented on ANARCHY-WOW
[media:2q4qc1le]https://www.youtube.com/watch?v=xJrErvUlIp8[/media:2q4qc1le]

Thank you for your time,
I look forward to your comments!

28
Recruitment / Re: [PAID] New Races From Creature Files
« on: March 06, 2016, 09:54:51 am »
Bump!

29
Recruitment / [PAID] New Races From Creature Files
« on: March 05, 2016, 02:19:21 am »
I'm looking for developers who can turn regular WoW creature models/files into a fully playable race.
I've already done so with a different developer these kinds of things and if he goes online as often as he used to, I'm sure he'll vouch me as a trustworthy person for payments and agreements.

Here are a few images of our previous work that is yet to be released (This type of work is what I'm looking for):

Jinyu & Ogre (WoD Version + Female Model Custom Created)




The resulted work must be all new race files and DBC edits fully completed.[/U]
I can provide any of my DBC files needed (I know just what's needed too, to provide).
I can only provide my payments through PayPal and I'm a very flexible person. I'd be willing to negotiate between prices and offers of any kind. I'm not the kind of person where if I hear a price too high or too low, I will immediately leave, instead, I can negotiate.

 :!:  :!: ALL paid work done between me & the developer stays ONLY between me and the developer. NO shares, NO releases. :!:  :!:

Quote
You can contact me on my Skype:
Skype Name: Waseem9116

I'm looking forward to meeting all of you bright developers!

30
Recruitment / Re: [TrinityCore 335 Eluna] In-Game Item Store
« on: January 27, 2016, 11:14:59 am »
Bump!

Pages: 1 [2] 3 4 ... 11