Jump to content
Morokus

Autoit read token from website

Recommended Posts

Morokus

Hi there.
I'm new on this forum as well as with Autoit.

For a Browsergame (Ogame) I play with my friends (only with them) I'm trying to write a bot using Autoit. First I want a Autoit Script to enter the website as a user. I suceed in logging in etc.
But there is a problem: When I want to do certain things the website sends a randomly generated token. I know the site its on and where it is in the sourcecode (? ), but I am not able to read it out.

Down there is part of my script.

Anyone knows the right comment? Would be very grateful for your help

Thanks,

Morokus

<snip>

PS: For thos who know the game: I try to start an expedition with one transporter. The Startplanet is on 1:6:2 and the target is 1:6:16.

 

Edited by Melba23
Code removed

Share this post


Link to post
Share on other sites
Melba23

Morokus,

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.