Recent content by tamahome

  1. T

    MMG Martingale script

    I have finished my betting script. It is below. Many thanks to Zarqon for his help in understanding the code. It is simple. True or false to use inventory or Hagnk's. The bets can be changed to fit your style of betting. Simply change the code in these lines. if (bet_five_times(1000) >=...
  2. T

    MMG Martingale script

    I solved that last problem. Here is the solution. int total() { string s = visit_url("bet.php"); string t=visit_url("storage.php"); if (!usehagnksmeat) s = substring(s,index_of(s,"Add a Bet:"),index_of(s,"Meat on hand")); else s = substring(t,index_of(t,"You...
  3. T

    MMG Martingale script

    I did think of that. That is why I decided to change it to look at Hagnk's storage for the meat value instead of the bet page. I figured that might be the best way. The string does only show up once at hagnks. So how about this one. int total() if (!usehagnksmeat) {...
  4. T

    MMG Martingale script

    They should be there unless there are five bets running at one time. Maybe the code should be changed to something like this. int total() { if (!usehagnksmeat) s = my_meat() else { string s = visit_url("storage.php"); s = substring(s,index_of(s,"You...
  5. T

    MMG Martingale script

    It just says Unexpected error, debug log printed.
  6. T

    MMG Martingale script

    Everything seems to be working okay, except it will stop and error out sometimes after a bet. It does print out a debug log. I can attach that if so desired. Any reasons why it would error out?
  7. T

    MMG Martingale script

    Ok, saved it using notepad and it did work. I now have a working betting script. Just one problem. It only runs through the bets once, and if it wins it stops. How can I get it to run through and then start again at the beginning?
  8. T

    MMG Martingale script

    I am using wordpad to edit and save the files.
  9. T

    MMG Martingale script

    I don't know if I am doing something wrong or not. I tried to run this new script and I still get a parsing error. As for the changes, all that was really changed was to clean things up a little. I get that part. Also thanks for explaining the (!), that helps alot.
  10. T

    MMG Martingale script

    My character I want this script for is not avery social character so it isn't going to be a huge problem with incoming meat possibilities. I also wanted to do it this way for the speed of the check. It is quite a bit faster than checking the archive. Now for a quick question. Why does it...
  11. T

    MMG Martingale script

    Ok, we can start here then. I want to return a meat result directly from the bet page. It is much faster than going to the betarchive. I don't know about you, but it takes forever for me to load the archive. I also don't have meat coming in from anywhere else to change the values of this...
  12. T

    MMG Martingale script

    Deleted childish rant, going to try this script one more time.
  13. T

    MMG Martingale script

    I tried to run your script and it made a bet, the bet lost, but then it just seemed to hang. It didn't make anymore bets and it didn't make any kind of notifications. I am trying very hard to understand how to use this code language, but I am still very lost. So, how does it make the bet, and...
  14. T

    MMG Martingale script

    Sorry, didn't want to sound like I was begging. I was just so frustrated at that point. I have decided to scrap the whole thing and start over. I will build it up from the bottom and just reference this script when needed. Maybe then I can figure this out. I will post it when finished. It...
  15. T

    MMG Martingale script

    I hate to say it, but I have been wrestling with trying to get this to work all day long. I have been using the original script as a base and trying to implement the changes you suggested. I just can't seem to get any of it to work, and frankly at this point I am just more confused than...
Top