User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 7 of 8

Thread: having problems

  1. #1
    Foufos
    Join Date
    May 2014
    Posts
    55
    XP
    250,768
    Level
    112
    Thanks
    7
    Thanked 2 Times in 2 Posts

    having problems

    im trying to add http://emudevs.com/showthread.php/53...ld-Chat-script to my core and im not sure how to do the custom script part in lastest compile of TC

    REV: aec583ffe9b2+
    added in custom_script_loader.cpp
    Code:
    // The name of this function should match:
    // void Add${NameOfDirectory}Scripts()
    void AddCustomScripts()
    {
    	void AddSC_WorldChat();
    }
    idk if i did right and idk other places to add :(
    Last edited by Djundead; 08-23-2016 at 04:03 PM.
    Achievements:
    1 year registered Shopper Level XL Level C

  2. #2
    Original Poster
    Foufos
    Join Date
    May 2014
    Posts
    55
    XP
    250,768
    Level
    112
    Thanks
    7
    Thanked 2 Times in 2 Posts
    how i get:
    Code:
    Severity	Code	Description	Project	File	Line	Suppression State
    Error (active)		the #endif for this directive is missing	scripts	c:\Users\Administrator\Desktop\build\src\server\scripts\gen_scriptloader\static\ScriptLoader.cpp	39
    line 39
    #ifdef TRINITY_IS_DYNAMIC_SCRIPTLOADER

  3. #3
    Moderator <span style='color: #FF1493'><span class='glow_000000'>Vitrex</span></span>'s Avatar

    Join Date
    Sep 2013
    Location
    Vilnius , Lithuania
    Posts
    1,049
    XP
    1,000,667
    Level
    174
    Thanks
    283
    Thanked 137 Times in 97 Posts
    I'm not sure but i think adding scripts is same as it used to be.
    maybe you will find this thread usefull.http://emudevs.com/showthread.php/13...t-to-your-core
    Achievements:
    Shopper Got a Sticky! 1 year registered Member Level XL Level C Referrer
    Awards:
    Raffle Winner Donator Member of Staff Pot Head
    I won't create anything for you, i can only guide you to right direction.
    Don't forget to read rules before posting.
    Forum Rules
    Need and assistance with your issue? use this section to ask for assistance !
    -----
    My Portfolio
    Wanna learn PHP ? check out my One-Page project


  4. #4
    Original Poster
    Foufos
    Join Date
    May 2014
    Posts
    55
    XP
    250,768
    Level
    112
    Thanks
    7
    Thanked 2 Times in 2 Posts
    the probolem is scriptloader is wayyyy different

  5. #5
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,860
    XP
    13,531
    Level
    35
    Thanks
    95
    Thanked 592 Times in 419 Posts
    read the official documentation here:
    https://trinitycore.atlassian.net/wi...c/CustomScript

    Also the errors you get tell that you have edited possibly wrong files.
    I suggest trying to revert whatever changes you made. (get new files from trinitycore github?)
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner
    rochet2.github.io - Home of great codes

  6. #6
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar
    Join Date
    Apr 2013
    Posts
    7,391
    XP
    3,449,104
    Level
    378
    Thanks
    889
    Thanked 1,858 Times in 1,120 Posts
    Quote Originally Posted by Djundead View Post
    the probolem is scriptloader is wayyyy different
    Not really. Basically the same setup just split into specific script loader files for each type (Custom, Command, etc).

  7. #7
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,860
    XP
    13,531
    Level
    35
    Thanks
    95
    Thanked 592 Times in 419 Posts
    Quote Originally Posted by Tommy View Post
    Not really. Basically the same setup just split into specific script loader files for each type (Custom, Command, etc).
    He is probably looking at the wrong scriptloader like this: https://github.com/TrinityCore/Trini...r.cpp.in.cmake
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner
    rochet2.github.io - Home of great codes

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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