Banker Badger Notice Board

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?

  1. The send command can now have either the amount before or after the name.
  2. 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.
  3. 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.
  1. Improved help command that procedurally lists commands, aliases, and usages
  2. Added the ability to transfer safe ownership & delete safes.

What won’t you notice?

  1. Added support for more advanced promises.
  2. Better error handling
  3. Easy to add command system
  4. Similar file structure and Jason structure to the previous version allowing for hopefully seamless transition between the 2
  5. 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:

  1. Ability to list and buy items via safes, allowing for an added touch for stores. [Done ^w^]
  2. Moderator promotions, yep ^w^
  3. Ability to list your recent history (max 20 due to message size limit) [Done ^w^]
  4. Interest ^w^ a certain % interest gain per day ^w^ (can’t have ya being poor) [Done ^w^]
  5. 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

To-do:

  • allow for currency to have either the Sb, sb, SB, sB prefix or suffix [deprecated, let me know if you would like this?]

  • Make sure the ResClient uses .change correctly and also adds the models in the values part in the event

  • Finish safe info

  • tidy the aliases

  • make the help section easier to understand

  • fix ping [Done ^w^]

Completed:

  • Make The Pay Command Use Both getChars and lookupChars and use only the best matching result.

    • This is so that we can difrentiate between chars with very similar names and chars with spaces in the second name and also allow the user to use the full name.
    • We can probaly use getChars only if the full name has been entered as we will therefor have no need to use lookupChars!
  • change safe create usage to make sure that it is labeled as password and not amount.

  • Stop players from seeing, using and asking for help on commands that they don’t have permision to use.

  • fix the -1 pay amount

  • add in mod commands for safes

  • add in admin commands for safes

  • add in a sytem for mods to add characters to a weekly pay

  • add in a system to ask for a weekly pay

  • add in report and suggest functionality and commands

Current Commands:

  • pay - Pay another player.
  • balance - Get your balance or another user’s balance.
  • help - Get help with commands.
  • setpermission - Set a user’s permission.
  • getpermission - Get a user’s permission. If no user is specified, your own permission will be returned.
  • getbalance - Get a user’s balance. If no user is specified, your own balance will be returned.
  • setbalance - Set a user’s balance. If no user is specified, your own balance will be set.
  • safe - Create a safe with a specified amount of money.
  • list - List an item available for purchase.
  • unlist - Unlist an item available for purchase.
  • buy - Buy an item.
  • history - View your transaction history.
  • getsafe - Get the info of a safe.
  • broadcast - Broadcast a message to all users.
  • setdaily - Set the daily amount for a character.
  • getdaily - Get the daily amount for a character.
  • requestdaily - Request your daily income.
  • report - Report a bug.
  • suggest - Suggest a feature.
  • getsuggestion - Get a suggestion at an index.
  • getreport - Get a report at an index.
  • kill - Kill the bot.
  • json - Send a json styled command to the bot.
  • UnknownCommand - Unknown command.

Would you like a command to be added or altered? just let me know ^w^

1 Like

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 :pray:

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.

  1. Added the ability to blacklist yourself, this will prevent all messages coming to you from Banker Badger.
  2. Stopped the ping for each interest, (whoops >w<, sorry if that affected you)
  3. Improved Banker Badgers profile
  4. Updated the Terms & Conditions

To-Do/Fix >w<:

  1. command list on its own causes an error, should list all safes. [done]
  2. Fix logging to properly support safes. [delayed for next update]
  3. Add a suggestion for help in the unknown command command [fixed]
  4. Fix Res-Client .change event. [fixed]
  5. Add in owner command to set the description [delayed for next update]
  6. Add in owner command to set the status [delayed for next update]
  7. Auto log commands that cause errors into the bugs so you don’t have to. [done]
  8. Hire mods, then eventually admins. [below]
1 Like

I am proud to announce this form for applying for the moderator role:

2 Likes

Released on the main server again

If you would like to opt out of all features of Banker Badger:

M Banker = blacklist

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:

1 Like