Aspire scripts error. menu

User Tag List

Results 1 to 4 of 4
  1. #1
    gotiefan's Avatar Sergeant
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    54
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Aspire scripts error.

    Hello,

    When I tried to compile Aspire, everything went fine.
    But then when I compiled the Scripts, it gave me the following errors:

    InstanceScripts
    Code:
    6>..\src\InstanceScripts\Instance_Deadmines.cpp(17) : error C2780: 'T *MapScriptInterface::GetObjectNearestCoords(uint32,float,float,float,float)' : expects 5 arguments - 4 provided
    6>        c:\documents and settings\\bureaublad\aspire core\trunk\src\hearthstone-world\MapScriptInterface.h(40) : see declaration of 'MapScriptInterface::GetObjectNearestCoords'
    6>..\src\InstanceScripts\Instance_Deadmines.cpp(54) : error C2780: 'T *MapScriptInterface::GetObjectNearestCoords(uint32,float,float,float,float)' : expects 5 arguments - 4 provided
    6>        c:\documents and settings\\bureaublad\aspire core\trunk\src\hearthstone-world\MapScriptInterface.h(40) : see declaration of 'MapScriptInterface::GetObjectNearestCoords'
    6>..\src\InstanceScripts\Instance_Deadmines.cpp(83) : error C2780: 'T *MapScriptInterface::GetObjectNearestCoords(uint32,float,float,float,float)' : expects 5 arguments - 4 provided
    6>        c:\documents and settings\\bureaublad\aspire core\trunk\src\hearthstone-world\MapScriptInterface.h(40) : see declaration of 'MapScriptInterface::GetObjectNearestCoords'
    6>Battleground_AlteracValley.cpp
    5>Linking...
    6>Setup.cpp
    5>   Creating library ..\..\..\bin\release\script_bin/SpellHandlers.lib and object ..\..\..\bin\release\script_bin/SpellHandlers.exp
    5>Generating code
    5>Finished generating code
    6>Build log was saved at "file://c:\Documents and Settings\\Bureaublad\Aspire core\trunk\src\scripts\projects\2008_int_release_instancescripts\BuildLog.htm"
    6>InstanceScripts - 3 error(s), 0 warning(s)
    Lua:
    Code:
    2>..\src\luascripting\LUAEngine.cpp(3365) : error C2660: 'Object::DealDamage' : function does not take 6 arguments
    2>..\src\luascripting\LUAEngine.cpp(3377) : error C2660: 'Object::DealDamage' : function does not take 6 arguments
    2>Build log was saved at "file://c:\Documents and Settings\\Bureaublad\Aspire core\trunk\src\scripts\projects\2008_int_release_LUAScripting\BuildLog.htm"
    2>LUAScripting - 2 error(s), 1 warning(s)
    Anyone knows how to fix this?

    Thank you!

    Aspire scripts error.
  2. #2
    namelessgnome's Avatar Contributor
    Reputation
    108
    Join Date
    May 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you sure that the scripts are of the same version as the core?
    Try doing a SVN Update on your hearthstone source folder.

    If that doesn't work open it in visual studio and try right clicking instance_deadmines.cpp and then on 'exclude from project'

    That should exclude the deadmines from your scripts

  3. #3
    Vindicated's Avatar Contributor
    Reputation
    226
    Join Date
    Aug 2008
    Posts
    1,067
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You are not using the correct number of arguments for the function :O. Argument is like:
    function(arg 1, arg2, arg3)


  4. #4
    namelessgnome's Avatar Contributor
    Reputation
    108
    Join Date
    May 2007
    Posts
    263
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Vindicated View Post
    You are not using the correct number of arguments for the function :O. Argument is like:
    function(arg 1, arg2, arg3)
    I don't think the OP made the script himself

Similar Threads

  1. LUA Script Error, Help would be appreciated!
    By pachuco55 in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 06-20-2008, 06:03 PM
  2. [Help] LUA boss script error.
    By arthars1 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 06-09-2008, 08:23 PM
  3. Script Error
    By delldude1989 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 04-06-2008, 03:41 PM
  4. [Help me] Lua script error? please help.
    By Szharz in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 03-22-2008, 12:20 PM
  5. Scripting Error (link fatal)
    By djkajabaxd in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-23-2008, 10:46 AM
All times are GMT -5. The time now is 04:03 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