Hok Posted June 5, 2008 Share Posted June 5, 2008 (edited) Hey everyone,I made this script for a game with a lot of memory based variables. When I did an error check I get these wierd errors:AutoIt3 Syntax Checker v1.54.8 Copyright © Tylo 2007C:\Program Files\AutoIt3\Include\NomadMemory.au3(230,44) : ERROR: $TOKEN_ADJUST_PRIVILEGES previously declared as a 'Const' Const $TOKEN_ADJUST_PRIVILEGES = 0x0020~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Program Files\AutoIt3\Include\NomadMemory.au3(231,32) : ERROR: $TOKEN_QUERY previously declared as a 'Const' Const $TOKEN_QUERY = 0x0008~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^C:\Documents and Settings\v1.au3 - 2 error(s), 0 warning(s)>Exit code: 2 Time: 0.629 EDIT: I would post it but its got a ton of GUI -.0 Edited June 5, 2008 by Hok Link to comment Share on other sites More sharing options...
enaiman Posted June 5, 2008 Share Posted June 5, 2008 This looks like it is a problem in your #include statements: it looks like you have 2 files included and each of them is declaring these 2 things so you get an error second time. Search your #include files for these 2: $TOKEN_ADJUST_PRIVILEGES and $TOKEN_QUERY - find the files and -maybe- one of them is redundant. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
evilertoaster Posted June 5, 2008 Share Posted June 5, 2008 hum, what version of nomadmemory are you using? Link to comment Share on other sites More sharing options...
Hok Posted June 6, 2008 Author Share Posted June 6, 2008 This is all I've got in my #Includes...#include <GUIConstants.au3>#include <NomadMemory.au3>I am using the version I got from this site... (See attached)NomadMemory.au3 Link to comment Share on other sites More sharing options...
enaiman Posted June 6, 2008 Share Posted June 6, 2008 Because GUIConstants include itself alot of files, try to comment these lines: Const $TOKEN_ADJUST_PRIVILEGES = 0x0020 Const $TOKEN_QUERY = 0x0008 in your NomadMemory.au3 Give it a try after that. SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
Hok Posted June 6, 2008 Author Share Posted June 6, 2008 It won't totally ruin it 0.0 Link to comment Share on other sites More sharing options...
enaiman Posted June 6, 2008 Share Posted June 6, 2008 It won't totally ruin it 0.0I'm not sure I understand what are you saying ... SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
martin Posted June 6, 2008 Share Posted June 6, 2008 It won't totally ruin it 0.0No. Just comment out the Consts which are giving the error that they are already defined like enaiman says. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Hok Posted June 6, 2008 Author Share Posted June 6, 2008 I made a new NomadMemory and named it NomadMemory1 and commented the lines. I included that one and it works. Now instead of that problem I have to fix a continual spam of tabs. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now