Python Forum
Can someone make me a code that does this?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can someone make me a code that does this?
#1
Basically, there's a pubg bot, that idles. But there's a problem with the bot, it get's stuck on this screen[Image: xYv3QzH.png]. Now here's the default script the original developer made for 720p
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
""720":{
    "color_tolerance": 15,
    "colors":{
      "dark_play_color":{
        "r": 243,
        "g": 200,
        "b": 66
      },
      "play_color":{
        "r": 255,
        "g": 203,
        "b": 0
      },
      "super_white_button":{
        "r": 255,
        "g": 255,
        "b": 255
      },
      "matching_color":{
        "r": 239,
        "g": 198,
        "b": 30
      },
      "matching_tick_color":{
        "r": 150,
        "g": 150,
        "b": 152
      },
      "text_start_color":{
        "r": 118,
        "g": 94,
        "b": 6
      },
      "white_button":{
        "r": 129,
        "g": 129,
        "b": 129
      },
      "gray_button":{
        "r": 83,
        "g": 83,
        "b": 83
      },
      "golden_button":{
        "r": 255,
        "g": 182,
        "b": 0
      },
      "windows_background":{
        "r": 255,
        "g": 255,
        "b": 255
      },
      "exit_button_color":{
        "r": 219,
        "g": 219,
        "b": 219
      },
      "reconnect_button_color":{
        "r": 231,
        "g": 164,
        "b": 0
      }
    },
    "timers": {
      "refresh_rate": 0.5,
      "wait_after_killing_a_game": 10,
      "start_delay": 20,
      "animation_delay": 0.5,
      "wait_for_players": 60,
      "wait_for_plain": 300,
      "exit_animation_delay": 1,
      "loading_delay": 3
    },
    "play_button":{
      "x": 121,
      "y": 722
    },
    "play_state":{
      "x": 158,
      "y": 71
    },
    "text":{
      "x": 866,
      "y": 494
    },
    "exit_to_lobby":{
      "x": 581,
      "y": 422
    },
    "error_position":{
      "x": 960,
      "y": 540
    },
    "error_ok_position":{
      "x": 1113,
      "y": 450
    },
    "game_message_position":{
      "x": 988,
      "y": 558
    },
    "exit_button_position":{
      "x": 607,
      "y": 397
    },
    "reconnect_button_position":{
      "x":970,
      "y": 520
    },
    "servers":[
      {
        "title": "NA",
        "x": 72,
        "y": 207
      },
      {
        "title": "EU",
        "x": 72,
        "y": 246
      },
      {
        "title": "AS",
        "x": 72,
        "y":283
      },
      {
        "title": "OC",
        "x": 72,
        "y": 366
      },
      {
        "title": "SA",
        "x": 72,
        "y": 405
      },
      {
        "title": "SEA",
        "x": 72,
        "y": 445
      }
    ],
    "modes":[
      {
        "title": "Squad",
        "x": 71,
        "y": 565,
        "tick":{
          "x": 183,
          "y": 601
        }
      },
      {
        "title": "Squad FPP",
        "x": 71,
        "y": 565,
        "tick":{
          "x": 60,
          "y": 636
        }
      }
    ]
  },
  "w1440":{
    "color_tolerance": 15,
    "colors":{
      "dark_play_color":{
        "r": 247,
        "g": 198,
        "b": 20
      },
      "play_color":{
        "r": 255,
        "g": 203,
        "b": 0
      },
      "super_white_button":{
        "r": 255,
        "g": 255,
        "b": 255
      },
      "matching_color":{
        "r": 239,
        "g": 198,
        "b": 30
      },
      "matching_tick_color":{
        "r": 150,
        "g": 150,
        "b": 152
      },
      "text_start_color":{
        "r": 118,
        "g": 94,
        "b": 6
      },
      "white_button":{
        "r": 129,
        "g": 129,
        "b": 129
      },
      "gray_button":{
        "r": 83,
        "g": 83,
        "b": 83
      },
      "golden_button":{
        "r": 255,
        "g": 182,
        "b": 0
      },
      "windows_background":{
        "r": 255,
        "g": 255,
        "b": 255
      },
      "exit_button_color":{
        "r": 219,
        "g": 219,
        "b": 219
      },
      "reconnect_button_color":{
        "r": 231,
        "g": 164,
        "b": 0
      }
    },
    "timers": {
      "refresh_rate": 0.5,
      "wait_after_killing_a_game": 10,
      "start_delay": 30,
      "animation_delay": 0.5,
      "wait_for_players": 60,
      "wait_for_plain": 300,
      "exit_animation_delay": 1,
      "loading_delay": 3
    },
    "play_button":{
      "x": 172,
      "y": 991
    },
    "play_state":{
      "x": 199,
      "y": 99
    },
    "text":{
      "x": 866,
      "y": 494
    },
    "exit_to_lobby":{
      "x": 704,
      "y": 583
    },
    "error_position":{
      "x": 960,
      "y": 540
    },
    "error_ok_position":{
      "x": 1113,
      "y": 450
    },
    "game_message_position":{
      "x": 988,
      "y": 558
    },
    "exit_button_position":{
      "x": 632,
      "y": 483
    },
    "reconnect_button_position":{
      "x":970,
      "y": 520
    },
    "servers":[
      {
        "title": "NA",
        "x": 72,
        "y": 207
      },
      {
        "title": "EU",
        "x": 72,
        "y": 246
      },
      {
        "title": "AS",
        "x": 72,
        "y":283
      },
      {
        "title": "OC",
        "x": 72,
        "y": 366
      },
      {
        "title": "SA",
        "x": 72,
        "y": 405
      },
      {
        "title": "SEA",
        "x": 72,
        "y": 445
      }
    ],
    "modes":[
      {
        "title": "Squad",
        "x": 101,
        "y": 773,
        "tick":{
          "x": 83,
          "y": 839
        }
      },
      {
        "title": "Squad FPP",
        "x": 101,
        "y": 773,
        "tick":{
          "x": 79,
          "y": 875
        }
      }
    ]
  }
}
I tried adding something like "match_still_inprogresscancel" "x": 720 "y": 440" but it didn't work, because i never coded in my life before. I contacted the bot's dev but he has lost interest on the bot.

Mod: https://github.com/Cloxen/PUBG-Battlepoint-FarmBot
Reply
#2
I think the config you want to try to change is "exit_to_lobby". It looks like it's doing everything it's supposed to do, except once it tries to actually leave the game, it doesn't. Which means it doesn't know where the exit button is (it says "continue").
Reply
#3
Hi,

I can help.

You can reach me on Skype: cisin.arnold or Email: arnold.cis20@gmail.com so that we can discuss this further.

Arnold
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020