Malurth / Auto-2-day-HCCS

KoLmafia script to automate 2-day Hardcore Community Service
9 stars 4 forks source link

Galloping grill and gameinform fix #6

Closed soolar closed 8 years ago

soolar commented 8 years ago

Makes galloping grill take precedence over sombrero (since it's a sombrero but better) and fixes gameinform support.

Malurth commented 8 years ago

The visit_url URL is wrong:

pwd
needs to be
pwd="+my_hash()+"

Fix that and I'll merge it.

soolar commented 8 years ago

Mafia automatically corrects it since it's such a common thing. Or at least, I'm 99% sure it does, because I ran that line of code and it worked.

coderanger commented 8 years ago
In a POST request, if &pwd is part of the page string, it will automatically be replaced
by &pwd=###### where ###### is the password hash for the current session. For a
GET request the password hash will not be added so you'll want to use my_hash(). 
soolar commented 8 years ago

Yep, and it's POST by default.

Malurth commented 8 years ago

All right then, never mind. I stand corrected.

Malurth commented 8 years ago

Also thanks :p