LUA: Understanding Gossip Menus menu

User Tag List

Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 47
  1. #16
    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)
    Hmm I recommend you download it from their SVN

    LUA: Understanding Gossip Menus
  2. #17
    imsosorrygms's Avatar Member
    Reputation
    2
    Join Date
    Apr 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did and i still got the error
    But in the luaengine.cpp file u get from the ascent SVN it dosent say #include <ScriptSetup.h> it says #include <CoreMemoryAllocator.cpp>

  3. #18
    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)
    Hmm - I'm not getting this error

  4. #19
    imsosorrygms's Avatar Member
    Reputation
    2
    Join Date
    Apr 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hm.. weird...
    This is how I do when I try to compile it:
    1. Open the project for the ascent-world and that stuff and make it release.
    2. Compiling it, without any errors
    3. Adding the LuaScripting folder, from the lua++ svn, to the trunk
    4. Open the project for scripts and make it release
    5. Try to compile it and then get the errors.

  5. #20
    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)
    Error in step 3 - it needs to be in the /scripts/src folder

  6. #21
    imsosorrygms's Avatar Member
    Reputation
    2
    Join Date
    Apr 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I comment out the #include <ScriptSetup.h> part i get alot of errors:
    1>LUAEngine.cpp
    1>..\src\luascripting\LUAEngine.cpp(160 : error C2660: 'MapMgr::CreateCreature' : function does not take 1 arguments
    1>..\src\luascripting\LUAEngine.cpp(1645) : error C2660: 'MapMgr::CreateGameObject' : function does not take 1 arguments
    1>..\src\luascripting\LUAEngine.cpp(190 : error C2039: 'ModSignedInt32Value' : is not a member of 'Item'
    1> c:\users\chrille\desktop\ascent\branches\3_8_stable\src\ascent-world\Item.h(116) : see declaration of 'Item'
    1>..\src\luascripting\LUAEngine.cpp(3024) : error C2039: 'GetTypeFromGUID' : is not a member of 'Unit'
    1> c:\users\chrille\desktop\ascent\branches\3_8_stable\src\ascent-world\Unit.h(650) : see declaration of 'Unit'
    1>..\src\luascripting\LUAEngine.cpp(3027) : error C2039: 'GetUIdFromGUID' : is not a member of 'Unit'
    1> c:\users\chrille\desktop\ascent\branches\3_8_stable\src\ascent-world\Unit.h(650) : see declaration of 'Unit'
    1>..\src\luascripting\LUAEngine.cpp(3047) : error C2039: 'ModSignedInt32Value' : is not a member of 'Unit'
    1> c:\users\chrille\desktop\ascent\branches\3_8_stable\src\ascent-world\Unit.h(650) : see declaration of 'Unit'
    1>..\src\luascripting\LUAEngine.cpp(332 : error C2039: 'IsFeared' : is not a member of 'Unit'
    1> c:\users\chrille\desktop\ascent\branches\3_8_stable\src\ascent-world\Unit.h(650) : see declaration of 'Unit'
    1>..\src\luascripting\LUAEngine.cpp(3347) : error C2660: 'Unit::create_guardian' : function does not take 4 arguments
    1>..\src\luascripting\LUAEngine.cpp(3357) : error C2039: 'isInArc' : is not a member of 'Unit'
    1> c:\users\chrille\desktop\ascent\branches\3_8_stable\src\ascent-world\Unit.h(650) : see declaration of 'Unit'
    1>..\src\luascripting\LUAEngine.cpp(3777) : error C2039: 'ModSignedInt32Value' : is not a member of 'Item'
    1> c:\users\chrille\desktop\ascent\branches\3_8_stable\src\ascent-world\Item.h(116) : see declaration of 'Item'
    1>..\src\luascripting\LUAEngine.cpp(3860) : error C2660: 'MapMgr::CreateCreature' : function does not take 1 arguments
    1>..\src\luascripting\LUAEngine.cpp(3904) : error C2660: 'MapMgr::CreateGameObject' : function does not take 1 arguments
    1>..\src\luascripting\LUAEngine.cpp(4127) : error C2039: 'ModSignedInt32Value' : is not a member of 'GameObject'
    1> c:\users\chrille\desktop\ascent\branches\3_8_stable\src\ascent-world\GameObject.h(143) : see declaration of 'GameObject'

  7. #22
    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)
    Hmm, i have tried everything to get this damn script to do a "registerevent" call... but nothing seems to work

    Code:
    if(intid == 1) then
    print "1"
    spawned = true
    unit:RegisterEvent("timer", 1000, 1)
    player:GossipComplete()
    end
    it does not register the event, even threw a print "test" in the function timer... got nothing

    <3 MysterioussouL for the sig

  8. #23
    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)
    Hmm post the whole script

  9. #24
    pachuco55's Avatar Member
    Reputation
    12
    Join Date
    Mar 2008
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SectorSeven... your tut didn't really work for me.. at all. This, however, helped incredibly well:

    Getting NPC Gossip Stuff Working[Mini-tut] - General discussion - Temp - Lua++ Forums

    Your post explained what things do, but it didn't have the same format. This format is much easier to read, and more importantly, works.

  10. #25
    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)
    Thanks +Rep x2 for that share (I was going to look over the arg statement)

    +Added to main thread

  11. #26
    pachuco55's Avatar Member
    Reputation
    12
    Join Date
    Mar 2008
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks

    Oxin [the guy who wrote it] appreciates the feedback.

  12. #27
    darkgabou15's Avatar Banned
    Reputation
    54
    Join Date
    Mar 2007
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can we put the lua things in a .dll instead? 'cus it would be easier than re-compiling everything.

  13. #28
    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)
    Nope. Then you would get version mismatch...

  14. #29
    Murlock.'s Avatar Knight-Lieutenant
    Reputation
    86
    Join Date
    Oct 2007
    Posts
    271
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm confused.. Could you explain more on creating the patch for the core? I would be extremely gracious if I could get this working.

  15. #30
    runiker's Avatar Contributor
    Reputation
    105
    Join Date
    Nov 2007
    Posts
    501
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey sector i dont know if you do this or not but if you need any help let me know i have been doing alot of lua work latly including making flags for some bg's just send me a pm btw great guide!

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [Lua Script] Lua NPC Gossip Checklist
    By iindigo in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 06-18-2010, 09:04 PM
  2. [Lua Script] LUA item gossip help
    By naturaunglosar in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 05-26-2010, 02:14 AM
  3. [Lua] Gossip Dropdown Menus
    By Dynashock in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 03-23-2010, 05:09 PM
  4. [ArcEmu 3.3.2][lua] Vendor gossip question and going beyond 80?
    By xyrusazabi in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 03-13-2010, 02:43 PM
  5. Unit Event Lua Question (Gossip Talk)
    By moongo in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 05-22-2008, 07:49 PM
All times are GMT -5. The time now is 09:43 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