Jump to content
AC Tool Forums

marcos

Members
  • Content Count

    15
  • Joined

  • Last visited

About marcos

  • Rank
    Newbie
  • Birthday 09/12/1972

Profile Information

  • Gender
    Male
  • Location
    Southern California
  1. Take care Wabbit! See you when you get back.
  2. marcos

    Happy New Years

    Happy New Year WABBIT!
  3.   Thanks!  I was confused because when I clicked on that, It would type out "{Return" and that would give an error, and if I used that on Keys, it would just type it out. So it was missing the end bracket lol, Thank you.  Glad I could help! I had the same problem at first. I found it helpful to look at some of the provided code for examples. This cleared up some syntax issues I was having and also gave good examples of how and where to put in delays.
  4. Thank you Wabbit! I will use your code. Ego has also sent me code, thank you!  As for the special keystroke testing... We'll something strange is happening. For instance, when pressing {SPACE}, which would just have the character jump, it's also pressing "c" for consider. When I press the physical space bar, the character only jumps. There seems to be other keys having the same issue. I will have to test at home when I have time.  In the interim, I got my original code to work with the help from both of your's input, code, and suggestions. Thank you very much. I was able to run it successfully for a few hours last night with only a few hiccups (I might have bumped the mouse or something).   [EDIT] Looking at your code it should be noted that all EverQuest tradeskill combines cannot have more than one item stacked.
  5. Fantastic! Thank you Wabbit! Â I will implement this tonight and report back. Â I'll still test the other special keys to test for function.
  6. 1. It looks like you're seeing exactly what I am. While it's not optimum, I'm releaved that I'm not the only one. 2. I had the same issues with LeftClick so I made the lclick proceedure with the delay 200 in between the LeftMouseDown/Up. 3. That's why we're here 8 ) 4. I've tested {LEFT}, {RIGHT}, and {SPACE}. They all work! I will test the others tonight and advise. 5. RightMouseDown with a few seconds of holding should bring up the description of the item below the cursor. Thank you for the work around! I will test it tonight when I get home from work and report back.
  7. Excellent. Thank you for working on this. Â Got the messages!
  8. [EDIT ]I'm playing the game in windowed mode. All of the item locations are static and only need to be "CTRL M'd" once. That being said, I'm running 1280x800. Â I didn't put detailed comments in since I figured nobody else would see my code and yes, my naming conventions for everything is horrible! It's been a while since I've written any code. So, here's the breakdown. itemlocX is where the item will be picked up from [x,y]. This is where the LeftClick Ctrl needs to happen. Since I didn't see the control click in help, I tried a workaround with the just_one procedure. just_one runs after the cursor has been placed over the item and a LeftClick has been called. At this point in the game a box should have popped up with the total count of the item in the stack. It could be 1 to 20,if there is only one item the box won't pop up but neither LeftClick Ctrl or double {BACK} and 1 should affect the following code, "should". Also, at this point the focus of the keyboard is in the count pop up, so pressing backspace will delete the count and typing a number in will adjust how many items are to be picked up, {RETURN} closes the item count pop up and places the amount of items on the cursor that was in the count pop up box. Once this works properly there should only be one item on the cursor. placelocX is where the item will be placed [x,y]. This is the tradeskill container (forge, oven, loom, etc) but for testing purposes it can just be any other inventory slot. This function works. TS_Combine runs next. This moves the cursor to the combine button on the tradeskill container, LeftClick's it, and then presses "=". The last key "=" can be any key, it just needs to be keybound in game to a hotkey with /autoinventory and this will drop whatever is on the cursor (created item, failed return item, or nothing) into the first available inventory slot. I will add the loop function for stack count and tidy everything up after I get everything to work. For testing here's the easiest thing to do. When you create a new character you will have a stack of 5 food and 5 drink in your inventory, press "i" to see this. You can test out your control leftclick and see that it will pick up just one item from the stack. This, if LeftClick Ctrl works will pick up one item from the stack and drop it into another inventory slot. SetActiveWindow EverQuest MousePos xxx, xxx //move the mouse over the item stack LeftClick Ctrl //pick up one item from the stack MousePos xxx, xxx //move the mouse over the empty inventory slot to drop the time into LeftClick //drop the item This, will click on the item stack, delete the count in the pop up, press 1 putting one item on the cursor, then drop the item into another inventory slot. SetActiveWindow EverQuest MousePos xxx, xxx //move the mouse over the item stack Keys {BACK} //removes the first digit in the count pop up Delay 200 Keys {BACK} //removes the second digit in the count pop up Delay 200 Keys 1 //enters 1 into count pop up Delay 200 Keys {RETURN} //place one item on the cursor MousePos xxx, xxx //move the mouse over the empty inventory slot to drop the time into LeftClick //drop the item
  9. You'll have to create an account, but it's free to play.  https://www.everquest.com/register  There's a link at the top of the form to download the game.  I've also tried this code on different computers, running different versions of Windows.
  10. I've corrected the CommandDelay syntax and it didn't fix the issue.  Here is the code.    //Everquest Tradeskill Macro //XXXXXXXXXXXXXXXXXXXXXXX CONSTANTS XXXXXXXXXXXXXXXXXXXXXXXXXXXX Constants count = 1 //Set this to the amount of items needed for combine itemloc1 = 1592, 669 itemloc2 = 1222, 605 itemloc3 = 1333, 615 itemloc4 = 1444, 615 itemloc5 = 1555, 615 itemloc6 = 1666, 615 placeloc1 = 1556, 668 placeloc2 = 1937, 222 placeloc3 = 1937, 333 placeloc4 = 1937, 444 placeloc5 = 1937, 555 placeloc6 = 1937, 666 End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXX MAIN LOOP XXXXXXXXXXXXXXXXXXXXXXXXXXXXX SetActiveWindow EverQuest CommandDelay 1000 Call item_count_$count //TEST SCRIPT //LeftMouseUp {Ctrl} 1.0 sec //MousePos 1599, 671 //delay 200 //LeftClick Ctrl  Bell asterisk //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXXX PROCEDURES XXXXXXXXXXXXXXXXXXXXXXXXXX Procedure lclick //Mouse click LeftMouseDown Delay 200 LeftMouseUp Delay 200 End Procedure just_one Keys {BACK} //removes the count Delay 200 Keys {BACK} //removes the count Delay 200 Keys 1 //enters 1 into count Delay 200 Keys {RETURN} //place one item on the cursor End Procedure TS_Combine //Combines TS items MousePos 1900, 720 //move cursor to TS combine button Delay 200 Call lclick Delay 200 Keys = //AUTO INVENTORY BOUND TO HOTBAR End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX First Item XXXXXXXXXXXXXXXXXXXXXXXXXXX Procedure TS_pickup_1 MousePos $itemloc1 DELAY 200 Call lclick Delay 200 Call just_one MousePos $placeloc1 Delay 200 Call lclick End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Second Item XXXXXXXXXXXXXXXXXXXXXXXXXXX Procedure TS_pickup_2 MousePos $itemloc2 DELAY 200 Call lclick Delay 200 Call just_one MousePos $placeloc2 Delay 200 Call lclick End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Third Item XXXXXXXXXXXXXXXXXXXXXXXXXXX Procedure TS_pickup_3 MousePos $itemloc3 DELAY 200 Call lclick Delay 200 Call just_one MousePos $placeloc3 Delay 200 Call lclick End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Fourth Item XXXXXXXXXXXXXXXXXXXXXXXXXXX Procedure TS_pickup_4 MousePos $itemloc4 DELAY 200 Call lclick Delay 200 Call just_one MousePos $placeloc4 Delay 200 Call lclick End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Fifth Item XXXXXXXXXXXXXXXXXXXXXXXXXXX Procedure TS_pickup_5 MousePos $itemloc4 DELAY 200 Call lclick Delay 200 Call just_one MousePos $placeloc5 Delay 200 Call lclick End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Sixth Item XXXXXXXXXXXXXXXXXXXXXXXXXXX Procedure TS_pickup_6 MousePos $itemloc6 DELAY 200 Call lclick Delay 200 Call just_one MousePos $placeloc6 Delay 200 Call lclick End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX One Item Macro XXXXXXXXXXXXXXXXXXXXXXX Procedure item_count_1 call TS_pickup_1 //call TS_combine End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Two Item Macro XXXXXXXXXXXXXXXXXXXXXXX Procedure item_count_2 call TS_pickup_1 call TS_pickup_2 call TS_combine End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Three Item Macro XXXXXXXXXXXXXXXXXXXXX Procedure item_count_3 call TS_pickup_1 call TS_pickup_2 call TS_pickup_3 call TS_combine End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Four Item Macro XXXXXXXXXXXXXXXXXXXXXX Procedure item_count_4 call TS_pickup_1 call TS_pickup_2 call TS_pickup_3 call TS_pickup_4 call TS_combine End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Five Item Macro XXXXXXXXXXXXXXXXXXXXXX Procedure item_count_5 call TS_pickup_1 call TS_pickup_2 call TS_pickup_3 call TS_pickup_4 call TS_pickup_5 call TS_combine End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX //XXXXXXXXXXXXXXXXXXXXXXX Six Item Macro XXXXXXXXXXXXXXXXXXXXXX Procedure item_count_6 call TS_pickup_1 call TS_pickup_2 call TS_pickup_3 call TS_pickup_4 call TS_pickup_5 call TS_pickup_6 call TS_combine End //XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX  The process requires one item to be picked up from a bag slot and placed into another container. This process is repeated until all of the required items are in the container for the combine, then the combine button is hit and the item is auto inventoried.  I didn't mean to steal any thunder from Cam or the others that have put the effort into this application, I appreciate all of your hard work.
  11. It's under "Special Keystrokes". Â Â Keys {RETURN}
  12. Thank you both for responding! Â I've tried both suggestions with the same results. Â I first tried Ego's suggestion of adding "commanddelay=150" to the top of the script and nothing changed. I bumped the delay up to 1000 and there was no change, the {BACK} key is not received. Â Wabbit, first off thank you for this great program! I've used it many times in EverQuest II and it was very helpful. Â I tried your suggestion of LeftClick Ctrl and it didn't work. "Ctrl" didn't turn red like other commands to I ran it under test and the report shows just "Mouse Click Left". Control does work. I can use "Keys ^n" to open a game window. It appears my version 5.51 doesn't recognize the Ctrl after LeftClick (or LeftClickDown and both rights).
  13. Hello everyone, I'm using AC Tool 5.51 and the command "Keys {BACK}" works in all applications except for EverQuest I. I've tested in Notepad++ and even EverQuest II, they both work as intended. Only in EverQuest I will {BACK} not work. Take this simple script: Â MousePos 1111, 615 Keys / Keys 1 Keys 2 Keys 3 Delay 1000 Keys {BACK} Keys 4 In EverQuest II (and Notepad ++) this script will start a "chat" command with "/", then type 123, pause a bit, then delete the 3, and type 4. In EverQuest I, the 3 doesn't get deleted. The test log shows the command is being called and there are no errors. There are no in game keybindings to BACKSPACE and pressing the BACKSPACE key during the delay works. I've tried KeyDown {BACK} 0.5 sec with the same results. I've searched the forums for "back not working", EverQuest scripts, Specialkeys and haven't found any fixes. I've read through other macros to see if there is another way to call {BACK} but haven't found any. Other special keys work, @o will open the options window as if I pressed ALT+o. {RETURN}, {SPACE} Also works. I've tested a few other special keystrokes and it's been hit and miss on which ones work or don't work. I'm using {BACK} as a workaround for not being able to "control leftclick" to pick up 1 item from a stack of items. I've tried ^LeftClick but that isn't a legal command. Any assistance would be greatly appreciated. Thank you!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and to our Privacy Policy.