Jump to content
TrinityCore

Rochet2

Members
  • Posts

    967
  • Joined

  • Last visited

  • Days Won

    83

Rochet2 last won the day on February 5 2023

Rochet2 had the most liked content!

2 Followers

About Rochet2

  • Birthday 10/26/1993

Contact Methods

  • Website URL
    http://rochet2.github.io/
  • Skype
    Rochet22

Profile Information

  • Gender
    Male
  • Location
    Finland

Recent Profile Visitors

11490 profile views

Rochet2's Achievements

  1. Are you on 3.3.5 or master branch? 280552 is quite high spellid and is likely only on newer patches. Did you try casting the spell yourself? Maybe it would need to be cast instead of applied as aura. Try the hp column in creature table instead. https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130009/creature#creature-curhealth
  2. I assume you are using actual item link. The command is supposed to work with exact item name as well, not just item link. At least from what I recall reading from the command tooltip. So typing ".additem [Champion Herod's Shoulder]" in plain text to the chat should work and works for items that dont have apostrophe iirc.
  3. Disable it in worldserver.conf by setting MaxCoreStuckTime = 0 Think that should do it.
  4. Insert a valid radius number (1-9999) to the field next to the button, then you shouldn't get an error with the Select by radius button.
  5. See the readme: https://github.com/Rochet2/TrinityCore/blob/gomove_3.3.5/src/server/scripts/Custom/GOMove/README.md Did you add GOMove_spell_place to DB as instructed yet?
  6. Reminds me of this one quote from subv I keep seeing at times. : )
  7. Take a look at https://en.wikipedia.org/wiki/Precompiled_header PCH is a way to speed up compiling.
  8. It would be best to avoid SQL queries if you can. However as you asked for an example of how to make this query, here is one: #include "DatabaseEnv.h" int64 count = CharacterDatabase.PQuery("SELECT COUNT(*) FROM characters_spells WHERE guid = %u", player->GetGUID().GetCounter())->Fetch()[0].GetInt64(); if (count >= 30) { } In this code - the include allows you to use CharacterDatabase variable, which is a global variable. - PQuery makes a database query and allows you to use printf like syntax to format variables into the SQL. - GetCounter returns the part of the guid that is usually used in DB for players and items to identify them. - Fetch returns the current row from the query result, we call this directly as we know that a result will be returned from this specific SQL. - [0] accesses the first column in the query result. In this case it is the count. - GetInt64() takes the column data and handles it as an int64 value. Most math in SQL is done with bigint, so using uint32 or similar may actually not work on some machines. Always use proper type! - the resulting value is stored into a variable "count" and then compared against 30.
  9. @Verytas Starting over with the source code that matches your client version (7.x) should fix the most imminent issues you have. (follow what I said before) TrinityCore seems to be in the middle of transitioning to 8.x. Guides have not been updated yet and without external tools you cannot use 8.x client yet with TC, so I would not personally recommend trying to use the latest master branch or 8.x clients yet.
  10. @Verytas Seems you are trying to use latest master branch with 7.x client. However master = 8.0.1.28153. For 7.3.5 you probably want to go back to the commit that supported that version. For example: git checkout -b 7.3.5 7.3.5/26972 See https://github.com/TrinityCore/TrinityCore/tags and https://git-scm.com/book/en/v2/Git-Basics-Tagging
  11. To print information about closest gameobject you can use .gobject target The information should contain the gameobject's guid. Then you can delete the object by its guid with .gobject delete <guid>
  12. At least I cannot see an edit button on the main page. Other pages seem editable. Main page: Any other page:
  13. The database links are also broken. https://trinitycore.atlassian.net/wiki/spaces/tc/overview?mode=global world database characters database auth database
  14. Hmm, on forum main page right side there is the same topics section twice https://community.trinitycore.org/
  15. Links on the main page of the wiki are also broken in same way: https://trinitycore.atlassian.net/wiki/spaces/tc/overview?mode=global "Description of TrinityCore DBC files contents" "How to add a custom script to your solution" "IRC: #Trinity @ irc.rizon.net (Rules)"
×
×
  • Create New...