Skip to main content
Loading...

Please read the overwolf.games.events documentation page to learn how to use Overwolf game events.

Sample Apps​

Available Features​

Game event status​

It is highly recommended to communicate errors and warnings to app users.

Check the current game event status here. Alternatively, you can easily check that status from your app itself, using our API.

Game loop — what a "match" is​

Rob Run has no classic matches. The player moves between zones:

main menu → hub (Lenny's Motel) → drive out → city (Looty Bay) → leave → hub / prison / own plot

A match in this API is one visit to the city:

  • match_start — fires when the player spawns in the city.
  • match_end — fires when the player arrives in the next zone (hub, prison or their own plot) or quits to the main menu. Driving out of the city opens the realm map, and from there the player can still drive back in. In that case the same match continues.

gep_internal​

Info Updates​

keyCategoryValuesNotesSince GEP Ver.
gep_internalgep_internalLocal + Public version numberSee notes137.0

gep_internal note​

Data Example:

{"info":{"gep_internal":{"version_info":"{"local_version":"157.0.1","public_version":"157.0.1","is_updated":true}"}},"feature":"gep_internal"}

game_info​

Info Updates​

keyCategoryValuesNotesSince GEP Ver.
scenegame_infoThe zone the player is in.See notes319.0
server_regiongame_infoGame server region.See notes319.0
pinggame_infoPing (ms) to the current game server.See notes319.0
in_partygame_infoWhether the player is in a party.See notes319.0

scene note​

Possible values:

  • main_menu
  • loading
  • prison
  • hub
  • city
  • base - the player's own plot.

Data Example:

{"info":{"game_info":{"scene":"main_menu"}},"feature":"game_info"}
{"info":{"game_info":{"scene":"loading"}},"feature":"game_info"}
{"info":{"game_info":{"scene":"hub"}},"feature":"game_info"}
{"info":{"game_info":{"scene":"city"}},"feature":"game_info"}

server_region note​

Data Example:

{"info":{"game_info":{"server_region":"eu_0"}},"feature":"game_info"}

ping note​

Data Example:

{"info":{"game_info":{"ping":"58"}},"feature":"game_info"}

in_party note​

true or false. Sent only when it changes.

Data Example:

{"info":{"game_info":{"in_party":"true"}},"feature":"game_info"}

match_info​

Info Updates​

keyCategoryValuesNotesSince GEP Ver.
rolematch_infoThe player's current role.See notes319.0
player_statematch_infoThe player character's current state.See notes319.0

role note​

Possible values:

  • prisoner
  • hubber - in the hub.
  • citizen - in the city and not wanted.
  • robber - committed a crime.
  • cop - took the sheriff job.
  • settler - on their own plot.

Data Example:

{"info":{"match_info":{"role":"hubber"}},"feature":"match_info"}
{"info":{"match_info":{"role":"citizen"}},"feature":"match_info"}
{"info":{"match_info":{"role":"robber"}},"feature":"match_info"}
{"info":{"match_info":{"role":"cop"}},"feature":"match_info"}

player_state note​

Possible values:

  • idle
  • in_vehicle
  • hidden
  • swimming
  • knocked_out
  • dead
  • arrest_finished

Data Example:

{"info":{"match_info":{"player_state":"idle"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"in_vehicle"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"hidden"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"swimming"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"knocked_out"}},"feature":"match_info"}
{"info":{"match_info":{"player_state":"dead"}},"feature":"match_info"}

Events​

EventEvent DataFired WhenNotesSince GEP Ver.
match_startnullThe player spawned in the city.See notes319.0
match_endMatch summaryThe player arrived in the next zone after the city, or quit to the main menu.See notes319.0
became_robbernullThe player's role changed to robber.See notes319.0
became_copnullThe player took the sheriff (cop) job.See notes319.0
escapednullThe player drove out of the city alive and arrived in another zone.See notes319.0
knocked_outnullThe player was knocked down.See notes319.0
recoverednullThe player got back up after being knocked out.See notes319.0
deathnullThe player died.See notes319.0
respawnednullThe player came back to life in place (cops).See notes319.0
arrestednullThe player was arrested.See notes319.0
prison_escapenullThe player used the prison escape.See notes319.0
hide_startnullThe player hid (cupboard, trash can…).See notes319.0
hide_endnullThe player left the hiding spot.See notes319.0
vehicle_enternullThe player got into a vehicle.See notes319.0
vehicle_exitnullThe player got out of a vehicle.See notes319.0

match_start note​

Data Example:

{"events":[{"name":"match_start","data":null}]}

match_end note​

List of parameters:

  • outcome - one of:
    • escaped
    • dead
    • arrested
    • unknown
  • duration - seconds spent in the city.
  • became_robber - whether the player became a robber during this visit.
  • was_cop - whether the player was a cop during this visit.
  • loot_count - containers / loot nodes searched.
  • items_picked_up - single items picked up.
  • knockouts - times the player was knocked out.

Data Example:

{"events":[{"name":"match_end","data":"{\"outcome\":\"escaped\",\"duration\":415,\"became_robber\":true,\"was_cop\":false,\"loot_count\":3,\"items_picked_up\":0,\"knockouts\":0}"}]}
{"events":[{"name":"match_end","data":"{\"outcome\":\"arrested\",\"duration\":262,\"became_robber\":true,\"was_cop\":false,\"loot_count\":5,\"items_picked_up\":2,\"knockouts\":1}"}]}

became_robber note​

Data Example:

{"events":[{"name":"became_robber","data":null}]}

became_cop note​

Data Example:

{"events":[{"name":"became_cop","data":null}]}

escaped note​

Fires right before match_end with outcome: "escaped".

Data Example:

{"events":[{"name":"escaped","data":null}]}

knocked_out note​

Data Example:

{"events":[{"name":"knocked_out","data":null}]}

recovered note​

Data Example:

{"events":[{"name":"recovered","data":null}]}

death note​

Data Example:

{"events":[{"name":"death","data":null}]}

respawned note​

A respawn clears the death, so it won't decide the match_end outcome.

Data Example:

{"events":[{"name":"respawned","data":null}]}

arrested note​

Data Example:

{"events":[{"name":"arrested","data":null}]}

prison_escape note​

Data Example:

{"events":[{"name":"prison_escape","data":null}]}

hide_start note​

Data Example:

{"events":[{"name":"hide_start","data":null}]}

hide_end note​

Data Example:

{"events":[{"name":"hide_end","data":null}]}

vehicle_enter note​

Also fires when the player spawns in a zone already driving (after driving between zones).

Data Example:

{"events":[{"name":"vehicle_enter","data":null}]}

vehicle_exit note​

Also fires when a load screen starts while the player is driving.

Data Example:

{"events":[{"name":"vehicle_exit","data":null}]}

inventory​

Info Updates​

keyCategoryValuesNotesSince GEP Ver.
item_in_handsinventoryThe item id in the player's hands, or null when the hands are empty.See notes319.0

item_in_hands note​

Sent when the player takes, switches or puts away an item. Example ids: dp9_m1, kl545_m1, harris500_m2, painkiller_1, armor_plate_1.

Data Example:

{"info":{"inventory":{"item_in_hands":"dp9_m1"}},"feature":"inventory"}
{"info":{"inventory":{"item_in_hands":"harris500_m2"}},"feature":"inventory"}
{"info":{"inventory":{"item_in_hands":null}},"feature":"inventory"}

Events​

EventEvent DataFired WhenNotesSince GEP Ver.
lootContainer nameThe player searched a container, loot node, car or loot bag.See notes319.0
item_picked_upItem nameThe player picked up a single item.See notes319.0
break_inTarget nameThe player smashed glass or another breakable entry point.See notes319.0
hack_security_panelPanel nameThe player hacked a security panel.See notes319.0
sell_lootTrader nameThe player sold loot to a trader or fence.See notes319.0
collect_cashCash point nameThe player picked up the cash after selling.See notes319.0
cargo_exchangeExchanger nameThe player used a cargo exchanger.See notes319.0

loot note​

Counted in match_end.loot_count. Example values: dumpster_node, container_type_cashbox, safe, office_cabinet, vehicle_loot.

Data Example:

{"events":[{"name":"loot","data":"dumpster_node"}]}
{"events":[{"name":"loot","data":"container_type_cashbox"}]}

item_picked_up note​

Counted in match_end.items_picked_up. Example values: necklace_1, watch_5, ring_1, dp9_m1.

Data Example:

{"events":[{"name":"item_picked_up","data":"necklace_1"}]}

break_in note​

Data Example:

{"events":[{"name":"break_in","data":"glass"}]}

hack_security_panel note​

Data Example:

{"events":[{"name":"hack_security_panel","data":"sample_security_panel"}]}

sell_loot note​

Data Example:

{"events":[{"name":"sell_loot","data":"buyer"}]}

collect_cash note​

Data Example:

{"events":[{"name":"collect_cash","data":"buyer_cash_loot_point"}]}

cargo_exchange note​

Data Example:

{"events":[{"name":"cargo_exchange","data":"cargo_exchanger"}]}

interaction​

Events​

EventEvent DataFired WhenNotesSince GEP Ver.
interactionTarget and providerThe player used ("E") anything in the world.See notes319.0

interaction note​

Holding the key counts as a single interaction.

List of parameters:

  • target - the object the player interacted with.
  • provider - the kind of object, for example:
    • vehicle
    • vehicle_spawner
    • hide_object
    • loot_node
    • location_loot_node
    • loot_object
    • security_panel
    • composite - NPCs, ATMs.
    • custom_interaction
    • battle_character

Data Example:

{"events":[{"name":"interaction","data":"{\"target\":\"car_fukurou_spark\",\"provider\":\"vehicle\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"parking\",\"provider\":\"vehicle_spawner\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"cupboard_hide\",\"provider\":\"hide_object\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"trash_can_big\",\"provider\":\"hide_object\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"dumpster_node\",\"provider\":\"location_loot_node\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"container_type_cashbox\",\"provider\":\"loot_node\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"sample_security_panel\",\"provider\":\"security_panel\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"atm\",\"provider\":\"composite\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"barter_trader\",\"provider\":\"composite\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"strip_dancer\",\"provider\":\"custom_interaction\"}"}]}
{"events":[{"name":"interaction","data":"{\"target\":\"character\",\"provider\":\"battle_character\"}"}]}

Full session example​

Recorded session: main menu → hub → drive to the city → rob → escape by car → hub → quit.

scene main_menu
scene loading
player_state idle
role hubber
scene hub
interaction {"target":"parking","provider":"vehicle_spawner"}
interaction {"target":"car_fukurou_spark","provider":"vehicle"}
player_state in_vehicle + vehicle_enter
player_state idle + vehicle_exit (load screen: driving out)
scene loading
player_state in_vehicle + vehicle_enter (spawned driving)
role citizen
scene city
match_start
role robber + became_robber
loot dumpster_node
player_state hidden + hide_start
player_state idle + hide_end
hack_security_panel sample_security_panel
loot container_type_cashbox
player_state in_vehicle + vehicle_enter
player_state idle + vehicle_exit (load screen: driving out)
scene loading
player_state in_vehicle + vehicle_enter (arrived driving)
role hubber
escaped
match_end {"outcome":"escaped","duration":415,"became_robber":true,"was_cop":false,"loot_count":3,"items_picked_up":0,"knockouts":0}
scene hub
player_state idle + vehicle_exit
scene main_menu