Faction Pick Script (C++?) menu

Shout-Out

User Tag List

Results 1 to 8 of 8
  1. #1
    Krazymoo's Avatar Corporal
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Faction Pick Script (C++?)

    Hey,

    I was wondering if anyone knew if it was possible to make an NPC (Well, 4) which enables you to essentially pick what Faction you want to join.

    Say if you've made a horde character, and you want to join the Alliance, or a new faction I've created, you speak to the faction recruiter, and you get invited into their faction.

    So, your Faction ID would change, display ID would change also. I'm not sure if this would be C++ or Lua, and if it was could anyone managed to script it? Will reward them somehow.

    Thanks,

    Faction Pick Script (C++?)
  2. #2
    Aellya's Avatar Sergeant
    Reputation
    21
    Join Date
    Mar 2010
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Should be possible with an lua gossip script, but i've not made anything like that myself.

    Are you sure it's even possible? From my basic knowledge of the code, the faction and team checks are linked to dbc entries so you'll need to change alot of stuff to get it working. Hopefully i'm wrong though

  3. #3
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Aellya View Post
    From my basic knowledge of the code, the faction and team checks are linked to dbc entries so you'll need to change alot of stuff to get it working. Hopefully i'm wrong though
    I don't think that's the case, considering Game Masters are set to friendly with both factions.
    The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed.
    Albert Einstein

  4. #4
    Aellya's Avatar Sergeant
    Reputation
    21
    Join Date
    Mar 2010
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They could be a hardcoded exception, but if so that would mean it's possible without dbc edits which is a good thing

    Had a look through faction.cpp (ArcEmu) which handles all the isHostile/isAttackable code and it looks fairly straight forward, however alot of stuff such as initial reputations and quests are handled by class so even if you changed your orc to stormwind rep it still won't be able to access the quests and will still have the default orc rep (hated by stormwind, etc...)

    It would probably be easier to just make a human character with it's faction, rep and class then change the display to an orc model. The only problem then would be storing the displayid change as it's not stored anywhere (it's set automatically based on the class/sex of the char)
    With a char of a third 'team' i guess you'll have to make new reputation default values in the dbc files for the class and edit all the quests to allow them to be taken (or add code in the quest handler to include them as an exception)

    Would be very intresting if you manage to pull this one off

  5. #5
    Krazymoo's Avatar Corporal
    Reputation
    1
    Join Date
    Feb 2010
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, we've wiped all the NPC's etc out from the database, so we're only working with NPC's, Quests etc we've made ourselfs. Would it still be possible just to edit the "faction" of the NPC's we're using for say, the Alliance side, and have the script (When you want to join the Alliance side) change the Characters Faction to the Alliance one (Set by us)...

    The Horde and the other 2 factions will also have different factions (We'll make sure their classed as 'hostile' to all 4 factions.

    Simple version of what Im saying is : If it's all custom, will just editing the factions to differnet ones work for the "hostile/not hostile" part, and having the script change the characters factions to the previously set ones?

  6. #6
    Aellya's Avatar Sergeant
    Reputation
    21
    Join Date
    Mar 2010
    Posts
    56
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It might do, the easiest way is to try it and find out

  7. #7
    rusfighter's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    C++ isnt hard , you need to watch and read some tuts

  8. #8
    thebigman's Avatar Contributor Reliable Trader
    CoreCoins Purchaser
    Reputation
    89
    Join Date
    Dec 2008
    Posts
    605
    Thanks G/R
    2/0
    Trade Feedback
    26 (96%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it can be done with luahyparc which is standard in arcemu/ascent/aspire builds i believe?

    involving sending a query to i forgot which database. but you could change the faction with it. and you could ofc use gossip for the display part as well.

Similar Threads

  1. Auto pick up script?
    By jho369 in forum Diablo 3 General
    Replies: 6
    Last Post: 06-26-2012, 07:02 AM
  2. [Lua Script] [Request for an help with Faction Script]
    By sagijs in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 02-02-2011, 05:29 PM
  3. [Request] Way to change Faction might work to http script,
    By luddo9 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 06-05-2010, 02:43 AM
  4. Unavailable Classes, Faction Traitors, and Scripted Bosses
    By Angrypuffin in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 06-18-2008, 05:14 AM
  5. [ZoloFighter] easy rogue lock picking level up script
    By wowpanda in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 05-29-2008, 07:33 PM
All times are GMT -5. The time now is 06:05 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search