randalthor 6 Posted August 25, 2015 My current method trying to withdraw trout from a bank for a combat bot is not working. In practice the player goes to the bank, opens it, deposits the whole inventory, and then runs back to the monsters it is fighting without withdrawing trout. Because I have a condition in my script to go to the bank when out of food and my player never withdraws food before returning, there is an endless cycle of running from and back to the bank without fighting monsters. Could someone please point out the error in my script method? I would also like advice on making it more efficient and more readable. http://pastebin.com/7hFjc6dn edit: my link had a space after the "dn" it should work now. http://pastebin.com/7hFjc6dn
Vlad 216 Posted August 25, 2015 Paste was removed? I'd love to help you. http://pastebin.com/7hFjc6dn
randalthor 6 Author Posted August 26, 2015 what changed with the update pandemic? Same code as yesterday yet now it it working. Now that my script is banking, another problem occurs. My method also opens a door if it is closed when returning to the fighting location. By using log(string) I've confirmed that the "Large door" is not null and has the option to "Open". However my script does not follow the door.interact("Open"); command as expected. Is this another problem that will be fixed in the latest version like the last one, or is it a scripting mistake? http://pastebin.com/ePmby6D3
Recommended Posts
Archived
This topic is now archived and is closed to further replies.