[C++][Zone] Dueling Area ; Healers and spectators for your dueling zone menu

User Tag List

Results 1 to 14 of 14
  1. #1
    namelessgnome's Avatar Contributor
    Reputation
    108
    Join Date
    May 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C++][Zone] Dueling Area ; Healers and spectators for your dueling zone

    This is some of the scripts I use for my dueling zone. It has healers that heal the players that are low on health (unless they are dueling of cource) and spectators that cheers and claps.

    This is an early version and will be updated with more features. If you got any Suggestion or Bug Reports post them below. When you report a bug please give us detailed information or we won't be able to help you.


    1. Save the program to your gossip scripts folder (or any other folder containing c++ scripts)
    2. You will now have to edit the settings to set the Npc Ids
    3. add void SetupDuelZone(ScriptMgr * mgr); to Setup.h
    4. add SetupDuelZone(mgr); to your main function in Setup.cpp
    5. Open the scripts project in visual studio and click add existing file
    6. Select the DuelingZone Script
    7. Recompile your scripts

    Usage
    The npc will heal and give mana to nearby players that aren't dueling and thus making it possible for them to duel again


    Quick Facts:
    OS SUPPORT:: If you get the emu to run, this works
    Emulator Support: SharedPointers, or emulated shared pointers
    Coded In: C++
    Preview:C++ PasteBin
    Download:Filebeam
    Last edited by namelessgnome; 07-26-2009 at 01:16 PM.

    [C++][Zone] Dueling Area ; Healers and spectators for your dueling zone
  2. #2
    orangepig's Avatar Contributor
    Reputation
    129
    Join Date
    Jul 2009
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice scripts, I'll probably use it for my server. By the way I got an idea, a npc that can challenge and summon online players to the dueling zone.

  3. #3
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A Very epic Contribution! +Rep

    Bah, need to spread. =/

  4. #4
    svedin's Avatar Contributor
    Reputation
    124
    Join Date
    Jun 2008
    Posts
    557
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very Nice Good work

    +Rep for you

  5. #5
    scarfaze's Avatar Member
    Reputation
    9
    Join Date
    Aug 2008
    Posts
    79
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mangos compatible?

  6. #6
    namelessgnome's Avatar Contributor
    Reputation
    108
    Join Date
    May 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not too familiar with the mangos code, but I can guarantee you that it will not work without modification

  7. #7
    scarfaze's Avatar Member
    Reputation
    9
    Join Date
    Aug 2008
    Posts
    79
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by namelessgnome View Post
    I'm not too familiar with the mangos code, but I can guarantee you that it will not work without modification
    However it works for aspire?

  8. #8
    orangepig's Avatar Contributor
    Reputation
    129
    Join Date
    Jul 2009
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yea, it does. Works for me.
    Last edited by orangepig; 07-30-2009 at 12:55 PM.

  9. #9
    Hellgawd's Avatar Account not activated by Email
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks epic! +4

  10. #10
    Pepsie's Avatar Member
    Reputation
    1
    Join Date
    Aug 2009
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This looks awesome, just has 39 different errors :yuck:
    Code:
    1>..\src\GossipScripts\ZONE_Duel.cpp(23) : error C2061: syntax error : identifier 'CreaturePointer'
    1>..\src\GossipScripts\ZONE_Duel.cpp(21) : error C2664: 'DuelSpectatorAI::DuelSpectatorAI(const DuelSpectatorAI &)' : cannot convert parameter 1 from 'Creature *' to 'const DuelSpectatorAI &'
    1>        Reason: cannot convert from 'Creature *' to 'const DuelSpectatorAI'
    1>        No constructor could take the source type, or constructor overload resolution was ambiguous
    1>..\src\GossipScripts\ZONE_Duel.cpp(23) : error C2065: 'pCreature' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(49) : error C2061: syntax error : identifier 'CreaturePointer'
    1>..\src\GossipScripts\ZONE_Duel.cpp(61) : error C2061: syntax error : identifier 'PlayerPointer'
    1>..\src\GossipScripts\ZONE_Duel.cpp(47) : error C2664: 'DuelHealerAI::DuelHealerAI(const DuelHealerAI &)' : cannot convert parameter 1 from 'Creature *' to 'const DuelHealerAI &'
    1>        Reason: cannot convert from 'Creature *' to 'const DuelHealerAI'
    1>        No constructor could take the source type, or constructor overload resolution was ambiguous
    1>..\src\GossipScripts\ZONE_Duel.cpp(49) : error C2065: 'pCreature' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(63) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(63) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(63) : error C2227: left of '->DuelingWith' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(63) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(63) : error C2227: left of '->CombatStatus' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(63) : error C2228: left of '.IsInCombat' must have class/struct/union
    1>..\src\GossipScripts\ZONE_Duel.cpp(65) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(65) : error C2227: left of '->GetHealthPct' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(66) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(67) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(67) : error C2227: left of '->GetSession' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(67) : error C2227: left of '->SendNotification' must point to class/struct/union/generic type
    1>..\src\GossipScripts\ZONE_Duel.cpp(70) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(70) : error C2227: left of '->GetManaPct' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(70) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(70) : error C2227: left of '->GetManaPct' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(72) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(73) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(73) : error C2227: left of '->CastSpell' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(73) : error C2065: 'plr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(81) : error C2065: 'MapMgrPointer' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(81) : error C2146: syntax error : missing ';' before identifier 'mapMgr'
    1>..\src\GossipScripts\ZONE_Duel.cpp(81) : error C2065: 'mapMgr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(82) : error C2065: 'mapMgr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(82) : error C2227: left of '->GetPlayerCount' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(91) : error C2065: 'mapMgr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(91) : error C2227: left of '->GetPosX' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(92) : error C2065: 'mapMgr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(92) : error C2227: left of '->GetPosY' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(106) : error C2065: 'mapMgr' : undeclared identifier
    1>..\src\GossipScripts\ZONE_Duel.cpp(106) : error C2227: left of '->GetCell' must point to class/struct/union/generic type
    1>        type is ''unknown-type''
    1>..\src\GossipScripts\ZONE_Duel.cpp(116) : error C2660: 'DuelHealerAI::HealPlayer' : function does not take 1 arguments
    Code:
    1>ArcScriptGossipScripts - 39 error(s), 0 warning(s)

  11. #11
    namelessgnome's Avatar Contributor
    Reputation
    108
    Join Date
    May 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "Emulator Support: SharedPointers, or emulated shared pointers"

    Your emulator does not use Shared pointer therefore you will need to modify the script

    Hint: that means replacing PlayerPointer with Player * and likewise for the other data types

  12. #12
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lunar Gaming - Reaching For The Stars

  13. #13
    namelessgnome's Avatar Contributor
    Reputation
    108
    Join Date
    May 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or use that very nice program by mager

  14. #14
    alonoe's Avatar Member
    Reputation
    1
    Join Date
    Aug 2007
    Posts
    20
    Thanks G/R
    1/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Epic script, epic release, trying it right now

Similar Threads

  1. [Trading] My wow Eu gold and items for your runescape items!: D
    By ben 0101 in forum World of Warcraft Buy Sell Trade
    Replies: 4
    Last Post: 06-20-2016, 11:59 AM
  2. [Selling] Black Desert Online Silver Farming! NA/EU & Foods and Potions for your adventure!
    By sellerplayer in forum Black Desert Buy Sell Trade
    Replies: 0
    Last Post: 03-19-2016, 11:09 AM
  3. [Trading] My SC Exalted, Chaos and Fusing For your HC 2:1
    By RubyPrincess in forum PoE Buy Sell Trade
    Replies: 0
    Last Post: 05-25-2013, 03:09 PM
  4. [Trading] My GC and MoP for your GOLD
    By Gliga in forum World of Warcraft Buy Sell Trade
    Replies: 0
    Last Post: 10-05-2012, 02:05 PM
  5. [Trading] My 85 pally and Sc2 for your RIFT Account
    By Oats123 in forum Rift Buy Sell Trade
    Replies: 6
    Last Post: 05-13-2011, 07:08 PM
All times are GMT -5. The time now is 09:00 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search