Board index DeFRaG DeFRaG in general

ERROR: MAX_PATCH_PLANES

Are you really the best?

ERROR: MAX_PATCH_PLANES

Postby ZyaX » Sep 25th, '13, 10:14 am

I get this error when I tried to play kabcorp-highway on a server. I got the same when I tried to load the map offline.
I have com_hunkmegs 256 and I tried re-downloading it.

Does anyone else have this?
How to solve it?
User avatar
ZyaX
Voice of Reason
 
Posts: 117
Joined: May 2nd, '09, 11:02 pm

Re: ERROR: MAX_PATCH_PLANES

Postby <hk> » Sep 26th, '13, 10:35 am

No idea, but here is a guess.

Curves are made out of patches. Maybe you should lower your subdivision count to make curves less round. That should reduce the number of patches per curve.

I think it was r_subDivisions.
Google says a higher value makes curves more blocky.
User avatar
<hk>
Menstruating 24/7
 
Posts: 1040
Joined: May 2nd, '09, 12:06 am
Location: Ingolstadt Germany

Re: ERROR: MAX_PATCH_PLANES

Postby ZyaX » Sep 26th, '13, 7:51 pm

tried 1, 0 and -1. same error
User avatar
ZyaX
Voice of Reason
 
Posts: 117
Joined: May 2nd, '09, 11:02 pm

Re: ERROR: MAX_PATCH_PLANES

Postby <hk> » Sep 26th, '13, 9:00 pm

Try 50
User avatar
<hk>
Menstruating 24/7
 
Posts: 1040
Joined: May 2nd, '09, 12:06 am
Location: Ingolstadt Germany

Re: ERROR: MAX_PATCH_PLANES

Postby Kabcorp » Sep 28th, '13, 3:10 pm

Its in sourcecode... MAX_PATCH_PLANES=1024=>8192
I put a fixed version in 4 5 houres.
Kabcorp
 
Posts: 33
Joined: Sep 28th, '12, 1:49 pm

Re: ERROR: MAX_PATCH_PLANES

Postby ZyaX » Sep 30th, '13, 12:33 pm

@hk: tried 50 too, same error.

@kabcorp: tell me when it's up.
User avatar
ZyaX
Voice of Reason
 
Posts: 117
Joined: May 2nd, '09, 11:02 pm

Re: ERROR: MAX_PATCH_PLANES

Postby Kabcorp » Oct 2nd, '13, 1:28 am

Kabcorp
 
Posts: 33
Joined: Sep 28th, '12, 1:49 pm

Re: ERROR: MAX_PATCH_PLANES

Postby ZyaX » Oct 2nd, '13, 1:20 pm

It works now. Thanks!
User avatar
ZyaX
Voice of Reason
 
Posts: 117
Joined: May 2nd, '09, 11:02 pm

Re: ERROR: MAX_PATCH_PLANES

Postby ZyaX » Dec 10th, '14, 4:27 pm

Sorry to resurrect this thread. But I'm having the same problem again with a particular map, this time red_planet_escape_1, and I don't think the author will re-release a fixed version just for me this time.

I removed all other non-essential pk3 files, but the problem persisted.
Interestingly is that I also seemed to crash the server when I joined and that map was on. Because the next time I connected it was test_bigbox, then the map was voted back and my client disconnected. It may have been a coincidence because connecting again did not crash the server.
The maps red_planet_escape_2 and 3 work fine.
User avatar
ZyaX
Voice of Reason
 
Posts: 117
Joined: May 2nd, '09, 11:02 pm