Results 1 to 3 of 3
  1. #1
    serenity13371's Avatar
    Join Date
    Jul 2018
    Gender
    male
    Posts
    14
    Reputation
    10
    Thanks
    68

    Grimoire Question Related It's Commands

    Hello, guys. I have a question. Recently I started doing my own bots, and I was wondering if "if" function can work like this:

    Is in inventory: X Item (Quantity: 49/50)
    Get drop: X Item

    Will they corelate or ignore eachother? Since the get drop command is not part of the "if" functions...

    Why am I asking? Well... the get drop / item wishlist tab is programmed to accept sometimes two items instead of one (after the next kill, so it avoids packet spamming at a faster rate). I understand that, but sometimes bots get stuck at 49/50, the bot is confused and cannot accept the last item drop since it accepts two sometimes instead of one as I said.

    If it's not working like this, then please tell me how to overcome this situation. I am a beginner, so that's why I'm asking you guys out.

    Thank you very much in advance!

  2. #2
    ParthenonBliss's Avatar
    Join Date
    Sep 2019
    Gender
    male
    Posts
    41
    Reputation
    10
    Thanks
    272
    My Mood
    Angelic
    There are different ways to solve this problem:

    [label]
    Kill *
    If Item has dropped : X
    Get Drop: X
    goto: label

    or you can

    Kill for Item: X; 48
    Kill *
    Get Drop: X
    Kill *
    Get Drop: X

    or you can merge them if you item doesnt have a 100% drop:

    [label]
    kill for item: X; 48
    kill *
    If Item has dropped : X
    Get Drop: X
    if item isnt in inventory: X; 50
    goto: label

    I suggest using grimoire 3.8+, as it has better if statements.

    Because 2 and 3 combines get drop and whitelist, I suggest 1 if you have d/c issues. Good Luck.
    Last edited by ParthenonBliss; 10-05-2019 at 06:14 AM.

  3. The Following User Says Thank You to ParthenonBliss For This Useful Post:

    Poonce (10-05-2019)

  4. #3
    meme's Avatar
    Join Date
    Jan 2016
    Gender
    male
    Location
    42.434720, -83.985
    Posts
    8,074
    Reputation
    1403
    Thanks
    2,412
    My Mood
    Lurking
    over a week since last response from op

    /solved

Similar Threads

  1. Small question with 6 PTC Commands
    By killerld in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 2
    Last Post: 07-25-2010, 08:24 AM
  2. Simple question about a console command.
    By PP_CrazyApple in forum Call of Duty Modern Warfare 2 Private Servers
    Replies: 1
    Last Post: 07-11-2010, 09:14 AM
  3. My question relates to Combat Arms.
    By dadirty in forum General Game Hacking
    Replies: 3
    Last Post: 09-10-2009, 02:43 PM
  4. Question related to modem tapping!
    By en1gmat1c in forum Combat Arms Discussions
    Replies: 5
    Last Post: 09-04-2009, 09:08 AM
  5. Question relating to asus hack?!
    By xasx in forum Combat Arms Europe Hacks
    Replies: 10
    Last Post: 02-23-2009, 06:00 AM