![]() |
|
|||||||
| Google Earth Hacks Home | Google Earth Files | Register | FAQ | Members List | Social Groups | Search | Today's Posts | Mark Forums Read |
| Questions/Problems If you are having issues with the game or don't understand how a particular feature is supposed to work, you can post your question in here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2005
Location: Canada ... BUT NOT TORONTO!!!
Posts: 65
|
Soooo how do you write scripts to do all these neat things that people are complaining about...
(Not that I would ever do something like that. )
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Sep 2005
Posts: 665
|
one waits for this red fellar with some peculiar spikes on his head, and you sign some contract.
it worked for me. |
|
|
|
|
#3 |
|
Member
Join Date: Aug 2005
Location: Canada ... BUT NOT TORONTO!!!
Posts: 65
|
George W?
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Sep 2005
Posts: 665
|
I do not think so, id say W is only a minion.
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2005
Posts: 17
|
What do you want to accomplish with a script?
Collect jewels? Monitor resources? Wage war? Well, since this web site is called "Google Earth Hacks"... Learn how the KML files in GE work, and especially what a NetworkLink is. Use the "Ethereal" network sniffer to see what goes on when GE refreshes a KML NetworkLink. For jewel collection, break down what you do when you manually hunt jewels:
Now, write an application that automates as much of that as possible. (All but #11 are automatable...just sniff your network traffic and then get creative about how to reproduce that) None of this actually requires you to "Log In" to the GEWar web site. However, once you figure out how to write an app that can log in to the GEWar site, you can automate a lot more functionality. You can scrape information from the web pages (Regular Expressions are your friend!) and you will be able to monitor cities, armies, resources, etc. NOTE: NEVER EVER SWAMP THE GEWAR SERVER WITH AUTOMATED NETWORK REQUESTS! ALWAYS play nice and induce at least a 2 second delay in in between any network request you send to GEWar. For my app, I wrote it in C#. I will not be responding to inquiries (except from admins) about the app until it becomes more stable. I honestly don't know how other people accomplish their "scripting", or what they even have their scripts do. My gut feel from the game is that less than a dozen people use "scripting". |
|
|
| Thread Tools | |
| Display Modes | |
|
|