Jump to content

How to auto accept PIREPs?


Bokjan

Recommended Posts

Hello all,

I'd like to Auto Accept PIREPs. Now I can auto accept PIREPs, but other informations are not change.

Maybe you will say that can make a fake PIREP. That's not problem.

I think add a cron job will solve this problem...

post-3670-0-07582200-1346226898_thumb.png

This php files is located in "core"

But it didn't make any changes, even it can't accept PIREPs.

I'm not good at PHP... so i need your help

Is there anybody tried to auto accept PIREPs?

Link to comment
Share on other sites

Now i can make changes to those informations.

Just add:

MainController::Run('Maintenance', 'resethours');

MainController::Run('Maintenance', 'resetsignatures');

MainController::Run('Maintenance', 'resetdistances');

MainController::Run('Maintenance', 'resetpirepcount');

MainController::Run('Maintenance', 'resetpilotpay');

MainController::Run('Maintenance', 'clearcache');

to maintenance.php

But no change in the total flights of users.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...