• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "StartupParameters"
    Differences between revisions 3 and 23 (spanning 20 versions)
    Revision 3 as of 2012-12-04 19:07:11
    Size: 1356
    Editor: Inanna
    Comment:
    Revision 23 as of 2013-10-18 08:45:35
    Size: 4409
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    The bot allows certain command line parameters to be passed to it when starting up. The Director uses these when it sends your email, server, delay, etc. to the bot when launching it. 

    ||<tablewidth="796px" tableheight="123px"#cccccc>'''Parameter ''' ||<#cccccc>'''Usage''' ||<#cccccc>'''Description ''' ||
    The bot allows certain command line parameters to be passed to it when starting up. The Director uses these when it sends your email, server, delay, etc. to the bot when launching it.
    ||<tablewidth="100%"#cccccc>'''Parameter ''' ||<#cccccc>'''Usage''' ||<#cccccc>'''Description ''' ||
    Line 7: Line 6:
    ||secret key ||-ssk ||The user's forum secret key to link the bot to NeatPortal.com || ||secret key ||-ssk ||The user's forum secret key to link the bot to !NeatPortal.com ||
    Line 10: Line 9:
    ||autologin ||-autologin ||A "0" (off) or "1" (on) switch to turn autologin to the server on/off. ||
    ||autorun ||-autorun ||A "0" (off) or "1" (on) switch to turn auto goal setting on/off. ||
    Line 11: Line 12:
    ||netbookmode ||-netbookmode ||A "0" (off) or "1" (on) switch to turn on/off the shortened screensize/buttons for netbooks and small monitors. ||
    ||connectioncheck ||-connectioncheckdelay ||Used to set the number of seconds between connection timeout checks. ||
    ||maxtrade ||-maxtrade ||Used to set the maximum trade quantity allowed via scripting or default tradepolicy. Default is 99,999,999. ||
    ||!MinimizeToTray ||-minimizetotray ||0=off 1=on set global settings minimize to tray option on or off ||
    ||Minimize ||-minimize ||enable/disable minimize bot on login (default = 0) ||
    ||TTSAttackWarning ||-ttsattackwarning ||enable/disable TTS Attack Warning (default = 0) (dont use this option, it will lock your bot up except in test release Zinc 4 builds!) ||
    ||!AttackFocus ||-attackfocus ||enable/disable focus(bring to foreground) window on incoming attack ||
    ||!BalloonAttackWarning ||-balloonattackwarning ||enable/disable balloon pop up attack warnings ||
    ||!CaptchaAutoSolve ||-captchaautosolve ||enable/disable captcha auto solver ||
    ||attackwarning ||-attackwarning ||enable/disable audible attack warning ||
    ||warreports ||-warreports ||enable/disable alliance defense reports being logged to log window ||
    ||notradingreports ||-notradingreports ||enable/disable trading messages being recorded to log window ||
    ||noattackreports ||-noattackreports ||enable/disable enable NPC/valley attack messages being logged to reports window ||
    ||noamuletmessages ||-noamuletmessages ||enable/disable amulet spins being logged in system window ||
    ||sce ||-sce ||enable/disable security code ||
    ||claimpackages ||-claimpackages ||enable/disable auto package claim (default = 1) ||
    ||secure ||-secure ||enable/disable secure scripts (default = 1) if enabled, prevents Config.password from being accessed by scripts ||
    ||resetfh ||-resetfh ||enable/disable reset farming history at startup (default = 0) ||
    ||showsettings ||-showsettings ||enable/disable show Settings screen if new settings are detected (default = 1) ||
    ||title ||-title ||set the window title of the bot ||
    ||player ||-player ||set the Lord name on account creation ||
    ||sex ||-sex ||set the gender on account creation. 0 is male, 1 is female ||
    ||faceindex ||-faceindex ||set the face picture on account creation. runs 0-24 for males, 0-7 for females ||
    ||zone ||-zone ||set the state to start in on account creation. use the actual state name, ie - romagna ||
    ||flag ||-flag NEAT ||set the flag to use on account creation. limit 4 characters, obviously :) ||
    Line 14: Line 41:
    C:\Users\Inanna\Documents\NeatBot> NeatBot123.exe -u neatbot@neatportal.com -password abcdefg -s 123 -title NeatBotRox '''C:\!NeatBot>''' !NeatBot123.exe -u `neatbot@neatportal.com` -password abcdefg -s 123 -title !NeatBotRox
    Line 16: Line 43:
    The following syntax is recognized:

    {{{
    -parameter value

    -parameter=value

    -parameter:value

    /parameter:value

    /parameter=value

    /parameter value
    }}}
    To set checkbox for one of the above-mentioned parameters, the value must be one of these (any other vlaue will uncheck it):

    {{{
    1
    yes
    on
    true
    }}}
    Line 17: Line 67:
    Line 18: Line 69:
    CategorySetup CategorySetup CategoryHowTo

    The bot allows certain command line parameters to be passed to it when starting up. The Director uses these when it sends your email, server, delay, etc. to the bot when launching it.

    Parameter

    Usage

    Description

    username

    -username or -u

    The login for the account.

    password

    -password

    The password for the account.

    server

    -server or -s

    The server to log into.

    secret key

    -ssk

    The user's forum secret key to link the bot to NeatPortal.com

    delay

    -delay or -d

    The delay time to log into the server, in minutes.

    title

    -title

    The window title you will see in the task bar and name in the system tray for the bot.

    autologin

    -autologin

    A "0" (off) or "1" (on) switch to turn autologin to the server on/off.

    autorun

    -autorun

    A "0" (off) or "1" (on) switch to turn auto goal setting on/off.

    autoscripts

    -autoscripts

    A "0" (off) or "1" (on) switch to turn autorun of scripts on/off.

    netbookmode

    -netbookmode

    A "0" (off) or "1" (on) switch to turn on/off the shortened screensize/buttons for netbooks and small monitors.

    connectioncheck

    -connectioncheckdelay

    Used to set the number of seconds between connection timeout checks.

    maxtrade

    -maxtrade

    Used to set the maximum trade quantity allowed via scripting or default tradepolicy. Default is 99,999,999.

    MinimizeToTray

    -minimizetotray

    0=off 1=on set global settings minimize to tray option on or off

    Minimize

    -minimize

    enable/disable minimize bot on login (default = 0)

    TTSAttackWarning

    -ttsattackwarning

    enable/disable TTS Attack Warning (default = 0) (dont use this option, it will lock your bot up except in test release Zinc 4 builds!)

    AttackFocus

    -attackfocus

    enable/disable focus(bring to foreground) window on incoming attack

    BalloonAttackWarning

    -balloonattackwarning

    enable/disable balloon pop up attack warnings

    CaptchaAutoSolve

    -captchaautosolve

    enable/disable captcha auto solver

    attackwarning

    -attackwarning

    enable/disable audible attack warning

    warreports

    -warreports

    enable/disable alliance defense reports being logged to log window

    notradingreports

    -notradingreports

    enable/disable trading messages being recorded to log window

    noattackreports

    -noattackreports

    enable/disable enable NPC/valley attack messages being logged to reports window

    noamuletmessages

    -noamuletmessages

    enable/disable amulet spins being logged in system window

    sce

    -sce

    enable/disable security code

    claimpackages

    -claimpackages

    enable/disable auto package claim (default = 1)

    secure

    -secure

    enable/disable secure scripts (default = 1) if enabled, prevents Config.password from being accessed by scripts

    resetfh

    -resetfh

    enable/disable reset farming history at startup (default = 0)

    showsettings

    -showsettings

    enable/disable show Settings screen if new settings are detected (default = 1)

    title

    -title

    set the window title of the bot

    player

    -player

    set the Lord name on account creation

    sex

    -sex

    set the gender on account creation. 0 is male, 1 is female

    faceindex

    -faceindex

    set the face picture on account creation. runs 0-24 for males, 0-7 for females

    zone

    -zone

    set the state to start in on account creation. use the actual state name, ie - romagna

    flag

    -flag NEAT

    set the flag to use on account creation. limit 4 characters, obviously :)

    An example of using these command line parameters from a Windows 7 command prompt:

    C:\NeatBot> NeatBot123.exe -u neatbot@neatportal.com -password abcdefg -s 123 -title NeatBotRox

    The following syntax is recognized:

    -parameter value
    
    -parameter=value
    
    -parameter:value
    
    /parameter:value
    
    /parameter=value
    
    /parameter value

    To set checkbox for one of the above-mentioned parameters, the value must be one of these (any other vlaue will uncheck it):

    1
    yes
    on
    true

    Please note that until we get the source code upgraded for Zinc 4.0 compatibility, command line parameters will not work with Linux binary builds. This is a limitation in the program we're using now to compile them. Sorry, we hope to rectify this very soon!


    CategorySetup CategoryHowTo

    StartupParameters (last edited 2016-03-06 16:56:13 by Inanna)