Scripting LUA 101 menu

Shout-Out

User Tag List

Page 4 of 9 FirstFirst 12345678 ... LastLast
Results 46 to 60 of 132
  1. #46
    ValentineChrisis's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good guide thx

    Scripting LUA 101
  2. #47
    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)
    No problem thanks for the read

  3. #48
    Entr0py's Avatar Member
    Reputation
    35
    Join Date
    May 2007
    Posts
    396
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    great guide i must say,
    very easy to read, understand, its very orginized
    but only thing is i would like if it had more examples, like show what to add in every step of the way, show how it should look at dif steps, maybe even put in little challanges to help us learn it.
    idk about u guys but i learn the best from actually doing somthing.
    nontheless, +Rep

    Remember to + Rep people who help you!

  4. #49
    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)
    I am going to add a link for examples later tonight so your in luck
    I will also be adding an advanced tutorial next week along with a video on compiling DLLs

  5. #50
    Evilpape's Avatar Member
    Reputation
    17
    Join Date
    Apr 2008
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i found out wat was Wrong
    Last edited by Evilpape; 04-20-2008 at 12:31 AM. Reason: Found out wat was wrong

  6. #51
    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)
    Alright good
    Glad you fixed it

  7. #52
    anima7223's Avatar Member
    Reputation
    8
    Join Date
    Apr 2008
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright, I have most of the basic commands down. But if I wanted to make it so that you start a fight with 5 mobs, and after those 5 die, another spawns, how would i do that?

  8. #53
    Shownomercy13's Avatar Member
    Reputation
    3
    Join Date
    Nov 2006
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey SectorSeven, I have a real quick question: I have it so my creature attacks it's enemys well I try to fight him but he doesn't cast anything, I'll put a short sample of the script:

    function Archimonde_fingerofdeath(pUnit, Event)
    Unit:CastSpell(31984)
    end
    RegisterUnitEvent (17968, 1, "Archimonde_fingerofdeath")


    Here is the problem ascent.exe says:

    Sql query failed due to [Column count doesn't match value count at row 1], Query: [REPLACE INTO creature_spawns VALUES(330275696,17968,0-4838.06,-1645.17,505.023,0.517572,018292,1720,0,0,0,0,0,0)]
    scripts\Archimonde.LUA:29: calling 'CastSpell' on bad self (Unit expected, got table)

  9. #54
    Herleybob's Avatar Contributor
    Reputation
    178
    Join Date
    Jul 2007
    Posts
    663
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im guessing, but change
    Unit:CastSpell(31984)
    to
    pUnit:CastSpell(31984)

    Nom Nom Nom :P

  10. #55
    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)
    function Archimonde_fingerofdeath(pUnit, Event)
    pUnit:CastSpell(31984, pTarget)
    end
    RegisterUnitEvent (17968, 1, "Archimonde_fingerofdeath")


    That should work if it doesn't its a problem unrelated to LUA

  11. #56
    Shownomercy13's Avatar Member
    Reputation
    3
    Join Date
    Nov 2006
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, I tried but it seems as though he won't attack anyone. I will retype the script up and let you guys know how it goes.

  12. #57
    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)
    Thats a problem with your creature. His faction is frendly to you

  13. #58
    Shownomercy13's Avatar Member
    Reputation
    3
    Join Date
    Nov 2006
    Posts
    22
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    He will attack me and I can attack him but I've tried everyone elses scripts such as yours and tried to make them like yours but he just hits me but doesnt use any spells. I'm going to try your Repack today, hopefully I get better results :/

    EDIT: Your repack works thanks a lot SectorSeven!
    Last edited by Shownomercy13; 04-22-2008 at 06:15 PM.

  14. #59
    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)
    Lol ok. Show thats a problem with your SQL query or LUA script. Please post them both in code format.

  15. #60
    spboy's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice it looks very useful

Page 4 of 9 FirstFirst 12345678 ... LastLast

Similar Threads

  1. [Release] My Custom boss script (LUA)
    By Nilrac in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 06-17-2008, 03:57 AM
  2. [share] mini-tut on gossip scripts lua
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 05-29-2008, 05:11 AM
  3. Need help with my script [lua]
    By Satzen in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-18-2008, 05:19 PM
  4. [Guide] Troubleshooting LUA 101
    By EcHoEs in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 04-10-2008, 08:23 AM
  5. script lua question
    By onilank in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-21-2007, 06:58 PM
All times are GMT -5. The time now is 10:07 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