last think can you make to me anthor plugin
to summon grap pick too please
thank to you vary much
I need it to summon grap pet in spicfic time and termanite in other time
thank you dear
Sorry, I miscalculated.
I added this unsummon option in xControl, but I couldn’t add the summon option, so I would like to know if @Ryan would pass the code to me; D
Well heres an example, the issue here is this would also summon fellows or anything with the words “Summon Scroll”. To keep it simple, If you want to make it for your specific pet name then replace this:
if 'Summon Scroll' in name:
with
if name == r"your pet item name":
This is also for isro so you may have to get xPackettool and check the packet if your not in isro.
def Summon():
items = get_inventory()['items']
for slot, item in enumerate(items):
if item:
name = item['name']
if 'Summon Scroll' in name:
p = struct.pack('B',slot) #Inventory Slot
p += b'\xCD\x08'
log('Plugin: Using "'+name+'"')
inject_joymax(0x704C,p,True)
return
log(r'Plugin: You dont have any Summon Pets')
After president save this code as .py in the plugin file? will it be called from script? I don’t know in which folder and with what extension to save the above code. Capturing code with Xpackettool is no problem.
Well you either dont have something in your inventory with the right name or you have copied it wrong. Again this is just an example that i did for a fellow, youll have to change the packet and name to fit your needs.