A New Dawn Beta Builds

OK, i think because of ALL these crashes, you ought to go back to the VERY BEGINNING and start over with adding things to AND. I had to do it three times with NWA, so i know its a pain, but these crashes are just too many, and really for NO apparent reason for them? This is just MY opinion, take it in stride or NOT.

Right now i am on a Standard map, only 5 civ, and i have had two CTD even before Classical era. With nothing being built, units or buildings.

Edited out.

My moment of bad reaction weakness. Move on :).
 
I really like this idea, It would add so much more flavor, and you could also make it so tanks and stuff take a certain amount each turn and that cites take some oil two.

But if you add this i think you need to rework the speed of tanks. When on a huge or giant map tanks are very slow. hehe

P.S I had the weirdest thing happen, I setup a giant earth like map on marathon pace and put it on auto turns for 3000 turns. I came back to my computer completely missed up and I come to find out that the reason is the save file in auto-save was 14GB and it used up the rest of my c drive space. I ended up saving the file but I cannot get it to load though. I keep getting a memory allocation failure hehe
Why stop there? Units need food and water (depending on what tile they are on they could require more- in the desert 2x water, etc.), and replace equipment....could get complicated fast. Soldiers need ammo, grenades, rockets and Paratroopers need chutes and Artillery needs shells, chemicals and you need to replace the rubber tires on wheeled vehicles and tanks need replacement tracks.....

I personally would love to play the game like this. :) Supply/Logistics wins wars.
 
Why stop there? Units need food and water (depending on what tile they are on they could require more- in the desert 2x water, etc.), and replace equipment....could get complicated fast. Soldiers need ammo, grenades, rockets and Paratroopers need chutes and Artillery needs shells, chemicals and you need to replace the rubber tires on wheeled vehicles and tanks need replacement tracks.....

I personally would love to play the game like this. :) Supply/Logistics wins wars.
These sound very fun, but the big question is; will the AI now how to do it?
 
Why stop there? Units need food and water (depending on what tile they are on they could require more- in the desert 2x water, etc.), and replace equipment....could get complicated fast. Soldiers need ammo, grenades, rockets and Paratroopers need chutes and Artillery needs shells, chemicals and you need to replace the rubber tires on wheeled vehicles and tanks need replacement tracks.....

I personally would love to play the game like this. :) Supply/Logistics wins wars.

Yeah, I'm thinking same as you, but to establish a Logisitcs System in game is a huge project. If we decided to make it, we must have a complete plan and implement it step by step.

Beside it, I have another idea. I'm very boring of the fixed shape city culture range, instead of this, I think the bigger and free shape city culture range is better. Maybe you will say that it's so large for a single city, but we can limit the active working tiles, or increase the maintenance and decrease the product. By this new system, we will have a city ( or called state ) just like the real world.
 
you didn't comment about the bolded

also implying that we Aspies don't have feelings makes me :cry:

also as to my bipolar when I am in a Mania stage I will attack people for the slightest things like


also I just passively cry most of the time because I feel like everything is my fault

I didn't say that. I said that you don't feel emotions the same way everyone else does. I didn't say that you don't have emotions. Don't put words in my mouth.

Thank you, I will try it.

I'm a C++ Programmer for about 5 years, and I'm still working on my own game engine. But I have some spare time, maybe I can help you to debug AND and to make some enhancements.

Perhaps it's the same bug as mine. My game is in the Epic speed.
And for the CTD that occurs on Release but not on Debug, I ran into the same problems too. It often casued by non-initialized variables. ( In Debug mode, these variables will be initialized to zero automatically, but In Release it will be not. )

Eh, not initialing variables usually doesn't cause errors, because the compiler will warn me if I try to use an uninitialized variable. Any help debugging would be nice though. I think the real reason that debug builds don't crash is because the debug builds use /Gd in the makefile, and final release uses a quicker but less safe, /Gr.

I've been playing your modmod exclusively because it is the best IMHO. That said, one thing that has always bugged me about the game is the lack of diversity in religions. Is there any way that you can add RevDCM Rapture to your modmod? It looks like it's a good start to filling that void.

There are some people trying to get Rapture and some religion mods off the ground on the RoM forum, I would go there. Rapture is an unfinished product at the moment, I won't add it unless it gets closer to being finished.

I found where the game crashed when load the save.

File: CvPlayer.cpp
Line: 18919

// Used for DynamicCivNames
pStream->ReadString(m_szName);

After the function ReadString was called, the stack seems to have been overflowed.

the pointer pStream is 0xbaad0000, and the pointer this is 0x00000068.

But I can't track into this function that coded by Firaxis Games.

I guess the file data was corrupted while it was saving. But I can't save it again because of that I can't load any save successfully.

I'm trying to hard code this member variable and the others below, and see what will happen.

Sometimes saves get corrupted. If you are trying to debug a save that won't load, you're wasting your time.

Oh dear, all member variables from the begining to this one were corrputed.

Is there any way to trace the file reading/writing position?

Eh, not really.

I really like this idea, It would add so much more flavor, and you could also make it so tanks and stuff take a certain amount each turn and that cites take some oil two.

But if you add this i think you need to rework the speed of tanks. When on a huge or giant map tanks are very slow. hehe

Everything on larger maps is slower, I don't consider that a bug.

I traced the save reading code, it's all OK till the last call of function CvTeamAI::read ( File: CvTeamAI.cpp Line: 3821 ).

But after that, at the first reading opreation in the function CvPlayer::read ( File: CvPlayer.cpp Line: 18784 ), the data was corrputed. ( the value of uiFlag is very big. )

I don't know what happened between the two functions. I set the break points on all functions named read, and it didn't break down between the two functions. So I have no idea at all now. Can you give me some hints please, Afforess?

The value of uiFlag shouldn't be very big, it is only used to keep save compatibility between patches, I haven't messed with. I suspect you are trying to load a save that won't open, probably because you've added new content to the game. Start a new game.

These sound very fun, but the big question is; will the AI now how to do it?

I am not going to add the Unit Fuel mod. The AI don't know how to use it. I do want to have to write that AI code.
 
OK, i think because of ALL these crashes, you ought to go back to the VERY BEGINNING and start over with adding things to AND. I had to do it three times with NWA, so i know its a pain, but these crashes are just too many, and really for NO apparent reason for them? This is just MY opinion, take it in stride or NOT.

Right now i am on a Standard map, only 5 civ, and i have had two CTD even before Classical era. With nothing being built, units or buildings.

StrategyOnly, I think that it is your computer, not AND. I do not get CTD's very often, so I suspect either your graphics card or your computer in general is very old. Not my fault.
 
:mad::mad::mad::mad::mad::mad::mad:
:mad:StrategyOnly:mad:
:mad::mad::mad::mad::mad::mad::mad:

Seriously, I prefer that you learn how to attach to the process and using Debug dll proper way. Instead of saying "take out", start pumping the Asserts or the screenshot of VS2008's messages about crashes. Learn how to debug using the guide Afforess gave to Lichen(forgot the number).

It would be more useful and less irritating :).

Now thats not nice at all, and you misread what i wrote. I would never humiliate anyone like you did above. If things dont succeed you go back to the drawing board. Thats what i am saying, as in NWA i had to start all the way back to the beginning three times cause something i messed up or was messed up without my knowledge. I NEVER even suggested about "taking out." It was just YOU!:p But thats not what this thread is about talking stuff like that, so that will be the last time you see something like that from me.
Now besides all that, remember to "Just Have Fun.":lol:
 
I think that it is your computer, not AND. I do not get CTD's very often, so I suspect either your graphics card or your computer in general is very old. Not my fault.

Now that very well may be possible, i have an old ATI X1300 and an old 8300 Dell puter. So i guess my stuff i am putting here, really doesnt count then?:( (old statement)



Now i know it has something to do with the graphics card, one of the crashes did a weird checker board shaped thing starting at the top of the screen and then running to the bottom of the page, then poof crash, so thx for suggesting that. Course it doesnt help having an ancient old PC either(i got it only 1 month after XP came out), but i cant afford that. I dont work anyways.
 
Hi Afforess, nice to see you again. I'm still waiting for you.

The value of uiFlag shouldn't be very big, it is only used to keep save compatibility between patches, I haven't messed with. I suspect you are trying to load a save that won't open, probably because you've added new content to the game. Start a new game.

Maybe you're right, I should start a new game instead of trying to debug it.

I'm sorry for the poor English of me. What's the meaning of "you are trying to load a save that won't open." ? Did you mean that save was not opend ( open file ) successfully? But I traced the code till the final reading operation before it was corrputed, and all values of those loaded variables are OK.

I just want to debug this issue without trouble you. And all my saves for this bug are bad. T_T ( I love this round of game. )
 
Now that very well may be possible, i have an old ATI X1300 and an old 8300 Dell puter. So i guess my stuff i am putting here, really doesnt count then?:(

Sorry to everyone.:crazyeye:

Not true. You have caught legitimate bugs too. You caught one bug with RevDCM a while back, with that stupid EventHandler alert, and a few bugs in my modules. Just the CTD is usually your computer. If we weren't in the worst recession in the last 50 years, I'd tell you to invest in a new computer. :p
 
Hi Afforess, nice to see you again. I'm still waiting for you.



Maybe you're right, I should start a new game instead of trying to debug it.

I'm sorry for the poor English of me. What's the meaning of "you are trying to load a save that won't open." ? Did you mean that save was not opend ( open file ) successfully? But I traced the code till the final reading operation before it was corrputed, and all values of those loaded variables are OK.

I just want to debug this issue without trouble you. And all my saves for this bug are bad. T_T ( I love this round of game. )

Okay, let's start from the top:

Saves are a very temperamental beast. I'm not sure specifically what your problem is, but it seems that you can't load a previous save anymore. If that's not your problem, correct me. But if that is your problem, you are likely the cause of the problem. Editing the game files, or adding new components to an existing game breaks old saves.

If I didn't answer your question, could you specifically state what problem you are having?
 
Not true. You have caught legitimate bugs too. You caught one bug with RevDCM a while back, with that stupid EventHandler alert, and a few bugs in my modules. Just the CTD is usually your computer. If we weren't in the worst recession in the last 50 years, I'd tell you to invest in a new computer. :p

Thx, i am always willing to try and HELP out.
 
Okay, let's start from the top:

Saves are a very temperamental beast. I'm not sure specifically what your problem is, but it seems that you can't load a previous save anymore. If that's not your problem, correct me. But if that is your problem, you are likely the cause of the problem. Editing the game files, or adding new components to an existing game breaks old saves.

If I didn't answer your question, could you specifically state what problem you are having?

I'm not a moder, and not change anything of AND 1.60beta3, both of sources and other files.
Eh, I'm helping you to resolve this CTD of AND beta version.

I know that any writing overflow can cause this problem, but I need to locate it now, even I must check the file data by WinHex.

The bigest problem for me now is that I am not familiar with the Civ4 SDK. I'm very curious to know why the function GetPosition() and GetSizeLeft() of FDataStreamBase always returns 0x0 and 0x7FFFFFFF.

And can you tell me the calling sequence of save reading/writing functions?
 
Not true. You have caught legitimate bugs too. You caught one bug with RevDCM a while back, with that stupid EventHandler alert, and a few bugs in my modules. Just the CTD is usually your computer. If we weren't in the worst recession in the last 50 years, I'd tell you to invest in a new computer. :p

Oh, StrategyOnly! Is that you resolved that stupid EventHandler Alert? Thank you very much. I hate that bug very much. :p

Are you moders often helping each other? Are you in the same team? I love this place more and more now. :)
 
The Beta 3 build does seem to be a touch unstable. 230 turns into a Large/Normal archipelago game, I can't seem to reload a save in-game without it CTDing and I've had two or three random crashes as well.
 
I'm not a moder, and not change anything of AND 1.60beta3, both of sources and other files.
Eh, I'm helping you to resolve this CTD of AND beta version.

I know that any writing overflow can cause this problem, but I need to locate it now, even I must check the file data by WinHex.

The bigest problem for me now is that I am not familiar with the Civ4 SDK. I'm very curious to know why the function GetPosition() and GetSizeLeft() of FDataStreamBase always returns 0x0 and 0x7FFFFFFF.

And can you tell me the calling sequence of save reading/writing functions?

I have no clue why they would be doing that. As for the calling sequence, I'm afraid I don't know. Saves are actually created in the exe, not the CvGameCoreDLL, so I have no clue to the order. Firaxis never gave the source code for the exe. :sad:

Oh, StrategyOnly! Is that you resolved that stupid EventHandler Alert? Thank you very much. I hate that bug very much. :p

Are you moders often helping each other? Are you in the same team? I love this place more and more now. :)

AND is a one man project, but I beta test and get help from others. So yes, in a way, everyone helps contribute. :p
 
................ I know why you said that's waste of time. Does Firaxis encrypt the save by hiding the position of file pointer? If it's true, I surrender. -_-

Well, maybe I can find the solution in my dream, god bless me.
 
................ I know why you said that's waste of time. Does Firaxis encrypt the save by hiding the position of file pointer? If it's true, I surrender. -_-

Well, maybe I can find the solution in my dream, god bless me.

Yes, saves are encrypted. :sad:
 
Back
Top Bottom