Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: MiscNPC

  1. #11
    Grunt

    Join Date
    Aug 2008
    Posts
    41
    Post Thanks / Like
    Rep Power
    17
    Reputation
    41

    Register to remove this ad
    @ alex just look in GossipScripts and find setup.h and setup.cpp. in setup.cpp find SetupGuardGossip(mgr); and the part in red you can change to the script name in this case its MiscNPC and open setup.h and find void SetupGuardGossip(ScriptMgr * mgr); and again you may change that to the name.




    › See More: MiscNPC



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #12
    Senior Sergeant
    *Alexz*'s Avatar
    Join Date
    Aug 2008
    Posts
    107
    Post Thanks / Like
    Rep Power
    17
    Reputation
    33
    i got likee 14 errors with compleing it xD

    3>..\src\GossipScripts\MiscNPC.cpp(64) : error C2043: illegal break
    3>..\src\GossipScripts\MiscNPC.cpp(66) : error C2046: illegal case
    3>..\src\GossipScripts\MiscNPC.cpp(79) : error C2043: illegal break
    3>..\src\GossipScripts\MiscNPC.cpp(81) : error C2046: illegal case
    3>..\src\GossipScripts\MiscNPC.cpp(82) : error C2065: 'plr' : undeclared identifier
    3>..\src\GossipScripts\MiscNPC.cpp(82) : error C2227: left of '->SaveToDB' must point to class/struct/union/generic type
    3> type is ''unknown-type''
    3>..\src\GossipScripts\MiscNPC.cpp(85) : error C2059: syntax error : 'break'
    3>..\src\GossipScripts\MiscNPC.cpp(87) : error C2059: syntax error : 'case'
    3>..\src\GossipScripts\MiscNPC.cpp(88) : error C2447: '{' : missing function header (old-style formal list?)
    3>..\src\GossipScripts\MiscNPC.cpp(104) : error C2059: syntax error : 'break'
    3>..\src\GossipScripts\MiscNPC.cpp(107) : error C2059: syntax error : 'case'
    3>..\src\GossipScripts\MiscNPC.cpp(108) : error C2447: '{' : missing function header (old-style formal list?)
    3>..\src\GossipScripts\MiscNPC.cpp(118) : error C2059: syntax error : 'break'
    3>..\src\GossipScripts\MiscNPC.cpp(120) : error C2059: syntax error : 'case'
    3>..\src\GossipScripts\MiscNPC.cpp(121) : error C2447: '{' : missing function header (old-style formal list?)
    3>..\src\GossipScripts\MiscNPC.cpp(367) : error C2061: syntax error : identifier 'MiscNPC'
    (lol i know im posting/asking alot

  4. #13
    Grunt

    Join Date
    Aug 2008
    Posts
    41
    Post Thanks / Like
    Rep Power
    17
    Reputation
    41
    Do you have a MSN?

  5. #14
    Senior Sergeant
    *Alexz*'s Avatar
    Join Date
    Aug 2008
    Posts
    107
    Post Thanks / Like
    Rep Power
    17
    Reputation
    33

  6. #15
    Contributor
    StickyIcky's Avatar
    Join Date
    Jul 2008
    Location
    127.0.0.1
    Posts
    747
    Post Thanks / Like
    Rep Power
    19
    Reputation
    188
    Noobs...
    *shakes head*

    XD Jk wif ya alexz =]

  7. #16
    Senior Sergeant
    *Alexz*'s Avatar
    Join Date
    Aug 2008
    Posts
    107
    Post Thanks / Like
    Rep Power
    17
    Reputation
    33
    im new to c++ tryin to learn here! lol

  8. #17
    Contributor
    LiLLeCarl's Avatar
    Join Date
    Jan 2009
    Posts
    106
    Post Thanks / Like
    Rep Power
    17
    Reputation
    84

    Register to remove this ad
    Quote Originally Posted by *Alexz* View Post
    what emu dose this work with
    case 8: //Explore maps
    {
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    if(currentgold>15000){ //15 gold
    int32 newgold = currentgold - 15000;
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    for (uint8 i=0; i<64; i++)
    {
    Plr->SetFlag(PLAYER_EXPLORED_ZONES_1+i,0xFFFFFFFF);
    }
    Plr->BroadcastMessage("Sight has a new meaning");
    Plr->Gossip_Complete();
    }else{
    Plr->BroadcastMessage("Well hurry up! %s I need that money now!");
    Plr->Gossip_Complete();
    }
    }break;
    aint that unlock all maps?

 

 
Page 2 of 2 FirstFirst 12

Visitors found this page by searching for:

arcemu fp freischalten

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 12:17 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org