[Release] Code Box Npc (Lua) menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 30 of 30
  1. #16
    deathwow's Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice. but how do players get the code? do they have to guess?

    [Release] Code Box Npc (Lua)
  2. #17
    y2kss66's Avatar Member
    Reputation
    104
    Join Date
    Jan 2008
    Posts
    778
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the gm tells them the code whenever they win.

    @hellgawd
    nice idea!

  3. #18
    nadskap2's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i will try this out +rep

  4. #19
    hrcykesa's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i dont understand,does this work on real live server,can i get spectral mount from this ?

  5. #20
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Ermmm, no.

    This is the emulater server section, all posts in here will be for emulaters and not retail.
    Basically if you put this on a emulater server, then you can make it so that if a player has the right code they can get a item like a spectral tiger.

  6. #21
    Juicyz's Avatar Active Member
    Reputation
    34
    Join Date
    Dec 2006
    Posts
    298
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice Release, but there could be a prob. not with the coding, but if players told players the codes then couldnt everyone have the same item, and it isnt special no more ?

    DA Gift From Mr. Blain

  7. #22
    Nymphx's Avatar Active Member
    Reputation
    83
    Join Date
    Sep 2008
    Posts
    212
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Mildan, you didn't read the description, I said what it would be usefull for in there
    Also Nymphx, yes and no. The code is part of the function where your defining it all, then on the create gossip you put a extra 1 instead of 0 or blank (which is default 0) here:

    Code:
       pUnit:GossipMenuAddItem(30, Option1, 10, 1)
    I saw that but then I was skeptical weather to write it or not because I wasn't sure if it was just the norm as I've not worked with items much in Lua.

    Thanks

  8. #23
    Protyke's Avatar Active Member
    Reputation
    22
    Join Date
    Apr 2009
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wow

    Omg, another nice release from Stoneharry .. Always has the best stuff.
    Last edited by Protyke; 04-19-2009 at 12:45 AM.
    Yep.

  9. #24
    Claiver's Avatar Member
    Reputation
    138
    Join Date
    Mar 2009
    Posts
    217
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Stoneharry for this idea, however I thought it could be way easier for the users in the following way:

    I have made an update to this script, making it very easy to add more rewards, and more items bound to a single option! All you have to do is add a new line to the 'table' and it will automatically add the new option for you!



    For example you can add this:
    Code:
    {"Token", "G92JD03D", 11846, 5},
    That will add a menu item named: 'I would like a Token', asks you to enter the code G92JD03D and give you item 11846x5. If you want the script to add another item to the player, simply add another: "itemid, itemcount" to the string, like this:
    Code:
    {"Token", "G92JD03D", 11846, 5, itemid2, itemcount2},
    example:
    {"Token", "G92JD03D", 11846, 5, 14156, 2},
    UPDATE: It now saves data!


    My version contains the following features:
    - Add Codes for any Player IN-GAME! via the In-Game GM itemtool.
    - Saves Codes when used, codes may only be used once and are only available to the player the code is assigned to! (If you assign code "CSDD3563" to player "CLAIVER", then Player "IRLEET" can't use this code. Only "CLAIVER" can!)
    - Very easy to add new items, it takes just one single line, and you can add as many items as you want, that the player will receive (including item-count) upon entering the code for the selected option.
    - You can still set a Global 'Password' for every item (this password can always be used by anyone, at any time), but this is not as safe.
    Files:
    LUA: Put this anywhere in the scripts/ folder.
    http://www.mediafire.com/file/qgj21ztqykn/

    SQL: Execute this into your MySql DataBase.
    http://www.mediafire.com/file/2mlzw5moj4j/

    TXT: Place this file into your /scripts folder (IMPORTANT!).
    http://www.mediafire.com/file/nohztia2mnm/

    Note: The current ItemID's are not all correct and are mostly custom items. Change them to your needs.

    Claiver
    Last edited by Claiver; 04-19-2009 at 04:02 PM.

  10. #25
    Fireblast's Avatar Contributor
    Reputation
    195
    Join Date
    Aug 2008
    Posts
    883
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is some good shxt

  11. #26
    Megosh's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I love you all... lol. Amazing work!

  12. #27
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    tehepic Harry!
    +Rep! soz! need to spread
    It's been a while

  13. #28
    nadskap2's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ima gay fish....

  14. #29
    Claiver's Avatar Member
    Reputation
    138
    Join Date
    Mar 2009
    Posts
    217
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by nadskap2 View Post
    ima gay fish....

    Keep your dirty face out of this thread when you're out on spoiling the quality.. Why exactly did you post such a lousy comment anyway? Grow up.

    Claiver
    .

  15. #30
    insignia96's Avatar Banned
    Reputation
    33
    Join Date
    Oct 2008
    Posts
    304
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't get this to work on Aspire Hearthstone. I set my npc's flags to gossip and it shows The menu, but does nothing when i click a menu item, any help? Also this is not from this thread, but in ur Lua Cinematic, I can tell the dude that evil is near but after he runs off nothing happens, if any help possible, is appreciated.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [Release] Fun Teleporter npc [Lua++]
    By stoneharry in forum WoW EMU General Releases
    Replies: 24
    Last Post: 02-23-2009, 06:48 PM
  2. [Release]Buffer npc lua
    By Noobcraft in forum WoW EMU General Releases
    Replies: 8
    Last Post: 10-04-2008, 07:20 AM
  3. [Release] Healing / Buffing NPC (LUA++)
    By Vaudville in forum WoW EMU General Releases
    Replies: 0
    Last Post: 09-21-2008, 07:46 AM
  4. [Release]Instant 70 Npc Lua
    By Noobcraft in forum WoW EMU General Releases
    Replies: 27
    Last Post: 09-08-2008, 11:28 PM
  5. [Release] Info NPC -- LUA
    By Babbaa in forum WoW EMU General Releases
    Replies: 6
    Last Post: 08-17-2008, 02:29 PM
All times are GMT -5. The time now is 07:30 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