Game Crashing Truck Command Bug/Glitch

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Red
New user
Posts: 2
Joined: 19 Apr 2009, 11:58

Game Crashing Truck Command Bug/Glitch

Post by Red »

I have no idea if this was reported before.. but -

I was playing online yesterday.. a 2v2v2.

I had 15 trucks, as you know is the limit.

My teammate gifted me a truck somewhere. Since I'd be over the limit, I went onto the build tab to check it out.
In the space where it should be, it showed what it was building (I.E: nothing), but there wasn't not even the background for the icon of the Truck on the HUD. It was a blank empty space below what it says it's doing. (If you get what I'm saying)

I clicked on the build icon for the 'truck' and the game exited/crashed silently.


I have no idea how to bring up an error report, but it doesn't seem necessary here. :-S

OS: Win XP SP2 (32-bit)
Video Card Brand: ATI
Processor: AMD Athlon 64 X2 Dual Core Processor 5200+
I'm not an AI, stupid!
EvilGuru
Regular
Regular
Posts: 615
Joined: 23 Jun 2007, 22:41

Re: Game Crashing Truck Command Bug/Glitch

Post by EvilGuru »

I guess when gifting units we should check if the other player is at the truck limit or not. Chances are some parts of the structure/building code rely on there being a maximum of 15 trucks (or whatever the value happens to be #define'ed to).

File a bug report along the lines of that, would you.

Regards, Freddie.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Game Crashing Truck Command Bug/Glitch

Post by Per »

Why do we have a truck limit anyway?
EvilGuru
Regular
Regular
Posts: 615
Joined: 23 Jun 2007, 22:41

Re: Game Crashing Truck Command Bug/Glitch

Post by EvilGuru »

Per wrote:Why do we have a truck limit anyway?
I suspect for two reasons; firstly it allowed the use of a statically allocated array (maybe we maintain a fixed-size list of what trucks are doing) and secondly to prevent spamming of trucks.

So a better question might be: why do we have any of the in-game limits? What's wrong with having 30 factories?

Regards, Freddie.
Red
New user
Posts: 2
Joined: 19 Apr 2009, 11:58

Re: Game Crashing Truck Command Bug/Glitch

Post by Red »

I would of just said "to prevent truck spamming" but you probably know better.

The 6 power generator limit is both understandable and not. It prevents massive energy gain, but then again, how many times are you going to have more then 12 oil derricks, let alone 24?


Anyway, I would of thought this was enough to report the bug. I'm a newcomer and all to these forums/site (in general), so you're gonna have to help me on how to do a proper bug report, if that's what your saying.
I'm not an AI, stupid!
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Game Crashing Truck Command Bug/Glitch

Post by Zarel »

I think there should be either a 3- or a 6-truck-per-structure limit. That'd be the most important limit.

The other limits are moderately useful in preventing outright spam, and preventing requiring really good micro skills just to be effective with that many base structures.

Anyway, iirc, the default limit was 8 generators. I'd prefer something more like 5-6. Ditto the other limits.