Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Oct 24, 2025 5:39 am
All times are UTC + 0
Reconnection Error caused by Gap Generator
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Andrew84
Cyborg Engineer


Joined: 20 Dec 2020

PostPosted: Wed Sep 17, 2025 5:47 pm    Post subject:  Reconnection Error caused by Gap Generator Reply with quote  Mark this post and the followings unread

This problem is present on any map.
If you place a working gap generator in the upper left corner, and then turn it off or destroy it, provided that other player has a working SPYSAT, a reconnection error occurs.

I conducted extensive testing of the problem. I spent a lot of time on it.
Here's what I discovered:
The problem area changes its position depending on the terrain's elevation and whether there are any elevated areas.
The area is located on the left. Apparently, these are some points that cause an error when removing fog.

I came up with an idea for a solution. I placed a civilian gap generator in the problem area, and it worked. Then I created gap generators using ini. I started changing the radius and moving them. In the end, I created generators with GapRadiusInCells=0. They cover 1 cell they're on. I filled the entire side beyond line of sight with them, and then started deleting and checking. In the end left two points that were causing the error without gap generator. I'm attaching a screenshot.

This completely solves the problem, but for this specific map. I suspect these points might shift when the terrain configuration changes.
Obviously, there won't be a global solution to this problem, so I suggest all map makers do as I did. Fill the sidewall with gap generators with GapRadiusInCells=0 (I think you can do this in just one vertical line) and then remove the excess. It won't take much time. We can agree to use the [CAMSC12A] target as a gap generator. There are two identical ones: [CAMSC12] and [CAMSC12A]
Or, a simple, lazy solution: simply expand the map to the left, beyond the visibility limits, by a few cells.

If anyone wants, they can test this further using my findings. I'm already tired of testing it.

In general, all maps included in the CNCNET need to be fixed. Perhaps someone would be willing to take this on. Or, for example, everyone could rework their favorite maps.

I also made an interesting discovery. It turns out you can place a building not only outside the visibility range, but also outside the map, and it works there. For example, a gap generator will generate fog from outside the map.
You just need to manually specify the building's coordinates in the file. Negative values ??also work.



2.png
 Description:
 Filesize:  58.46 KB
 Viewed:  1850 Time(s)

2.png



Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Thu Sep 18, 2025 1:47 am    Post subject: Reply with quote  Mark this post and the followings unread

Your map looks broken, what exactly are you showing?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Andrew84
Cyborg Engineer


Joined: 20 Dec 2020

PostPosted: Fri Sep 19, 2025 10:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Did you read the text above?
I've shown the problem tiles causing the error.
PS The map is perfect.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Sat Sep 20, 2025 4:54 am    Post subject: Reply with quote  Mark this post and the followings unread

The top left corner is known to cause problems for various things in game and its advised to not put anything there to avoid issues like this.  

The map in the screenshot is a complete mess, the cliff tiles are incoherently cut up and mashed together :/

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Andrew84
Cyborg Engineer


Joined: 20 Dec 2020

PostPosted: Sun Sep 21, 2025 5:57 am    Post subject: Reply with quote  Mark this post and the followings unread

What other problems are there in the upper left corner? I haven't noticed anything else.
The gap generator issue has been fixed.
The cliffs on the map are perfectly fine. When the map is ready, I'll let you see how it works.
I'm a super pro at map making. Feel free to ask me for advice.

Back to top
View user's profile Send private message
wow4ik81
Rocket Infantry


Joined: 30 Nov 2023
Location: Im Irrenhaus Deutschland

PostPosted: Sun Sep 21, 2025 6:34 am    Post subject: Reply with quote  Mark this post and the followings unread

could you upload the map?

Back to top
View user's profile Send private message
Andrew84
Cyborg Engineer


Joined: 20 Dec 2020

PostPosted: Sun Sep 21, 2025 7:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Yes of cource, but when it will be ready. 1-2 weeks later.

Back to top
View user's profile Send private message
Andrew84
Cyborg Engineer


Joined: 20 Dec 2020

PostPosted: Sun Sep 21, 2025 7:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Everything works as it should



557.png
 Description:
 Filesize:  1.02 MB
 Viewed:  1709 Time(s)

557.png



556.png
 Description:
 Filesize:  825.53 KB
 Viewed:  1709 Time(s)

556.png



Back to top
View user's profile Send private message
wow4ik81
Rocket Infantry


Joined: 30 Nov 2023
Location: Im Irrenhaus Deutschland

PostPosted: Sun Sep 21, 2025 7:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Later, the map becomes uninteresting, and the alleged problem cannot be reconstructed. Either as it is or not at all.

Back to top
View user's profile Send private message
Andrew84
Cyborg Engineer


Joined: 20 Dec 2020

PostPosted: Sun Sep 21, 2025 10:17 am    Post subject: Reply with quote  Mark this post and the followings unread

What problem are you talking about? I don't understand you.

Back to top
View user's profile Send private message
wow4ik81
Rocket Infantry


Joined: 30 Nov 2023
Location: Im Irrenhaus Deutschland

PostPosted: Sun Sep 21, 2025 10:38 am    Post subject: Reply with quote  Mark this post and the followings unread

the problem described above

Back to top
View user's profile Send private message
Andrew84
Cyborg Engineer


Joined: 20 Dec 2020

PostPosted: Sun Sep 21, 2025 11:16 am    Post subject: Reply with quote  Mark this post and the followings unread

You need to read the first sentence in the first post of this thread more carefully. And try to understand what's written there. Then you'll understand that you don't need me to upload a map here. What you need to do is go and get any map where you can build in the upper left corner, like the Tour of Egypt. And reproduce the problem.
But to reproduce the problem, you need to carefully reread and understand the first few sentences again.

Back to top
View user's profile Send private message
wow4ik81
Rocket Infantry


Joined: 30 Nov 2023
Location: Im Irrenhaus Deutschland

PostPosted: Sun Sep 21, 2025 11:57 am    Post subject: Reply with quote  Mark this post and the followings unread

OK, then we'll see the finished map again in 1-2 weeks.

Back to top
View user's profile Send private message
Andrew84
Cyborg Engineer


Joined: 20 Dec 2020

PostPosted: Sun Sep 21, 2025 12:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Do you really understand what I'm telling you?
You don't need my map if we're talking about the problem in this thread.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [14 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1940s ][ Queries: 14 (0.0126s) ][ Debug on ]