Company of Heroes: Eastern Front

Eastern Front Mod (Read-Only) => General Discussion => Topic started by: Beyondfubar on March 05, 2014, 05:04:49 AM

Title: Sorry to see it go.
Post by: Beyondfubar on March 05, 2014, 05:04:49 AM
To all the good times we had Eastern Front.  My favorite mod for CoH, I am sad to see you end through a small patch from people that did not even work on the game.  Its been to long to ask if this mod is dead, I know it is and I will always miss you.

I guess I will see if blitzkrieg crashes to desktop after three months of time to repair a minor patch. 

Oh wait, it never did.

I'll miss you Eastern Front, after three months I'll stop the CPR on your update button.... you are dead.
Title: Re: Sorry to see it go.
Post by: Dreamerbg on March 05, 2014, 11:28:15 AM
If you could read, not only post bullshits you may never type such words  ;D ;D ;D
But well, the world is full with guys like you that doesnt give credit to free work and expect ppl to serve them like they dont have personal life to manage.
Title: Re: Sorry to see it go.
Post by: Gerrit 'Lord Rommel' G. on March 05, 2014, 02:42:49 PM
To all the good times we had Eastern Front.  My favorite mod for CoH, I am sad to see you end through a small patch from people that did not even work on the game.  Its been to long to ask if this mod is dead, I know it is and I will always miss you.

I guess I will see if blitzkrieg crashes to desktop after three months of time to repair a minor patch. 

Oh wait, it never did.

I'll miss you Eastern Front, after three months I'll stop the CPR on your update button.... you are dead.
Hey. Are u able to rework and recode a dll.file?
Yes? Great! Welcome on board. U can fix our problem.
Oh? U cant fix a faction.dll? Sorry... me neither... so we have to wait until our coder
has time for this "hobby"  ::)
Sorry for sarcasm but it is always hard when u are attacked by someone who had no idea about the problem ;)

And please keep in mind; we are frustrated too. But we cant influence Relic's and Smoking gun's patch policy.
We have to deal with the results.
Title: Re: Sorry to see it go.
Post by: chaosval3 on March 05, 2014, 06:29:46 PM
How about not feeding the trolls my fellow comrades? How about letting them drown in their own sorrows? Such a tone is none of our concern I think ;)
Title: Re: Sorry to see it go.
Post by: Blackbishop on March 05, 2014, 06:39:26 PM
Sometimes I do wonder, from all the BK fans, why we always get the attention of the worst kind? ::)

Anyway, he already got his prize it seems.
Title: Re: Sorry to see it go.
Post by: BurroDiablo on March 05, 2014, 09:37:20 PM
If you punch yourself repeatedly in the face, the mod should work.
Title: Re: Sorry to see it go.
Post by: Hendrik 'DarcReaver' S. on March 05, 2014, 10:16:18 PM
If you punch yourself repeatedly in the face, the mod should work.
I can assure you that this will work, 100%. Just punch hard enough.
Title: Re: Sorry to see it go.
Post by: Crowsy on March 06, 2014, 08:38:50 PM
I don't wish to tread on anyones toes but has anyone from the EF mod contacted someone on the BK mod to see how they fixed the problem?
Title: Re: Sorry to see it go.
Post by: Hendrik 'DarcReaver' S. on March 06, 2014, 08:41:52 PM
BK mod does not add factions, and afaik they also do not use the same starting parameters that we use for EF. That's why BK works again and EF does not. We know the cause of the problem and we're going to fix it. It just takes time. Our coder responsible for this fix is busy with reallife stuff. To fix this is not a matter of a few minutes and so there is pretty slow progress at the moment on this matter. Also, we're waiting to implement a few models for SU that were promised for the last patch already. On top of that we're still tweaking the Ostheer gameplay wise. It's not as if nothing is happening. Not at all.
Title: Re: Sorry to see it go.
Post by: Crowsy on March 06, 2014, 08:59:23 PM
Thanks for the info. If this is to be a little while in fixing then would it be an idea to release a version of EF that works with the standard COH?
Title: Re: Sorry to see it go.
Post by: Codename "Tiger" on March 07, 2014, 12:53:32 AM
Lol why people cant wait a few weeks and shut up these few weeks????
A Mod and each Patch cant be done by clicking an "create" button.
Everything in the world needs time so wait and be happy when the Patch is finished.
While youre waiting read a book or play Blitzkrieg 8)
Title: Re: Sorry to see it go.
Post by: Crowsy on March 07, 2014, 06:04:14 PM
Lol why people cant wat a few weeks and shut up these few weeks????
A Mod and each Patch cant be done by clicking an "create" button.
Everything in the world needs time so wait and be happy when the Patch is finished.
While youre waiting read a book or play Blitzkrieg 8)

Excuse me? Tantrum over? I was only asking for info. I will wait as most people but just wanted to satisfy my own curiousity. If say version 1.7 was rereleased so it could work on the standard coh and not the Steam relaunch then there would be no need to 'create' anything no?

I myself have been involved in a number of mods in the past and thought it better for their players to play an older version rather than them leaving the scene altogether?

Or are you suggesting that players of this mod cannot ask any questions?
Title: Re: Sorry to see it go.
Post by: Blackbishop on March 07, 2014, 06:20:53 PM
@Crowsy
That sounds like it was written for the OP, not for yourself.
Title: Re: Sorry to see it go.
Post by: Crowsy on March 07, 2014, 06:26:06 PM
Ah, OK. My mistake.
Title: Re: Sorry to see it go.
Post by: SollingDown on March 08, 2014, 03:35:22 PM
The only argument from the developers is, that Eastern Front adds 2 new factions so you can not simply change the faction. It might take some time but can you just ask the original CoH developers or the responsible guys to look at it? Every other mod community fixed their problem in 1 - 6 days. Eastern Front will take 2 months at least.

I just reminded you of the past: In 2010 (!) I posted about the slow development of EF and joked that CoH2 will be out before the Ostheer comes. As it turns out I was right. Eastern Front is one of the biggest and best financed mods so get your feet together and spend your free time on Eastern Front! You don't get paid like every other modder. You choosed your way!
Title: Re: Sorry to see it go.
Post by: Hendrik 'DarcReaver' S. on March 08, 2014, 05:24:22 PM
The only argument from the developers is, that Eastern Front adds 2 new factions so you can not simply change the faction. It might take some time but can you just ask the original CoH developers or the responsible guys to look at it? Every other mod community fixed their problem in 1 - 6 days. Eastern Front will take 2 months at least.

I just reminded you of the past: In 2010 (!) I posted about the slow development of EF and joked that CoH2 will be out before the Ostheer comes. As it turns out I was right. Eastern Front is one of the biggest and best financed mods so get your feet together and spend your free time on Eastern Front! You don't get paid like every other modder. You choosed your way!
I have a proposal:

1) Learn .dll coding
2) join our team
3) fix the issue in the factionfix in 1-6 days like you suggested because we're apparently too lazy to fix it.
4) ?? ?? ?
5) PROFIT!

I'm sure you'll be more successful and faster than Cope because he only spent the last 4 years with repeatedly fixing the recrew bug for Eastern Front mod.


If you can't do that stop complaining. Thanks.

(WARNING, there might be sarcasm above this line)
__________________________________________________


And now more seriously: Smoking Gun managed to recode so many parts of CoH 1 Steam Version with the last 2 patches that all our tries to fix the recrew problem have not been successful yet.
Title: Re: Sorry to see it go.
Post by: Codename "Tiger" on March 08, 2014, 06:37:21 PM
@Crowsy
in youre posts it sounds like you were bashing against the DEV Team and the MOD because every patch need its time.

So if you accepted it its okay....

I just dont like if people are talking about topics from which they have no idea

The only argument from the developers is, that Eastern Front adds 2 new factions so you can not simply change the faction. It might take some time but can you just ask the original CoH developers or the responsible guys to look at it? Every other mod community fixed their problem in 1 - 6 days. Eastern Front will take 2 months at least.

Eastern Front is one of the biggest and best financed mods so get your feet together and spend your free time on Eastern Front! You don't get paid like every other modder. You choosed your way!

After SEGA's Patch in December 2013 EF was not working and the DEV Team was not able to fix this problem.
So they asked SEGA for help and they promised to fix the "MOD Problem" in the next Patch.
This Patch for vCoH was released end of february and after this Patch Eastern Front was working again.
The only Problem is now, that the Mod crashes all the time.

And the Devs are working on 2 Patches:
1. A "little" Crashfix which is very difficult and is made my Cope who isnt any jobless freak -> He has an RL and EF is just his HOBBY
2. An new EF Patch (Reworked Ostheer and any other great stuff like new base-buildings for soviets.)

Ofc this Patches will be released as one big Patch so we/the DEV Team has to wait for the "Bugfix"-Patch.
Title: Re: Sorry to see it go.
Post by: Tom on March 08, 2014, 10:08:38 PM
To all the good times we had Eastern Front.  My favorite mod for CoH, I am sad to see you end through a small patch from people that did not even work on the game.  Its been to long to ask if this mod is dead, I know it is and I will always miss you.

I guess I will see if blitzkrieg crashes to desktop after three months of time to repair a minor patch. 

Oh wait, it never did.

I'll miss you Eastern Front, after three months I'll stop the CPR on your update button.... you are dead.

crapcoh2 is waiting for you to dump your money in those commanders.
Title: Re: Sorry to see it go.
Post by: TheVolskinator on March 09, 2014, 07:14:35 AM
And now more seriously: Smoking Gun managed to recode so many parts of CoH 1 Steam Version with the last 2 patches that all our tries to fix the recrew problem have not been successful yet.

What in the hell did they change, exactly? Last I heard they just messed with some of the .dll files and (I thought) some SCAR coding. I mainly work with the .rgds, so maybe it's all just over my head. I know that the changes have made it a bitch to get patches working for Europe in Ruins: Reinforcements mod (that I work on .rgds for).

I'll give a shout to Xeonis, who's been a whiz with SCAR coding on the EiRR team. Maybe he'll have an answer for you guys' .dll issues; try shooting him a PM yourself as I'm sure you'd be able to explain your problem more accurately than I could. I also don't deal with SCAR/.dll mumbo jumbo, so it'd all be Greek to me in any event.

A damn shame that EF isn't working, because the mod frankly grabs CoH2 by the balls, throws it down, and starts kicking it in the teeth.

EDIT: Frankly, I can see getting the entire CoH modding community together to fix this. Team allegiance be damned, no matter which way you cut it EF has thus far been the most enterprising CoH mod, and this would definitely show Relic/Sega that us modders mean business (and can also fix their mistakes for them). We're all sitting around on our laurels waiting for Sega to stop picking their butts and to release modding tools for CoH2 anyways. It might do everyone good to "de-frag" the modding community too.
Title: Re: Sorry to see it go.
Post by: Tom on March 09, 2014, 12:35:45 PM
I was under the impression that EiR is kinda dead. Good to see ppl are still active. I always loved the concept behind EiR. Oh and i think that guy Kiraye is good at scar too.
Title: Re: Sorry to see it go.
Post by: SchlagtSieTot on March 10, 2014, 09:08:16 PM
To move some of the attention away from all that whine, I for one, would like to say you dev-team is doing an outstanding job. I love the mod, and appreciate what you guys are doing - for free, so we can have a good time. I am a leading member of a hobby community, and I know that most people don't have a clue about what is going on behind the curtains. Don't loose the spirit, keep up the good work, and I will see you on the frontline shortly, with all these new treats you have in store for us.
Title: Re: Sorry to see it go.
Post by: Crowsy on March 11, 2014, 08:24:09 PM
Codname "Tiger" may I suggest when reading a post you then read it again and maybe get a second opinion? In no way was I 'bashing' the Devs or anyone, I was merely asking questions about the mod.

I have been involved in mods and now only too well how stubborn fixes can be to get right. For what it is worth I respect most modders and certainly respect the EF team, I was curious to what was going on when another big mod 'Blitzkreig' released a patch and now has it working.

I now know why things are different thanks to the more informative people here.

PS Hope you manage to fix it soon.
Title: Re: Sorry to see it go.
Post by: Copernicus on March 12, 2014, 01:15:42 AM
As requested, here are some details on what is actually causing crashes. This may be somewhat technical.

As you may be aware, in the past EF had problems with recrewing weapons. This is because CoH is hardcoded to only read capture squads for the 4 basic factions from team weapon entities. If you try to capture a team weapon with a Soviet squad, the game will crash because it cannot find the appropriate entry in the RGD (and subsequently runs into invalid memory sooner or later).
What I did back then was writing a custom DLL FactionFix.dll which for all purposes acts like the original game DLL (WW2Mod.dll; in fact it just forwards any calls to that DLL) but does some in memory patching, i.e. it changes some parts of the code in the original DLL. The code that is changed is the code that controls which squads are spawned when a team weapon is picked up. Whenever a non-standard faction tries to pick up such a weapon, my code jumps in and calls a certain ScaR function that returns the RGD-path of the appropriate squad. (To get the actual Lua-state of the ScaR-instance, I make use of Corsix' LuaExtCore.dll.).
Everytime a patch containing more than just balance changes is released, there is a chance that the address of the code that is to be patched has been changed. If parts of the DLL have been recompiled, it is even possible that parts of the fix have to be rewritten: Because we only have the binary files (i.e. the compiled code), my code needs to seamlessly interface with x86 assembler (which I very much like). Unfortunately that means, that if the compiler thinks it is better to put some value that was in some register EAX last time around into EBX this time, I have to rewrite parts of the code and spend sometime reverse engineering the data flow. These are all things that can be done rather quickly (even if some engineer at Relic decides that what has been an __stdcall up to v2.601 should be a __thiscall in 2.700).
The ugly part is if things do not work out immediately: This stuff is impossible to debug; without proper debug symbols even the stack traces of DMP-files are bogus and most applications totally don't like being debugged. Furthermore, debugging without any source code is tedious and not fruitful (especially when you are working with a system where you do not even have the faintest idea what most of the functions actually do!).
So what I currently have is the following:
I have updated the DLL accordingly and I have noted that besides some changes in the offsets, WW2Mod.dll has not been changed in the parts relevant to this patch. Still, the patch is not working as intended: Sometimes it works, sometimes it crashes, and sometimes it does not even allow a weapon to be recrewed (the cursor does not change into the right symbol and no action is possible). This (in a way) is the worst case scenario: My code seems fine (it is the same as for the last version and it worked for that one), but the behavior is somewhat non-deterministic. Sometimes you can capture a weapon, yet other times it won't work (using the same squad type and weapon type). If the game was crashing consistently, I could just look at where it is crashing and backtrace from there. But it does not.
I am not sure what causes this behavior. I have already witnessed similar behavior when I only patched an irrelevant part of the code (swapping two independent opcodes). This could indicate that some kind of memory protection mechanism is employed, yet I am not willing to believe this (why would it show that specific behavior? Why wouldn't it just crash all the time?). Non-determinism in behavior may also be indicative of multiple threads using the same code with non-thread-local data, but I highly doubt that because my testing setup was fairly isolated and it seems unreasonable to distribute the game logic to different threads, at least for this specific case. Another possibility is that I am missing a new piece of code that was inserted, but I was unable to find anything.

As you can clearly see, this problem is specific to mods that have additional factions.

To clarify another thing: I am not getting paid for this. Nobody here is getting paid for anything. And even if you did, you would not be entitled to anything because quite obviously, you did not pay for anything ;).
Title: Re: Sorry to see it go.
Post by: lord_exodus on March 12, 2014, 08:27:16 AM
Its been about 10 years since i dealt with DLL and such.  Im not sure if I got exactly how you are currently deploying your custom dll.  If there is some sort of memory protection mechanism cant you just patch the import table of WW2Mod.dll to point to your custom dll and avoid memory patching any other part of the WW2Mod.dll.  This should avoid any rudimentary memory protection scheme.

Does your code crash also for only original factions? 

What is (swapping to independent opcodes)?  Im not familiar with that.

I could try and give you all a hand if you could point me to your work.
Title: Re: Sorry to see it go.
Post by: Copernicus on March 12, 2014, 09:37:01 AM
Patching the import table would not make any difference because I am not actually fiddling with imports but some piece of code buried deep inside the DLL.
The inconsistencies happen with all factions. I have found one of their causes though and am able to circumvent it.

What is (swapping to independent opcodes)?  Im not familiar with that.
This is me missing a 'w'. Swapping two independet opcodes, as in: Swapping the order of execution of
lea ecx, [eax+edx*4]
push ebx

I am currently trying some other things and am double checking every bit. I am not currently experiencing any crashes but I'd like to give it some more testing before I believe anything.
Title: Re: Sorry to see it go.
Post by: Tom on March 12, 2014, 10:19:13 AM
As requested, here are some details on what is actually causing crashes. This may be somewhat technical.

As you may be aware, in the past EF had problems with recrewing weapons. This is because CoH is hardcoded to only read capture squads for the 4 basic factions from team weapon entities. If you try to capture a team weapon with a Soviet squad, the game will crash because it cannot find the appropriate entry in the RGD (and subsequently runs into invalid memory sooner or later).
What I did back then was writing a custom DLL FactionFix.dll which for all purposes acts like the original game DLL (WW2Mod.dll; in fact it just forwards any calls to that DLL) but does some in memory patching, i.e. it changes some parts of the code in the original DLL. The code that is changed is the code that controls which squads are spawned when a team weapon is picked up. Whenever a non-standard faction tries to pick up such a weapon, my code jumps in and calls a certain ScaR function that returns the RGD-path of the appropriate squad. (To get the actual Lua-state of the ScaR-instance, I make use of Corsix' LuaExtCore.dll.).
Everytime a patch containing more than just balance changes is released, there is a chance that the address of the code that is to be patched has been changed. If parts of the DLL have been recompiled, it is even possible that parts of the fix have to be rewritten: Because we only have the binary files (i.e. the compiled code), my code needs to seamlessly interface with x86 assembler (which I very much like). Unfortunately that means, that if the compiler thinks it is better to put some value that was in some register EAX last time around into EBX this time, I have to rewrite parts of the code and spend sometime reverse engineering the data flow. These are all things that can be done rather quickly (even if some engineer at Relic decides that what has been an __stdcall up to v2.601 should be a __thiscall in 2.700).
The ugly part is if things do not work out immediately: This stuff is impossible to debug; without proper debug symbols even the stack traces of DMP-files are bogus and most applications totally don't like being debugged. Furthermore, debugging without any source code is tedious and not fruitful (especially when you are working with a system where you do not even have the faintest idea what most of the functions actually do!).
So what I currently have is the following:
I have updated the DLL accordingly and I have noted that besides some changes in the offsets, WW2Mod.dll has not been changed in the parts relevant to this patch. Still, the patch is not working as intended: Sometimes it works, sometimes it crashes, and sometimes it does not even allow a weapon to be recrewed (the cursor does not change into the right symbol and no action is possible). This (in a way) is the worst case scenario: My code seems fine (it is the same as for the last version and it worked for that one), but the behavior is somewhat non-deterministic. Sometimes you can capture a weapon, yet other times it won't work (using the same squad type and weapon type). If the game was crashing consistently, I could just look at where it is crashing and backtrace from there. But it does not.
I am not sure what causes this behavior. I have already witnessed similar behavior when I only patched an irrelevant part of the code (swapping two independent opcodes). This could indicate that some kind of memory protection mechanism is employed, yet I am not willing to believe this (why would it show that specific behavior? Why wouldn't it just crash all the time?). Non-determinism in behavior may also be indicative of multiple threads using the same code with non-thread-local data, but I highly doubt that because my testing setup was fairly isolated and it seems unreasonable to distribute the game logic to different threads, at least for this specific case. Another possibility is that I am missing a new piece of code that was inserted, but I was unable to find anything.

As you can clearly see, this problem is specific to mods that have additional factions.

To clarify another thing: I am not getting paid for this. Nobody here is getting paid for anything. And even if you did, you would not be entitled to anything because quite obviously, you did not pay for anything ;).

WOW! What a pain in the ass these custom factions are. This is how it always was? I bet now the devs wished they replaced the OF factions with EF factions long time ago, and bam all these problems which are hurting EF image now were gone.

I mean, whats the point of having so many faction in the mod if nobody uses them, like PE and brits. Who the fuck plays brits vs OH? That's just disgusting to even think about it. Besides its just a nightmare to balance the game with the retarded factions (OF) which are untouched.  Now its too late to take this into consideration, i understand it takes a huge volume of work to replace the factions.
Title: Re: Sorry to see it go.
Post by: minhvn on March 12, 2014, 11:46:06 AM
I think we should consider the entire remake for 2.602, tell people to have cracked game (or if you already have the old version), this version will never upgrade and we will be safe with it. This is just a suggestion. So we will be focusing more on the campagain , offline with AI (the down side of this is no online game)
Title: Re: Sorry to see it go.
Post by: Dreamerbg on March 12, 2014, 11:52:45 AM
It seems that I must say it.

This mod will not support piracy!
This mod I believe want to be considered as an expansion for CoH. This means NO FACTION REMOVING and NO CHANGES IN ORIGINAL FACTIONS.

And ffs , just read Cope's last post and smile :)
Title: Re: Sorry to see it go.
Post by: Gerrit 'Lord Rommel' G. on March 12, 2014, 01:17:18 PM
I think we should consider the entire remake for 2.602, tell people to have cracked game (or if you already have the old version), this version will never upgrade and we will be safe with it. This is just a suggestion. So we will be focusing more on the campagain , offline with AI (the down side of this is no online game)
EF isnt an "offline" mod. We are focusing with balance on PvP. Thats the reason why we want to have a version for the new steam version.
Title: Re: Sorry to see it go.
Post by: Hendrik 'DarcReaver' S. on March 12, 2014, 05:16:25 PM
I think we should consider the entire remake for 2.602, tell people to have cracked game (or if you already have the old version), this version will never upgrade and we will be safe with it. This is just a suggestion. So we will be focusing more on the campagain , offline with AI (the down side of this is no online game)
EF isnt an "offline" mod.
This sums it up in one sentence :)