@@ -171,48 +171,57 @@ private void CountSysBotCharmRecovery_ValueChanged(object sender, EventArgs e)
171
171
// Battle Items
172
172
private void CountSysBotAncientPotion_ValueChanged ( object sender , EventArgs e )
173
173
{
174
-
174
+ SysBotLog . Text += Environment . NewLine + $ "Writing Ancient Potions: { CountSysBotAncientPotion . Value } ";
175
+ WriteHeap ( CountSysBotAncientPotion . Value , DataOffsets . PointerAncientPotion ) ;
175
176
}
176
177
177
178
private void CountSysBotDustOfLife_ValueChanged ( object sender , EventArgs e )
178
179
{
179
-
180
+ SysBotLog . Text += Environment . NewLine + $ "Writing Dust Of Lifes: { CountSysBotDustOfLife . Value } ";
181
+ WriteHeap ( CountSysBotDustOfLife . Value , DataOffsets . PointerDustOfLife ) ;
180
182
}
181
183
182
184
private void CountSysBotHeartChurro_ValueChanged ( object sender , EventArgs e )
183
185
{
184
-
186
+ SysBotLog . Text += Environment . NewLine + $ "Writing Heart Churros: { CountSysBotHeartChurro . Value } ";
187
+ WriteHeap ( CountSysBotHeartChurro . Value , DataOffsets . PointerHeartChurro ) ;
185
188
}
186
189
187
190
private void CountSysBotSurrogateGem_ValueChanged ( object sender , EventArgs e )
188
191
{
189
-
192
+ SysBotLog . Text += Environment . NewLine + $ "Writing Surrogate Gems: { CountSysBotSurrogateGem . Value } ";
193
+ WriteHeap ( CountSysBotSurrogateGem . Value , DataOffsets . PointerSurrogateGem ) ;
190
194
}
191
195
192
196
private void CountSysBotPowerPaintball_ValueChanged ( object sender , EventArgs e )
193
197
{
194
-
198
+ SysBotLog . Text += Environment . NewLine + $ "Writing Power Paintballs: { CountSysBotPowerPaintball . Value } ";
199
+ WriteHeap ( CountSysBotPowerPaintball . Value , DataOffsets . PointerPowerPaintball ) ;
195
200
}
196
201
197
202
private void CountSysBotSuperWhetstone_ValueChanged ( object sender , EventArgs e )
198
203
{
199
-
204
+ SysBotLog . Text += Environment . NewLine + $ "Writing Super Whetstones: { CountSysBotSuperWhetstone . Value } ";
205
+ WriteHeap ( CountSysBotSuperWhetstone . Value , DataOffsets . PointerSuperWhetstone ) ;
200
206
}
201
207
202
208
private void CountSysBotMegaBarrelBomb_ValueChanged ( object sender , EventArgs e )
203
209
{
204
-
210
+ SysBotLog . Text += Environment . NewLine + $ "Writing Mega Barrel Bombs: { CountSysBotMegaBarrelBomb . Value } ";
211
+ WriteHeap ( CountSysBotMegaBarrelBomb . Value , DataOffsets . PointerMegaBarrelBomb ) ;
205
212
}
206
213
207
214
// Crafting
208
215
private void CountSysBotWeaponSphereL_ValueChanged ( object sender , EventArgs e )
209
216
{
210
-
217
+ SysBotLog . Text += Environment . NewLine + $ "Writing Weapon Sphere Ls: { CountSysBotWeaponSphereL . Value } ";
218
+ WriteHeap ( CountSysBotWeaponSphereL . Value , DataOffsets . PointerWeaponSphereL ) ;
211
219
}
212
220
213
221
private void CountSysBotArmorSphereL_ValueChanged ( object sender , EventArgs e )
214
222
{
215
-
223
+ SysBotLog . Text += Environment . NewLine + $ "Writing Armor Sphere Ls: { CountSysBotArmorSphereL . Value } ";
224
+ WriteHeap ( CountSysBotArmorSphereL . Value , DataOffsets . PointerArmorSphereL ) ;
216
225
}
217
226
218
227
private void ReloadValues ( )
@@ -267,8 +276,9 @@ private void ReloadValues()
267
276
CountSysBotCharmRecovery . Value = RecoveryCharms ;
268
277
CountSysBotCharmRecovery . Enabled = true ;
269
278
270
- SysBotLog . Text += Environment . NewLine + $ "{ DataOffsets . PointerCharmRecovery } ";
271
- } catch ( Exception ex )
279
+ SysBotLog . Text += Environment . NewLine + $ "{ DataOffsets . PointerCharmRecovery } ";
280
+ }
281
+ catch ( Exception ex )
272
282
{
273
283
CountSysBotCharmTraining . Enabled = false ;
274
284
CountSysBotCharmGathering . Enabled = false ;
@@ -285,8 +295,29 @@ private void ReloadValues()
285
295
// Battle Items
286
296
try
287
297
{
288
-
289
- } catch ( Exception ex )
298
+ uint AncientPotions = ( uint ) PointerHandler . GetPointerAddress ( sb , DataOffsets . PointerAncientPotion ) ;
299
+ CountSysBotAncientPotion . Value = AncientPotions ;
300
+ CountSysBotAncientPotion . Enabled = true ;
301
+ uint DustOfLifes = ( uint ) PointerHandler . GetPointerAddress ( sb , DataOffsets . PointerDustOfLife ) ;
302
+ CountSysBotDustOfLife . Value = DustOfLifes ;
303
+ CountSysBotDustOfLife . Enabled = true ;
304
+ uint HeartChurros = ( uint ) PointerHandler . GetPointerAddress ( sb , DataOffsets . PointerHeartChurro ) ;
305
+ CountSysBotHeartChurro . Value = HeartChurros ;
306
+ CountSysBotHeartChurro . Enabled = true ;
307
+ uint SurrogateGems = ( uint ) PointerHandler . GetPointerAddress ( sb , DataOffsets . PointerSurrogateGem ) ;
308
+ CountSysBotSurrogateGem . Value = SurrogateGems ;
309
+ CountSysBotSurrogateGem . Enabled = true ;
310
+ uint PowerPaintballs = ( uint ) PointerHandler . GetPointerAddress ( sb , DataOffsets . PointerPowerPaintball ) ;
311
+ CountSysBotPowerPaintball . Value = PowerPaintballs ;
312
+ CountSysBotPowerPaintball . Enabled = true ;
313
+ uint SuperWhetstones = ( uint ) PointerHandler . GetPointerAddress ( sb , DataOffsets . PointerSuperWhetstone ) ;
314
+ CountSysBotSuperWhetstone . Value = SuperWhetstones ;
315
+ CountSysBotSuperWhetstone . Enabled = true ;
316
+ uint MegaBarrelBombs = ( uint ) PointerHandler . GetPointerAddress ( sb , DataOffsets . PointerMegaBarrelBomb ) ;
317
+ CountSysBotMegaBarrelBomb . Value = MegaBarrelBombs ;
318
+ CountSysBotMegaBarrelBomb . Enabled = true ;
319
+ }
320
+ catch ( Exception ex )
290
321
{
291
322
LogError ( ex ) ;
292
323
}
@@ -299,7 +330,8 @@ private void ReloadValues()
299
330
uint ArmorSphereLs = ( uint ) PointerHandler . GetPointerAddress ( sb , DataOffsets . PointerArmorSphereL ) ;
300
331
CountSysBotArmorSphereL . Value = ArmorSphereLs ;
301
332
CountSysBotArmorSphereL . Enabled = true ;
302
- } catch ( Exception ex )
333
+ }
334
+ catch ( Exception ex )
303
335
{
304
336
CountSysBotWeaponSphereL . Enabled = false ;
305
337
CountSysBotArmorSphereL . Enabled = false ;
0 commit comments