[C++] Automated Vending Machine menu

Shout-Out

User Tag List

Page 4 of 5 FirstFirst 12345 LastLast
Results 46 to 60 of 62
  1. #46
    ogchaos's Avatar Member
    Reputation
    1
    Join Date
    Jan 2008
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    1>------ Build started: Project: ArcScriptMiscScripts, Configuration: Release Win32 ------
    1>Compiling...
    1>Automated Vendor.cpp
    1>..\src\MiscScripts\Automated Vendor.cpp(111) : error C2065: 'CreaturePointer' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(111) : error C2146: syntax error : missing ')' before identifier 'unit'
    1>..\src\MiscScripts\Automated Vendor.cpp(111) : error C2182: 'AddItemsToCreature' : illegal use of type 'void'
    1>..\src\MiscScripts\Automated Vendor.cpp(111) : error C2059: syntax error : ')'
    1>..\src\MiscScripts\Automated Vendor.cpp(112) : error C2143: syntax error : missing ';' before '{'
    1>..\src\MiscScripts\Automated Vendor.cpp(112) : error C2447: '{' : missing function header (old-style formal list?)
    1>..\src\MiscScripts\Automated Vendor.cpp(134) : error C2065: 'CreaturePointer' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(134) : error C2146: syntax error : missing ')' before identifier 'unit'
    1>..\src\MiscScripts\Automated Vendor.cpp(134) : error C2182: 'SendItemList' : illegal use of type 'void'
    1>..\src\MiscScripts\Automated Vendor.cpp(134) : error C2059: syntax error : ')'
    1>..\src\MiscScripts\Automated Vendor.cpp(135) : error C2143: syntax error : missing ';' before '{'
    1>..\src\MiscScripts\Automated Vendor.cpp(135) : error C2447: '{' : missing function header (old-style formal list?)
    1>..\src\MiscScripts\Automated Vendor.cpp(182) : error C2061: syntax error : identifier 'PlayerPointer'
    1>..\src\MiscScripts\Automated Vendor.cpp(202) : error C2065: 'plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(202) : error C2227: left of '->GetSession' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\MiscScripts\Automated Vendor.cpp(202) : error C2227: left of '->HasGMPermissions' must point to class/struct/union/generic type
    1>..\src\MiscScripts\Automated Vendor.cpp(20 : error C2065: 'UnitPointer' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(20 : error C2146: syntax error : missing ')' before identifier 'unit'
    1>..\src\MiscScripts\Automated Vendor.cpp(20 : error C2182: 'FindItem' : illegal use of type 'void'
    1>..\src\MiscScripts\Automated Vendor.cpp(20 : error C2059: syntax error : ')'
    1>..\src\MiscScripts\Automated Vendor.cpp(209) : error C2143: syntax error : missing ';' before '{'
    1>..\src\MiscScripts\Automated Vendor.cpp(209) : error C2447: '{' : missing function header (old-style formal list?)
    1>..\src\MiscScripts\Automated Vendor.cpp(269) : error C2061: syntax error : identifier 'ObjectPointer'
    1>..\src\MiscScripts\Automated Vendor.cpp(286) : error C2061: syntax error : identifier 'ObjectPointer'
    1>..\src\MiscScripts\Automated Vendor.cpp(320) : error C2061: syntax error : identifier 'ObjectPointer'
    1>..\src\MiscScripts\Automated Vendor.cpp(272) : error C2065: 'pObject' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(272) : error C2227: left of '->GetGUID' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\MiscScripts\Automated Vendor.cpp(272) : error C2065: 'plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(275) : error C2661: 'GossipMenu::AddItem' : no overloaded function takes 6 arguments
    1>..\src\MiscScripts\Automated Vendor.cpp(282) : error C2065: 'AutoSend' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(283) : error C2065: 'plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(289) : error C2065: 'IntId' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(289) : error C2050: switch expression not integral
    1>..\src\MiscScripts\Automated Vendor.cpp(295) : error C2065: 'pObject' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(295) : error C2227: left of '->SendChatMessageToPlayer' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\MiscScripts\Automated Vendor.cpp(295) : error C2065: 'plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(296) : error C2065: 'pObject' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(296) : error C2227: left of '->SendChatMessageToPlayer' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\MiscScripts\Automated Vendor.cpp(296) : error C2065: 'plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(297) : error C2065: 'pObject' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(297) : error C2065: 'plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(303) : error C2065: 'pObject' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(303) : error C2065: 'plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(303) : error C2065: 'Code' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(306) : error C2065: 'pObject' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(306) : error C2065: 'plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(310) : error C2065: 'pObject' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(312) : error C2065: 'pObject' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(312) : error C2065: 'plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(322) : error C2065: 'pObject' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(322) : error C2227: left of '->SendChatMessageToPlayer' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>..\src\MiscScripts\Automated Vendor.cpp(322) : error C2065: 'Plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(323) : error C2065: 'Plr' : undeclared identifier
    1>..\src\MiscScripts\Automated Vendor.cpp(323) : error C2227: left of '->CleanupGossipMenu' must point to class/struct/union/generic type
    1> type is ''unknown-type''
    1>Build log was saved at "file://e:\arcemu\trunk\src\scripts\projects\2008_int_release_ArcScriptmiscscripts\Build Log.htm"
    1>ArcScriptMiscScripts - 54 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 7 up-to-date, 0 skipped ==========
    It went from 2 errors to 54 ..? lol

    [C++] Automated Vending Machine
  2. #47
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to convert it to arcemu :l

  3. #48
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol omg people, READ THE CONFIG....

    If you're on ARCEMU, set ARCEMU to 1!!!

    I spent all this time adding ArcEmu support, at least use it when you're on arcemu... o_O....

  4. #49
    zonpowa's Avatar Member
    Reputation
    47
    Join Date
    Nov 2008
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I like that! Very elegant solution. +Rep

  5. #50
    lease's Avatar Member
    Reputation
    2
    Join Date
    Jan 2009
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice thanks!

  6. #51
    yourself001's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ------ Build started: Project: AVM, Configuration: Debug Win32 ------
    Compiling...
    Automated_Vendor.cpp
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\automated_vendor.cpp(4 : fatal error C1083: Cannot open include file: 'StdAfx.h': No such file or directory
    Setup.cpp
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\setup.cpp(1) : fatal error C1083: Cannot open include file: 'StdAfx.h': No such file or directory
    Generating Code...
    Build log was saved at "file://c:\Users\Cameron_\Documents\Visual Studio 2008\Projects\AVM\AVM\Debug\BuildLog.htm"
    AVM - 2 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Whats StdAfx.h?

    if i remove the include StdAfx.h; i get this error

    ------ Build started: Project: AVM, Configuration: Debug Win32 ------
    Compiling...
    Automated_Vendor.cpp
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\setup.h(1) : error C2065: 'ScriptMgr' : undeclared identifier
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\setup.h(1) : error C2065: 'mgr' : undeclared identifier
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\setup.h(1) : error C2182: 'SetupVendorScript' : illegal use of type 'void'
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\setup.h(1) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    Setup.cpp
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\setup.h(1) : error C2065: 'ScriptMgr' : undeclared identifier
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\setup.h(1) : error C2065: 'mgr' : undeclared identifier
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\setup.h(1) : error C2182: 'SetupVendorScript' : illegal use of type 'void'
    c:\users\cameron_\documents\visual studio 2008\projects\avm\avm\setup.h(1) : fatal error C1903: unable to recover from previous error(s); stopping compilation
    Generating Code...
    Build log was saved at "file://c:\Users\Cameron_\Documents\Visual Studio 2008\Projects\AVM\AVM\Debug\BuildLog.htm"
    AVM - 8 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Last edited by yourself001; 10-05-2009 at 11:05 PM.

  7. #52
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Compile Arc/Aspire first, and then compile this script. And make sure its in your scripts folder.

    Btw, nice work. +rep x3

    I live in a shoe

  8. #53
    Stabatha's Avatar Contributor
    Reputation
    84
    Join Date
    Dec 2007
    Posts
    345
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by yourself001 View Post
    Whats StdAfx.h?

    if i remove the include StdAfx.h; i get this error
    It's the rubber band that holds the entire core together =) can find it in /src/world/StdAfx.h and .cpp

    GoblinCity.net -
    Home of the only Cataclysm Twink Server
    Instant Level 49 * Custom Gear * Scripted Raids * Tons More
    We are the oldest private twink server community - Open since 2007

  9. #54
    Wh1t3f0x's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I get the same errors as ogchaos, but It's set to ArcEmu.

  10. #55
    matiedemat's Avatar Member
    Reputation
    1
    Join Date
    Feb 2007
    Posts
    82
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This looks so nice, But I have Trinitycore.

  11. #56
    Stabatha's Avatar Contributor
    Reputation
    84
    Join Date
    Dec 2007
    Posts
    345
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ogchaos View Post
    It went from 2 errors to 54 ..? lol
    Check your code.. first line of your error shows you aren't using the ARC version as ARC doesn't use Shared PTRs.

    Also Jo, I am starting a new 3.2.2 Open Source core called Caffeine, It'd like to include this as a fun script if no objection.

    GoblinCity.net -
    Home of the only Cataclysm Twink Server
    Instant Level 49 * Custom Gear * Scripted Raids * Tons More
    We are the oldest private twink server community - Open since 2007

  12. #57
    shumi's Avatar Member
    Reputation
    11
    Join Date
    Dec 2007
    Posts
    60
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    real nice and interesting script :P

  13. #58
    jwhitten87's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey sorry for the noob issue here,but i got your AVM on my server,The Arc sql worked fine,and i can spawn the npc,but it doesnt do anything,i try talking to it and nothing comes up,any idea how to fix this?

  14. #59
    jwhitten87's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    15
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    btw tried to +Rep ,soz i cant yet,ill once i can.it's a great idea once i can get it working on my server.

  15. #60
    Ezxen's Avatar Member
    Reputation
    2
    Join Date
    Nov 2007
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how can i make this work on 2.4.3 server?

Page 4 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. [Symmetra] Place Sentries Inside Vending Machines
    By bezerker08 in forum Overwatch Exploits|Hacks
    Replies: 4
    Last Post: 12-14-2016, 08:50 PM
  2. [Item Reskin]Vending machines on zeppelins
    By T1B in forum World of Warcraft Model Editing
    Replies: 5
    Last Post: 12-04-2007, 07:35 PM
  3. Hack The Coke Machines!
    By blomstervand in forum Community Chat
    Replies: 22
    Last Post: 01-26-2007, 02:43 AM
  4. Dual Boxing, One Machine (?)
    By jsama in forum World of Warcraft General
    Replies: 3
    Last Post: 10-22-2006, 03:18 PM
  5. [Program] Cyber Key (Automated WoW Key Presser)
    By Cypher in forum World of Warcraft Bots and Programs
    Replies: 0
    Last Post: 05-26-2006, 09:06 AM
All times are GMT -5. The time now is 10:52 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