Hey Community!
Habe mal eine Frage: Was ist besser, WebTcp oder Firefox-Udf, oder doch was ganz anderes für das folgende?
Und zwar muss/will ich ein kleines Erleichterungstool für ein Tool machen(Ja, ich weiß, hört sich kakke an. Ich erklär es mal)
Es gibt für ein Browsergame (Imperion) ein Tool, mit welchem man da die Weltkarte parsen kann, d.h. Daten aus dem Quellcode werden ausgelesen und da in eine Übersicht zusammengeschrieben. Eigentlich eine unglaubliche erleichterung für den einen oder anderen, doch, da ich auch hier faul bin will ich es noch kürzer machen
Kurz mal was da gemacht wird:
Da ist eine ganze Liste (z.B.
). Da gibt es Speedlinks um eine Aktion durchzuführen, in meinem Falle wäre es einfach nur ein Komet abbauen/recyclen.
Wenn ich das nun öffne komme ich wieder auf mein Game mit fast fertigen Einstellungen doch die will ich erst ein wenig ändern und dann erst abschicken
, wo ich es schon geändert habe
Also muss jedes mal, wenn ich ein neues Tab öffne der Link am ende umgeändert werden:
Quote:
[url]http://u1.imperion.de/fleetBase/mission/1/planetId/c748579/m/301/ships/,,,,Infinity[nixurl]
->
[url]http://u1.imperion.de/fleetBase/mission/1/planetId/c748579/m/301/ships/,,,,125[nixurl]
|
Im Endeffekt eigentlich ganz simpel ^^, will nur wissen womit es einfacher/sinnvoller wäre das auch zu schreiben.
€dit:
wenn ich im Game auf Los drücke bekomme ich nur folgendes aus dem Sniffer:
http://u1.imperion.de/fleetBase/send/1#new
POST /fleetBase/send/1 HTTP/1.1
Host: u1.imperion.de
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://u1.imperion.de/fleetBase/mission/1/planetId/c748579/m/301/ships/,,,,125,,,,
Cookie: bd6cf8d5b83fd33a9e7f622da28d81b9=pqOfUmywk5SXo4XRy ZBb35ukoYelVYCcsnWLqZNsa1p82tzI2q7SQqfUqJyflFGElql 8i6mTbG1afNrZx8fRz5Pgg6nQn6NShJWre56eUGtwk5Seo4XMy t6V4NrN0MmUW7SfqYDcqFFqb0LGxtzXx8jdj9fK08ba4oSs2d5 npNdaY2dZipefmJiVp1vfm6Ghh9ODu4e0rqOeW6VvVJSH18TVy pBb35ujoYe2lbbG52ek4Vpob0LK3MjPzdOQW9WbpqLYrFSFh9y uzZ9Cbahaj5%2BLlKGVo1WOnOGhmaxCrs7dd4upk2xqWnyWopS YnJBb35uioYfVia%2BYm4DcqFVsV1GTlZ6YiqDhWqWbkMrN14O 2xOy61pBbpW9VlIeclM3I0EKn3g%3D%3D; visitor=3041
Content-Type: application/x-www-form-urlencoded
Content-Length: 105
f=9354647&tan=3962187590&targetType=c&ship%5B1%5D= &ship%5B6%5D=&ship%5B4%5D=125&mission=301&planet=7 48579
HTTP/1.1 302 Moved Temporarily
Server: nginx
Date: Sat, 20 Nov 2010 14:59:16 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Location: /fleetBase/show/1
----------------------------------------------------------
http://u1.imperion.de/fleetBase/show/1#new
GET /fleetBase/show/1 HTTP/1.1
Host: u1.imperion.de
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://u1.imperion.de/fleetBase/mission/1/planetId/c748579/m/301/ships/,,,,125,,,,
Cookie: bd6cf8d5b83fd33a9e7f622da28d81b9=pqOfUmywk5SXo4XRy ZBb35ukoYelVYCcsnWLqZNsa1p82tzI2q7SQqfUqJyflFGElql 8i6mTbG1afNrZx8fRz5Pgg6nQn6NShJWre56eUGtwk5Seo4XMy t6V4NrN0MmUW7SfqYDcqFFqb0LGxtzXx8jdj9fK08ba4oSs2d5 npNdaY2dZipefmJiVp1vfm6Ghh9ODu4e0rqOeW6VvVJSH18TVy pBb35ujoYe2lbbG52ek4Vpob0LK3MjPzdOQW9WbpqLYrFSFh9y uzZ9Cbahaj5%2BLlKGVo1WOnOGhmaxCrs7dd4upk2xqWnyWopS YnJBb35uioYfVia%2BYm4DcqFVsV1GTlZ6YiqDhWqWbkMrN14O 2xOy61pBbpW9VlIeclM3I0EKn3g%3D%3D; visitor=30416
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 20 Nov 2010 14:59:16 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Sat, 20 Nov 2010 14:59:16 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Encoding: gzip
----------------------------------------------------------
http://u1.imperion.de/planet/buildings/94002307
GET /planet/buildings/94002307 HTTP/1.1
Host: u1.imperion.de
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://u1.imperion.de/fleetBase/show/1
Cookie: bd6cf8d5b83fd33a9e7f622da28d81b9=pqOfUmywk5SXo4XRy ZBb35ukoYelVYCcsnWLqZNsa1p82tzI2q7SQqfUqJyflFGElql 8i6mTbG1afNrZx8fRz5Pgg6nQn6NShJWre56eUGtwk5Seo4XMy t6V4NrN0MmUW7SfqYDcqFFqb0LGxtzXx8jdj9fK08ba4oSs2d5 npNdaY2dZipefmJiVp1vfm6Ghh9ODu4e0rqOeW6VvVJSH18TVy pBb35ujoYe2lbbG52ek4Vpob0LK3MjPzdOQW9WbpqLYrFSFh9y uzZ9Cbahaj5%2BLlKGVo1WOnOGhmaxCrs7dd4upk2xqWnyWopS YnJBb35uioYfVia%2BYm4DcqFVsV1GTlZ6YiqDhWqWbkMrN14O 2xOy61pBbpW9VlIeclM3I0EKn3g%3D%3D; visitor=30416
HTTP/1.1 200 OK
Server: nginx
Date: Sat, 20 Nov 2010 14:59:21 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Sat, 20 Nov 2010 14:59:21 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Encoding: gzip
----------------------------------------------------------
Kann mir wer erklären, wie ich dieses "Los" nun mit Firefox machen kann ^^?