Lua problem. Look here.. Also newcomers:b menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lua problem. Look here.. Also newcomers:b

    Old issue was fixed. Asking my new question in this thread instead of making a new one


    I just recently discovered that all the scripts ive been making is buggy.. When the scripted mob slays the party it keeps doing spells. and making a


    function example_leavecombat(Unit, event, miscunit, misc)
    Unit:RemoveEvents();
    end

    RegisterUnitEvent(npcid,2, "example_leavecombat")

    Doesnt work. I also tried making one with killtarget (3)

    But it doesnt work. What is the correct syntax?

    In (unit, event, miscunit, misc) form?
    Last edited by b!atch; 04-17-2008 at 09:21 PM.
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

    Lua problem. Look here.. Also newcomers:b
  2. #2
    Kurosan's Avatar Member
    Reputation
    4
    Join Date
    Oct 2007
    Posts
    135
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    your configs are fine, maybe its a port problem? If ur behind a router make sure that the 192.168.1.XXX is still the same..

    start>run>cmd> ipconfig

  3. #3
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not the ports:/ Checked it a dusin of times.Theire all forwarded with my internal ip
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  4. #4
    Kurosan's Avatar Member
    Reputation
    4
    Join Date
    Oct 2007
    Posts
    135
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    did you update the logon db? Im using "world" now since its easier to work with =p

  5. #5
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im still using 2.8^^ And havent updated it... Ever:P
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  6. #6
    Kurosan's Avatar Member
    Reputation
    4
    Join Date
    Oct 2007
    Posts
    135
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mk.. back up the accounts and characters and re batch the logon tables =p

  7. #7
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here is my hostsfile btw..

    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    127.0.0.1 localhost
    127.0.0.1 Dyndns
    External ip Dyndns
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  8. #8
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Erm. What logondb should i use?^^ you wanna suggest one?:b




    Srsly.. I sux at db/mysql stuff.. I=Instances/Worlds:b
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  9. #9
    Kurosan's Avatar Member
    Reputation
    4
    Join Date
    Oct 2007
    Posts
    135
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    # Copyright (c) 1993-1999 Microsoft Corp.
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    127.0.0.1 localhost
    192.168.1.XXX localhost


    XXX = your last 3 # in the IP

    See if that helps


    Edit: Use one from a popular repack and update it if needed.

    If not..

    AC Web

  10. #10
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    W/e.. I might aswell try^^
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  11. #11
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It works. Thank you Tried changing realmlist to 192.168.1.2.. Wanna come play some on the server?^^ Its 2.3.3
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  12. #12
    CairiFEA's Avatar Member
    Reputation
    36
    Join Date
    Jan 2008
    Posts
    194
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by b!atch View Post
    Old issue was fixed. Asking my new question in this thread instead of making a new one


    I just recently discovered that all the scripts ive been making is buggy.. When the scripted mob slays the party it keeps doing spells. and making a


    function example_leavecombat(Unit, event, miscunit, misc)
    Unit:RemoveEvents();
    end

    RegisterUnitEvent(npcid,2, "example_leavecombat")

    Doesnt work. I also tried making one with killtarget (3)

    But it doesnt work. What is the correct syntax?

    In (unit, event, miscunit, misc) form?
    The target isnt leaving combat, it has killed a player. That means you need this,
    Code:
    function [[NPCKILLTARGET]](Unit)
    	Unit:SendChatMessage(11, 0, "[[NPC SAY]]")
    	Unit:CastSpell([[SpellID]])
    end
    
    
    RegisterUnitEvent([[NPCID]], 3, "[[NPCKILLTARGET]]")
    Cairi
    As a Nation, we have AGREED to A GREED
    gmtricks.com

  13. #13
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Erm you're making no sence at all.. I need my script to stop.. completely stop. after the mob leaves combat.. I tried with

    function example_leavecombat(Unit, event, miscunit, misc)
    Unit:RemoveEvents();
    end

    Same for killtarget.. (as i wrote above)
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  14. #14
    CairiFEA's Avatar Member
    Reputation
    36
    Join Date
    Jan 2008
    Posts
    194
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You are trying to get a mob to stop casting spells when the party dies. That great I understand that.

    But, you are using the leavecombat event; when a player dies, its not leaving combat, its dead. So you need to use the Killedtarget event.

    Leaveing combat is when you run away and the monster runs back to where he was.

    2 seperate functions completely.

    And you need to register the event for when it dies.

    Cairi
    Cairi
    As a Nation, we have AGREED to A GREED
    gmtricks.com

  15. #15
    Kurosan's Avatar Member
    Reputation
    4
    Join Date
    Oct 2007
    Posts
    135
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by b!atch View Post
    It works. Thank you Tried changing realmlist to 192.168.1.2.. Wanna come play some on the server?^^ Its 2.3.3
    Don't forgot, for people to join you need your ip

    which can be found here..

    What Is My IP Address? - IP Address Lookup, Info, Speed Test, and more

    place it in the realm config for servers.. Same with logon i believe

Page 1 of 2 12 LastLast

Similar Threads

  1. Problem with ascent server! -look here-
    By Evolocity7 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 09-11-2007, 06:39 PM
  2. Everyone look here! NOW!!!!!!!
    By mchugh in forum World of Warcraft General
    Replies: 17
    Last Post: 12-29-2006, 11:19 AM
  3. Wow Look Here!
    By 0-0-7 in forum World of Warcraft General
    Replies: 22
    Last Post: 12-25-2006, 06:13 PM
  4. people dont even look here
    By Reamed12 in forum WoW ME Questions and Requests
    Replies: 7
    Last Post: 12-14-2006, 06:08 PM
  5. Have an end game instance question? Look here!
    By impulse102 in forum World of Warcraft General
    Replies: 8
    Last Post: 09-09-2006, 10:00 PM
All times are GMT -5. The time now is 11:03 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