Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Andrew

Pages: [1] 2 3 ... 14
1
Feature Requests / Re: Estate Descriptions
« on: August 15, 2018, 04:04:00 PM »
I'm going to take the approach I take with M&F, if it's easy to implement and doesn't actually detract from the game, why not?

2
Feature Requests / Re: Heraldry on Messages
« on: August 15, 2018, 01:09:25 PM »
Something like this, I think. Nothing too complex.


3
Feature Requests / Heraldry on Messages
« on: August 14, 2018, 11:51:25 AM »
Title: Display Family Heraldry on Messages
Summary: Display a small version of the family heraldry on messages, probably on the right side. As heraldry is stored as svg files, this would increase individual message load sizes by, at most, 29KB per message.
Details: In combination with the above, the file size increase would only be per message if every message was from a unique person, and not just the game telling you what happened. As this would increase bandwidth usage and add another thing to see, we may only wish to add this to the main browser format, rather than the mobile view. It may also be possible to have a user setting to disable them, which might not be a bad idea.
Benefits: It looks cool and makes it easier to recognize message senders at a glance, in contrast with the game's "every name is white" present format.
Downsides: Load times would increase a small amount as the browser would need to download each individual .svg file for each heraldry, and it may clutter the message display.

Edit: Wimpie yelled at scolded me for not using the format prescribed for feature requests.

4
Feature Requests / Re: Infiltrator Prison Rescue
« on: August 14, 2018, 11:32:08 AM »
What about prisoners of rogue? Maybe they should be ascribed a rogue region to be held within?

Also, I think in current code, the prison's capital not being at "peace" (meaning battles, looting, etc, happened in there) increases chance of prisoner escaping.

We should just make prisons be buildings that you can build in different regions and have escape chance tied to like, local stability or combat or some such.

5
Helpline / Re: Faulty Battle Allegiances
« on: July 15, 2018, 12:22:28 PM »
I only brought rogues up because if I'm going to detail how it works, I'm going to detail ALL of how it works (which includes rogues).

Should this edge case be addressed? Yes. Delvin, Vita, and I all have bounced ideas around on how to fix it, but I think Delvin wants to finish his current update before adding another change in--which is good, because a focused Delvin means things get done sooner.

Someone should throw that guide I made on your wiki though, in the manual ideally, or it'll probably get lost again like the other times it's been detailed (or so I'm told).

6
Helpline / Re: Faulty Battle Allegiances
« on: July 13, 2018, 04:06:34 PM »
Step #3 doesn't explain two battles in Nascot where in one, Perdan and Perleone (allies) fought alongside monsters against Highmarch, and another where Perdan just watched as monsters fought against Highmarch.

Highmarch was peasants. Perdan and Perleone are allies, Perleone is at Neutral with Highmarch, and I think Perdan is at Neutral too. Perleone was looting the region and probably had attack orders.

For your situations here, I'd need to know who was already present, who was showing up that turn, and what the battle report said for who took control of the battlefield, to exactly why it happened and/or fix my list of steps.

If I had to guess though, in your Perdan, Perleone, and Monsters vs Highmarch, Highmarch was the defender.

Step ??: Highmarch is assigned Defender A.
Step 12: No Change.
Step 13: Monsters attack because they're at war with EVERYONE.
Step 14: No change.
Step 15: Perleone with attack orders violates their neutrality and joins the assault.
Step 16: No change.
Step 17: No change.
Step 18: Perdan, allied with Perleone, joins their allies assault against Highmarch.

Neutral is not Peace. If Perdan and Highmarch had peace, Perleone would've assaulted alone. 

You can only end up fighting with monsters as your ally if they are NOT the defender, as every realm would see them as the enemy in step 13. Since Highmarch was defending, this made the monsters attackers. Perleone joined due to unit settings, and Perdan followed their ally.

As for Perdan watching monsters and Highmarch fight, it's Perdan's neutrality. In this case I'd have to assume that Monsters were attacking, and Highmarch was defending. Perdan didn't join the defense, because they were neutral with the defenders--in other words, as far as the game could tell, it wasn't Perdan's fight, just Highmarch's.

7
Helpline / Re: Faulty Battle Allegiances
« on: July 13, 2018, 03:36:30 PM »
Sorry, Vita pointed out something I missed. Step 3 only factors in when only rogues are present. For the rest of it, rogues themselves count as a realm.

I've updated Step 3 and will update it again to explain how rogues work in regards to this.

8
Helpline / Re: Faulty Battle Allegiances
« on: July 13, 2018, 02:54:12 PM »
Alright, since I was kind of working on modernizing the combat code anyways, I sat down and took a look. This is exactly how the game figures out who is on what side of a battle, and any later step includes all factoring from earlier steps (1 comes before 2, 9 comes after 1-8, etc.), taking into account ~260 lines of code. For the purposes of rogue forces, those without realms, they are treated as their own realm, rather than being realm-less. The process for regular battles (not rebellion related):
  • Determines Region ownership.
  • Ignores any Units that have no combat capable men and declares those units 'Neutral'
  • Figures out whether any Units set to 'Evade' do so or not. If they do, they are declared 'Neutral'. If not, they're left in the calculation.
  • Figures out what Realms still have forces left.
  • If only a single realm is present (rogue forces, in this case), it looks for any non-human (Monsters, Undead, or Daimons), and assigns all human forces to attack them. The already present larger force controls the battlefield. If no force was already present, non-humans control the battlefield.
  • If no non-humans, looks for any ongoing TakeOver. TakeOver forces controls defenses.
  • If no TakeOver running, looks for any Realm allied or federated with the region owner that are already present or dug-in and are not peasants. These realms control the battlefield.
  • If no allied or federated realms of region owner, looks to see if only peasants of the owning realm or allies are already present. If only peasants of owning or allied realms are present, they take control of the battlefield.
  • If no allied or federated realms are present whatsoever, looks to see who else was already present in the region. If someone was already present (that is, someone who didn't arrive to the region this turn), the realm with the largest strength controls the battlefield.
  • If no realm was already here, the realm arriving with the strongest army controls the battlefield.
  • By this point, the battlefield controller (henceforth: Defender A) should be determined. If not, no battle happens.
  • All remaining realms (those not assigned a role in battle yet) in a federation with Defender A are Defenders.
  • All remaining realms at War or Hatred with ALL Defenders (A and Confederates) are determined to be Attackers.
  • All remaining realms at War/Hatred with some Defenders (A and Confederates) and Allied with other Defenders (A and Confederates) remain neutral, and the game questions what their ruler was thinking.
  • Units not assigned a role with Murderous settings not Allied to any Defenders (A and Confederates) ignore Peace and are determined to be Attackers.
  • If for some reason no attackers have been determined (that is, no non-Defenders/non-Neutral realms present), no battle happens.
  • All remaining realms in a federation with Attackers are determined to be Attackers.
  • All remaining realms allied to an Attacker and NOT allied or peace with any Defender are determined to be Attackers.
  • All remaining realms allied to a Defender and NOT allied or Peace with an Attacker are determined to be Defenders.
  • All remaining realms that are both allied/peace with any Defender AND allied/peace with any Attacker are determined to be Neutral.
  • All remaining realms "don't know what to do" and are determined to be Neutral.
Shorter version:
  • Units not combat capable are ignored.
  • Units that are Evading attempt to do so, and are ignored if they do.
  • Monsters, Undead, and Daimons will always be the opponent for humans when only rogues are present. If more than a single realm is present, this is skipped. Larger present force controls battlefield. If all forces just arrived, larger force controls battlefield.
  • No non-humans? Any Realm running a takeover controls battlefield.
  • No TakeOver? Owern, Allies, and Federation partners of region owner control battlefield if present, even if just with Peasants.
  • Still no defender? Whoever was already present with the largest force controls the battlefield.
  • Still no one? Realm arriving with the strongest force controls battle.
  • If we have a defender, figure out attackers. If not, no battle.
So, what does this mean:
  • Step 1: Highmarch owns region.
  • Steps 2-6: Not noteworthy, as Highmarch, the owner, has no already present forces.
  • Step 7: Redhaven takes up defense of region as the only already present force. Forces arriving this turn do not count, only those previously present.
  • Steps 8-12: We already have a defender.
  • Step 13: Vix Tiramora is determined to be an attacker.
  • Steps 14-18: No change.
  • Step 19: No change. As Highmarch is not allied to Redhaven, they do not join the Defense.
  • Step 20: No change.
  • Step 21: Highmarch, having not yet found a role, is assigned Neutral.
I suspect this was setup the way it was, so if you and an enemy are traveling through a third, neutral country, you don't just start murdering each other in their capital, as said third country would safely be assumed to have some token militia force in their regions that'd grant them battlefield control and stop the other two from being fighting as they'd not be assigned as attackers.

9
Feature Requests / Re: Declare Support
« on: June 26, 2018, 03:38:21 PM »
Hm...

Does support matter when there is no opposition though? Or are you looking to make it more rewarding to hold government positions by allowing support to give honor/prestige?

It'd not be hard to make it so that protests and supports are tracked by position on a table, then after a public protest is declared, only make it have penalties if not enough people declare support in a day or two or three or something.

I'm kind of leery of anything that can become "set and forget", even if you have to reset it every few months--then you just have people complaining about the timeline and when they set it and how it didn't count when they thought it should of.

If it's going to be directly countering protests, you may want to consider also how many people are in a realm that can support or protest. If 3 people protest and 3 people support, the situation is different in realms of 6, 15, 25, and so on.

10
Feature Requests / Re: Declare Support
« on: June 25, 2018, 04:04:15 PM »
I like this idea, too.

11
As far as I am aware, this is in VBA script.

While yes, I could just host the script, I was thinking of something like a text box you put a battle report in, press submit, and get it reformatted for forum or wiki or whatever. All I'd really need is code that can parse a text input and generate a text output. I can build the form and everything else myself.

12
Gabanus, any chance of you doing this in something I can host on a website, in PHP perhaps?

13
Legends / Re: Feedback and Discussion
« on: June 01, 2018, 05:15:28 AM »
I've discovered that they basically [email protected]#$ed my preferred framework (symfony). I'm toying around with Laravel now, but right now I'm not really sure if I'll do any web development in the future.

May I asked how they destroyed it so badly?

14
Other Games / Re: Older Game, Text Based
« on: April 20, 2018, 08:40:07 AM »
Something like this I think would be relatively simple and easy to make into a small browser game. If you have any other details, let me know.

I've been looking for a small project to poke at before I start making my own, much bigger and more complex game.

15
Development / Re: Treat really old accounts with care
« on: April 06, 2018, 05:13:29 PM »
Still don't see why there's a timelimit on it. You're talking about like, a few megabytes of space, ever.

Pages: [1] 2 3 ... 14