Jump to content

bobbyxz

Members
  • Posts

    5
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by bobbyxz

  1. player->GetSession()->SendListInventory(4211160903);

    Why are you using the number 4211160903 here? It should be the creature's GUID.

    Yes, this is lowGuid and it needs guid 64bit in hexa, but I dont now how that translates between 32/64 bit guid.

  2. Your reputation with the NPC is unfriendly. You will need to add a faction for the vendor that is friendly or neutral toward all players. It is best to create a new vendor in the database to work with your core changes.

    ACweb.org and your database provider are two good places to look for creating custom vendors.

    I use flag 35, it is neutral to all players.

  3. Hello,

    I wanted to do Gossip vendor, where more options are opened ( more vendors in one ).

    Like this : http://imageshack.us...96/priklad.png/

    I took the base of normal guard_stormwind script.

           case GOSSIP_ACTION_INFO_DEF + 1:                    //Plate vendor
               player->GetSession()->SendListInventory(4211160902);
               break;
           case GOSSIP_ACTION_INFO_DEF + 2:                    //Mail vendor
               player->GetSession()->SendListInventory(4211160903);
               break;
    
    

    and if i select one option in guard, game say to me : "The merchant doesn't like you?"

    What is problem pleas ?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use