knowitnothing / misc

10 stars 12 forks source link

Can not run properly #1

Closed hngchiming closed 11 years ago

hngchiming commented 11 years ago

I type python strategy_martingale.py myusername mypassword and click Enter. It opens firefox, but can not write my user name and my password to login to the site. Then firefox quits automatically and errors show in cmd. Do you have the same issue?

knowitnothing commented 11 years ago

It should write your username and password automatically, it is working for me. If you include the errors you get, I can try helping you. Thanks for trying it.

hngchiming commented 11 years ago

Ehhh I do not know how to paste the errors here. Do you use Skype? Can I add you for your help?

knowitnothing commented 11 years ago

Nope, no skype. You can take a screenshot if you want. Also, right now I'm changing the code so it doesn't need a browser to run.

hngchiming commented 11 years ago

Yup I am currently running a browserless version. It works good and fun... Thanks for your sharing~

knowitnothing commented 11 years ago

The browserless version now has all the functionality present in the selenium version. The basic strategies "weirdo" and martingale are there as examples too. Yet, it would be good if you could include the errors you got in the selenium version. Take your time for that, I will leave this open for some time.

hngchiming commented 11 years ago

![Uploading Error.jpg . . .]()

knowitnothing commented 11 years ago

There is no "Error.jpg" to be seen around here. If you prefer upload it to imgur or somewhere else, and then include its link here.

hngchiming commented 11 years ago

Seems I've sent you an Email. Are you the owner of Just-Dice? error

knowitnothing commented 11 years ago

I'm not the owner of just-dice. The exception you got make sense, I'm making a patch for it but I won't be able to test it properly as I can't hit the same issue with my browser.

knowitnothing commented 11 years ago

If you wish to keep using selenium and hit another problem with it, please report. If the earlier commit doesn't fix the problem described in your screenshot, reopen please.

hngchiming commented 11 years ago

OK~ Thank you~ I just think that the site is hackable. Haha though tough.

hngchiming commented 11 years ago

It's impossible for them to add lock in concurrence. So it's possible that there is a time difference between checking the Key and submit POST. That's why I think it possible to hack.

hngchiming commented 11 years ago

ehh Im gonna try it out. not so sure about it now.

hngchiming commented 11 years ago

I cant create a new user so unable to comment