Jump to content

BabyBeast

Active Members
  • Posts

    25
  • Joined

  • Last visited

BabyBeast's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. doesn't work well with page that load up java applet - hang up
  2. not sure of yourcode but 60sec or not you can use guisetdata to make changes on your gui while in the time loop and checking for your service
  3. check for the window name then process id. with process id it will solve your problem above
  4. something you should try with IE.au3 1. disable graphic loading 2. create browser with the url (instead of create then navigate, save loading time) 3. grab the source This way should be a lot faster when using ie.au3
  5. 1. Log in to game (easy part) 2. Check for character seq 3. Check for bag to see if its full (you have to place your character on fishing spot) 4. Check for your hook (hook color + tooltip combo), do not check only for hook otherwise when other ppl fishing will mess up your fishing bot 5. When you got fish the tooltip will change, detect the bubble (water splash) 6. Once done left shift click on it and will catch the fish and put in the bag 7. repeat from step 3 until your bag is full. 8. Log off game and switch to next character and start from step 3 If you follow the instruction below I can gurentee you that will work 100% 1 - 75 = 2 - 3 hour 75 - 150 = 2 - 3 hour 150 - 250 = 4 - 5 hour 250 - 300 = 2 - 3 hour Note: Get the bait that increase your fishing skill in the begining, once done you will be ok. Always change area (this is important) when you have reach certain level. At the moment fishing is pretty much useless but I still have lvl 1 character with fishing 250 before blizzard patch the lvl req
  6. I posted it a while ago but i guess it wasn't included. ;=============================================================================== ; ; Function Name: _FTPGetCurrentDir() ; Description: Get Current Directory on an FTP server. ; Parameter(s): $l_FTPSession - The Long from _FTPConnect() ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - Director Name ; On Failure - 0 ; Author(s): Beast ; ;=============================================================================== Func _FTPGetCurrentDir($l_FTPSession) Local $ai_FTPGetCurrentDir = DllCall('wininet.dll', 'int', 'FtpGetCurrentDirectory', 'long', $l_FTPSession, 'str', "", 'long_ptr', 260) If @error OR $ai_FTPGetCurrentDir[0] = 0 Then SetError(-1) Return 0 EndIf Return $ai_FTPGetCurrentDir[2] EndFunc;==> _FTPGetCurrentDir() ;=============================================================================== ; ; Function Name: _FtpSetCurrentDir() ; Description: Set Current Directory on an FTP server. ; Parameter(s): $l_FTPSession - The Long from _FTPConnect() ; $s_Remote - The Directory to be set. ; Requirement(s): DllCall, wininet.dll ; Return Value(s): On Success - 1 ; On Failure - 0 ; Author(s): Beast ; ;=============================================================================== Func _FtpSetCurrentDir($l_FTPSession, $s_Remote) Local $ai_FTPSetCurrentDir = DllCall('wininet.dll', 'int', 'FtpSetCurrentDirectory', 'long', $l_FTPSession, 'str', $s_Remote) If @error OR $ai_FTPSetCurrentDir[0] = 0 Then SetError(-1) Return 0 EndIf Return $ai_FTPSetCurrentDir[0] EndFunc;==> _FtpSetCurrentDir()
  7. Adding one more - this is nice coz if you create a browser at a invi state, this will make it visible again or vice versa. Case $s_property = "visible" If Not __IEIsObjType($o_object, "browser") Then __IEErrorNotify("Error", "_IEPropertySet", "$_IEStatus_InvalidObjectType") SetError($_IEStatus_InvalidObjectType, 1) Return 0 EndIf $o_object.Visible = $newvalue SetError($_IEStatus_Success) Return 1
  8. Yes new support tread, and I will help out also when possible. This is a great UDF, never thought it would go this far. Btw dale, I finally figure a work around on the image thing. Anyway thanks. Also I believe there are few more thing we can still add to make this udf better, a suggestion or discussion tread be nice too.
  9. dale might want to add this to your code, you left this out on your setproperty function Case $s_property = "menubar" If Not __IEIsObjType($o_object, "browser") Then __IEErrorNotify("Error", "_IEPropertySet", "$_IEStatus_InvalidObjectType") SetError($_IEStatus_InvalidObjectType, 1) Return 0 EndIf $o_object.MenuBar = $newvalue SetError($_IEStatus_Success) Return 1 Case $s_property = "toolbar" If Not __IEIsObjType($o_object, "browser") Then __IEErrorNotify("Error", "_IEPropertySet", "$_IEStatus_InvalidObjectType") SetError($_IEStatus_InvalidObjectType, 1) Return 0 EndIf $o_object.ToolBar = $newvalue SetError($_IEStatus_Success) Return 1 Case $s_property = "theatermode" If Not __IEIsObjType($o_object, "browser") Then __IEErrorNotify("Error", "_IEPropertySet", "$_IEStatus_InvalidObjectType") SetError($_IEStatus_InvalidObjectType, 1) Return 0 EndIf $o_object.TheaterMode= $newvalue SetError($_IEStatus_Success) Return 1
  10. Yes I am still looking for a work around on it as well.
  11. ahh yes you got my point. Thanks
  12. ... it can't be used. because inetget will open up a new bowser to copy that particular image. If the new image will not be refresh each time I got no problem on it. However for security code (where OCR is needed) the picture will get refresh each time a new browser is open so the picture you saw on your HDD will not be the same as the one you saw on the website. This however can be solve by downloading the whole webpage with IEAction() then open the image file but I am just wondering if there is any easier way to grab the image directly.
  13. You need to create 9 more object reference, or just create a array like what manadar say then do what you want to do within a loop (easiest I think)
  14. don't work. tested with inetget, it tend to open up new browser so it will just mess the picture supposely for security purpose.
  15. Inetget will open up a different browser - don't want that . Since I hate to make a whole character definition for OCR on a certian website, what I am going to do is pop out that particular image for me to enter just the digits then continue for the page to load while I am doing my work. With Inetget it will actually open up a new browser to grab just that particular image and what happen next is that the image actually reloaded with another image
×
×
  • Create New...