Sounds tough to tweak the drain numbers so as to allow every type of village to exist. They could just make it so flags can't overlap more than its original claimed area. So, if you're extending you can never close the donut, either ever, or when the donut encloses other claims.rye130 wrote:There is already a minimum distance between claims of the same type. 5 tiles I believe. Donut villages will always be possible, bigger minimum distance between them just makes it require a larger village to do so. The real, long term solution is making it so that maintain a village/pclaim isn't quite as trivial. If it was only possible for me to maintain 1 village, I couldn't abuse multiple to get an advantage.lachlaan wrote:Proposed issue #1 , layered bases / curtain walls. Proposed solution? What's the minimum distance pclaims can have between one another? Can't donut with pclaims if there IS a minimum distance, just make it so people can't unnecessarily donut with vclaims.
-
lachlaan
- Posts: 488
- Joined: Sat Apr 06, 2013 9:32 pm
Re: W9 Siege System
-
sabinati
- Posts: 15527
- Joined: Mon Jul 13, 2009 4:25 am
- Location: View active topics
Re: W9 Siege System
make flags not overlap? what
-
rye130
- Posts: 2557
- Joined: Mon Feb 01, 2010 9:41 pm
Re: W9 Siege System
I think he means make it so that you cant have a circular village claim with a hole for another claim inside it.sabinati wrote:make flags not overlap? what
Basically make it so that this is the case:

-
sabinati
- Posts: 15527
- Joined: Mon Jul 13, 2009 4:25 am
- Location: View active topics
Re: W9 Siege System
right, but how is that possible?
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: W9 Siege System
He wants the server to check (when placing authority objects that claim land), so that is is made impossible to encircle a village claim.sabinati wrote:right, but how is that possible?
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: W9 Siege System
I just thought of a potential algorithm to avoid "donut villages" that would only need to work locally on the areas being newly claimed. It would look thus:
Under the area being claimed by a newly built authority object plus the desired safety margin, consider all already claimed tiles, completely ignoring tiles outside the safety area. Partition them into contiguous sections of claim. Disallow claim if there is more than one partition.
I think that should work, but I haven't exactly proven it mathematically. Can you find a weakness?
EDIT: Nevermind. I just realized that, even if it works for building donut villages, it doesn't account for the cases where a contiguous village is "hollowed out" by destroying interior authority objects.
Under the area being claimed by a newly built authority object plus the desired safety margin, consider all already claimed tiles, completely ignoring tiles outside the safety area. Partition them into contiguous sections of claim. Disallow claim if there is more than one partition.
I think that should work, but I haven't exactly proven it mathematically. Can you find a weakness?
EDIT: Nevermind. I just realized that, even if it works for building donut villages, it doesn't account for the cases where a contiguous village is "hollowed out" by destroying interior authority objects.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: W9 Siege System
How expensive would it be to check on activation attempts (so you can place the idol, but can't light it) of village idol to make sure that it is not surrounded by another village claim (reasonable range, like 1k tiles)?
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: W9 Siege System
Well, the problem seems to me to be the "reasonable range". 1k tiles could perhaps be done, but I wonder if it still won't be worth building the encircling village larger than that.Granger wrote:How expensive would it be to check on activation attempts (so you can place the idol, but can't light it) of village idol to make sure that it is not surrounded by another village claim (reasonable range, like 1k tiles)?
Not to mention ordering tricks like encircling the village after it has been built, or whatever.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
-
Granger
- Posts: 9255
- Joined: Mon Mar 22, 2010 2:00 pm
Re: W9 Siege System
Start with this and the hint that the sky might be falling on people that think it would be a good idea to circumvent this by going bigger?
⁎ Mon Mar 22, 2010 ✝ Thu Jan 23, 2020
-
loftar
- Posts: 9096
- Joined: Fri Apr 03, 2009 7:05 am
- Location: Your character database
Re: W9 Siege System
Haha, perhaps. :)Granger wrote:Start with this and the hint that the sky might be falling on people that think it would be a good idea to circumvent this by going bigger?
"Object-oriented design is the roman numerals of computing." -- Rob Pike