Welcome, Guest
Username: Password: Remember me


Welcome to the BTPro OpenTTD Community

This community was build around the game: OpenTTD
OpenTTD is an (Free) open source simulation game based upon Transport Tycoon Deluxe


 

!!! SERVER HAVE BEEN UPGRADED TO 14.1 (Finally :-) ) !!!
!!! Please find the new client (supplied by Citymania and N-Ice) download links in the forum !!!
!!! Link to the forum is below !!!

Frank



Please take a look at BTPro's VIP Membership

BTPro VIP Membership Logo

Please click here for more information or to sign-up.


 

Screenshot created 14 Minutes ago on server:
-BTPro.nl- #K1 - EXTREME GOAL - 15BIL|TEMPERATE|2020-GOAL|NOBRK:

OpentTTD Screenshot



Make sure to download the newest version of the Modified OpenTTD Client from the "BTPro OpenTTD Client Talk" Forum!

!!! BTPro Client Latest Update: the 18th of Juli 2024 !!!
!!! Current OpenTTD Version: 14.1 !!!

Goto the "BTPro OpenTTD Client Talk" forum to download the client and leave a message if it's working for you



Currently we have 4 Server Operators:

Frank, ST2, Wacko1976, Inscius!

We are badly looking for moderators!

Want to be part of the team?! Want to help?! Read below...


 
NOTE:
Admins will act on the basis that ALL players know the game and it's mechanics.
We think that no one goes to an online game without first some practice and know how to play it.
Companies without registered nicknames (as shown in Client List) on it, can be reset without warning!
To learn OpenTTD mechanics, there is a forum/wiki and... a Single Player mode!!
Practice before playing on BTPro, and if you decide to start, READ THE RULES first.


 
If you wish to become part of the BTPro Server Operator family, ensuring that the rules are upheld with fairly and justly,
the willingness to teach new players on how to play the game and to make sure BTPro is one of the most relaxed,
entertaining servers out there for OpenTTD then apply in the Moderator Applications section below!

Also do not hesitate to ask us a question in the forums or when you see us online on one of the servers!

Happy Gaming!

  • Page:
  • 1

TOPIC:

Company value goal bug 9 years 11 months ago #3745

Hello everyone,

I just came across a bug in the server logic, and I hope this can be solved soon :)

The bug: when two companies are playing a CV game and on one database update they are both below the target company value, but in the next database update they are both past the target, the first company in the list, rather than the company passing the target first, wins the game.

I was playing as company #2 on the 150m temperate server. When the database updated, I was already at around 160m while company #1 was at 152m, and company #1 won the game. Luckily, in this case an admin was so kind to check the data and register the game as won by me :)

Anyway, I think this problem might be solved in two ways:
1. Increase the database update interval, so that the scenario when more than one company has a company value higher than the target does never occur.
2. If a company is found with a company value higher than the target, first check if there are other companies with a higher company value, and let the company with the highest company value win. This fix might be the easiest.

I hope this is of some use and I look forward to playing many more games on the BTPro servers!

Regards,
Jasper

Please Log in or Create an account to join the conversation.

Company value goal bug 9 years 11 months ago #3746

Hi jbussemaker,

I checked the code regarding this issue and the winner is decided by score(points received) in such a case, but indeed it doesn't take into consideration the company value if both companies win at the same time. I'll probably have to talk to Frank to see how a case like this should be handled.

Just
  • Just
  • Just's Avatar
  • Offline
  • Administrator
  • Administrator
  • .Net Developer
  • Posts: 21
  • Thank you received: 10

Please Log in or Create an account to join the conversation.

Company value goal bug 9 years 11 months ago #3747

Even though it was years ago I still remember when I wrote that code I knew that problem would exist, but I was like "cmon, that's pretty unlikely to happen, I can still consider that case later...".
Guess it backfired on me now :oops:

Thanks for reporting it!
@Just: I will fix it in the official GoalSystem plug-in now. Let's talk on IRC about how to also get this to BTPro quickly.

Please Log in or Create an account to join the conversation.

Last edit: by YorVeX.

Company value goal bug 9 years 11 months ago #3748

Haha, well fixing it will make very close games possible :)

Thanks guys for picking it up!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.057 seconds
Best hosting deal on hostgator coupon or play poker on party poker
Copyright 2020 Company value goal bug - BTPro - OpenTTD Community.