TWB icon indicating copy to clipboard operation
TWB copied to clipboard

Snob recrutation

Open emajju opened this issue 3 years ago • 10 comments

Hi reservation resources and recrutation of snob seems to not working. I've set needed snobs to 2 and enabled prioritize snob but nothing happend.

2022-01-07 09:34:56 - Requests - DEBUG - GET https://pl171.plemiona.pl/game.php?village=******&screen=snob [200] 2022-01-07 09:35:19 - Requests - DEBUG - GET https://pl171.plemiona.pl/game.php?village=******&screen=snob&action=train&h=2b762ca7 [200] 2022-01-07 09:35:19 - Recruitment: **** - INFO - barracks still busy for 1:24:43 there is run log

emajju avatar Jan 07 '22 10:01 emajju

Hi, is your world using the coin system or the newer one?

stefan2200 avatar Jan 07 '22 11:01 stefan2200

Coins, I have proper coins number for one snob

emajju avatar Jan 07 '22 13:01 emajju

Guessing by the log you provided the snob request was actually sent. They might have changed some calls for snob creation but I am currently playing on a new world where I don't have access to snobs. Can you please send me the snob create form or the payload for snob creation? Please make sure you redact all traceable information like village ID etc..

stefan2200 avatar Jan 07 '22 15:01 stefan2200

How i should get those data? I guess that ctrl+s on snob creation page would not work ;) About data, i see now. I'll try to be more hidden :P

emajju avatar Jan 07 '22 15:01 emajju

You can press CTRL+U on your keyboard and search for the text that is in the "train" button (language dependent). Then look for something called <form or anything that looks like the URL from the log https://pl171.plemiona.pl/game.php?village=******&screen=snob&action=train&h=2b762ca7

stefan2200 avatar Jan 07 '22 15:01 stefan2200

`

 

  |   |   |   |
  |   |   |   |   |
  |   |   |   |   |
  |     |   |   |   |   |   |
  |

Pałac (poziom 1)

  | W pałacu możesz rekrutować szlachciców. Pozwolą Ci oni podbijać inne wioski poprzez redukcję ich poparcia.   |
  |     |   |   |   |   |   |   |     |   |     |   |   |   |
JednostkaZapotrzebowanieCzas
(gg:mm:ss)
W wiosce/
Razem
Wytworzyć
  |   | Szlachcic Szlachcic   |   |   | 40.000   | 50.000   | 50.000   | 1002:30:570/0Surowce dostępne jutro o 14:03
  |
  |     |

Liczba szlachciców, których można wyprodukować:

  |   |   |   |   |   |   |   |   |   |   |   |   |
Limit szlachciców:2
Posiadani szlachcice:   | 0   |
- szlachcice w produkcji:   | 0   |
- liczba podbitych wiosek:1
Można jeszcze wyprodukować:1

  |     |     |   |   |   |
  | Złote monety   |

Złote monety

  |

  | Aby móc wytworzyć następnych szlachciców musisz wybić monety. Im więcej monet posiadasz, tym więcej wiosek możesz podbić.   |

  |
  |     |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |     |   |     |   |   |   |   |
Złote monety
Razem:3
Szlachcice
Obecny limit szlachciców:2
Do limitu szlachciców 3 brakuje jeszcze: 3 złote monety
Do limitu szlachciców 3 zaoszczędzono już:0 złotych monet
ZapotrzebowanieWybij monety
  |
  | 28.000   | 30.000   | 25.000   |
  |
  | Surowce dostępne dzisiaj o 22:10   |
  |     |
  |
  |
  |     |

  | Czas: * *   |   |

  |     |   |   |   |   |     |   |   |   |   |   |   |     |     |     |   |   |   `

See if that will help, actually bot will not try to collect resources for snob. Only try to create it. After that, it will recruit normal units.

emajju avatar Jan 07 '22 19:01 emajju

Hey @cemalgndzz,

I've removed your HTML since it contained data that could be easily used to check if you use a bot :)

On my worlds it appears to work fine so it must be a locale based issue which could be easily fixed. To make it easier for me:

  • Did it send the request and not recruit the snob?
  • Is this only impacting the recruiting function or also the coin creation?

stefan2200 avatar Oct 02 '23 19:10 stefan2200

Unsure why but I made this stuff way more complicated than it actually should. Could you perhaps try with this version? test-snob

stefan2200 avatar Oct 03 '23 18:10 stefan2200

@stefan2200 Hey I tried the branch, it seems like it works now, not recruiting any troops and requested resources. It wasn't request resources for 'snob' before

cemalgndzz avatar Oct 03 '23 19:10 cemalgndzz

@stefan2200 The problem that I encounter now is that it reserves resources and produce coin for snob but, even tho I have enough coins to produce snob, It continues to produce coin. How can we fix that do you think ?

cemalgndzz avatar Oct 04 '23 13:10 cemalgndzz