So Banker Badger is getting a huge back-end update, I have completely re-strictured the code to make it quicker and easier to add in new features and fixes.
So… What will you notice new?
- The
send
command can now have either the amount before or after the name.
- No more full names, Thanks to Accipiter adding I support for lookupChars you can now use the first name of the character if there is only 1 player with that name.
- 4 new privileges: user, moderator, admin, and owner.
-
- Each can promote anyone to any privilege that is below and not equal to their own.
-
- moderators can get people’s balances and check the balance of safes.
-
- admins can alter the balance of safes and characters. They can also promote characters to moderators. As well as all the abilities of moderators.
-
- owners can do all the above as well as promote admins and moderators.
- Improved help command that procedurally lists commands, aliases, and usages
- Added the ability to transfer safe ownership & delete safes.
What won’t you notice?
- Added support for more advanced promises.
- Better error handling
- Easy to add command system
- Similar file structure and Jason structure to the previous version allowing for hopefully seamless transition between the 2
- Automatic character updater (updates the character’s data seamlessly with new required data for new features.
And for the upcoming features that will be released along with the release of this new version:
- Ability to list and buy items via safes, allowing for an added touch for stores. [Done ^w^]
- Moderator promotions, yep ^w^
- Ability to list your recent history (max 20 due to message size limit) [Done ^w^]
- Interest ^w^ a certain % interest gain per day ^w^ (can’t have ya being poor) [Done ^w^]
- Bot API (I will add a simple API for bots to interact with the Banker via JSON-encoded messages. [Done ^w^]
And… Drumroll please, I have 3 slots open for suggestions, so by all means suggest away and I will pick the most useful 3 to implement ^w^
I plan to release this update in about 2 weeks, so look forwards to it ^w^ x
3 Likes
From Jett Hopscotch
Add in a system to pay those that don’t have any income daily/weekly. This would help keep the amount in circulation up.
However I may make it a sign up type of feature where you can ask a moderator/admin/owner to sign you up if you are eligible.
2 Likes
Hiya, if you read this, let me know if you are intrested in becoming a mod for the bot?
@Cinder_the_powefull
1 Like
Of course I am interested as we talked yesterday! i will be looking over here what i should do. at the moment I already have a large part of the commands saved in a notepad hah
1 Like
nice ^w^ I am currently just implementing a log command that will broadcast all the actions to the signed up mod, you can of course sign out ^w^
2 Likes
Nearly done
Yo, Banker Badger is mostly finished, I only really have to fix the regate-client .change request.
I need some help
tommorow the new Banker Badger will be active on the test server.
I need help testing him and making sure that he won’t go rogue or bug out and lose any of your hard earned money.
I am even offering everybody that finds a bug 1000Sb when he is fully released.
This wasn’t needed with the banker-badger you are using now as it was much smaller, but with only the commands taking up over 1000 lines of code, bugs are certain to show up.
(Note that all actions in the test server are non-permenant) so feel free to spend all your money in the test server risk free.
2 Likes
Important!!!
Any changes to your account with banker badger between now and launch will not be saved, I am transferring the data across ready to be used with the updated system.
Will now be going offline to transfer the code onto the server!!!
1 Like
Banker Badger is now running on the main server ^w^
All and any events performed may not be carried over to the final release tomorrow.
Please, test to your hearts extent ^w^
1 Like
Due to a recent issue the bot is now only one the test server >w< and completely off on the main server.
One day I will get it to be perfect first try >w<
1 Like
Nothing important, but here is a small list of bug fixes and patches that have been made along with new features.
- Added the ability to blacklist yourself, this will prevent all messages coming to you from Banker Badger.
- Stopped the ping for each interest, (whoops >w<, sorry if that affected you)
- Improved Banker Badgers profile
- Updated the Terms & Conditions
To-Do/Fix >w<:
- command
list
on its own causes an error, should list all safes. [done]
- Fix logging to properly support safes. [delayed for next update]
- Add a suggestion for
help
in the unknown command command [fixed]
- Fix Res-Client .change event. [fixed]
- Add in owner command to set the description [delayed for next update]
- Add in owner command to set the status [delayed for next update]
- Auto log commands that cause errors into the bugs so you don’t have to. [done]
- Hire mods, then eventually admins. [below]
1 Like
Currently Offline
the Bankers inefficient storage system took a topple today and is now longer than the unsigned 32 bit integer limit which had the json.loads method and json.dumps method reading the data incorrectly.
to solve this I will alter the bot and either use a database (SQL lite) or lot’s of individual folders.
I may be able to save the system quickly by using a quick python dict conversion. (Quick fix)
Yep, still offline
I have known about Banker Badger being offline for a while and am currently making a new library in Python to help poor Banker manage more than a thousand characters in his memory.
Q: Why did it take so long to get to doing this?
A: There are many reasons, and it certainly took me a while. At first, I took a long time to work out what it was that went wrong with his code, which just turned out to be concurrency error where the poor banker was getting confused when 2 characters used him at the same time. And also that I have been facing a bit of a midlife crisis at the moment with what in the hell I am going to do with my life.
1 Like
The Do’nezo bank will kindly exchange your Sinder bucks and keep your business running in the meantime. Open to private customers and businesses 24x9!
blatant /s? ![:slight_smile: :slight_smile:](https://forum.wolfery.com/images/emoji/twitter/slight_smile.png?v=9)
1 Like