d0n Posted September 2, 2006 Posted September 2, 2006 There is this page with a bunch of image inside it, and i want to click on one of them searching through the alts of them, but the problem is they aren't images >.< <map name="map1"> <area href="build.php?id=39" title="Rally point level 1" coords="270,158,303,135,316,155,318,178,304,211,288,227,263,238,250,215" shape="poly"><area href="build.php?id=19" title="building site" coords="53,91,91,71,127,91,91,112" shape="poly"><area href="build.php?id=20" title="Warehouse level 8" coords="136,66,136,12,211,12,211,66,174,87" shape="poly"><area href="build.php?id=21" title="Granary level 4" coords="196,56,196,2,271,2,271,56,234,77" shape="poly"><area href="build.php?id=22" title="Grain mill level 2" coords="270,69,270,15,345,15,345,69,308,90" shape="poly"><area href="build.php?id=23" title="building site" coords="327,117,365,97,401,117,365,138" shape="poly"><area href="build.php?id=24" title="building site" coords="14,129,52,109,88,129,52,150" shape="poly"><area href="build.php?id=25" title="Cranny level 5" coords="97,137,97,83,172,83,172,137,135,158" shape="poly"><area href="build.php?id=26" title="Main building level 5" coords="182,119,182,65,257,65,257,119,220,140" shape="poly"><area href="build.php?id=27" title="building site" coords="337,156,375,136,411,156,375,177" shape="poly"><area href="build.php?id=28" title="building site" coords="2,199,40,179,76,199,40,220" shape="poly"><area href="build.php?id=29" title="Embassy level 1" coords="129,164,129,110,204,110,204,164,167,185" shape="poly"><area href="build.php?id=30" title="Hero's mansion level 1" coords="92,189,92,135,167,135,167,189,130,210" shape="poly"><area href="build.php?id=31" title="Blacksmith level 3" coords="342,216,342,162,417,162,417,216,380,237" shape="poly"><area href="build.php?id=32" title="building site" coords="22,238,60,218,96,238,60,259" shape="poly"><area href="build.php?id=33" title="Marketplace level 5" coords="167,232,167,178,242,178,242,232,205,253" shape="poly"><area href="build.php?id=34" title="Academy level 5" coords="290,251,290,197,365,197,365,251,328,272" shape="poly"><area href="build.php?id=35" title="Barracks level 3" coords="95,273,95,219,170,219,170,273,133,294" shape="poly"><area href="build.php?id=36" title="Residence level 1" coords="222,284,222,230,297,230,297,284,260,305" shape="poly"><area href="build.php?id=37" title="Stable level 5" coords="80,306,80,252,155,252,155,306,118,327" shape="poly"><area href="build.php?id=38" title="building site" coords="199,316,237,296,273,316,237,337" shape="poly"> <area href="build.php?id=40" title="City wall level 1" coords="312,338,347,338,377,320,406,288,421,262,421,222,396,275,360,311" shape="poly"> <area href="build.php?id=40" title="City wall level 1" coords="49,338,0,274,0,240,33,286,88,338" shape="poly"> <area href="build.php?id=40" title="City wall level 1" coords="0,144,34,88,93,39,181,15,252,15,305,31,358,63,402,106,421,151,421,93,378,47,280,0,175,0,78,28,0, 92" shape="poly"> </map>
Azu Posted September 2, 2006 Posted September 2, 2006 There is this page with a bunch of image inside it, and i want to click on one of them searching through the alts of them, but the problem is they aren't images >.< stuffHi, please post a link to the page, so we can take a look. It will be a lot easier to figure it out that way.
d0n Posted September 2, 2006 Author Posted September 2, 2006 i would but you have to log in i can give u the source for the whole page if you want
Thatsgreat2345 Posted September 2, 2006 Posted September 2, 2006 it could just be that its all in php
Azu Posted September 2, 2006 Posted September 2, 2006 i would but you have to log in i can give u the source for the whole page if you wantYes please, it would be a lot easier if I could work with that.
d0n Posted September 2, 2006 Author Posted September 2, 2006 heres the source to the whole pagedorf2.php
Azu Posted September 2, 2006 Posted September 2, 2006 heres the source to the whole pageHmm, the files doesn't seem to include the full URL name, so I have no way to try to access the pictures. I wish you could post the URL.
d0n Posted September 2, 2006 Author Posted September 2, 2006 http://s7.travian.com/dorf2.phpyou need to log in, so i dont tthink it will work, i can post the image tho if you want
Thatsgreat2345 Posted September 2, 2006 Posted September 2, 2006 (edited) ok so i signed up went to your page and heres the problem, they are all the same image just going to different links , as you can see here is the image http://s7.travian.com/img/un/g/iso.gif, so why not just get the links ? instead of working on clicking the image, theres a thing called _IENavigate Edited September 2, 2006 by thatsgreat2345
d0n Posted September 2, 2006 Author Posted September 2, 2006 i know that, but i want to make this program for my tribe. Since different people build different buildings at different spots, this is the best way i can think of right now. If you have better ideas let me know
Thatsgreat2345 Posted September 2, 2006 Posted September 2, 2006 well as i have absolutely no comprehension of the game id say why not navigate to every single building site and then check the source for clues that would suggest someone is there. and if they are then just go to the next site.
d0n Posted September 2, 2006 Author Posted September 2, 2006 is there no other way to do it? Thanks for help
Thatsgreat2345 Posted September 2, 2006 Posted September 2, 2006 its not that hard dude, using the dales IE.au3 UDF it shoudl be a breeze
d0n Posted September 2, 2006 Author Posted September 2, 2006 you mean check all the spots for where that building is?
Thatsgreat2345 Posted September 2, 2006 Posted September 2, 2006 ok as i said i dont have much comprehension of the game , you can go to a building spot and its either empty or has someone in it, well get all building spot links, navigate to them one by one and then check simply for something in the source that will tell u if someone is there or not, i have no idea what that may be, im only guessing that you want to build something at these locations you havent really said what you want
d0n Posted September 2, 2006 Author Posted September 2, 2006 yea you said what i wanted to do pretty much, since i cant just find the image and click it, i am thinking i'll just have the user add it in
Thatsgreat2345 Posted September 2, 2006 Posted September 2, 2006 yeah sounds good hahah , you cant automate everything .
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