Jump to content
Nighthawk

Step 1 Aircraft buying Mod Version 1.00 !!!!

Recommended Posts

What do you think about this idea:

You can only repair the aircraft, if it is in a Hub? This means , if you want to repair your craft you must fly to the next hub?!?

Share this post


Link to post
Share on other sites

I found a little bug, when i fly , the cond calc shows me cond before flight and after flight. But that´s incorrect because the cond is already substracted from the DB. The "Before flight" is the correct "Current Cond". It´s not double substracted. I need to store the old condition first.

Ok, here is the solution, i will change the download pack this evening:

Change admin/templates/pireplist.tpl

line 293

to

echo "$row->cond" + $alt2;?>% <?php ?></td>

and

line 296

to

echo $row->cond; ?>%<?php } ?></td>

Download Fixed

  • Like 1

Share this post


Link to post
Share on other sites

Readme file in #1 post is outdated?

Aircraft Buying Mod Current version:

================

0.8

I read about v0.9

I dont understand this part from readme file:

-When you have already in the airline you must Zero the "Va Money".If not, dont do it!

Open admin/templates/

ops_aircraftrepair.tpl

Line 40

+ ops_aircraftbuysell.tpl

Line 76 + Line 344

Sum all of your Aircraft Buying Price without , or something!!! It must be Negative (-).

For example you have an Paper plane with the price of 10$ So -10

The VA have 32.200.931 €

I will upload aircraft prices in the future.

Share this post


Link to post
Share on other sites

It can be happen, when u have already some AC´s in your fleet and the u install the mod, that your Va Money is negativ, then u can Zeroing it with the "Hints" in the readme ;-)

Share this post


Link to post
Share on other sites

Lol, no the VA Summary is only for this year !!!

When you want, you need to add all years.

My calc is base on all Gross - expenses - Fuel - Pilotcosts= Revenue

You have to add all the prices from your fleet and put it in the correct lines.... (readme for more)

Then you have the total revenue. Or have you more then one airline?

And thanx , i used this site already

Share this post


Link to post
Share on other sites

The Va was founded this year :P in January. Then, its all money that VA have, 32k. We only have one airline.

To add prices is in "admin/add & edit Fleet", right? we have 50 aircraft, I only put price to one to try it & only bought a plane that had the price set.

-In readme file:

Aircraft Buying Mod Current version:

================

0.8

Known Bugs/ or must be fixed:

=============================

-The price of an Aircraft wouldn´t added or substracted from the VA ToTal Money in the moment...

-the aircraft price calculation isn´t real in the moment, it´s only an example...

-The Check that the VA has enough Money to buy an aircraft not included yet

-When Repair Aircraft u must go to Db on the column rep and set 1 to 0 to finish the repair. Next release it will go by time...

Readme is update? i can see this filename "Step 1 Aircraft buying Mod Version 1.00" then the current version is 1.00? Its still necessary set "0" to finish repair?, and the price of an aircraft still not substracted from the VA?

Thanks again by the answers

Share this post


Link to post
Share on other sites

@ahuges: Take a look in the first post here.

@ARV187: In the readme can be bugs, No you didn´t need to "0" to finish the repair.

Share this post


Link to post
Share on other sites

Ok, so I've managed to download and install the files (major achievement for me!!) and I managed to run the SQL batch file (a mega achievement for me!!). When I am in the admin panel, I can now buy an aircraft, lease it, repair it etc. The only problem now is that the prices of the planes seems really high and I wanted to know how to change them and also the lease fees. Otherwise we've got no hope of getting any aircraft!

Also, I read the readme file and tried to find the "line 40" in the aircraftrepair.tpl but can't see anything that resembles it. Am I missing something, is this now not applicable?

Lastly, the purchase of the planes hasn't affected our revenue, we still have the same amount of money, whether we buy, sell or repair?

Getting their and I really love this mod. :-)

Share this post


Link to post
Share on other sites

Good day,

I have updated this mod to the latest version, and now all my pireps have the following errors:

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/jdsarcco/public_html/uvsaaf/admin/templates/pireps_list.tpl on line 113

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/jdsarcco/public_html/uvsaaf/admin/templates/pireps_list.tpl on line 290

post-1919-0-47036300-1382380140_thumb.jpg

Any idea why?

Thanks for the awesome mod!

Share this post


Link to post
Share on other sites

Have u updated also your db? It seems that there is something missing. I see u don´t use an acars! So there are no landing stats. That´s the error.

Share this post


Link to post
Share on other sites

Is there a way to reflect the repair costs etc in the Reports & Expenses section -> Financial Reports?

That way you will get a more reliable cost overview of the expenses you have in the expense section and the repaircosts done in the months sections, which in the end will affect your monthly + or -

Share this post


Link to post
Share on other sites

so this will simulate a hard landing and being able to lease and buy more aircraft for your VA even tho you already have them on and what sort of damages are there

Share this post


Link to post
Share on other sites

I have this problem when i click option

Warning: Division by zero in /home/enterairva/domains/enterairva.pl/public_html/admin/templates/ops_aircraftbuysell.tpl on line 17 Warning: Division by zero in /home/enterairva/domains/enterairva.pl/public_html/admin/templates/ops_aircraftbuysell.tpl on line 23 Warning: Division by zero in /home/enterairva/domains/enterairva.pl/public_html/admin/templates/ops_aircraftbuysell.tpl on line 28

Also dont understand that part :

Features:

=========

OMG , too many lol.

It´s independent to VACentral with the Money Calculations!

Option Switches:

================

-When you have already in the airline you must Zero the "Va Money".If not, dont do it!

Open admin/templates/

ops_aircraftrepair.tpl

Line 40

+ ops_aircraftbuysell.tpl

Line 76 + Line 344

Sum all of your Aircraft Buying Price without , or something!!! It must be Negative (-).

For example you have an Paper plane with the price of 10$ So -10

I have my va over a year now ...

Sorted ....just still dont understand second quote.

Share this post


Link to post
Share on other sites

Change A/C Fleet info: Cruize speed: 490 not in Mach.

Thanks i done that ....just dont understand that zeroing va money...its not clear say..whats he mean saing ''When you have already in the airline you must Zero the "Va Money". what in airline aircrafts or what ?

Share this post


Link to post
Share on other sites

-When you have already in the airline you must Zero the "Va Money".If not, dont do it!

Open admin/templates/

ops_aircraftrepair.tpl

Line 40

+ ops_aircraftbuysell.tpl

Line 76 + Line 344

Sum all of your Aircraft Buying Price without , or something!!! It must be Negative (-).

For example you have an Paper plane with the price of 10$ So -10

Share this post


Link to post
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...