House Keyring. menu

Shout-Out

User Tag List

Results 1 to 15 of 15
  1. #1
    ludde_193's Avatar Member
    Reputation
    16
    Join Date
    Mar 2007
    Posts
    87
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    House Keyring.

    Hello, it's like this. I'm creating my own custom city. So I need to know how to make doors that require keys, and they should be able to open, then close.. But only with the key So, could anyone make a guide on how to create a door like this? Does it require Lua? Well. Please answer And i'll rep you

    House Keyring.
  2. #2
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to do this in C++ and SQL (the key and door)

    But I myself am not sure how, ask TheSpidey or Gastric, they are the C++ guys

  3. #3
    Pwntzyou's Avatar Contributor
    Reputation
    264
    Join Date
    Dec 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look up c++ this is fairly easy! Try taking a look at some source coding for game objects, just set the animation state of the game object to open and close if the user has the key

    <3 MysterioussouL for the sig

  4. #4
    ludde_193's Avatar Member
    Reputation
    16
    Join Date
    Mar 2007
    Posts
    87
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well thanks guys But I suck at c++, I can do some small stuffs.. But not any advanced.. :/ So that's why I asked you guys.. Well, SectorSeven, Ill ask them

  5. #5
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Either hire someone to make them for you, or start learning scripting :P

  6. #6
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I suppose i can start you off

    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    #ifdef WIN32
    #pragma warning(disable:4305)
    #endif
    
    class GOSCRIPT : public GameObjectAIScript
    {
    public:
            GOSCRIPT(GameObject* goinstance) : GameObjectAIScript(goinstance) {}
            static GameObjectAIScript *Create(GameObject * GO) { return new GOSCRIPT(GO); }
            void OnActivate(Player * Plr, GameObject *GO)
            {
                    if (Plr->GetItemInterface()->GetItemCount(KEYID,false)==1)
                    {
                    // Code to open door here
                    }else{
                    Plr->BroadcastMessage("HAHAHAHAHHA NO");
                    }
            }
    };
    
    void SetupGOSCRIPT(ScriptMgr *mgr)
    {
            mgr->register_gameobject_script(GOENTRYID, &GOSCRIPT::Create);
    }
    Life Puzzler WoW - Website | Forums

  7. #7
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    heh, i done this in lua...on mmoforge somewere.

  8. #8
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ooh this reminds me, I did post the basic layout for gameobject AI before, run a search for it

  9. #9
    Monarch's Avatar Member
    Reputation
    8
    Join Date
    Nov 2007
    Posts
    117
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I'm quite curious about this too, I'll look up that GO AI thing Spidey, but I can't do C++ because whenever I try to compile C++ on Dev C++ it says 'Cannot run Program File' and it won't work.... In multiple cases... And I don't know of another C++ Program.

  10. #10
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    or you could just make it so that just teleports the player to the other side of the door, that way no worries of players getting in wihtout a key, and no need for gameobject states. use the source gp posted above, its all setup, just have to add in 1 line and edit a few little things like keyid and goid.


  11. #11
    Ballwinkle's Avatar Contributor Authenticator enabled
    Reputation
    124
    Join Date
    Mar 2007
    Posts
    662
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Microsoft Visual Stuido 2008 Express Edition

  12. #12
    ludde_193's Avatar Member
    Reputation
    16
    Join Date
    Mar 2007
    Posts
    87
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for all the quick replys guys ;)

  13. #13
    Monarch's Avatar Member
    Reputation
    8
    Join Date
    Nov 2007
    Posts
    117
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @ Ballwinkle - Thanks! +Rep ^.^

    @ Doublehex - Never thought about that.. That's actually a good idea, but it could be used in some occasions such as if you're about to die or if you were far away....

  14. #14
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you can add a combat check, and a distance check for your two problems


  15. #15
    Monarch's Avatar Member
    Reputation
    8
    Join Date
    Nov 2007
    Posts
    117
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good Idea, it would be hard however.. And for some reason, it's still saying that 'my file is out of date' or something when I try to build the executable in Microsoft C++....

Similar Threads

  1. Auction House Tips, Tricks Guide
    By Bossman4 in forum World of Warcraft Guides
    Replies: 1
    Last Post: 06-03-2006, 03:44 AM
  2. Elwynn Falls House
    By Matt in forum World of Warcraft Guides
    Replies: 6
    Last Post: 05-07-2006, 01:47 PM
  3. Auction House Gravity EXPLOIT (with VIDEO) WORKS!
    By Matt in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 04-12-2006, 06:10 PM
  4. Inflated Auction House Prices
    By Matt in forum World of Warcraft Guides
    Replies: 4
    Last Post: 04-08-2006, 09:32 AM
  5. Get on to where the Auction house people are!
    By janzi9 in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 03-06-2006, 11:44 PM
All times are GMT -5. The time now is 10:55 AM. 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