Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Civ2-Strategy-Archive > I am not hacking yet (a general reminding program)
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:14
Lightbulb  Old Post 25-05-2001 18:31 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
I am not hacking yet (a general reminding program) Suffering from ads?

Imagine this:

1.
You decided to build a settler at Lyon: you plan that he will go to Paris when built, Paris will be set as his supporting city, then he will move to hill near Paris to mine it, then he will buid a city at specifyied square.
But your civ empire is very large. Later in the game, your settler is blinking. But you cannot remember your plans.

But there is another window running on your machine: it holds a copy of the map of your civ empire. You click on the "copy" of your settler and a small memo window opens: it contains three lines:

Paris: home
33/53: mine
33/47: build a city


and all Paris and squares of 33/53 and 33/47 are highlighted on the "copy" map.

2.
Or you plan to rearrange your workers in Lyon in 1950 BC and put them back in 1850 BC (you want to lower the shield production temporarily for example): you insert your plans in the memo window of Lyon and Lyon will blink in 1950 and 1850 automatically.

3.
you want to switch the barracks production to a granary when pottery is discovered
you want to change the tax rate when some key tech is discovered
you want to move a unit from a fortress to a city if the city reaches size 4 (martial law)
you want to be reminded about oedo years
etc., etc...



Generally, a "bookmark" could be attached to an unit, a city, a square, or all civilization.
My idea is specified more detailedly at Civ3-The List of Ideas for Firaxis: PLAYER INTERFACE (ver 2.0) . See my post from January 01, 2001 19:44.



But
1. I don't know Win programming
2. I don't know the format of .sav file
3. my time is limited

But I am prepared to participate if other programmers will be willing to create a team and to make a such program.

Last edited by SlowThinker on 25-05-2001 at 22:39

rah is offline rah
Apolyton Prince of Moderators, Master of Reason
Lord of the Ferrets
Jan 1970
time: 23:14
  Old Post 25-05-2001 20:17
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Got spare money?

I doubt i would use it for that type of thing, but it would be a godsend for caravan management

RAH

Xin Yu is offline Xin Yu
King
Emeryville, CA, USA
Jan 1970
time: 21:14
  Old Post 25-05-2001 21:43 Visit Xin Yu's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Slow Thinker:

First, there is a way to read and write directly from/to the memory in single player. Multiplayer is also doable but somebody may hack the program and make a cheat so I won't do it myself.

How to do it: I use Visual Studio 6.0 from MicroSoft for the purpose. I create a project, edit the resource (i.e., build a window with those ok and cancel bottons), then copy the codes provided by a game hacking website (also some other similar sites), modify them (plug in the memory addresses obtained from running a game trainer program), then compile and run. Of course you need to know C/C++ in order to understand how each piece of code works. But that's it. It's a lot easier than you can imagine.

Your ides will be difficult to realize since we don't know the address for a settler before it is being built. You probably can only get a plan for the settler after it is being built.

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:14
  Old Post 25-05-2001 22:40 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Increase Your PM Length

The first post was edited a little.

Xin Yu,
quote:
First, there is a way to read and write directly from/to the memory in single player.

How did you obtain adresses? Which ones do you know?
quote:
then copy the codes provided by the above website

Which website?
quote:
addresses obtained from running a game trainer program



quote:
Your ides will be difficult to realize since we don't know the address for a settler before it is being built. You probably can only get a plan for the settler after it is being built.

The program may keep the memo/record and find out the address when the production of the settler is finished. Or not?

I would like to know

map, which part is revealed (or is it possible to get a bitmap from the memory?)
positions of items (units, cities...)
caravan (goods) and settler ("irrigated" turns held by a settler) specifications, harmed units
events (years, seafaring was discovered, city reached size 5, production finished...)

Xin Yu is offline Xin Yu
King
Emeryville, CA, USA
Jan 1970
time: 21:14
  Old Post 25-05-2001 22:49 Visit Xin Yu's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization 2

Slow Thinker: I sent you a pm for the website and the trainer program info.

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:14
  Old Post 25-05-2001 23:38 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Thank you Xin Yu. I believe it may be relatively easy but also time consuming. Much more for me than for an experienced programmer.
Unfortunately, I can't do it now.

Jaguar is offline Jaguar
King
Montgomery County, MD
Apr 2000
time: 00:14
Unhappy  Old Post 26-05-2001 02:10
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Got spare money?

I don't think its possible...

SlowThinker is offline SlowThinker
King
homeless, Praha, Czech Republic
Jan 2000
time: 06:14
  Old Post 26-05-2001 02:40 Visit SlowThinker's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Put an end to popups!

quote:
Originally posted by FireDragon
I don't think its possible...


Why not?
Problems may occur with descrambling status of game only:

The program may do it


  1. via .sav file: the program saves a game and reads needed information from the .sav file.
    (must be doable IMHO)
  2. via memory directly
    (I can imagine problems: Civ may manage memory "dynamically", i.e. it may move data within the memory)


Xin Yu,
could you tell us the way how are data stored in the memory roughly?
I think you had to find at least placement of cities (shield production) and gold.

Last edited by SlowThinker on 26-05-2001 at 02:47

Xin Yu is offline Xin Yu
King
Emeryville, CA, USA
Jan 1970
time: 21:14
  Old Post 26-05-2001 03:18 Visit Xin Yu's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Cities: start from a certain point in the memory, every 88 bytes stores all info for a city -- I call it the city block. There are also some information stored for the 'current' city -- I call it current city block (I haven't got the whole picture yet). Whenever a city window is opened, certain bytes will show a string 'City of AAA Treasury XXXX golds' (that's exactly what will be shown on the city screent's title bar). So you can check a) if you are in a city window, b) which city it is, and c) do you have enough money to buy production. You can either search the city name in the city block for a match (There is a problem when you give the same name for several cities), or you can modify the 'current city block' bytes directly (the problem for this approach is that sometimes you don't have all the information you need in the current city block').

Money info is stored in another block and each civ has its own address for money. Once you know which civ is playing, you can change money pretty easily.

La Fayette is offline La Fayette
King
albi, france
Oct 2000
time: 06:14
Post  Old Post 27-05-2001 08:19
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton buy from Amazon

ST
I think that Mark Everson is at work with ideas close to yours
("Clash of Civs").
It should be harmless (and perhaps very useful) to contact him.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0394 seconds (87.33% PHP - 12.67% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net