Results 1 to 10 of 12

Thread: Merry Go Round Script doubts

Threaded View

  1. #1
    DarkSkies's Avatar
    Joined
    Sep 2021
    Posts
    3,131
    Pronouns
    She
    Userbars
    99
    Thanks
    8,119
    Thanked
    6,103/2,337
    DL/UL
    31/0
    Mentioned
    422 times
    Time Online
    86d 8h 24m
    Avg. Time Online
    2h 8m

    Merry Go Round Script doubts

    Since I was tired that my sad pets won't get happy with 1 or 2 rides, I decided to make a script to attack the problem.

    This is my first script in JS so please bare with me lol

    Anyway, I've already gotten to make it refresh back and forth according to the Start/Stop buttons, at least in Chrome with Tampermonkey (haven't tested on others yet).

    Buuut my ultimate goal is to auto stop when pet is finally happy. Here is where I'm stuck now.

    Questions:

    1. I tried a fetch to get the mood of the chosen pet which on console get it right, but outside of my function I only get undefined (apparently I'm having problems with returning + async + fetch taking time maybe + I'm a noob trying sorry haha). So any hints about how to get my mood variable outside of my function?

    2. Since I couldn't use LocalStorage to save the input.Click() because of object type I had to copy paste twice the block for filling the combobox of pet names (block in sendPet function). Any advice on how to improve this? I hated copypasting.

    3. After solving point 1 I'll move onto mood evaluation, so that's missing for now.




    Error:



    Thanks for reading. I'm burn out now but I'll continue tomorrow with whatever you can suggest me








    ~~ Shooting stars ~~

    Many thanks to:

    @(you need an account to see links) for the Wolf Ryu and @(you need an account to see links) for the Kousetsu puppy <)
    @(you need an account to see links) for my howling wolf and @(you need an account to see links) for my wolf pumpkin <3
    @(you need an account to see links) for my custom userbars and @(you need an account to see links) for the lovely popsicle/lycanroc bar ^^
    @(you need an account to see links) for my star puppy and @(you need an account to see links) for my Rockruff avatar :3


  2. The Following 5 Users Say Thank You to DarkSkies For This Useful Post:

    Buizel (02-16-2024),Erik. (02-16-2024),kittyray (02-10-2024),Synth Salazzle (02-10-2024),WheeintoJiU (02-17-2024)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •