Jump to content

Problem with NomadMemory


Recommended Posts

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 2007

C:\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 by Hok
Link to comment
Share on other sites

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

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

It won't totally ruin it 0.0

No. 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...