How would I automate Logging into the game?

coolman

Active Member
${EQ2UIPage[LoginScene](exists)}

or

${EQ2UIPage[LoginScene,LoginScene](exists)}

always NULL.

could someone help me how to make it work. Or there is already an autologin script .that's better.( need to clear username and password text field, then enter my username and password)


thanks
 

ownagejoo

Well-Known Member
I am no expert on this but here goes


EQ2UIPage[LoginScene,LSUsernamePassword].Child[textbox,<whatever>]:AddToTextBox[Password]

that should be something what it looks like to add text into that textbox. I did not look further to see what the name of the Password field was. but the page is what I put in.
http://www.ismods.com/wiki/index.php/ISXEQ2:EQ2UIPage_(Top-Level_Object)
http://www.ismods.com/wiki/index.php/ISXEQ2:eq2uipage_(Data_Type)
http://www.ismods.com/wiki/index.php/ISXEQ2:eq2uielement_(Data_Type)

look at these three pages top to bottom to understand EQ2UIPage, eq2uipage,eq2uielement.

second question can be answered here:
http://www.lavishsoft.com/wiki/index.php/LavishScript:Triggers
triggers are part of LavishScript not really part of ISXEQ2 which uses them.

This is the main link to most stuff about Lavishscript, there is no search function so kind of hard to find this stuff.
http://www.lavishsoft.com/wiki/index.php/LavishScript

Ownagejoo
 

CyberTech

Rest in Peace
Staff member
unfortunately they don't work for the login page ownage, I was trying to check this quest out last night and got nowhere. Asked ama on irc, no answer yet.
 

Amadeus

The Maestro
Staff member
I just sent out a new extension that will allow the EQ2UIPage TLO to work while you're at the login screen.

My TLOs are, by default, set to only work while you're in the game proper and no one had ever requested that this one work in any way otherwise. But, for example,
Code:
echo ${EQ2UIPage[LoginScene,LoginScene].Child[Textbox,LSUsernamePassword.WindowPage.Username].Label}
will work properly with the new extension.
 
Is there any way to SetText instead of AddText to Textbox?
EQ2UIPage[LoginScene,LSUsernamePassword].Child[Textbox,LSUsernamePassword.WindowPage.AutoplayChar]:AddToTextBox[Bob]
I need to
EQ2UIPage[LoginScene,LSUsernamePassword].Child[Textbox,LSUsernamePassword.WindowPage.AutoplayChar]:SetTextBox[Bob] because maybe the text box already has earl in it...
without sending multiple Keyboard press backspace
 

Amadeus

The Maestro
Staff member
You can make a feature request for that; however, with the default UI (or whatever it is that I'm using) all of the boxes start blank.
 
Thank you. I'll make a feature request. You must be using the login screen blank linked by BJ b/c the default ui still saves previous user id and previous server selected (like bob123 and Freeport)
 

Kannkor

Ogre
Thank you. I'll make a feature request. You must be using the login screen blank linked by BJ b/c the default ui still saves previous user id and previous server selected (like bob123 and Freeport)
Yea, defaults do save some of the information. Ogrebot provides a blank one, and instructions on how to use it in the new user walkthrough, as does BJ. So I suspect most people around here have a blank one that way.
 

Amadeus

The Maestro
Staff member
Well, since the blank login screen is available and has been working great for years, the feature request will have a pretty low priority. I mean, I'd do it if I were already working in that area of the code, but to go there specifically to do something that very few people would use would be an inefficient use of time.
 
Yea, I wrote that pretty fast, there's already a fix so a feature request would be.. meh... can't think of somewhere else it would be useful.
 
Top Bottom