Error compiling with custom scripts menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Nadromar's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    369
    Join Date
    Oct 2006
    Posts
    510
    Thanks G/R
    15/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Error compiling with custom scripts

    Okay I'm trying to add 2 new scripts to my arcemu server, And on compiling I get these errors

    Code:
     12>------ Build started: Project: ExtraScripts, Configuration: Release Win32 ------
     12>Compiling...
     12>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
     12>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
     12>PvPTitlesNPC.cpp
     12>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
     12>ArenaScript.cpp
     12>..\src\ExtraScripts\ArenaScript.cpp(8) : warning C4603: 'REQUIRED_LEVEL' : macro is not defined or definition is different after precompiled header use
     12>        Add macro to precompiled header instead of defining here
     12>        ..\src\ExtraScripts\ArenaScript.cpp(27) : use of precompiled header
     12>..\src\ExtraScripts\ArenaScript.cpp(11) : warning C4603: 'NUM_POINTS' : macro is not defined or definition is different after precompiled header use
     12>        Add macro to precompiled header instead of defining here
     12>        ..\src\ExtraScripts\ArenaScript.cpp(27) : use of precompiled header
     12>..\src\ExtraScripts\ArenaScript.cpp(14) : warning C4603: 'POINTS_DEATH' : macro is not defined or definition is different after precompiled header use
     12>        Add macro to precompiled header instead of defining here
     12>        ..\src\ExtraScripts\ArenaScript.cpp(27) : use of precompiled header
     12>..\src\ExtraScripts\ArenaScript.cpp(17) : warning C4603: 'PARTY_ALLOWED' : macro is not defined or definition is different after precompiled header use
     12>        Add macro to precompiled header instead of defining here
     12>        ..\src\ExtraScripts\ArenaScript.cpp(27) : use of precompiled header
     12>..\src\ExtraScripts\ArenaScript.cpp(20) : warning C4603: 'RAIDS_ALLOWED' : macro is not defined or definition is different after precompiled header use
     12>        Add macro to precompiled header instead of defining here
     12>        ..\src\ExtraScripts\ArenaScript.cpp(27) : use of precompiled header
     12>..\src\ExtraScripts\ArenaScript.cpp(41) : error C2065: 'REQUIRED_LEVEL' : undeclared identifier
     12>..\src\ExtraScripts\ArenaScript.cpp(41) : error C2065: 'REQUIRED_LEVEL' : undeclared identifier
     12>..\src\ExtraScripts\ArenaScript.cpp(47) : error C2065: 'RAIDS_ALLOWED' : undeclared identifier
     12>..\src\ExtraScripts\ArenaScript.cpp(64) : error C2065: 'NUM_POINTS' : undeclared identifier
     12>..\src\ExtraScripts\ArenaScript.cpp(66) : error C2065: 'PARTY_ALLOWED' : undeclared identifier
     12>..\src\ExtraScripts\ArenaScript.cpp(96) : error C2065: 'POINTS_DEATH' : undeclared identifier
     12>..\src\ExtraScripts\ArenaScript.cpp(98) : error C2065: 'POINTS_DEATH' : undeclared identifier
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(250) : error C2065: 'm_ki' : undeclared identifier
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(250) : error C2146: syntax error : missing ')' before identifier 'uint32'
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(250) : error C2146: syntax error : missing ';' before identifier 'currenttokens'
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(250) : error C2275: 'uint32' : illegal use of this type as an expression
     12>        d:\ARCEMU CORE\trunk\src\arcemu-shared\Common.h(358) : see declaration of 'uint32'
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(250) : error C2065: 'currenttokens' : undeclared identifier
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(251) : error C2065: 'currenttokens' : undeclared identifier
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(252) : error C2065: 'currenttokens' : undeclared identifier
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(261) : error C2181: illegal else without matching if
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(267) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(281) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(285) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(288) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(302) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(306) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(309) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(323) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(327) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(330) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(344) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(348) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(351) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(365) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(369) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(372) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(386) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(390) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(393) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(407) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(411) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(414) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(428) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(432) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(435) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(449) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(453) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(456) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(470) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(474) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(477) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(491) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(495) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(498) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(512) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(516) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(519) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(533) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(537) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(540) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(554) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(558) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(561) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(575) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(579) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(582) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(596) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(600) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(603) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(617) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(621) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(624) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(638) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(642) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(645) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(659) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(663) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(666) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(680) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(684) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(687) : error C2046: illegal case
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(701) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(705) : error C2043: illegal break
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(709) : error C2059: syntax error : '}'
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(709) : error C2143: syntax error : missing ';' before '}'
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(709) : error C2059: syntax error : '}'
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(713) : error C2143: syntax error : missing ';' before '{'
     12>..\src\ExtraScripts\PvPTitlesNPC.cpp(713) : error C2447: '{' : missing function header (old-style formal list?)
     12>Build log was saved at "file://d:\ARCEMU CORE\trunk\src\scripts\projects\2008_int_release_extrascripts\BuildLog.htm"
     12>ExtraScripts - 83 error(s), 8 warning(s)
    Any ideas what to do or whats wrong?

    Error compiling with custom scripts
  2. #2
    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)
    Your missing some brackets and your "Select.. Case" syntax is wrong (Looks like on all of your cases :P). You didn't declare a few things.


  3. #3
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I agree to Vindicated, looks mostly like you've got the script wrong. You try to use a value that's not there. etc.
    Why do I need a signature?

Similar Threads

  1. [tutorial] Compiling custom scripts
    By Trle94 in forum WoW EMU Guides & Tutorials
    Replies: 5
    Last Post: 08-15-2009, 07:46 PM
  2. [Compiling Custom Scripts] Arena Event
    By Pwntzyou in forum WoW EMU Guides & Tutorials
    Replies: 26
    Last Post: 06-14-2009, 07:17 AM
  3. ArcEmu WOTLK Compiles with dbc, wotlk scripts . restarted and DB
    By Fantomass in forum WoW EMU General Releases
    Replies: 0
    Last Post: 12-15-2008, 06:42 PM
  4. How to get Arcemu to compile with no script errors
    By Sorayazlawl in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 07-17-2008, 08:27 PM
  5. [HELP] Getting errors when compileing ascent trunk scripts
    By Fronix in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 03-25-2008, 04:10 PM
All times are GMT -5. The time now is 04:31 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