Giter VIP home page Giter VIP logo

trekwar's People

Contributors

erlendaakre avatar waffle-iron avatar

Stargazers

 avatar

Watchers

 avatar  avatar

trekwar's Issues

Ally refueling

Allow user to click allied ships that are in the users system, there should be a "refuel" button that allows the user to donate X amount of fuel to the allied fleet.

Add more logging

Add more logging for next round of testing. Mostly in client session and turn executor + submodules

WEB: Admin page

  • Secure login
  • view list of accounts
  • view list of servers / games
  • view active auth keys
  • view accounts not confirmed (with option to delete)
  • manage version/release service data
  • Edit info that is now in _devStatusTemplate?

Self destruct

Implement self destruct.needed because upkeep was added.

NOTE: might be implemented server side?

Notify on Private Messages

Notify user if a new private message arrives.

highlight/animate chat icon in main UI on new private messages..

WEB: User change password functionality

Make sure clientside JS has username for salt when hashing password.

  • On password change, remember to regenerate user salt!
  • Reset codes only valid for 30 minutes!
  • Delete PasswordReset obj on password reset or login
  • Add requirePasswordReset flag to user object (used in case of password breach). check this on login

Add reset password link to user homepage.

Add reset password to "forgotten password" link at login template.

option to store username/pass to file (properties)

  1. create method for doing the password hash (sha256, salted with username 3000 times). NOTE this is part of client auth services which is another issue
  2. tickbox in login window to store username + password(hashed) in properties filestore trekwar account.

MapTile review + support for several animations

Check that there is no memory leaks with the Animation threads, (especially the fleet movement animation creates several threads)

Allow for different animations in same tile, and allow for them to have different speeds.

Ships only update sensor map when "stopping" at a tile

Ships only update sensor map while stopped in a tile during each tick.
If a ship is very fast it can travel over many tiles which don't get scanned.
When executing tick, do LOS from each position the ship moves trough

Make population useful

Make industry output + research output dependent on population.

Cut factory output in half, and make ""the other half"" require 800 million population to work.

example: 1 factory = 100 industry output.
System with 5B pop and 5 factories get 500 industry (from structures) + 500 extra because (5 factories = 800m x 5 = 4b people, so factories are fully staffed). total industry = 1000.

example: The same system with 5 factories but 1 billion people would give 500 industry by default (from structures) and an additional 100 (1 structure is fully staffed by 800m people). So in total: 600 industry.

implement production version of getMap()

Go through map and exclude systems in fog of war

  • calculate visibility for enemy fleets in starsystems, remember signature strength
    return enemy/allied fleet/ship objects with only basic information
  • calculate visibility for starsystems, neutral and owned by enemy

BUG: users can see what is happening in systems (stats change, new ships) in systems they have explored but are not in the fog of war.

Newly created fleet name bug

"While in the beginning ships where added to existing fleets on build, by now each on simply gets a number and is in it's own fleet"
check code that tries to locate existing fleet when build order for ships completes.

Confirmed during last MP alpha test.

  1. Add debugging to keep track of all registered fleet objects (memory leak very unlikely)
  2. construction order needs to be updated to put newly created ships in fleet with names like '12354'

End turn button

  1. Add human flag to User object
  2. Add End Turn Button to GUI
  3. Add EndTurnRequest + Response
  4. When all human players hit end turn, immediately skip server to end of turn

Investigate client crashes

This is almost definitely caused by the same effect that happened while fixing chat user list (event dispatch thread calls to ClientCommunication while data being downloaded at end of turn == EDT hangs (in clientCommunication before thread locking).

If it can't be fixed by prevention, make a queue system for the ClientCommunication class.

implement difficult terrain

"- nebula/asteroid = difficult terrain
- X % chance to reduce fleet speed, influenced by crew experience + sensor tech"

Investigate server freeze

Server became unresponsive twice during alpha testing. Saved the server snapshot at the time.
Restarting it made stuff work again.
Server did not crash, it's still running but won't accept incoming connections. ??Think it will even reject invalid passwords??

Probably a thread deadlock problem, might have something to do with ground combat or orbital bombardment.

Add more detailed logging to those subsystems

Starship experience points

Add experience points to starships when appropriate (winning battle).
Take experience into consideration when doing combat resolution

extend ship to ship combat

  • Gain XP for destroying enemy ships
  • Make XP (skill) more important for attacking / defending
  • Make targeting non random (law of large numbers makes combat way too probabilistic),

Add fade out graphics to nebula

Nebulas look very blocky, add the nebula_fade_x.png to tiles with nebula.. Beware of out of bounds with map when checking adjacent tiles

Galaxy wide stats to empire view

Show some server stats: number of systems/nebula/asteroid, number of planets, number of accounts in game, number of users connected (total + per faction), numbers of ships built, number of ships active, number of ships destroyed, total military power?, military power per faction? User research points used, galaxy average user points, etc..

Handle multi-faction fleets in single tile

two non-armed ships can be in the same tile at once (for example unarmed colony ships), but then their fleet icons are shown over each other.
especially the fleet icon background color will mess things up.

Figure out how to display this another way. Combine symbols and use different color?

Client list of active games

When user logs in to game, a list of all games the user is participating in is shown.
User can then click a game to connect to that server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.