A few Questions about some NPC edits .... menu

User Tag List

Results 1 to 7 of 7
  1. #1
    lasermonkey's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A few Questions about some NPC edits ....

    Ok, I know I'm still a noob here, but I spend most of my time frantically reading, testing, editing my server, mostly by hand in the databases with navicat, fancy fiters, and copy/paste, oh, and of course wowhead's searchable database as my lovely assistant :P ... and I'll say right now I got a lot of by base stuff here .. props to all, in my haste I did not collect proper credits ... I don't claim full credit for the work ... if you see some of yours, props, and props to all the wonderful and helpful developers in the community here. ... oh, and if you do see your work in my stuff .. let me know and I'll +Rep if I can, lol.

    I will also +Rep as much as I can to anyone who can help me with my questions...
    and yes, I've searched for answers for many hours, I guess my questions are maybe just too specific, lol.

    Ok ...

    #1
    Is it possible to use a Lua script or C++ (still learning both mind you) to make one NPC hold mutliple vendor tables ... or the equivalent outcome ? I'm trying to make a nice, minimal NPC count, yet fully stocked mall (not intended for just lvl 60/70 content), but the vendor count is getting pretty high due to this 150 item per vendor limit. If this is doable, please let me know how .

    #2
    What would be the Lua code to make an NPC set your recall location ? And of course the code to teleport you back to that location ? I have seen this function in a scripted verion of a hearthstone on a private realm I played on, and I would like to duplicate this function in my teleport NPC that I've turned into a non-combat pet. The ability, if I recall correctly, had the blink type of graphics effect, but it had no cooldown whatsoever. Any ideas ?

    and....

    #3
    All the SSO NPCs on the isle of quel'danas are attacking each other, then quickly dropping combat, every few seconds ... how do I fix this ? or do I just need to download some updated files ?

    Ok ... sorry for being long-winded, but my questions are rather specific, lol.

    Thanks,
    And keep up the great work everyone !
    Last edited by lasermonkey; 09-29-2008 at 04:44 PM.

    A few Questions about some NPC edits ....
  2. #2
    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)
    #1
    Yes, kinda. You can use a gossip NPC to send vendor tables of other NPCs to players, thing is, you'll need a pointer to said NPCs. The best way would be making the master NPC spawn invisible vendors, then making him send their vendor tables.

    #2
    I don't think you can do it with Lua. It's fairly easy with C++ though

  3. #3
    lasermonkey's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmmm invisible vendors you say ? Interesting ... Cause for example, the rough draft daggers list is 316 items long, taking 3 vendor tables to complete. Would I need to have a master NPC spawn the other vendors, or could I say, have 1000 invisible vendors sitting in a bucket somewhere already spawned, waiting to have their tables called ... and a bunch of visible scripted vendors calling the vendorbucket ?


    And Poop, I hope you're wrong on #2 cause so far this pocket taxi is pretty sweet, and the gossip stuff is all in LUA, hence being able to easily modify it ... if you're right, guess it's time to get my hands dirty and learn C++, lol.

  4. #4
    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)
    Doesn't matter, as long as you can take a hold of their pointers in C++, you can send their lists to the player.

    And once you script gossip in Lua, C++ doesn't look that complex anymore

  5. #5
    lasermonkey's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok ... my next my next question would be ... is there an upper limit to how many gossip ID's I can put in the script ? I know (at least when doing it with Lua) that things get wonky after 15 per page (haven't found any upper limit yet)... oh, and can you attach the script to a gameobject instead of an npc ?

  6. #6
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In C++ anything is possible

    And if you talking in Lua for the game object thing yes you can. Check this out http://svn.assembla.com/svn/Blua/Poc...Everything.txt

    I live in a shoe

  7. #7
    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)
    Originally Posted by lasermonkey View Post
    ok ... my next my next question would be ... is there an upper limit to how many gossip ID's I can put in the script ? I know (at least when doing it with Lua) that things get wonky after 15 per page (haven't found any upper limit yet)
    While there's a limit for menu options per page, you can bypass it by creating submenus or pages

Similar Threads

  1. Newbie, few questions about tmorph and model editing
    By Jerry1515 in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 04-13-2015, 03:41 AM
  2. A few questions about model editing.
    By PwNzM in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 11-26-2010, 07:25 PM
  3. A few questions about model editing
    By Kelindel in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 01-01-2007, 11:23 PM
  4. A few questions about model editing
    By Kelindel in forum World of Warcraft General
    Replies: 0
    Last Post: 01-01-2007, 08:57 PM
  5. A few questions about WoW
    By colm in forum World of Warcraft General
    Replies: 2
    Last Post: 08-23-2006, 12:04 PM
All times are GMT -5. The time now is 05:12 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