Question for the Developers (Working with original source release)

Discuss the future of Warzone 2100 with us.
Troman
Trained
Trained
Posts: 424
Joined: 12 Aug 2006, 15:40
Contact:

Re: Question for the Developers (Working with original source release)

Post by Troman »

Per wrote:How can I duplicate the bug you (still) see?
To be honest I don't know. I just put a droid near enemy HPs which damaged it, but it wouldn't start healing itself, then I ordered it to move, made him stop again (it was still in range to shoot at enemy HPs) and finally it started repairing itself ignoring enemies around.

BTW Alt+A does the same as "research all" in debug mode.
Sign Up for Beta-Testing:
?topic=1617.0
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Question for the Developers (Working with original source release)

Post by Per »

Troman wrote: To be honest I don't know. I just put a droid near enemy HPs which damaged it, but it wouldn't start healing itself, then I ordered it to move, made him stop again (it was still in range to shoot at enemy HPs) and finally it started repairing itself ignoring enemies around.
If it is the same as what I've seen occasionally, it has something to do with the range to the target. If I put it in pursue mode, it will fire at targets further away as well.
Troman wrote: BTW Alt+A does the same as "research all" in debug mode.
No, that is the "give all" cheat, and they are very different; "research all" gives you (and only you!) all researchable techs, while "give all" gives everyone the ability to research and produce everything.
"Make a man a fire, you keep him warm for a day. Set a man on fire, you keep him warm for the rest of his life."
Troman
Trained
Trained
Posts: 424
Joined: 12 Aug 2006, 15:40
Contact:

Re: Question for the Developers (Working with original source release)

Post by Troman »

Per wrote: If it is the same as what I've seen occasionally, it has something to do with the range to the target. If I put it in pursue mode, it will fire at targets further away as well.
I think to fix this bug we will have to go through the functions that deal with orders and actions (those ones with huge switch statements, what a mess btw). I might also take a loot at it in the next days if I will have enough time and if you won't fix this issue until then.
Per wrote: No, that is the "give all" cheat, and they are very different; "research all" gives you (and only you!) all researchable techs, while "give all" gives everyone the ability to research and produce everything.
Right, not really the same. But what I mean is you can press Alt+A if that's faster for you, instead of pressing 't' and then typing in the cheat code, since all you need in this situation is a researched Autorepair.

Chojun: sorry for hijacking your thread btw. ;)
Sign Up for Beta-Testing:
?topic=1617.0
Chojun
Regular
Regular
Posts: 518
Joined: 25 Nov 2006, 17:49
Contact:

Re: Question for the Developers (Working with original source release)

Post by Chojun »

Hehe, no problem.  They're all issues that need to be fixed, whether it's in my project or yours.
The best thing to do when your philosophies don't stand up to debate is to lock the thread and claim victory.
Chojun
Regular
Regular
Posts: 518
Joined: 25 Nov 2006, 17:49
Contact:

Re: Question for the Developers (Working with original source release)

Post by Chojun »

Update:


Implemented a thunk for the CApp so that the wndProc could be a member of the CApp class  8)  Assembly language, oh yeah, baby.

Finished CFramerateManager.  Implemented framerate throttling, although it doesn't quite work as perfectly as it could (yes, I am picky).  This allows people to set a target framerate that warzone will operate at.  Warzone does a lot with every frame, but it still doesn't require 100% CPU.  So for those who have powerful laptops and a long flight, you can set warzone to a modest 50-60 frames and your battery won't die in 53 seconds.

So..  What's next..  Dunno..  I've almost completely commented out frame.c/.h...  It makes for a noticably faster compile ;) 
The best thing to do when your philosophies don't stand up to debate is to lock the thread and claim victory.
Post Reply