Welcome to AC Web.
Results 1 to 3 of 3

Thread: c++ script

  1. #1

    c++ script


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Hello, I could use some help for those who know more than me, I don't have enough knowledge to understand this script, which apparently doesn't work. https://pastebin.com/NXyZtYck

    The npc in game have their class scripts in the database. - You're supposed to find a guy but when you find him, nothing, it doesn't validate the quest, I tried to type the mobs, nothing... so if someone has an idea it would be great (and who has time to explain or annotate the script to explain what line does what, I could add them to my notes)




    best regard

  2. #2
    at first look an issue i can see is on line 83
    void SetGUID(ObjectGuid const& guid, int32 /*id*/ = 0)
    just remove , int32 /*id*/ = 0 as it's not used anywhere in that function and is also incorectly commented

    UPDATE
    Script is also missing

    void AddSC_mob_attacker_dimwind()
    {
    new mob_attacker_dimwind();
    new mob_min_dimwind();
    new npc_min_dimwind_outro();
    }
    Last edited by darksoke; 04-08-2020 at 08:02 AM.

  3. #3

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    [COLOR="#000000"]
    Quote Originally Posted by darksoke View Post
    at first look an issue i can see is on line 83
    void SetGUID(ObjectGuid const& guid, int32 /*id*/ = 0)
    just remove , int32 /*id*/ = 0 as it's not used anywhere in that function and is also incorectly commented
    Code:
     void SetGUID(ObjectGuid const& guid,  int32)
            {
                playerGUID = guid;
                events.RescheduleEvent(EVENT_1, 1000);
            }
    fixed. I've add , int32



    and i've 3 errors but generating done :v

    exemple



    link full script : https://pastebin.com/YZQpvrK6
    Last edited by Nexon; 04-08-2020 at 04:49 PM.

 

 

Posting Permissions

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