Jump to content

Rolled Gold

Members
  • Posts

    3
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Rolled Gold's Achievements

Newbie

Newbie (1/10)

1

Reputation

  1. Sorry wasn't using my actual script. Just trying to get the general idea across.. using a mod to determine the action?
  2. Noob here still working on my first few scripts. Wondering the best way to choose a random action. for example, choosing between using a bank deposit box and the bank function. Right now i have it written as such: if(inventory.isFull() && random(100,200)%2 == 0 ){ return State.DEPOSITBOX; else return State.BANK; } is this a good practice? (using more actions and mods?) I've seen some talk about using https://en.wikipedia.org/wiki/Random_seed .. if that's the way to do it would someone mind providing an example (using a timer?) I imagine you don't want your bot to uniformly distribute the "random" options over time.. Appreciate any input.
×
×
  • Create New...