Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users

    Recommended Posts

    Posted

    Hello I am looking for a casino script that I see used at the GE. It needs to have different game modes. It needs to announce while in a trade with the current game mode. Then announce how much they deposited and do the roll and announce if they win or lose. It seems like everyone is using the same script that I see at GE but I can't find any that announce while in a trade.

    Posted

    For bots like this you're going to have to go private. There's a reason that they don't announce whilst in trade - they're using a simple state machine which moves into the "trading" state rather than having the announcements run on a separate thread.

    Posted
    26 minutes ago, Phantomwire said:

    For bots like this you're going to have to go private. There's a reason that they don't announce whilst in trade - they're using a simple state machine which moves into the "trading" state rather than having the announcements run on a separate thread.

    for this couldn't you just add the announce part of the script the the trading  state part of the script?

    Posted
    26 minutes ago, IAmOG Scripts said:

    for this couldn't you just add the announce part of the script the the trading  state part of the script?

    As long as it's coded well, sure. But I could also see it adding unwanted bugs that could be abused. 

    If it was:

    1. Enter trade state
      1. Check timer for annoucement
      2. Announce if X time has passed
      3. Check trade
      4. Accept
      5. Exit state

    Then it'd probably be fine.

    But if someone mixed that order up in the code, there might be a situation that announcing happens after checking trade - delaying "clicking accept" - where there could be an opening for changing amounts.

    Obviously this could just be avoided by checking on second screen even if you wrote it badly to begin with, but I've seen casino bots that break if you never accept the prize (something that someone probably didn't consider when writing).

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.