-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Info button on webUI not working #4885
Comments
We're using a very old (and dirty) commit of the WebUI. Issue is caused by I'm not sure if it worth to keep everything in place to not break web. I think it's better to move to a websockets web. |
after i've set the "UpdateLiveStats", to true the info button is working again |
Then it's not being initialised when UpdateLiveStats is set to false. |
@Jasperrr91 and is there any? 'cause i see the websocket_server option in the config, but it's not documented at all. can't even specify a port for it to use... |
@r3pek yes: https://github.com/PokemonGoF/PokemonGo-Web/tree/rewrite I believe this websocket_server documentation is severely outdated. I'll update it later today. |
This issue was fixed a few days ago. Closing. |
Expected Behavior
Bot details is shown when pressing INFO button in WebUI
Actual Behavior
if webpage have just been reloaded only a small box with the word "SUBMENU" is shown, if any other button have been pressed (ITEMS, POKEMON, POKEDEX) then its the last shown box that will be reopened when pressing the INFO button
Your FULL config.json (remove your username, password, gmapkey and any other private info)
{
"websocket_server": false,
"heartbeat_threshold": 10,
"enable_social": true,
"live_config_update": {
"enabled": false,
},
{
"type": "TransferPokemon",
"config": {
"min_free_slot": 5,
"transfer_wait_min": 1,
"transfer_wait_max": 4
}
},
{
"type": "UpdateLiveStats",
"config": {
"enabled": false,
"min_interval": 10,
"stats": ["username", "uptime", "stardust_earned", "xp_earned", "xp_per_hour", "stops_visited"],
"terminal_log": true,
"terminal_title": true
}
},
],
"map_object_cache_time": 5,
"forts": {
"avoid_circles": true,
"max_circle_size": 50,
"cache_recent_forts": true
},
"walk_min": 13,
"walk_max": 23,
"sleep_schedule": [
{
"time": "22:53",
"duration": "7:39",
"time_random_offset": "00:30",
"duration_random_offset": "00:30",
"wake_up_at_location": ""
}
],
"alt_min": 500,
"alt_max": 1000,
"gps_default_altitude": 8.0,
"replicate_gps_xy_noise": false,
"replicate_gps_z_noise": false,
"gps_xy_noise_range": 0.000125,
"gps_z_noise_range": 12.5,
"action_wait_min": 1,
"action_wait_max": 5,
"debug": false,
"test": false,
"health_record": false,
"location_cache": true,
"distance_unit": "km",
"reconnecting_timeout": 1,
"logging": {
"color": true,
"show_datetime": true,
"show_process_name": false,
"show_log_level": false
},
"catch_randomize_reticle_factor": 1.0,
"catch_randomize_spin_factor": 1.0,
"catch_throw_parameters": {
"excellent_rate": 0.7,
"great_rate": 0.5,
"nice_rate": 0.3,
"normal_rate": 0.1,
"spin_success_rate" : 0.8
},
"catch": {
"any": {"catch_above_cp": 0, "catch_above_iv": 0, "logic": "or" },
},
"vips" : {
"Any pokemon put here directly force to use Berry & Best Ball to capture, to secure the capture rate!": {},
"any": {"catch_above_cp": 1200, "catch_above_iv": 0.9, "logic": "or" },
"Lapras": {},
"Moltres": {},
"Zapdos": {},
"Articuno": {},
}
}
Output when issue occurred
there's no output - bot is running as expected but just not updating its stats to the web ui
Steps to Reproduce
go into Web UI - click INFO button
Other Information
OS:
Ubuntui 14.04 LTS
Branch:
Latest DEV
The text was updated successfully, but these errors were encountered: