Sign in to follow this  
Followers 0
AzKay

Hmm, How would I get a new SID?

23 posts in this topic

Well, Im making a mule-maker. Im trying to make it using GET Stuff. Though. Everytime it registers, it needs a new SID, As far as I know. Because, I cant keep using the same one. So, Any idea how I could get the sid by reading the source? I never really figured out how to get the Split() functions working.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites



Oh sorry, I forgot to give any info :) Heres my script. I looked at the source again, and saw it has <name=sid ="ssdsdsds"> Something like that, So I tryed using the _IEgetobject function thing, but its erroring.

#include <IE.au3>
$username = "Cake_TakerZ__"
$password = "lololol"
$email = "g_g_test@hotmail.com"
$month = "5"
$day = "5"
$year = "2000"

$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.Open("GET", _
"http://www.gaiaonline.com/profile/character.php?mode=register?username=" _
& $username & "&email=" & $email & "&confirm_email=" & $email & "&new_password=" _
& $password & "&password_confirm=" & $password & "&month=" & $month & "&day=" & $day & "&year=" _
& $year & "&bug=slug&agreed=yes&submitbtn.x=37&submitbtn.y=26&submitbtn=submitbtn&sid=" & _IEFormGetObjByName ($oHTTP, "sid"))

$oHTTP.Send()
$HTMLSource = $oHTTP.Responsetext
ConsoleWrite($HTMLSource)

A mule account, is like an account, that you dont use. Just like, use it to store items and stuff.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Oh wait, that wouldnt work, Seeing as, im not using IE. Stupid me :). Any other ideas of getting the sid?


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Because, Then ill have to have IExplorer running. I was trying to make it work without IE having to be running xD, If I use, IE, I wont need the winhttprequests atall.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Okay, Thanks


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

this will make it hided aswell

$oHWND = _IEPropertyGet($oIE, "hwnd")
WinSetState($oHWND, "", @SW_HIDED)

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

this will make it hided aswell

$oHWND = _IEPropertyGet($oIE, "hwnd")
WinSetState($oHWND, "", @SW_HIDED)
Knew that one :P But thanks anyway :)

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

no problmz, and sorry for bothering then :)


[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

no problmz, and sorry for bothering then :)

No bother ^^. Do you need anything? As in, Need help with anything your making? Ive nothing do xD

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Now ive another problem :)

$username = "Test"
$password = "Test"
$email = "Test"
$month = "1"
$day = "1"
$year = "2006"

$oIE = _IECreate("http://www.gaiaonline.com/profile/character.php?mode=register", 0, 1)
$oForm = _IEFormGetObjByName ($oIE, "")

$oUsername = _IEFormElementGetObjByName ($oForm, "username")
$oPassword = _IEFormElementGetObjByName ($oForm, "new_password")
$oPasswordConfirm = _IEFormElementGetObjByName ($oForm, "confirm_password")
$oEmail = _IEFormElementGetObjByName ($oForm, "email")
$oEmailConfirm = _IEFormElementGetObjByName ($oForm, "confirm_email")
$oMonth = _IEFormElementGetObjByName ($oForm, "month")
$oDay = _IEFormElementGetObjByName ($oForm, "day")
$oYear = _IEFormElementGetObjByName ($oForm, "year")
$oAgree = _IEFormElementGetObjByName ($oForm, "agreed")

_IEFormElementSetValue ($oUsername, $username)
_IEFormElementSetValue ($oPassword, $password)
_IEFormElementSetValue ($oPasswordConfirm, $password)
_IEFormElementSetValue ($oEmail, $email)
_IEFormElementSetValue ($oEmailConfirm, $email)
_IEFormElementSetValue ($oMonth, $month)
_IEFormElementSetValue ($oDay, $day)
_IEFormElementSetValue ($oYear, $year)
_IEFormElementCheckBoxSelect ($oAgree, "yes")

Gets a bunch of status errors. Though, I cant see whats wrong =/


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

--> IE.au3 Warning from function _IEFormGetObjByName, $_IEStatus_NoMatch
--> IE.au3 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType
--> IE.au3 Error from function _IEFormElementCheckboxSelect, $_IEStatus_InvalidDataType


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Apparently it didnt.

But, The form doesnt have a name =/


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Try getting the form with this:

$oForms = _IEFormGetCollection ($oIE)
For $oForm In $oForms
    exitloop ; the first form it finds in the form collection is usually the one you want
NextoÝ÷ Ûú®¢×£­²¯x&zØb±«­¢+Ø(´´ØÈì%¹ÔÌ]ɹ¥¹É½´Õ¹Ñ¥½¸}%½ÉµÑ=© å9µ°ÀÌØí}%MÑÑÕÍ}9½5Ñ (´´ØÈì%¹ÔÌ]ɹ¥¹É½´Õ¹Ñ¥½¸}%½Éµ±µ¹ÑÑ=©    å9µ°ÀÌØí}%MÑÑÕÍ}9½5Ñ (´´ØÈì%¹ÔÌÉɽÈɽ´Õ¹Ñ¥½¸}%½Éµ±µ¹ÑMÑY±Õ°ÀÌØí}%MÑÑÕÍ}%¹Ù±¥ÑQåÁ(´´ØÈì%¹ÔÌÉɽÈɽ´Õ¹Ñ¥½¸}%½Éµ±µ¹Ñ
¡­½áM±Ð°ÀÌØí}%MÑÑÕÍ}%¹Ù±¥=©ÑQåÁ(

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0