Jump to content

Manipulations in character selection menu


Pudge

Recommended Posts

Hey 

 

I need help resolving a few issues.

1) How can I delete a character using a robot?

Click this button, paste string "delete", => if okey:isenable then click okay

I think it should be like what api should be used, can anyone know?

image.png.a033a9d0e5ab1ed7802d66de091d9b94.png

image.png.1620a37e279cb4254f8ea5aede877877.png

I think it’s not difficult, a couple of clicks and paste the desired text, I just don’t know what the frames are called in the menu so that and where to find it api

2)

How can I, being in Logout, select the character I need?

3)

Is it possible to create a new character with random nickname?

image.png.901d50669c8328b4f62693f36daadeaa.png

Thx

 

Link to comment
Share on other sites

1 hour ago, Matenia said:

Extract GlueXML from your client's MPQ find out what everything is called and then use those names.

 

Thanks for the answer, I extracted this document and found the name of the button, but how do I activate it?  "CharacterSelectDeleteButton". I tried to use Lua.LuaDoString("CharacterSelectDeleteButton:Click()") in dev tools but nothing

Link to comment
Share on other sites

15 minutes ago, Matenia said:

Это должно работать. Lua.LuaDoString принимает некоторые дополнительные аргументы, такие как «notInGame» или что-то в этом роде, так что, возможно, попробуйте те

 

 

You are the best! It work's)

Lua.LuaDoString("CharacterSelectDeleteButton:Click();", true);

 

Link to comment
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
×
×
  • Create New...