Skip to content

Commit

Permalink
Added Instructions and minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
null-p01ntr committed Jan 13, 2023
1 parent f0ddd20 commit c2da525
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .local/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"ProjectBreakpoints":"{\"Value\":{}}","ProjectWatches":"{\"Value\":[{\"Id\":\"7b903abb-5471-4e5d-929a-a2fed068e23b\",\"Expression\":\"GameName\"},{\"Id\":\"1fb5ef73-29b2-42bd-a25a-4186536955a6\",\"Expression\":\"Claimed\"}]}","OpenedDocuments":"[\"SubbedGames.json\",\"Main.xaml\",\"Claim Reward.xaml\"]","ProjectActivitiesViewState":"{\"Claim Reward.xaml\":[{\"ActivityIdRef\":\"If_2\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}},{\"ActivityIdRef\":\"WriteLine_3\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}},{\"ActivityIdRef\":\"WriteLine_2\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}}],\"Main.xaml\":[{\"ActivityIdRef\":\"WriteLine_1\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}},{\"ActivityIdRef\":\"If_1\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}}],\"Add Game.xaml\":[]}"}
{"ProjectBreakpoints":"{\"Value\":{}}","ProjectWatches":"{\"Value\":[{\"Id\":\"7b903abb-5471-4e5d-929a-a2fed068e23b\",\"Expression\":\"GameName\"},{\"Id\":\"1fb5ef73-29b2-42bd-a25a-4186536955a6\",\"Expression\":\"Claimed\"}]}","OpenedDocuments":"[\"Main.xaml\",\"SubbedGames.json\",\"Claim Reward.xaml\"]","ProjectActivitiesViewState":"{\"Claim Reward.xaml\":[{\"ActivityIdRef\":\"If_2\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}},{\"ActivityIdRef\":\"WriteLine_3\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}},{\"ActivityIdRef\":\"WriteLine_2\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}},{\"ActivityIdRef\":\"Delay_1\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}}],\"Main.xaml\":[{\"ActivityIdRef\":\"WriteLine_1\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}},{\"ActivityIdRef\":\"If_1\",\"IsAdvancedOptionsExpanded\":false,\"Widgets\":{}}],\"Add Game.xaml\":[]}"}
Binary file modified .local/db/references.db
Binary file not shown.
Binary file modified .local/install/Prime Gaming AutoClaim.dll
Binary file not shown.
Binary file modified .local/install/Prime Gaming AutoClaim_Claim_Reward.dll
Binary file not shown.
Binary file modified .local/install/Prime Gaming AutoClaim_Expressions_Claim_Reward.dll
Binary file not shown.
Binary file modified .local/install/Prime Gaming AutoClaim_Expressions_Main.dll
Binary file not shown.
Binary file modified .local/install/Prime Gaming AutoClaim_Main.dll
Binary file not shown.
17 changes: 7 additions & 10 deletions Claim Reward.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<VisualBasic.Settings>
<x:Null />
</VisualBasic.Settings>
<sap:VirtualizedContainerService.HintSize>928,1671</sap:VirtualizedContainerService.HintSize>
<sap:VirtualizedContainerService.HintSize>1008,1801</sap:VirtualizedContainerService.HintSize>
<sap2010:WorkflowViewState.IdRef>Claim_Reward_1</sap2010:WorkflowViewState.IdRef>
<TextExpression.NamespacesForImplementation>
<scg:List x:TypeArguments="x:String" Capacity="45">
Expand Down Expand Up @@ -122,15 +122,11 @@
<AssemblyReference>System.Runtime.InteropServices</AssemblyReference>
</scg:List>
</TextExpression.ReferencesForImplementation>
<Sequence DisplayName="Claim_Reward" sap:VirtualizedContainerService.HintSize="636,1606" sap2010:WorkflowViewState.IdRef="Sequence_1">
<Sequence DisplayName="Claim_Reward" sap:VirtualizedContainerService.HintSize="636,1736" sap2010:WorkflowViewState.IdRef="Sequence_1">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="GameName" />
<Variable x:TypeArguments="x:String" Name="URL" />
<Variable x:TypeArguments="x:Boolean" Name="Claimed">
<Variable.Default>
<Literal x:TypeArguments="x:Boolean" />
</Variable.Default>
</Variable>
<Variable x:TypeArguments="x:Boolean" Default="False" Name="Claimed" />
<Variable x:TypeArguments="ui:Browser" Name="GameBrowser" />
</Sequence.Variables>
<sap:WorkflowViewStateService.ViewState>
Expand All @@ -145,15 +141,15 @@
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Assign sap:VirtualizedContainerService.HintSize="434,82" sap2010:WorkflowViewState.IdRef="Assign_1">
<Assign sap:VirtualizedContainerService.HintSize="434,81" sap2010:WorkflowViewState.IdRef="Assign_1">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[GameName]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[CurrentGame.Properties(0).Name]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="434,82" sap2010:WorkflowViewState.IdRef="Assign_2">
<Assign sap:VirtualizedContainerService.HintSize="434,81" sap2010:WorkflowViewState.IdRef="Assign_2">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[URL]</OutArgument>
</Assign.To>
Expand All @@ -162,7 +158,8 @@
</Assign.Value>
</Assign>
</Sequence>
<ui:OpenBrowser AutomaticallyDownloadWebDriver="{x:Null}" CommunicationMethod="{x:Null}" Hidden="{x:Null}" Private="{x:Null}" BrowserType="Chrome" DisplayName="Open Browser" sap:VirtualizedContainerService.HintSize="574,1374" sap2010:WorkflowViewState.IdRef="OpenBrowser_1" NewSession="True" UiBrowser="[GameBrowser]" Url="[URL]">
<Delay Duration="00:00:02" sap:VirtualizedContainerService.HintSize="574,90" sap2010:WorkflowViewState.IdRef="Delay_1" />
<ui:OpenBrowser AutomaticallyDownloadWebDriver="{x:Null}" CommunicationMethod="{x:Null}" Private="{x:Null}" BrowserType="Chrome" DisplayName="Open Browser" Hidden="False" sap:VirtualizedContainerService.HintSize="574,1374" sap2010:WorkflowViewState.IdRef="OpenBrowser_1" NewSession="True" UiBrowser="[GameBrowser]" Url="[URL]">
<ui:OpenBrowser.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# PrimeGaming-AutoClaim

UiPath Robot that automatically claims Prime Gaming Rewards for selected games

## How to use

* Add your games names' and Prime Gaming Award URLs to the SubbedGames.json file in a {GameName}, {URL} format
* Run the Main.xaml file on UiPath Studio.

_PS: GameName is just for display but URL must be valid for each specific game. Be sure the URL redirects to correct reward page. You can ovewrite existing games they are just for testing._

0 comments on commit c2da525

Please sign in to comment.