egginc-coop-tracker's People
Forkers
ayavilevichegginc-coop-tracker's Issues
Feature: Discord Slash Commands
Shorten link on status command
Add command to list players with their coop egg laying buffs
Add a command to return what kind of coop buffs each team member has.
Mainly interested in the egg laying buff. Can also calc earning buff in case we want to show that in the future.
Example usage: "eb!TBD"
Output row for each player: name - rank - tach %
Output example:
UserA Mirror 10%
UserB Max 8%
Website alternative:
Change up the web version to default groupings as above, presort and add tach%
@MoT3rror fyi
Replace Command
`eb!replace {contract-id} {old-coop} {new-coop}
Set Player ID Commands validate ID
Use Discord Nickname than Username
Break up access for add coops to bot from admin role
Improve performance of php<->js communication
This communication is used to access the EI API.
Relevant files:
js/egg-inc.js
app/Api/EggInc.php
Currently every request is sync and invokes the node from php via a shell execution.
So web requests seem to be in series and not parallel, plus there is overhead of process invokation.
Perhaps the best solution would be to make the EI API calls in PHP.
protobuf also has PHP libs:
https://developers.google.com/protocol-buffers/docs/reference/php-generated
https://github.com/protobuf-php/protobuf
Can even do a "stale ok" caching strategy where if data for the user exists it is returned and then an async call is made to refresh the data in cache for next time.
However, for now we are going to do a hybrid solution but one that is parallel and has less overhead.
First, make a node webserver that can make the protobuf EI API requests and return json. It will be called by PHP over http, locally, without doing shell executions.
Second, have a method in the new web server that can fetch several user infos at once. Later use in PHP in an optimized manner.
Help text is not up to date
Roles in a command should just return for that server or none on DMs.
Option to Remove link from status
Data table not behaving correctly visually
Table not showing icons in the header. Sorting works, though.
Looks like a client side issue.
The table is Vuetify https://vuetifyjs.com/en/components/data-tables/
Might be conflicting with bootstrap.
Strategic notes:
Can go full Vuetify.
Can switch to React and then use AntD (the system supports it using Inertia)
Current situation:
Laravel is doing all of the routing but Inertia just sets json on the page and uses whatever frontend you choose. https://inertiajs.com/client-side-setup
Projection shows a large negative value
https://discord.com/channels/722987744774848556/797151805251256360/799017418101489675
If time left is negative, just return the current eggs
Get Boost Token Info
Unclaim tokens may be possible to get without glitching the game:
https://github.com/fanaticscripter/EggContractor/blob/master/misc/protobuf/ei.proto#L167-L170
Feature: Manage Role Flags
Feature: Setup CI
Rate in "tracker" command is not rounded correctly for low rate value
A player was showing the rate: 567907.20000002
in the table.
relevant api data:
{
"id": "x",
"name": "x",
"eggsLaid": 1693.9582188434606,
"active": true,
"_5": 2,
"eggsPerSecond": 157.75200000000535,
"_7": 0,
"earningBonusOom": 20.777444270949154,
"tokens": 0
}
need to see why such low values are not rounded to the relevant unit.
@MoT3rror feel free to assign to me.
Support new lines in "add coop" command
Example:
eb!add ion-production-2021 idriveadv1a
idriveadv2l
idriveadv3d
idriveadv4c
idriveadv5m
idriveadv6j
idriveadv7w
idriveadv8f
idriveadv9k
idriveadv10t
idriveadv11a
idriveadv12p
idriveadv13r
idriveadv14o
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.