Jump to content

Recommended Posts

Posted (edited)

No I am trying to change it to something like that, but i can't figure out how, this is to anyone. It is to stop that stupid glitch that takes you to that My Pets page. It is probably something simple but I just can't figure it out.

Edited by Zarox
  • Replies 85
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted (edited)

This new code should continue the script even if the glitch where you load the My Pets page on mistake happens. Please help me test this but I am 99% sure it works. Thanks.

Edited by Zarox
Posted

Have you ever had the glitch where when you click on Attack to fight a monster, it redirects to the My Pets page, well the point was to keep the script going when it went to that page.

Posted (edited)

Can somebody please help me. I can't seem to get it to start. I downloaded AutoIt, installed it, copied the script from this last page, pasted it into AutoIt, saved it as an .au3 file, ran it, did what the instructions said, and then pressed alt+shift+s to start it, but it doesn't start.

Any help?

Thanks a ton! :whistle:

EDIT:

Thought I'd give some more info.

I just went to SCITE script editor to make the script, copied it from here, went to save as, and saved it as "Script.au3"

Then, I clicked on the script, and it opened a window with the Facebook login up. All I did is opened a completely new Firefox window and opened the Pets page in a new window, so only the pets game itself was showing. None of the extra Facebook stuff.

I then opened an IE window, and copied the link from Firefox and pasted it in IE.

Then I pushed alt+shift+s, to no avail.

I'm not sure why I have the script window up, as it appears to me that you only have to leave it at the Facebook login screen, but then again, that could be why it's not working.

Thanks to whomever helps me, and yes, I've tried to use the search button.

Edited by Arethemad
Posted

Can somebody please help me. I can't seem to get it to start. I downloaded AutoIt, installed it, copied the script from this last page, pasted it into AutoIt, saved it as an .au3 file, ran it, did what the instructions said, and then pressed alt+shift+s to start it, but it doesn't start.

Any help?

Thanks a ton! :whistle:

EDIT:

Thought I'd give some more info.

I just went to SCITE script editor to make the script, copied it from here, went to save as, and saved it as "Script.au3"

Then, I clicked on the script, and it opened a window with the Facebook login up. All I did is opened a completely new Firefox window and opened the Pets page in a new window, so only the pets game itself was showing. None of the extra Facebook stuff.

I then opened an IE window, and copied the link from Firefox and pasted it in IE.

Then I pushed alt+shift+s, to no avail.

I'm not sure why I have the script window up, as it appears to me that you only have to leave it at the Facebook login screen, but then again, that could be why it's not working.

Thanks to whomever helps me, and yes, I've tried to use the search button.

I finally pasted the URL from the ThisFrame-OpenInNewWindow thing into the script. I got that down, but I still can't figure out how to start it.

Sorry for the DP, but on the bottom right corner of my screen, with the time, date, and the other icons, is the AutoIt icon. When I right click it, It says Script Paused, and Exit. Script Paused is check-marked, and I can't get it to not be paused. I don't know if my computer just really hates me or what, but for some reason, alt+shft+s isn't working to start the script.

Posted (edited)

We need to update the instructions.

The second part I posted you need to save as a ini such as Pets.ini

You can make this with notepad.

Then put your link from firefox into the ini next to the url= thing.

Then run the program and your pet should appear in the UI.

Then click Alt+Shift+S

Just exit the script and reopen to unpaused.

Edited by Zarox
Posted

Thanks a TON! I love this bot. :whistle:

Makes me want to get back into programming, like the good old days.

Hehe, good stuff and you can change the levels you want to fight in the ini. remember its always like if the difference is greater then -2 not just => -2

Posted

Wow, you guys are doing a great job on this. I can't wait to see all the features implemented!

Also, I made a quick setup program that you can either have separate or integrated into the program EG.

Posted Image

Its up to you if you want to use it or not :whistle:

It basically allows the users to set the lvl differences through a GUI instead of the .ini file.

May not be too helpful but still a nice addition to this program :lmao:

#include <GUIConstants.au3>
#include <Constants.au3>

$PetsINI = "\Pets.ini" ;Location of the Pets.ini file for shorter use in script

$AntLevel = IniRead(@ScriptDir & $PetsINI, "fight", "antleveldifference", "") ;Gets the current Ant Level
$MantisLevel = IniRead(@ScriptDir & $PetsINI, "fight", "mantisleveldifference", "") ;Gets the current Mantis Level
$SpiderLevel = IniRead(@ScriptDir & $PetsINI, "fight", "spiderleveldifference", "") ;Gets the current Spider Level
$ScorpianLevel = IniRead(@ScriptDir & $PetsINI, "fight", "scorpionleveldifference", "") ;Gets the current Scorpian Level
$OtherLevel = IniRead(@ScriptDir & $PetsINI, "fight", "otherleveldifference", "") ;Gets the current Other Level

$Setup = GUICreate("Setup", 166, 215) ;Main setup window

Global $AntLvl = GUICtrlCreateInput($AntLevel, 24, 29, 57, 20) ;Input for the level difference for the Ant
$Ant = GUICtrlCreateLabel("Ant", 88, 32, 52, 25, 0) ;Label

Global $MantisLvl = GUICtrlCreateInput($MantisLevel, 24, 59, 57, 20) ;Input for the level difference for the Mantis
$Mantis = GUICtrlCreateLabel("Mantis", 88, 62, 52, 25, 0) ;Label

Global $SpiderLvl = GUICtrlCreateInput($SpiderLevel, 24, 89, 57, 20) ;Input for the level difference for the Spider
$Spider = GUICtrlCreateLabel("Spider", 88, 92, 52, 25, 0) ;Label

Global $ScorpianLvl = GUICtrlCreateInput($ScorpianLevel, 24, 119, 57, 20) ;Input for the level difference for the Scorpian
$Scorpian = GUICtrlCreateLabel("Scorpian", 88, 122, 52, 25, 0) ;Label

Global $OtherLvl = GUICtrlCreateInput($OtherLevel, 24, 149, 57, 20) ;Input for the level difference for the Other
$Other = GUICtrlCreateLabel("Other", 88, 152, 52, 25, 0) ;Label

$SetLevels = GUICtrlCreateButton("Set Levels", 55, 180) ;Sets the input levels

GUISetState(@SW_SHOW)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $SetLevels
            SetLvls()
    EndSwitch
WEnd

Func SetLvls()
    IniWrite(@ScriptDir & $PetsINI, "fight", "antleveldifference", GUICtrlRead($AntLvl)) ;Sets the input AntLvl
    IniWrite(@ScriptDir & $PetsINI, "fight", "mantisleveldifference", GUICtrlRead($MantisLvl)) ;Sets the input MantisLvl
    IniWrite(@ScriptDir & $PetsINI, "fight", "spiderleveldifference", GUICtrlRead($SpiderLvl)) ;Sets the input SpiderLvl
    IniWrite(@ScriptDir & $PetsINI, "fight", "scorpionleveldifference", GUICtrlRead($ScorpianLvl)) ;Sets the input ScorpianLvl
    IniWrite(@ScriptDir & $PetsINI, "fight", "otherleveldifference", GUICtrlRead($OtherLvl)) ;Sets the input OtherLvl
    MsgBox(64, "Setup", "Finished Setup!", 5000)
EndFunc

Let me know what you think?

alien13

Posted

when i get home from work ill start on an auto sell BUT i need someone to start making a list of all the items.. THERE NAME MUST BE THE WAY THEY ARE SPELLED(caps, cammas, etc) ill need this to make the autosell :lmao:

Head

Visor
Bow
Crown
Top Hat
Bonnet
Head Plate
Jester's Hat
Wizard's Hat
Pirate's Hat
Scaly Horn
Graphite Mask
Usagi's Beautiful Jewels
16-Mask of the Undead
The Phatom's Guard
Fire Dragon Head
Pika-mask
Stalker's Guard
Destroyer's Helmet
Pegasus Crown
Roman Helm
Zhu's Crown and Eyes
Robot Mask
Stalker's Guard
Higher Royalty Crown
Beep's Beep
Fei's Hat
Devil's Triumph
Aluminium Mask
Horner Metal Plate
Chimera's Skullhelm

Body Gear

Usagi's Skirt of Healing
Rags of the Undead
Red Turtle Shell
Destroyer's Armor
Sheild
Pegasus Body
Royalty Cape
Emerald Armor of the Phantom
Ruby Armor of the Phantom
Sapphire Armor of the Phantom
Gold Armor of the Phantom
Yellow Turtle Shell
Black Turtle Shell
Fei's Wrap
Armor of the Ninja
Plate of the Knight
Pika-plate
Higher Royalty Cape
Plain T-Shirt
Stalker's Savior
Green Turtle Shell
Hunter's Cloak
Blue Turtle Shell
Red's Hood
Backpack
Water Dragon Scales
Sweater
Dress
Ranger's Cloak

Arm

Pika-paw
Sapphire Claw of the Phantom
Ruby Claw of the Phantom
Gold Claw of the Phantom
Emerald Claw of the Phantom
Destroyer's Agility
White Mittens
Usagi's Healing Gloves
Gloves
Brown Mittens
Ring
Pegasus Arm
Water Dragon Claws
Blue Mittens
Razor Gauntlet
Paw of the Ninja
Leather Gloves
Chimera's Lionpaw
Stalker's Strike
Fei's Gloves
Undead Limb
Beep's Paw
Fire Dragon Claws

Foot

Stomp of the Stalker
Moccasins
Zhu's Flight
Destroyer's Mount
Leather Boots
Water Dragon Talons
Pink Tennis Shoes
Slippers
Brown Tennis Shoes
Step of the Ninja
Green Tennis Shoes
Emerald Boots of the Phantom
Gold Boots of the Phantom
Ruby Boots of the Phantom
Sapphire Boots of the Phantom
Red Tennis Shoes
Yellow Tennis Shoes
Padded Slippers
Destroyer's Mount
Fei's Boots
Chimera's Talon
Beep's Foot
Pegasus Foot
Fire Dragon Talons
Usagi's Boots of Strength
Pika-foot
Rotting Foot of the Undead


Weapons

Fei's Pacfifier
Destroyer's Gun
Chimera's Flight
BFG2000
Zhu's Tail
Pika-tail
Fire Dragon Tail
Rocket Launcher
Wings of the Damned
Pirate's Dagger
Pegasus Wings
Usagi's Bustle of Justice
Deathscythe
Soul of the Phoenix
Fei's Pacifier
Ninja Blade
Ninja's Tassel
Zephyr Wings

Just check through, I am sure I got most of them. :whistle: If something doesn't sell, then we will just update the list.

Posted

hey guys,

im no new face to programming auto scripts, but i am to this autoit language

ive installed autoit v3,

pasted multiple code sections into the script editor and saved them as au3 files,

and have had no success

i have figured out how to right click my pet, and get a browser window open with only the pets game

please help me out :whistle:

Posted

Pets is currently glitched. We just need to be patient not like the people on the Pets Facebook Boards, lol

Posted

Pets is currently glitched. We just need to be patient not like the people on the Pets Facebook Boards, lol

do you have aim or msn?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...