hendrikhe Posted March 11, 2014 Share Posted March 11, 2014 Hey guys, I was am looking to analyze a site and save the results. The website is http://http://www.ellatha.com/eve/LPIndex-Isk-1 the function should be able to search for an INT > 1500 for exemple on the ISK Profit/LP column and afterwards save me the results with the item on a file. After that press next site button and repeat the task. The only thing that I founded so far is: '?do=embed' frameborder='0' data-embedContent>> but maybe someone with more experience can give me some tipps Thnx Hendrik Link to comment Share on other sites More sharing options...
DW1 Posted March 11, 2014 Share Posted March 11, 2014 Please see the Forum Rules. Launching, automation or script interaction with games or game servers, regardless of the game. I don't think that this will be allowed, but it is not my decision. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
hendrikhe Posted March 11, 2014 Author Share Posted March 11, 2014 (edited) Thats not for ingame, its a tool that will help me to decide in which item I should invest my LP (loyality Points) the game is eveonline.com. I just want to analyze a webpage that has a databse for it I am not launching this script ingame or in game server. I am analyzing a third party website Edited March 11, 2014 by hendrikhe Link to comment Share on other sites More sharing options...
DW1 Posted March 11, 2014 Share Posted March 11, 2014 I understand completely. I have just seen exactly this sort of request be against the rules in the past. If a mod comes in and says that they allow it, I will gladly help you out with it. Sorry man. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
hendrikhe Posted March 11, 2014 Author Share Posted March 11, 2014 (edited) No problem, I completly understand your point. Looking for a mod opinion. But since CCP provide the tools for the databse and the web site is a third party, it shouldnt be a problem: http://skilltrainingcomplete.com/questions/api-key-what-is-it-where-can-i-find-it Edited March 11, 2014 by hendrikhe Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 11, 2014 Moderators Share Posted March 11, 2014 hendrikhe,Sorry for the delay - it took some time to learn about what you were trying to do. From what I have seen so far it seems to me that this does not involve game play:The EVE API is a service provided by CCP that supplies account and character information to external applications without requiring you to log into the gameso I am happy for the thread to stay open. Please do not stray into other, less welcome areas. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
DW1 Posted March 11, 2014 Share Posted March 11, 2014 Since the mods are allowing it, perhaps this can get you started: expandcollapse popup#include <IE.au3> #include <Array.au3> Global $iValue = 1500, $sSearch = "Isk Profit/LP" Local $bVisible = True Local $sURL = "http://www.ellatha.com/eve/LPIndex-Isk-", $iIndex = 1, $iISKindex Local $oIE = _IECreate("about:blank", 0, $bVisible) OnAutoItExitRegister("cleanup") Local $oTables, $aTable, $aItem While 1 _IENavigate($oIE, $sURL & $iIndex) $oTables = _IETableGetCollection($oIE) For $oTable In $oTables $aTable = _IETableWriteToArray($oTable, True) If StringInStr($aTable[0][0], "Faction Corp") Then For $a = 0 To UBound($aTable, 2) - 1 If StringInStr($aTable[0][$a], $sSearch) Then For $b = 1 To UBound($aTable, 1) - 1 If Number(StringReplace($aTable[$b][$a], ',', '')) > $iValue Then Dim $aItem[2][UBound($aTable, 2)] For $iItem = 0 To UBound($aTable, 2) - 1 $aItem[0][$iItem] = $aTable[0][$iItem] $aItem[1][$iItem] = $aTable[$b][$iItem] Next _LogItem($aItem) EndIf Next EndIf Next ExitLoop EndIf Next $iIndex += 20 WEnd Func _LogItem($aItem) _ArrayDisplay($aItem, "Item found with at least " & $iValue & " " & $sSearch) EndFunc ;==>_LogItem Func cleanup() _IEQuit($oIE) EndFunc ;==>cleanup AutoIt3 Online Help Link to comment Share on other sites More sharing options...
hendrikhe Posted March 11, 2014 Author Share Posted March 11, 2014 (edited) Thnx mod and jesus: TY DW1 that helped me a lot! Will give you a better feedback soon! Thnx mate Edited March 12, 2014 by hendrikhe Link to comment Share on other sites More sharing options...
hendrikhe Posted March 15, 2014 Author Share Posted March 15, 2014 I changed the script just a little bit so it didnt stopped after finding a result. expandcollapse popup#include <IE.au3> #include <Array.au3> #include <MsgBoxConstants.au3> Global $iValue = 1500, $sSearch = "Isk Profit/LP" Local $bVisible = True Local $sURL = "http://www.ellatha.com/eve/LPIndex-Isk-", $iIndex = 1, $iISKindex Local $oIE = _IECreate("about:blank", 0, $bVisible) OnAutoItExitRegister("cleanup") Local $oTables, $aTable, $aItem sleep(5000) $test = 1 $blad= 1 Dim $aItem[1000][1000] While $blad < 1506 _IENavigate($oIE, $sURL & $iIndex) $oTables = _IETableGetCollection($oIE) For $oTable In $oTables $aTable = _IETableWriteToArray($oTable, True) If StringInStr($aTable[0][0], "Faction Corp") Then For $a = 0 To UBound($aTable, 2) - 1 If StringInStr($aTable[0][$a], $sSearch) Then For $b = 1 To UBound($aTable, 1) - 1 If Number(StringReplace($aTable[$b][$a], ',', '')) > $iValue Then For $iItem = 0 To UBound($aTable, 2) - 1 $aItem[0][$iItem] = $aTable[0][$iItem] $aItem[$test][$iItem] = $aTable[$b][$iItem] Next $test = 1 + $test EndIf Next EndIf Next ExitLoop EndIf Next $iIndex += 20 $blad = $blad + 1 WEnd Func _LogItem($aItem) _ArrayDisplay($aItem, "Item found with at least " & $iValue & " " & $sSearch) EndFunc ;==>_LogItem Func cleanup() _IEQuit($oIE) EndFunc ;==>cleanup while 1 _LogItem($aItem) sleep(5000) WEnd This site is really nice because its easy to navigate, but unfortunately thiis site is not up to date. After some research I found this site : https://www.fuzzwork.co.uk/lpstore/ but it seems to be impossible for me to navigate via autoit there, also I couldnt find out how to set "show 100 entries" with Autoit Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now