Author Topic: Problem using a script (.bat-file) on my VPS  (Read 4701 times)

Tags:
  • All members
  • Posts: 365
Problem using a script (.bat-file) on my VPS
« on: 15 Dec 2013, 13:07 »
Hi,

I am trying to use a .bat file to start MFP on my Windows 8 VPS, but something goes wrong!

The .bat file have a line:
start "" "C:\Program Files (x86)\MarketFeeder Pro 7\feeder7.exe"

Now to the issue  - It start the software but the mpf login windows substitute the text fields with "NO MESSAGE ..."

 ???

  • Moderator
  • Posts: 3605
*
Re: Problem using a script (.bat-file) on my VPS
« Reply #1 on: 15 Dec 2013, 14:49 »
Hi
You need to generate a command line like this:
[full path to software]feeder7.exe [encrypted username] [encrypted password] [connection attempts]

You can generate the command line using:
Settings > General Options > Command Line Settings
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 365
Re: Problem using a script (.bat-file) on my VPS
« Reply #2 on: 15 Dec 2013, 14:57 »
Hi,

I have a shortcut, same problem -  all the text fields in the login window showed "No Message" and some number depending which text field. So I tried more simply to just start the software without login details (the command line I showed).

I wonder if it could be some Windows-settings (I have recently got my VPS).

  • Moderator
  • Posts: 3605
*
Re: Problem using a script (.bat-file) on my VPS
« Reply #3 on: 15 Dec 2013, 15:06 »
Hi
Please double-check MarketFeeder has full access through antivirus and firewall. On a VPS there may be 2x firewall (VPS and OS). Also give MarketFeeder DEP exception. Also run MarketFeeder as Administrator

Set Data Execution Prevention exceptions as follows (courtesy mcbee):
open control panel
select system and security
select system
select advanced system settings
in performance , select settings
select Data Execution Prevention
IF it is set for DEP for essential windows programs, then set it to DEP for all programs and services except those i select
select Add
local C:
Program File
MarketFeeder Pro 7
feeder 7
THEN select Add again
select teditor
Apply
OK
if you use other software you might have to include these in the except list.
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 365
Re: Problem using a script (.bat-file) on my VPS
« Reply #4 on: 15 Dec 2013, 15:13 »
I can manually start  (shortcut and no shortcut) and run the MFP, I will check the setting you say (but I think I have done that when I started to use the VPS for some weeks ago).

  • All members
  • Posts: 365
Re: Problem using a script (.bat-file) on my VPS
« Reply #5 on: 15 Dec 2013, 15:35 »
...the DEP-settings seems Ok!

attached is the login window  ???

  • Moderator
  • Posts: 3605
*
Re: Problem using a script (.bat-file) on my VPS
« Reply #6 on: 15 Dec 2013, 15:52 »
in your script file (or from command prompt) you must change directory first before you run the command line:
Code: [Select]
cd C:\Program Files (x86)\MarketFeeder Pro 7\
feeder7.exe [encrypted username] [encrypted password] [connection attempts]
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 365
Re: Problem using a script (.bat-file) on my VPS
« Reply #7 on: 15 Dec 2013, 16:18 »
So strange...

if I use the link C:\Users\Administrator\Desktop\..... it works!  :)

Thanks for helping MarkV


 

Please note, BetFair is seems to be currently OFFLINE