Verified:

neversilence

Member
202

Sep 15th 2023, 22:17:56

LOL

nah1986 Game profile

Member
54

Sep 21st 2023, 23:08:38

I am experiancing stability issues on my developer computer. I must have picked "10 % more to break with planned attack with jets", instead of "10% more to break with standard attack" In attacked somebody without the attacker and defender having allies and it worked

nah1986 Game profile

Member
54

Sep 22nd 2023, 14:52:39

okay, I was able to break my target 10 min ago, by picking the "10% more standard strike"

nah1986 Game profile

Member
54

Oct 2nd 2023, 1:38:47

Isn't it in a way that, I adverttise the open source project, by doing a succesfull attack?

LittleItaly Game profile

Game Moderator
Alliance, FFA, & Cooperation
2186

Oct 5th 2023, 5:12:20

In a way. But yeah, from what I remember... 10% overage is needed to guarantee 100% success. The more exact break power you send, the more chance youll get "mehuled"
LittleItaly
SOL Vet
-Discord: LittleItaly#2905
-IRC: irc.scourge.se #sol
-Apply today @ http://sol.ghqnet.com for Alliance

nah1986 Game profile

Member
54

Oct 9th 2023, 1:40:29

I am having stability issues on my development computer, trying to get a new one soon.

nah1986 Game profile

Member
54

Nov 19th 2023, 14:07:50

Hello, so at the current level, I can predict if attacking (or with planned attack) will succeed with troops, jets or tanks. But not for example with 250 troopps, 2000 jets, 290 tanks. Is anyone interested in improving the software in github to included this?

Celphi Game profile

Member
EE Patron
6320

Nov 23rd 2023, 15:18:53


#include <stdio.h>
#include <stdlib.h>

#define OVERSEND 1.1

struct Military
{
int troops;
int turrets;
int tanks;
};

struct Tech
{
double weapons;
};

struct Country
{
struct Military military;
struct Tech tech;
double attack_bonus;
double readiness;
};

int jets_needed(struct Country target)
{
return ((target.tech.weapons * target.attack_bonus * target.readiness * OVERSEND) *
(target.military.troops + target.military.turrets*2 + target.military.tanks*4)) /2;
}

int main()
{
struct Country Target;
Target.military.troops = 100;
Target.military.turrets = 100;
Target.military.tanks = 100;
Target.attack_bonus = 1.00;
Target.readiness = 1.00;
Target.tech.weapons = 1.00;

printf("Jets needed: %d", jets_needed(Target));
}

Edited By: Celphi on Nov 23rd 2023, 15:21:06
Resistance is futile. You will be assimilated.

Gerdler Game profile

Forum Moderator
5078

Nov 23rd 2023, 16:09:49

Target.attack_bonus gives me a headache, lol. Better use the ingame name which is defense bonus or something, right?

Celphi Game profile

Member
EE Patron
6320

Nov 24th 2023, 0:33:20

It's more for nah to benefit from the coding pattern.
Resistance is futile. You will be assimilated.

Celphi Game profile

Member
EE Patron
6320

Nov 24th 2023, 0:36:11

The correct way would be to use govt_type, enums & yes,. rename that to defense bonus.
Resistance is futile. You will be assimilated.

nah1986 Game profile

Member
54

Nov 28th 2023, 8:06:12

Anyway, I hope. I am not breaking rules, but I only attack during player testing with Jets. So in a way, I am advertising my code by always been able to break the target.

nah1986 Game profile

Member
54

Feb 18th 2024, 0:41:04

Another successful attack using my code.

nah1986 Game profile

Member
54

Feb 28th 2024, 16:22:20

is there like models what it looks like if you have attacking ally/attacking allies and the country you are attacking has defensive ally/allies?Right now my code works in breaking a country without me having an ally/allies and the country not having ally/allies.

LittleItaly Game profile

Game Moderator
Alliance, FFA, & Cooperation
2186

Mar 2nd 2024, 22:00:32

Offensive/defensive allies can only send 25% of their available standing army. If something is PS'd away, then those forces arent available to you. Also if you only send jets on a SS for example, then your OA will only give you jets (troops or tanks from the OA arent sent for the SS). It's always best to ally someone with similar sized forces so that you get the full 25%.
LittleItaly
SOL Vet
-Discord: LittleItaly#2905
-IRC: irc.scourge.se #sol
-Apply today @ http://sol.ghqnet.com for Alliance

nah1986 Game profile

Member
54

Mar 4th 2024, 18:39:11

There is some automation in my code. I need to see what it looks to have allies on the main server so I can program the help tool to include cases where I have an offensive ally and/or the guy I am attacking has a defense ally.

Celphi Game profile

Member
EE Patron
6320

Mar 10th 2024, 6:48:12

WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4)) where min(value1,value2) = lower of the two values
Resistance is futile. You will be assimilated.

nah1986 Game profile

Member
54

Mar 31st 2024, 1:16:05

So how many Offensive and Defensive Alliens can a country have?

Celphi Game profile

Member
EE Patron
6320

Mar 31st 2024, 2:58:13

Depends on server
Resistance is futile. You will be assimilated.