Skip to content

Releases: bratkartoffel/blm2

v1.11.5

18 Feb 13:48
v1.11.5
eb7b742
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.11.5/CHANGELOG.md

Added

  • Add 3 new items (lemon, bell pepper and raspberries)

Changed

  • New logo by u/Anakha, thanks!
  • Minor enhancements about random calculated values
  • Warehouse can now hold upto 999,999 kg of each ware (was 99,999)

Fixed

  • (impressum) Fix broken de-obfuscation with some browsers
  • many balancing tweaks, thanks u/schokoboy!
    • Increase production for each plantage level:
      • (plantage) increase production_amount_per_level 10 -> 30
      • (plantage) increase production_amount_per_item_id 30 -> 100
    • Change research base durations:
      • (research_lab) increase research_base_duration 2400 -> 3600
      • (research_lab) increase research_factor_duration 1.19 -> 1.22
    • Reduce research duration per building level:
      • (research_lab) increase bonus_factor 0.055 -> 0.10
    • Increase production per research level:
      • (research_lab) increase production_amount_per_level 12 -> 30
      • (research_lab) increase production_cost_per_level 7 -> 25
      • (research_lab) increase cost_item_id_factor 100 -> 10000
    • Decrease building time for each building yard level:
      • (building_yard) increase bonus_factor 0.061 -> 0.08
    • Decrease deposit amount of bank per building level:
      • (bank) decrease bonus_factor_upgrade 1.75 -> 1.50
        • Level 0: 100.000
        • Level 1: 200.000 -> 150.000
        • Level 2: 350.000 -> 250.000
        • Level 3: 550.000 -> 350.000
        • Level 4: 950.000 -> 550.000
        • Level 5: 1.650.000 -> 800.000
        • Level 6: 2.900.000 -> 1.150.000
        • Level 7: 5.050.000 -> 1.750.000
      • (bank) increase credit_limit -15000 -> -30000
    • Increase credit limit depending on bank building level
      • Each level of the bank building will now increase the credit amount by a factor of 3
        • Level 0: 30.000
        • Level 1: 90.000
        • Level 2: 270.000
        • Level 3: 810.000
        • Level 4: 2.430.000
        • Level 5: 7.290.000
        • Level 6: 21.870.000
  • (gruppe) do not center text for group messages if user has no right to pin messages

Security

  • enforce SameSite and HttpOnly attribute for session cookie
  • enhance CSP policy header
  • (gruppe) upgrade password hash if the hashing parameters changed when a player joins a group

v1.11.4

03 Feb 20:38
v1.11.4
658f305
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.11.4/CHANGELOG.md

Fixed

  • (vertrage) fix messages for contracts sent to the wrong user
  • (marktplatz) do not send message about bought / retracted offers to System user
  • (help) fix not replaced bbcode in bank help text

Changed

  • (config) support values <= 1.0 for mafia.points_factor
    • setting to 1.0 or lower effectively disables the mafia factor checks and everyone can attack everyone
    • the mafia.min_points is the only requirement then
  • (config) add mafia.points_factor_cutoff
    • all players with more than the configured points are excluded from the mafia.points_factor limitations
  • (gruppe) scroll to group messages when pinning / unpinning / writing / deleting message

v1.11.3

02 Feb 05:16
v1.11.3
c266261
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.11.3/CHANGELOG.md

Changed

  • (config) move configuration base.income_bonus_shop to shop.income_bonus and increase 5 -> 12
  • (config) move configuration base.income_bonus_kebab_stand to kebab_stand.income_bonus and increase 8 -> 20
  • (gebaeude) do not require mafia expenses to build fence and pizzeria
    • this allows users which don't have other players in range to build these buildings
  • active link is now marked using css instead of javascript
  • remove unused / simplify javascript code
  • (bank) change bonus factor from 2 ^ Level to 1.75 ^ Level, rounded up to 50'000
  • (research) increase production_amount_per_level 8 -> 12
  • (research) increase production_cost_per_level 4 -> 7
  • (plantage) increase production_amount_per_item_id 20 -> 30

Fixed

  • (gruppe) fix pagination for group messages is now working again
  • fix page reloads when clicking link for currently active page
  • (chefbox) fix csp error for help link

Removed

  • (nachrichten) remove bbcode for color and fontsize, didn't work since CSP addition

v1.11.2

31 Jan 16:57
v1.11.2
ea35719
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.11.2/CHANGELOG.md

Changed

  • install/update.php can now be invoked by cli (without secret)
  • don't just invalidate, delete old http-session on login
  • (mobile) scroll to content when navigating to the pages
  • (admin) do not set null for broadcast message receiver, use fixed "Rundmail"
  • (admin) add some more filters to the various logs

Fixed

  • help text for Bioladen now shows the correct bonus amount per level
  • sporadic test failures
  • (admin) fix textfield datatype issues, allow to specify fraction for some fields
  • (admin) minor style fixes for various admin pages
  • (statistik) fix off-by-one error for count of jobs

Added

  • (admin) add filter for mafia log type and success
  • (admin) implement edit groups

v1.11.1

29 Jan 15:22
v1.11.1
7bafbbb
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.11.1/CHANGELOG.md

Added

  • (gebaeude) add new bank building to increase the deposit limit
  • (buero) also consider group cash for balance

Removed

  • removed bank.dispo_limit, the value is now automatically calculated:
    • bank.credit_limit for 96h with median debit rates

Fixed

  • fix some minor inconsistencies for Forschung-columns in mitglieder database table
  • fix market provision not being calculated

v1.11.0

28 Jan 08:27
v1.11.0
f5add43
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.11.0/CHANGELOG.md

Added

  • (config) add check when cronjob did last run, show warning if it's not being executed to admin

Changed

  • (mafia) move configuration mafia.raub_min_rate and mafia.raub_max_rate to mafia_robbery.min_rate
    and mafia_robbery.max_rate
  • (mafia) heist now steals only between 40% and 75% of the stock, not all wares
  • (installer) enhance installer output format, should be easier to parse for scripts
  • (config) move roundstart from file to database
  • (rangliste) points are now calculated every 6 hours instead of 30 minutes

Fixed

  • (mafia_heist) add dummy item to victim message if no wares have been stolen

v1.10.10

26 Jan 21:07
v1.10.10
d939539
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.10.10/CHANGELOG.md

Changed

  • use game_version.php for determination of last change timestamp
  • (bank) prefill textfield with maximum possible value (#11)

Fixed

  • (gruppe_diplomatie) fix refusing diplomacy requests

Security

  • (gruppe_diplomatie) require CSRF token when refusing or accepting diplomacy requests

v1.10.9

19 Jan 20:28
v1.10.9
4081d3c
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.10.9/CHANGELOG.md

Changed

  • generate source maps to ease debugging CSS/ JS

Fixed

  • (cron) fix now base production for kiwi's
  • (vertraege / marktplatz) fix kiwi's not shown in stock
  • (registrieren) fix missing import of game_version
  • (hilfe) fix page not loading due to errors introduced by refactorings
  • (chefbox) do not open twice

Security

  • Enhance htaccess, clarify required apache modules in README

v1.10.8

17 Jan 19:52
v1.10.8
0249555
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.10.8/CHANGELOG.md

Fixed

  • Fix some minor display issues for mobiles
  • (mafia) fix opponent required points calculation partly off
  • (admin) when sending broadcast message, do not send message to self

Security

  • (nachrichten) allow broadcast messages only for admins

v1.10.7

17 Jan 11:02
v1.10.7
cbd8617
Compare
Choose a tag to compare

See https://github.com/bratkartoffel/blm2/blob/v1.10.7/CHANGELOG.md

Added

  • (einstellungen) add gdpr compliant export of all user related information

Changed

  • Remove ip address from login protocol after 30 days
  • (gruppe) Sent war declaration may no longer be retracted by the sender
  • Prefer brotli compression over deflate for static resources

Fixed

  • Fix calculated points in cronjob delayed by 30 minutes
  • (einstellungen) Resetting of account could remove other players sitter settings
  • Fix number format for browsers with english locale

Security

  • Add Content-Security-Policy header