Bi-directional communication with bot#42
Conversation
|
We'll need to talk with Discord staff about running this data through Discord first, since it seems we've been causing traffic issues. If we get a dedicated server up and running, we'd definitely like to look into a crowdsourced sniper feed! On hold for now |
|
Holy s**t! This is awesome! If lot of people use this, pogo api wont be necessary anymore to snipe |
|
What i want to know is, does it potentially create a snipe loop (potentially only twice i guess) on the same pokes fed back to itself. Example: Prolly going to get my ass chewed out for not looking through the code again to check that its getting the data from wild hunting and not sniping. On the surface though, it looks to me like its only reading the catch line. (on PokeMobBot code i mean) What we do need to do though is move away from discord servers and push this to IRC. |
|
@LNSDISCORDER PokeMobBot #225, the counterpart to this PR, only echoes Wild and Lure encounters (as I mentioned in the OP), so no snipe loop. |
|
Was this accepted into the pokemobbot/necro? |
|
No, the thinking was that it might put an undue load on the Discord servers.
|
|
Wait, it didn't get accepted by pogofeeder or by the bot team? |
|
Both PogoLocationFeeder and the bot teams had the same concerns about flooding Discord. My code only relays lure and random encounters, so every encounter should be unique unless you are in a nest (which would be valuable information to collect). I added the Move1 and Move2 support myself. Previously I also only got ID, IV, and location.
|
This branch enables bi-directional communication with PokeMobBot after Pull Request 225 which allows these bots to be turned into coordbots during normal operation (wild encounters and lure encounters). Settings are changed with a new element:
Formatis a formatted string with the replaceable parameters 0: latitude, 1: longitude, 2: IV, 3: timestamp, 4: ID, 5: move 1, 6: move 2Alwaysmeans this rule will always match (should be used for testing only)MinimumIvmeans this rule will match if IV is above a certain percentageIdsmeans this rule will match only certain PokemonMovesmeans this rule will match certain Pokemon movesMovesToMatchis the minimum number of listed moves (above) that must be presentChannelsis an array with keys that match case-insensitive substrings of the servers you have access to, the the value is an array of the exact names of the channels in that server you want to broadcast toOne rule can be created to broadcast to multiple channels on multiple servers. If
MinimumIvandIdsare both specified, then both must match ("and" behavior).