#AEGIS OS Rewrite
1681 messages · Page 2 of 2 (latest)
Also stats is bugged
11 accepted today
And can it also say num of days for AULA and ALA
Instead of 532 hours
Also it says total points, that's also bugged
95-99% of my points are ds
I also have 0 pending duties rn
planned
Not a bug, this was intentionally done by officers to prevent double points from being awarded due to issues during last quota. They have now been cleared from the system.

@lean wharf so uhm
i cant grade any ds
it always fetches the same ds
#đduty-state message
status: Reopened your previous claim after a restart or catastrophic error.
yeah no this is happening to every dsĂč
manual grading here we go
apparently im only one with this issue^
managed to fix the above, here, it says UTC yet they used GMT+1, which messes up the note because it makes the time not within the ds but if u click on message it is within because its correct, so the bot realized its GMT+1 and turned it into utc
You need to wait at least 10-15 seconds before fetching the next one
nah it wasnt that
it kept fetching same ds
even after like 5m went by
i had to deny em to get trough it
allow us to claim the ds while the last one is still loading
This is just due to how stupidly slow the database system is, currently preparing the deployment of a big update too
Make the bot open source
"an engineer's dream is an architect's nightmare" digitalized version
AEGIS OS - Update
- Completely reworked and overhauled the data system for aegis OS, no longer using the same database framework that the original was using
- Pending duty states now reside inside a high-speed data cache, when graded these are transferred to a separate database used for long-term storage
- Everything else such as stats resides in said long-term storage
- I can now make changes to data in the event that manual changes need to be made (fuck sqlite)
- Leaderboard completely reworked and overhauled, the issue regarding quota randomly disappearing has also been identified and SHOULD BE FIXED BECAUSE TS WAS SO ANNOYING
- Overhauled the core of the bot itself, improving responsiveness and speed across the board. (had to steal some code from SIBYL to achieve this lmao)
- Reworked and optimised logic for pending duty state handling and counting, improving other functions such as the pending counter.
- Misc tweaks
- Misc bug fixes

- Bunch of other stuff I probably forgot to mention here
<@&1061991335474769960>
W

nvm its pretty ok
let's go
this is something I swear an officer mentioned in this thread before and I kinda forgot about it lol
that can be done
some people use tablist end link of prev duty state as their starting ds link for the next ds.
i'm kinda lenient on it as long as i see hours and different post
actually yknow what I can add this rn
but post pics are the main concern
ok great
are you talking about people that reuse the same duty state proof picture?
omg
ye, but also reposting duty states is also a problem.
so maybe the bot shouldn't be lenient
I mean there is still a hard limit by discord but that's like 4000 characters
lol
yeah well i dont need 4000 to deny a ds
but i need like atleast 150 some cases
ok idk what the old limit was so i cant give a number
but i think limit was like 70 char
OH
@lean wharf kind sir leaderboard dont work
i graded like 10ds did nothin
1 sec
can you check when the leaderboard message was last edited
hm
when either accepting or denying?
Pio did a lot of them before I updated, when I stopped the bot there was 5 pending
ok so its actually logging it but not updating the leaderboard message properly, I'll fix that rn
hmm
right nvm
mb @lean wharf
@north topaz can you send a screenshot of the leaderboard
one min
ye
ok ik why
should update properly now
ik, it should initialise once a change is made
alright
hm
to clarify it didnât initialize either
yea can see, odd
(I am investigating the leaderboard issue)
bw its compeltely dead now
doesnt work at all it seems
@lean wharf turn this to hours + minutes when u get the time pls
Also
for timezones
it doesnt say UTC anymore and it fetches correct one
but it converts it to UTC regardless
ik
ok
will look into it after leaderboard
AEGIS OS - Update
- Fixed leaderboard
- Duration in the duty state marker now shows as hours and minutes (or just minutes if under an hour)
- Fixed bug where timezones show as the timezone on the duty state but still converts to UTC
<@&1061991335474769960>
rejoice
speaking of that
could we get the command to allow uc's to do this
ye lol
@lean wharf
bro chill
Counted manually and shows 29, should have updated on the leaderboard now
nope 32
In: đduty-state after: 2025-11-21 .@585232524096176128
this will show you
remove . in search bar
3 duty states is NOT deep
ye
Thanks Walac for being a huge help to the community.
done
can we get an option where the slash command redirects us to a payment page, we pay 5 bucks and we auto complete quota for that week
10
no 15
Deal
aight @lean wharf when can you implement
youre telling me i can just pay my way through the weekly quota
now this is an innovation ive been needing
đ
đ
super will end up paying and still doing quota
@north topaz ur welcome btw ^^ u dont need to do quota
I finished it already
again something weird happened
i started grading some
and I had like 39 on leaderboard
after few minutes it randomly changed to 14
now I should have 48
Donât grade any more in the meantime, Iâll take a look at logs and such soon
ok
Did anything unusual happen when grading duty states? Any errors or something?
Nothing
It remvoed @lyric ingot quota to
Reduced 40 DS
ok thats a very nasty bug ngl
@lean wharf can you update the format
I keep using sauces old format and it keeps getting denied
the one thats pinned?
just checked your submissions, it's because you keep providing a Notes: section but not actually providing a note. If you don't have any notes to add then just don't use it.
E.g.
Username: ba6ixes
Duty: PKSF Duties
https://gyazo.com/b4864b096ff5d7793d16ae3230edbae3
Time Started: 11:03 CST
Tablist Started: https://gyazo.com/200f5f8b0a9bd5a6d0d34bcc2b0065af
Time Ended: 12:18 CST
Tablist Ended: https://gyazo.com/183bb695bc45bc94fa2e8c096f646e5d
Notes: server crash lol
Username: ba6ixes
Duty: PKSF Duties
https://gyazo.com/b4864b096ff5d7793d16ae3230edbae3
Time Started: 11:03 CST
Tablist Started: https://gyazo.com/200f5f8b0a9bd5a6d0d34bcc2b0065af
Time Ended: 12:18 CST
Tablist Ended: https://gyazo.com/183bb695bc45bc94fa2e8c096f646e5d
Ah
how does the db work on your bot
is it sqlite or external like mongo
#aegis message
cool
Just use a normal json file
frfr
sqlite is buns in js
@lean wharf can you update database manually?
he can do hecks
i should have 48
will update this once this update is done as it should fix the original issues
okay
@lean wharf
I was gonna resubmit my duty state and do a 4 hour duty state, someone said to delete it and it would work however I cannot submit another duty state because the OS wont allow me, so will I still get the points from the deleted duty state?
its always been required to put a timezone
The bot didnt deny the ds in the past for it
it shouldve
If you ask all the current officers only you would say that you've used the timezone to grade duty states đ
AEGIS OS - Update
- Refactored duty marker logic for robust state handling
- Enhanced duration calculator to cap at 25 hours and fix overnight calculations
- Introduced a new function for atomic duty claiming with retries
- Improved duty state processing with better logging and error handling
- Should fix the odd bug with the count of duty states marked weekly to just vanish
- Updated logging throughout the duty marker and adjacent modules for improved observability
- Reworked embed generation functions for duty states
- Adjusted message descriptions and re-added "Last submission" info to fetcher message
- Improved formatting and logging for embed-related errors
- Introduced stricter type checking and commenting for better code maintainability
- Simplified repetitive code blocks with helper functions for better organization
If you discover anything weird ping me here
<@&1061991335474769960>
can u not
ok
@lean wharf Are there any plans to remove Imgur as an official link? Itâs banned in the UK, so officers from the UK wouldnât be able to access those images
Completely forgot Imgur did this
Noooooooooo
I wanted to use the api so people who upload discord images will get imgur links auto
đ
Pushing a commit on mobile is such a clutch
who tf even uses that (other than me)
Well i would be using its api in which people would use it
People upload image to discord > bot gives link
(this would be used in the duty state maker i have)
People asked for it
Tbh I donât see how this is easier than just using gyazo/lightshot and a text file.
I always did mine by having a saved text file as an empty duty state with timezones already added, then just paste the links and input info as I go, post it, done. Uploading the images to discord and then using a duty state marker tool sounds like it would take way longer, but then again Iâve never used anything like that so Iâm probably not seeing the full picture.
Thatâs now how a ds maker works
The only thing you need to do is
Upload the 3 images
Nothing else
Everything else is being done by the bot
Time Timezone duty format bla bla
Example:
How does it handle the times? Are you using the time of when they actually interact with the bot as a baseline?
How it works is people first only send 2 images the Tablist and the image of the post then after 30 minutes the bot sends a notification and they send their last image
It starts counting when the first image is sent and stops the counter when the last image is sent
And it applies the times
And you can also use Timezones so it automatically converts the time to yours
I mean yea thatâs one way to do it, sounds interesting though
Itâs better and allows people to track their statistics
The duty state maker is fully customizable btw
They can edit and change everything
Whatever they prefer
(5k lines of code btw)
There is like a billion features
Why so many extra steps to make a duty state lmao
The only step you do is send 3 images
how about not adding every damned image hosting service that "people asked for"
After Imgur is removed there will only be 2 providers
Adding one more wonât harm anything
- imgBB is a very well known provider
And offers a lot of opportunities
so
lol
Whatâs the issue
People donât wanna download softwares just for duty states..?
I donât see why someone wouldnât
theyâre lightweight
Now idk how light shot works
but gyazo isnât very taxing on performance
Also imo no reason Imgur should be prohibited
yes some officers canât see it
Since when did you need to download software đ„
Gyazo you do light shot idk
Is light shot like imgur
Probably
You drag a picture to the website
It makes a link
You copy the link
Shrimple
đ„
Idk how people use it
Damn
That's why I was wondering why there are so many extra steps with Germany's bot lol
Like making a duty state cannot be that difficult
Germanys bot is overly complicated afaik lol
Unecessarily
I didnât use it tho but thatâs what I heard saw
Creating a solution to a problem that didn't exist đ„
It needs to be downloaded
Talking like you know shit
Please donât talk unless you know how it works
đ
How exactly is sending only 3 images complicated?
Please explain it to me
Donât you need to like post tablist start and tablist end when u end ds and whatnot
and how does it take time
Maybe read the conversation I had with Walac?
Please donât talk shit
Get the facts first
idk bro I asked a question
I ainât no talking shit
Anyway this isnât the place
The system is so complicated and so hard!
Is that why itâs being used everyday
By lots of people
You're literally creating solutions to problems that never exist đ„
Youâre banned
đ„not tuff mate lmao
The system doesnât only make the duty for you
It has a lot of other features
Which simplifies everything
But again you talk without doing any proper research
What is there to simplify it's a duty state đ
The only good features of your bot are the gamepass stuff
Anything else and you're just over doing it đ„
Itâs not like I just randomly made the system
People asked for it
And people use it
And itâs still being used by lots of people
@north topaz why are u beefing with an initiate
https://discordapp.com/channels/412291659347263498/988046724197126206/1118798202662047834 When will this become operational?

Is any other officer having this issue
Vlad had yesterday
Ask someone to grade few
It removes 30 always
Is it always 30?
@lean wharf also last submission points to the youngest ds
instead of the oldest one
yk
ah
AEGIS OS - Update
- Leaderboard/stats improvements
- Enhanced profile update logic to increment counts atomically and improve database synchronization
- Fixed calculations and ensured pending GUID deletion enforces database update
- Misc code cleanup and refactoring
- Refactored pending duty timestamp retrieval
- Updated query to retrieve the oldest pending timestamp instead of the newest (oops lol, ty @serene wigeon for pointing that out)
- Replaced "Last submission" with "Oldest duty state was submitted"
<@&1061991335474769960>
THE AGE OF BUGS HAVE ENDED!
NO MORE BUGS!
you wish.
only one way to find out
SON
huh
10 days ago is wild
walac our goat
@lean wharf if the bugs are gone could we perhaps get #đđ
training-schedule automated again 
it is not that hard to do schedules manually bruh đ
Officer morning routine:
I wake up with an AEGIS eye mask up, and go straight to the bathroom
Then I brush with fedorium toothpaste whilst listening to AEGIS background game music.
Then I read a chapter of AEGIS fan stories and compliment the chairman's handsomeness.
Then I go for a run in the wasteland and come back to the base, just in time for walac to ping me about the bot so I can read it while eating my breakfast batteries.
walac bot fix has become part of routine, give the poor guy a break.
@lean wharf chill out gang, don't forget about AIA.
is there anyone else helping u
never said it was
but its something that could relatively be added (and was added before it bugged with the old aegis os)
what we're currently doing is meant to be temporary

cus itâs python and itâs mid 
so heâs soloin it i bet
Yea
It was planned with the original but wasnât really possible due to the same issues that started this whole rewrite
Yes, have already planned to add it but want to get any breaking bugs out of the way first
Pov Chairman cooking in #đ§developer-showcase message:

@clever bluff@lyric ingot I'm only receiving this issue from either of you two so can you just describe exactly your process? (grading very quickly, did you deny or accept before you noticed the change, etc)
today only vlad
i didn't check anything
i will ask other Officers to grade
I'm looking at the leaderboard rn and it's showing 160 for vlad so idk
shows on the message too
Unless he did more since
r u coding rn
why u ask
get back to work

đ
yeah please do, but keep a close eye on the leaderboard since I'm trying to pinpoint if its either when you're accepting or denying
actually you just made me remember something
i just denied 2
nothing removed
i think it's hapenning randomly
what was that?
I am just grading and they vanish.
@lyric ingot Does this only happen once? (As in you notice that it removes points, but it doesn't remove any more after that)
he graded around 60 today
and no problems for now
It happened to me twice
@lean wharf I think I found another bug
when someone is doing 30 minutes DS
the bot says it's 24 hours and 30 minutes
Send ds link
do you mean twice as when you first discovered it and I manually re-added the points, and when it happened again just recently?
send link or the GUID if its still pending
Here
#đduty-state message
It was accepted by me
I fixed points for it
Those 2 i denied: #đduty-state message
#đduty-state message
ok yeah thats an issue with how it calculates the duration for overnight/24hr duty states
I'll look into it when I'm home
good catch tho
2 other Officers are getting
They keep getting a lot of those ds
Broken one
will take a look later, also Iâm aware of the message in #đduty-marker being sent again, shouldnât break anything
Yes
AEGIS OS - Update
- Fixed duty states that were 30 minutes long being detected as 24 hours, was due to a logic error in the function that calculates duration for duty states done overnight or 24 hours.
<@&1061991335474769960>
ur welcome
see if this happens next quota, for now just notify a UC or whoever handles your quota about it
It's due to data changes I made within the week, it's working as intended but just needs a fresh new week of quota
To DM them about the missing quota?
yes, just so they are aware to add on what is missing when this weeks quota resets
awh why couldnt this happen to me
i wanted that much points
đ
dw there will be another bug where everyone will get 5 trillion points (billions must be EFA)

AEGIS OS - Update
- Misc fixes and improvements
- @stone tree is listening to the DoD soundtrack again
hello agias
AEGIS OS - Update
- Hello Agias !!!
- Get real
- aegis os is gay
aegis os is gay
it updating
aegis os is gay
i know u are but what am i đ
Hello Agias !!!
Hello Agias !!! I got a ban on killing the Agyas group 3 months ago .. I want to play a game but I can't please fix it .. My name: Goysuduhdhf
Get real
finally
thank you walac
hello agias
Hello Agias !!! I got a ban on killing the Agyas group 3 months ago .. I want to play a game but I can't please fix it .. My name: Goysuduhdhf
i know u are but what am i đ
aegis os is gay
i know u are but what am i đ
Get real
@lean wharf The bot thinks wxlf's two 30 min ds are 24 hours for some reason.#đduty-state message
manually removing points
weird, tested this last night and it was working normally, I'll have a look now
it's only for wolf
idk why, rest work fine
just tested and it's calculating 30 minutes, not at home so can't see database but it's probably because it was submitted before I published the fix
i see
thanks twin, its actually super convenient
np
spread the word
more people need to use lightshot
anything to get people off imgur đ„
i hate imgur just cause of the fact it takes awhile to load
imgur is so ahh
@lean wharf omg
I think im in love with u
this new function of duty states is amazing
very smooth
@frail pagoda stop alting
stop harrasing me
Thatâs what I like to hear 
yes u did a nice work
but get back to work
yk u dont have breaks
@lean wharf work
no
r u refusing to work
yea
@lean wharf you should automate #đpassed-processing
walac do everything
#đaegis-os-feedback
oh lal
@lean wharf i found another bug
This bot vabnished my whole data
#đ»commands message
Literally everything
I have 0 on everything
I had like 300 ds submitted
#đaegis-os-feedback
Oh kk
As in ones you marked or ones you submitted yourself?
Submitted myself
My playtime is 0 too
When was the last time you submitted one?
#đduty-state message
24 days ago
inaktiv
when was your last ds
like 50 years ago
@lean wharf
The new button you added.
With the pictures.
It doesn't always show screenshots.
It will sometimes just show you the link.
iirc thatâs a issue with the links
since Gyazo links sometimes donât embed
Is this happening for both gyazo and lightshot?
usually happens when the pic is unable to be seen or deleted
at least in my case
so for me its not really a bot problem
For me both
can you find some examples that don't work
Can't right now
thats fine
Gyazo links are problematic
gyazo is my goat
gizzo
lizzo
gayzo
training module when
The schedules?
city when
"HURR DE DURR WHERE IS CITY HURR DE DURR!!@12!" That's what you sound like. "city when" has been sent TEN BILLION times in this channel.
đ



bring ts BACK
This is true, forgot that existed lol
wydm next ds?
you do realize you cant do more than 2 in a day
if you do 4 in a day and post different days thats faking
hm
decent idea
But imo the bit needs to be faster
@lean wharf rn we need to wait for it to add points before getting another ds and the fetching isnât all that fast but a separate issue
If you use a system that it claims ds for 5m and doesnât prompt that ds to anyone for 5m you could get around the waiting for point thinly
Like old bot
Will be looking into this
The fundamental issue is it fetches the ds which you just graded
i think we should be using lossless json đ€ đ
(let me help trust trust)
so like
how do they repost duty states then?
@lean wharf is there a fix for this?
the duty state bot says the day it was supposedly posted, are they able to put a date instead of a time to fix that?
Can you link me the one in the screenshot
both the original and reposted
reposted: #đduty-state message
original: #đduty-state message
denial message (for original): #đduty-state message
hey @lean wharf do you think you could add something like this?
#đduty-state message
i think thatd be pretty beneficial
or perhaps a way to submit reposted duty states without it adding +1 to your daily duty states đ
thatd be cool
Yes have had this planned since it was in the original, just focusing on optimizations currently
as for the repost issue I'll be looking into that soon, since the only way it should happen is if you put in the time wrong on the actual duty state
ok this does appear to be a bug, one moment
Advise them to repost again, it should work now
thanks :D
np
#đduty-state message
@lean wharf ||@feral valve||
repost failed
hmm
can you try with the GMT equivalent? (e.g. GMT+X)
I just reposted it with normal GMT time but I will try it on my next duty state tomorrow
Also, this only is a problem when the time ticks over midnight, any other duty state posted in NZST is perfectly fine
2nd time its denied it from going 11pm - 12am
odd
@lean wharf #đđ training-schedule fully functional when
Questionable.
đ
aegis os is getting updated hmmm
i know u are but what am i đ
nvm just kill it
i am sad
Hi Sir ! Can You Please Unban/KIcked me I shiot at Chariamn and I am sad fear or shock, I'm very sorry for Shoot Chairman PLS PLS I had mix emotionsonss at ze time PLS I DID NOT MEAN 2 SHOT CHAIRMAN I ONLY WANTED TO SAY HI SECURITY!! Username ; mushcyixsicenit I hope u tak mY Apliciatiion/BNaPappeali into Consideration"!
atp ill do it for u icl
:prayge:
The foundations for it are basically done I just need to find a time to finish it since it's not a priority rn
make it a priority please, i always have to cancel my trainings because uc slow
yes pls
okay bet
@lean wharf When #đđ training-schedule automation?
Oh well..
what do you think I've been doing all day lol
(will also work for ones that have been approved)
and not ones that have been denied? cause if someone needs to repost...
Correct, it wonât check denials
is there also going to be a better system for reposting?
Like what
i have no personal ideas but it's kinda annoying to have to wait another 2 days for them to be graded because of the most tiny mistake
Like an option to cancel a submission yourself?
no like, when a duty state gets denied and you have to repost it
for like invalid post or name isn't visible in post
you have to wait another like 2 days
for them to be graded after reposting
because officers aren't grading until they need quota
That sounds like an issue with how officers grade rather than an issue with the bot
This would be more suitable since you can just withdraw a duty state if you realise you made a mistake rather than wait until it gets denied
iirc can't you just delete it?
oh yeah I forgot about that lol
you used to
@lean wharf not sure if you coded it

