Jump to content
AC Tool Forums

Search the Community

Showing results for tags 'script'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Forums
    • News
    • Feedback, Ideas and Suggestions
    • Website/Forums Support
  • AC Tool
    • AC Tool News
    • AC Tool Discussion
    • AC Tool FAQ
    • Divide
  • Divide Scripts
    • Divide Script Development
  • AC Tool Scripts
    • AC Tool Script Development
    • Asheron's Call Script Development
    • Asheron's Call Scripts
    • Earth & Beyond Emulator Developement
    • Earth & Beyond Emulator Scripts
    • Final Fantasy XI Online Development
    • Final Fantasy XI Online Scripts
    • Other Scripts
  • General
    • General Discusssion
    • Asheron's Call
    • C++/Delphi/VB Development
    • Off-Topic
  • Other Scripting Tools
    • Skunkworks

Categories

  • AC Tool
    • Source Code
    • AC Tool Scripts
  • Divide
    • Divide Scripts
  • Misc Files

Categories

  • Asheron's Call Tutorials

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 6 results

  1. I'm on Windows 10, and my game The Lord of The Rings Online, freezes everytime i start the program. I did not have this issue when i was using windows 7, anyone have any ideas? I've attached a picture and script.1 Thanks. freezing.bmp
  2. Hey guys, so my question is pretty simple, I just want to press two keys to do a certain action. Ex: Primary Code // This line is necessary to select the proper window SetActiveWindow Asheron's Call ClearGlobalKeys While 1=1 Delay 500 If {globalkeys} contains 065 // "A" key ClearGlobalKeys Keys WORKED !!!!!!!!! end end //Pressing key "A" appears "WORKED" As i would like // This line is necessary to select the proper window SetActiveWindow Asheron's Call ClearGlobalKeys While 1=1 Delay 500 If {globalkeys} contains 065 + 066 // "A" + "B" key ClearGlobalKeys Keys WORKED !!!!!!!!! end end //Pressing key "A" + "B" appears "WORKED" EDIT by The WABBIT: Moved the Topic to the proper forum to ask the question. And edited the topic to remove the Color from the code for our Sight challenged members to read it. Placed the code within code blocks with no syntax highlighting.
  3. Ciao! I don't know which game you guys played, but it's something similar to WoW auto-moving between quests. Sorry for my English knowledge.  Imagine this: If you are using the game's auto-move, then it's can be interrupted when someone/something hits you or you stuck up in something etc... If you are at the destination point (or stucked), your character is stop, then the macro chose which quest it is, then deal with it. I think that's the safest and the most human-like playing. Don't spam on auto-moving button like in every 5-6 seconds because may in the server side they can check how many and what times I have clicked on something.  If you reached the destination point, there is only ONE SECOND LEFT to chose which quest it is with color checking, because after that, the pop-up gone. There is totally random times between each destination points because they are totally randomized, can't be counted by time. Also, if you reached it, about 30% to you won't get a pop-up, then you should click on the auto-move button again and check for the quest type again.  So I have made the following procedure to check if the character is moving (not so high-level code ofc): procedure CheckMove using xPos, yPos  LoadRGB $xPos, $yPos  Set TempR = {RGBRed}  Set TempG = {RGBGreen}  Set TempB = {RGBBlue}  delay 500  LoadRGB $xPos, $yPos  if $TempR = {RGBRed} AND $TempG = {RGBGreen} AND $TempB = {RGBBlue}   Set Character = Stoped  else   Set Character = Moving  end end The current method can deal with this checking, but it burns my notebook's processor like this: (The "CheckCharacterMovement" is more precisious, it's called the CheckMove procedure at 5 positions to make it sure, if it's moving or some monster moving around me, after that, only 1 position is enough for checking, because it's 100% moving. + Also it's check twice, to make it 1000% sure.)  Macro Time: 3 seconds 271 milliseconds for Call GOBUTTON Macro Time: 550 milliseconds for Call CHECKMOVE Macro Time: 545 milliseconds for Call CHECKMOVE Macro Time: 535 milliseconds for Call CHECKMOVE Macro Time: 546 milliseconds for Call CHECKMOVE Macro Time: 2 seconds 190 milliseconds for Call CHECKCHARACTERMOVEMENT Macro Time: 542 milliseconds for Call CHECKMOVE Macro Time: 547 milliseconds for Call CHECKMOVE Macro Time: 549 milliseconds for Call CHECKMOVE Macro Time: 549 milliseconds for Call CHECKMOVE Macro Time: 2 seconds 200 milliseconds for Call CHECKCHARACTERMOVEMENT Macro Time: 545 milliseconds for Call CHECKMOVE Macro Time: 548 milliseconds for Call CHECKMOVE Macro Time: 550 milliseconds for Call CHECKMOVE Macro Time: 546 milliseconds for Call CHECKMOVE Macro Time: 547 milliseconds for Call CHECKMOVE Macro Time: 550 milliseconds for Call CHECKMOVE Macro Time: 547 milliseconds for Call CHECKMOVE Macro Time: 549 milliseconds for Call CHECKMOVE Macro Time: 547 milliseconds for Call CHECKMOVE Macro Time: 4 seconds 945 milliseconds for While $Character = Moving Macro Time: 61 milliseconds for While $Type = null AND $TypeCount < 100 Macro Time: 9 seconds 411 milliseconds for Call GETQUESTTYPE Macro Time: 3 seconds 180 milliseconds for Call DOQUEST If you guys has some ideas about how can I reduce processor-using, please share with me!  (It's not a big problem, with 6th gen i7, but I don't think it's the best way to make a program like spam the CPU.) Â
  4. Hello! I have wrote a script which can deal how much time Elapsed from a specific time: constants TempElapsed = 0 ElapsedDay = 0 ElapsedHour = 0 ElapsedMinute = 0 ElapsedSecond = 0 ElapsedTime = end call SetCurrentStartTime delay 3 sec //Methods go here call GetElapsedTime call WriteElapsedTime procedure SetCurrentStartTime Set TempElapsed = {ElapsedMSec} end procedure GetElapsedTime compute TempElapsed = ({ElapsedMSec} - $TempElapsed) / 1000 compute ElapsedDay = FLOOR( $TempElapsed / 86400 ) compute ElapsedHour = FLOOR( ($TempElapsed - ($ElapsedDay * 86400)) / 3600 ) compute ElapsedMinute = FLOOR( ($TempElapsed - ($ElapsedDay * 86400) - ($ElapsedHour * 3600)) / 60 ) compute ElapsedSecond = FLOOR( ($TempElapsed - ($ElapsedDay * 86400) - ($ElapsedHour * 3600) - ($ElapsedMinute * 60))) end When I have killed an enemy I want to write in my timestamp log how much time was that. So I have made the following "string builder": procedure WriteElapsedTime if $ElapsedDay > 0 Set ElapsedTime = $ElapsedDay DAY call AddSpace $ElapsedDay end if $ElapsedHour > 0 Set ElapsedTime = $ElapsedTime + $ElapsedHour HOUR call AddSpace $ElapsedHour end if $ElapsedMinute > 0 Set ElapsedTime = $ElapsedTime + $ElapsedMinute MIN call AddSpace $ElapsedMinute end if $ElapsedSecond > 0 Set ElapsedTime = $ElapsedTime + $ElapsedSecond SEC call AddSpace $ElapsedSecond end Set ElapsedTime = $ElapsedTime + ELAPSED. timestamp $ElapsedTime end procedure AddSpace using Number if $Number > 1 Set ElapsedTime = $ElapsedTime + S end Set ElapsedTime = $ElapsedTime + end I'm very newbie with String handling in script languages. I want to improve my knowledge of this, but I can't make it better. Any thoughts?
  5. (* Train station script 1.0 by flum Feel free to contact me on teamspeak 3 Address: 91.205.193.85:10985 -Functions Send your trains out every 10 minutes + goes to docking to click on the trains. Delete flags for you. Send international trains to your favs. -Requirements Screen resolution 1366 768 Chrome or Firefox. The 1 click passenger and cargo upgrade for ur station. -Run notes Start the script first, then within 5 sec open trainstation fullscreen. -Config notes If u set constants delflag 0 to anything else it will start to delete the amount of flags from the giftbox. Changelog 0.2 send trains every 10 min 0.3 minor bug fixes 0.4 added del flag function 0.5 changed flag function for easy use 0.6 send int function added 0.7 click dockin station implemented 0.8 color check implemented for better check 0.9 changed mouse cord. for int trains 1.0 code clean up *) constants delflag = 0 //change if u want to delete some flags main = 1 // dont change this value end delay 5 sec call main //call test //-----Send Trains and ints to fav and check dock procedure main call flag while $main = 1 MousePos 976, 659 //1st train call cc MousePos 989, 646 call cc MousePos 990, 634 call cc MousePos 992, 622 call cc MousePos 992, 614 call cc MousePos 59, 83 call click delay 5 sec MousePos 422, 219 call click call intcheck call dock end end //-----Delete flags and dont run the main script procedure flag if $delflag > 0 set main = 0 MousePos 71, 717 call click MousePos 807, 238 call click loop $delflag MousePos 387, 420 call click MousePos 734, 492 call click end else end end //-----Send International Train To Fav procedure intcheck delay 3 sec LoadRGB 462, 334 if {RGBBlue} = 140 MousePos 462, 334 //slot 1 delay 1 sec DragTo 510, 314 //drag to send call click MousePos 604, 348 //favs call click MousePos 603, 373 //new select fav call click MousePos 798, 630 //send call click MousePos 799, 595 //confirm call click delay 2 sec call intcheck else MousePos 473, 631 //close call click end end //-----check if dock is avaiable, if yes send them out procedure dock LoadRGB 156, 77 if {RGBGreen} = 143 MousePos 156, 77 call click delay 3 sec MousePos 961, 665 call click MousePos 961, 659 call click MousePos 963, 653 call click MousePos 963, 644 call click MousePos 963, 637 call click MousePos 27, 714 //home call click delay 2 sec else end end //------ checks if train window for sending normal trains is open if yes send for 10 min. procedure getcolor delay 2 sec LoadRGB 836, 150 if {RGBGreen} = 232 SayPaste load train screen found MousePos 528, 425 call click else // SayPaste Red {RGBRed} Blue {RGBblue} Green {RGBGreen} end end procedure cc call click call getcolor end procedure click leftclick delay 1 sec end Feel free to use this script, any suggestions tips on the code are much appriciated.
  6. Here is a macro i had created just recently to help me when launching EnB, and the running of certain other programs. I have since then found that it comes in handy with just about any program, and certain games while in window mode, where you need to have a constant starting point to work with. What this macro does is move the game/program's window to the upper left corner of your desktop, ie 0,0. From here it is easy to calculate where you need to go within the window, if (and only if) the the window in question still uses the desktop coordinates, as it will always be at the same place all the time. Follow the instructions listed in the macro itself to use it. Â WARNING: This macro was made to work in 1440x900 resolution. It should work in any resolution, but may require the modification of three lines. Lines 110, 111, and 116. The values 30 and 10 used in these lines are in reference to the position needed for this macro to work properly in a resolution of 1440x900. I will work on trying to come up with what is need for resolutions lower than 1440x900. But I will not be able to come up with is need for any resolution higher than 1440x900. As at the moment I only have a laptop to work with, and it tops out at 1440x900. Â Â Have fun. Â Â EDIT (February 22, 2013 07:21AM MDT) by The WABBIT: Â re-uploaded the macro with updated instructions. And edited the post. UMoveWindow.zip
×
×
  • Create New...

Important Information

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