Author Topic: MFP Server/VPS/Cloud Hosted Discussion  (Read 14591 times)

Tags:
  • Nerd
  • Élite
  • Posts: 462
  • Gender: Male
  • I think I could be on to something here!
*
MFP Server/VPS/Cloud Hosted Discussion
« on: 16 Dec 2013, 15:02 »
Tips, suggestion & discussions on hosted MFP Solutions.
Fortune favors the brave!

  • All members
  • Posts: 365
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #1 on: 16 Dec 2013, 16:10 »
It's vale in using a VPS server!
If you only consider your own computers power consumption running 24/7, it will almost pay off.  :)


  • Nerd
  • Élite
  • Posts: 462
  • Gender: Male
  • I think I could be on to something here!
*
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #2 on: 16 Dec 2013, 16:51 »
It's vale in using a VPS server!
If you only consider your own computers power consumption running 24/7, it will almost pay off.  :)



value if you have a profitable trigger. Use local PC as test environment.
Fortune favors the brave!

  • All members
  • Posts: 365
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #3 on: 16 Dec 2013, 17:15 »
I meant the cost of the power consumption! If you have a VPS you can shutdown your local computer and there for reducing your electricity bill.
So it will be value even if you run a trigger in test mode, provided that it is you who pays the electricity bill.

Example: cost of electricity running computer for 24/7 is £20/month and rent a VPS cost £15/month. So in this case you will earn £5/month.  ;)


  • All members
  • Posts: 39
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #4 on: 18 Dec 2013, 07:18 »
I would love to have this service as I travel abroad a lot, sometime to country where Betfair betting is restricted.

  • All members
  • Posts: 365
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #5 on: 18 Dec 2013, 18:25 »
I would recommend to rent a VPS (but I suppose a dedicated server is even better). I found it to be more stable than running on my local computer.

I run a script-file (.bat-file) every 30 minutes, to check that MFP is running correctly and restart MFP if it's not running as it should.
I could not use the Windows "Task scheduler" to run the .bat-file, it gave me some error about ports. I coded my own "task scheduler" in vb-code  and that works!

  • Nerd
  • Élite
  • Posts: 462
  • Gender: Male
  • I think I could be on to something here!
*
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #6 on: 18 Dec 2013, 19:51 »
I would recommend to rent a VPS (but I suppose a dedicated server is even better). I found it to be more stable than running on my local computer.

I run a script-file (.bat-file) every 30 minutes, to check that MFP is running correctly and restart MFP if it's not running as it should.
I could not use the Windows "Task scheduler" to run the .bat-file, it gave me some error about ports. I coded my own "task scheduler" in vb-code  and that works!

Task Scheduler works.

I run two scripts.

1. Restarts MFP every (30 minutes)
2. kill any task not responding and restart MFP if not running (Every 5 Minutes)

#1 is more for loading markets as I load the next 0.2 hours worth of markets. I have several small bots active in several markets and found it best to load fewer markets at a time.
Fortune favors the brave!

  • All members
  • Posts: 365
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #7 on: 18 Dec 2013, 20:52 »
1oser - I use your script, which you earlier recommended in this forum. The script by it self works, but the task scheduler did not worked for me (I was probably doing something wrong). I am running a VPS Windows server 2008 R2.

  • All members
  • Posts: 829
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #8 on: 18 Dec 2013, 22:04 »
Hi Tupp,

My MFP shuts down far too many times for my liking for several reasons and two major ones are when my BT line loses connection for a few seconds enough to set off the signal to shut the API. The second reason which is also ongoing is when Betfair has problems and that is often.

I saw your previous post with the script and wondered if you would help me and others if they are interested by supplying a 'Dummies for MFP Reboot'.
I am a complete novice and any step by step would be most helpful.
I also wonder if MFP were considering incorporating it into a new version if at all it is feasible.
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 829
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #9 on: 18 Dec 2013, 22:08 »
Hi 1oser,
Sorry, I should have addressed this last post to you as apparently it was your script.
Any help appreciated in a Dummies format.
Thanks/Cheers
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 365
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #10 on: 19 Dec 2013, 03:56 »
Hi,

1) Create a shortcut for MFP (place that on the desktop and name it to something you like...  "MFP_racer" maybe?)

2) Crete a text-file in notepad (name it XXX.bat) which could look like (copy the text between the REM into the text file):

REM --------------------------
TASKKILL /F /T /FI "STATUS eq NOT RESPONDING"

tasklist /FI "IMAGENAME eq feeder7.exe" 2>NUL | find /I /N "feeder7.exe">NUL
IF "%ERRORLEVEL%"=="0" echo Programm is running

IF NOT "%ERRORLEVEL%"=="0" start "" "C:\Users\Administrator\Desktop\MFP_racer"
REM --------------------------

3) Run the bat-file - if you have not started the MFP it will open and login!

4) Use any software (task scheduler?)  to run the bat-file every 30 minutes or what you think is suitable.

5) Now you don't need to restart the software manually, due to a crash.

  • Nerd
  • Élite
  • Posts: 462
  • Gender: Male
  • I think I could be on to something here!
*
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #11 on: 19 Dec 2013, 10:18 »
Scripts attached. Rename to .bat and schedule.

Added /im "feeder7.exe" so that only MFP is killed when not responding otherwise now and then you kill other tasks.

Also added some delaying pings to give MFP time to close gracefully when relaunching and also just to allow the system time to process things.
Fortune favors the brave!

  • All members
  • Posts: 829
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #12 on: 19 Dec 2013, 18:24 »
Hi Tupp & 1oser,
Thanks for your contributions.
I am still not sure what to do with the text.
Do I need to copy and paste somewhere.
I'm quite a novice when it comes to program code.
Could you please elaborate further.
Many thanks
R
My grandma taught me not to run downstairs and never back odds on.

  • All members
  • Posts: 365
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #13 on: 19 Dec 2013, 18:39 »
Hi,

First create a shortcut (link):

1)Settings
2)press "generate a Command Line"
3)Press "Create a shortcut"
4)name the link... MFP_racer or what name you like.. save it on your desktop!

Next step you can either use the attached files from 1oser or make your own (we can help you after you created the link)

But first create your link on the desktop, by following the step 1-4.

  • All members
  • Posts: 829
Re: MFP Server/VPS/Cloud Hosted Discussion
« Reply #14 on: 19 Dec 2013, 22:27 »
Hi Tupp,

Thanks, that was easy :)
Perhaps I can ask you guys to help add
1oser's script as per your suggestion.
Thanks
R
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE