• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Help with selections in rewards window!!!

nijhal

Member
Okay, I have tried for the life of me to figure out why this code isint working to select faction as a reward for a task. I cant seem to figure it out. Maybe someone else out there who knows UI commands can help me.

If this pic shows up, you will see the selections in the windows I want.

Heres the code.

Rich (BB code):
Sub Finish
  /g we are done finish the mission
  :wait
  /if (${Window[RewardSelectionWnd].Open})  /goto :done
  /goto :wait
  :done
  /notify RewardSelectionWnd RewardSelectionOptionList listselect 2
  /delay 5s
  /notify RewardSelectionWnd RewardSelectionChooseButton leftmouseup 
  /delay 2s
  /cleanup
/return

attachment.php


Any help is much appriciated.
 
use RewardSelectionItemList, RewardSelectionOptionList is for the left column where it has the npc selected

Rich (BB code):
<Listbox item = "RewardSelectionOptionList">
		<ScreenID>RewardSelectionOptionList</ScreenID>
		<DrawTemplate>WDT_Inner</DrawTemplate>
		<RelativePosition>true</RelativePosition>
		<Location>
			<X>0</X>
			<Y>20</Y>
		</Location>
		<Size>
			<CX>180</CX>
			<CY>100</CY>
		</Size>
		<Columns>
			<Width>1000</Width>
			<Heading>Reward Choices:</Heading>
		</Columns>
		<Columns>
			<Width>0</Width>
		</Columns>
		<Style_Border>true</Style_Border>
		<Style_VScroll>true</Style_VScroll>
	</Listbox>

so:

Rich (BB code):
Sub Finish
  /g we are done finish the mission
  :wait
  /if (${Window[RewardSelectionWnd].Open})  /goto :done
  /goto :wait
  :done
  /notify RewardSelectionWnd RewardSelectionItemList listselect 2
  /delay 5s
  /notify RewardSelectionWnd RewardSelectionChooseButton leftmouseup 
  /delay 2s
  /cleanup
/return
should work.
 
I tried...

Rich (BB code):
/notify RewardSelectionWnd RewardSelectionItemList listselect 2

Still not selecting anything. And I cant get the button press to work either.

Damn this is just frustrating.
 
Help with selections in rewards window!!!

Users who are viewing this thread

Back
Top
Cart