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 > Civilization III > Civ3-Creation > No scripted events? No problem! Why can't we make our own?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
16.Sep: 7 NEW FILES
15.Sep: TRIAL + NO SLEEP = ONE GAME
13.Sep: PATCH THE PREVIOUSLY UNPATCHABLE

bottom of page
   - CIV3 CONQUESTS $29.99 - CIV3 from $9.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
DaveV is offline DaveV
King
USA - EDT (GMT-5)
Jan 1970
time: 00:31
  Old Post 26-09-2003 16:49
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
No scripted events? No problem! Why can't we make our own? Got spare money?

I've been playing since the Civ 1 days. I bought Civ 3 when it first came out, but gave up on it after a while. Now, I'm regaining my interest as I read about the changes for Conquests.

One of the disappointing things about Conquests is that it lacks several features that would make scenario creation easier and more powerful (primarily scripted events). When I was mowing the grass last night, I thought: why not have a new program that would run along with Civ3 and implement scripted events. We've had a couple similar programs for Civ2: Xin Yu's CivManager, and Angelo Scotto's CSPL for ToT. Since so much is known about the file formats, it seems like we could find out how the data is organized in memory.

Potential problems: virtual memory. If the variable you want to access has been swapped out to the hard drive, it will be a lot tougher to modify it. It would also be hard to allocate memory for a new object (i.e. create a new city or unit). But it should be relatively easy to change the terrain on a map square, upgrade a unit, monitor for a city's capture or destruction, add or subtract gold or research from a civ, change production or add shields to the production in a city, etc.

If the hackers out there can create trainers that let players cheat in their MP games, why couldn't we use a similar program to do something useful?

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:31
  Old Post 26-09-2003 18:13
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I've had sush a program in mind, but I've never (yey) created a memory trainer, and from what I've seen from the Civ3 memory it's not as straight forward as the savefiles, as most things are based on poiter arrays, and the important stuff is to find these arrays.

I'd be happy to help out for creation of sush a tool thou.
The best tool would probably be created with cooperation of different programmers.

Muchembled is offline Muchembled
Settler

Jul 2003
time: 06:31
  Old Post 26-09-2003 20:25
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Lose 30 kilos (of popups)

quote:
Potential problems: virtual memory.

That's not a problem at all. Virtual memory is absolutely transparent for applications.

Concerning events, I answered here : http://forums.civfanatics.com/showt...598#post1204598

DaveV is offline DaveV
King
USA - EDT (GMT-5)
Jan 1970
time: 00:31
  Old Post 26-09-2003 22:23
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Muchembled - thanks for the link; I don't go to CivFanatics so didn't know about your utility. Is there a thread, FAQ, or writeup that specifies the memory offsets to access various parameters (like Gramphos's BIC file writeup)?

What I meant on virtual memory is that I'd be amazed if program B could access program A's virtual memory. I'm not a Windows API expert, so I could be wrong here, but I've certainly seen a lot of program crashes when an uninitialized pointer tries to access a random memory location...

Muchembled is offline Muchembled
Settler

Jul 2003
time: 06:31
  Old Post 27-09-2003 00:00
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Full PM-box? Change here!

Hmm, there are 2 things that mustn't be confused : swapped memory and memory spaces.
Anyway, you'll see in the source of my utility that all is built around 2 functions : ReadProcessMemory and WriteProcessMemory

GhengisFarb is offline GhengisFarb
Deity
I want my HAMBURGERS!!
May 2002
time: 23:31
  Old Post 27-09-2003 01:01 Visit GhengisFarb's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton

So does this mean there's hope for scripted events in Civ3?

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:31
  Old Post 27-09-2003 03:02
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton buy from Amazon

Well, it depends on if any other programmmers are interested. I'm not starting a new project on my own. Especially since my experience with memory reading is almost zero.

Sheik is offline Sheik
King

May 2002
time: 00:31
  Old Post 27-09-2003 07:44
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton, buy Civilization 2

quote:

So does this mean there's hope for scripted events in Civ3?


There is hope for some scripting ability.

I would maybe be interested in helping, but more to learn. I have no experience with this kind of thing. Its an interesting idea and it would be great to see some experienced programmers tackling this once Conquests comes out.

Any thoughts from any Firaxis people who may be reading this?

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:31.
Apolyton Time is 00:31.
    top of page
Rate This Thread:
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.0371 seconds (87.71% PHP - 12.29% MySQL) with 30 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