Era Of Two Suns

It's not easy creating an entire faction or era. Post your work and collaborate in this forum.

Moderators: Forum Moderators, Developers

hart02
Posts: 52
Joined: July 15th, 2009, 12:06 am

Era Of Two Suns

Post by hart02 »

Era Of Two Suns has finally been published to the add on server.It is an Era much like the Archaic era and Era of Myths where you can add the materials to a campaign like a different schedule. It features things that I was planning to use in a campaign at some point along with my modified material. I also plan to write all the code in Lua at some point. I don't know much Lua though so i have included lua files for future use. Any feedback for improvement is welcome especially for factions since I current only have five MP factions.Go Check it out.
Smart persons learn out of their mistakes, wise persons learn out of others mistakes! It seems that a select few have a talent learning out of others mistakes which many politicians lack.
Author of Era Of Two Suns

User avatar
mnewton1
Posts: 777
Joined: November 12th, 2008, 4:31 am
Location: On my pretty teal horsey.
Contact:

Re: Era Of Two Suns

Post by mnewton1 »

The Era_of_Two_Suns folder is completely empty. Try re-uploading it.
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!

hart02
Posts: 52
Joined: July 15th, 2009, 12:06 am

Re: Era Of Two Suns

Post by hart02 »

Really? How long does it upload an addon to the server? It appears the cli addon manager works
better than the addon gui.I also renamed the pbl file _server.pbl
Smart persons learn out of their mistakes, wise persons learn out of others mistakes! It seems that a select few have a talent learning out of others mistakes which many politicians lack.
Author of Era Of Two Suns

User avatar
mnewton1
Posts: 777
Joined: November 12th, 2008, 4:31 am
Location: On my pretty teal horsey.
Contact:

Re: Era Of Two Suns

Post by mnewton1 »

It seems to have all the files now. The Era does not work at all though. First, there are problems with the trolls. Then when you fix that, the whole era just quits BFW. You have a piece of code in there that is wrecking everything. I suggest you remove your era from the add-on server and try to find out what the problem is.
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!

hart02
Posts: 52
Joined: July 15th, 2009, 12:06 am

Re: Era Of Two Suns

Post by hart02 »

You have a piece of code in there that is wrecking everything. I suggest you remove your era from the add-on server and try to find out what the problem is.
I see what is meant when there is segfault error. but that only happens by its self in the add-ons folder which i tried. I have this in mine right now.

Code: Select all

brian@bmansdesktop:~$ ls /home/brian/.wesnoth1.8/data/add-ons
18thCentury_MP_Era                 Flight_Freedom                         Rise_of_the_Elementalist
4p_The_Haven                       Fossil                                 Roar_of_the_Woses
A_Demonic_Invasion                 FrankenWML                             Rock_out
Aethaeryns_Maps                    Galactic                               Rock_Paper_Scissors
After_the_Storm                    Galactic_Empires                       Rock_Paper_Scissors.cfg
Ageless_Era                        Galactic_Empires.cfg                   Royal_Death
Age_of_Guilds                      Gambits_EMPIRE_Builder                 RPG_Creation_Kit
AgeOfLegends_Era                   Gambits_EMPIRE_Builder.cfg             RPG_Creation_Kit.cfg
AgeOfTrials                        Gladiatorsad                           Sages
A_New_Land                         Gladiatorsad.cfg                       scenery.zip
A_New_Land.cfg                     GLE_Extended                           shadowmasters_test_addon
A_New_Order                        Gobowars                               SHOWCASE
Apocalypse_Era                     Golbeezes_Maps                         Siddhs_Maps
Arathropiae                        Golbeezes_Maps.cfg                     Siege
Archaic_Era                        Golbeezes_RPGs                         silverranger.zip
ARERA_MP_era                       Golbeezes_RPGs.cfg                     Spam_Era
Ascension                          Grafted_Era                            Steelhive_Era
A_Simple_Campaign                  Great_Legend_Era                       Story_of_Wose
Augu_Ports                         Gryphon_Tale                           SUPER_CAVE_WARS
Augu_Ports.cfg                     Gunpowder_Age                          SUPER_CAVE_WARS.cfg
Augu_Survivals                     HenrysMaps                             Survival_Deep_Shrine
Augu_Survivals.cfg                 High_Seas_Era                          Survival_Deep_Shrine.cfg
Axis_of_Evil                       HungarianCompetition                   Survival_Heaven_and_Hell
Axis_of_Evil.cfg                   images.zip                             Survival_Heaven_and_Hell.cfg
Bad_Moon_Rising                    Imperial_Era                           SurvivalXAddOnPacks
barbarians.zip                     Internet_Meme_Era                      SurvivalXAddOnPacks.cfg
Battle_Against_Time                Into_The_Underworld                    Swamp_Escape
Battle_for_Meridia                 Into_The_Underworld.cfg                Swamp_Escape.cfg
BEEM                               Isars_Cross_Forever                    Swamplings
Between_the_Worlds                 J_Advanced_Scripted_Stuff              SXCollective
Bitter_Revenge                     Kato_mods                              SXCollective.cfg
Bobs_RPG_Era                       killer_rabbits                         SXGE
Bobs_RPG_Era.cfg                   Kromire                                SXGE.cfg
Brave_Wings                        Lands_of_Corruption_Era                Talentless_Mage
Breaking_Ground                    Love_To_Death                          Tale_of_a_Mage
Breakthrough                       ls_map_bundle                          Tasman_Island
Brent                              ls_rumble                              TCG
Brotherhood_of_Light               Lucky_Sevens                           TDEM
Cataclysm                          MabeeMaps                              Temples_Of_The_Nagas
cave_mps                           macros.zip                             Terrain_Artist
cave_mps.cfg                       MAP                                    terrain.zip
Challenges                         Martian_Invasion_1594                  The_7_Seasons
Children_of_Dragons                medievalcombat                         The_Cats_Paw
classic_era                        medievalcombat.cfg                     The_Dark_Alliance
classic_era.cfg                    mercenaries                            The_Final_Exam
CMG_MOD                            mercenaries.cfg                        The_Founding_of_Borstep
Colosseum                          Merman_Tellius_and_the_Island_of_Doom  The_Haunted_Woods
Colosseum_3HeroesPrisonBreak       Mich_Maps                              The_High_Seas
Colosseum_3HeroesPrisonBreak.cfg   Mine_Rails                             The_High_Seas.cfg
Colosseum3p                        Modded_Campaign_Materials              The_History_of_Burin
Colosseum3p.cfg                    Modern_Combat                          The_Ice_Age
Colosseum.cfg                      Modern_Combat.cfg                      The_Invincible_Wall
Colosseum_ThreeKingdomLegency      Mutiny_in_1626                         The_Labyrinth_Of_Champions
Colosseum_ThreeKingdomLegency.cfg  Mystery_in_1596                        The_Labyrinth_Of_Champions.cfg
CompetitiveGaming                  NewColosseum3p                         The_Militia
Conquest                           NewColosseum3p.cfg                     The_Silver_Lands
Creep_War                          Nightmares_of_Meloen                   The_Sojournings_of_Grog
Dan0's_maps                        North_Wind                             The_Traitor
Dark_Castle_RPG                    Nosmos_SurvivalPack                    the_tribe
Dark_Castle_RPG.cfg                OneMovePerTurn_Era                     The_War_of_Terrador
darthkarth                         Ooze_Mini_Campaign                     Tower_Defense
Dead_Water                         Orocia_Deep_Shrine                     Tower_Defense.cfg
Debug_Era                          Orocia_Deep_Shrine.cfg                 Travelling_Tradesmen
Debug_Era.cfg                      Orocia_Holy_Shrine                     Trinity
Defense                            Orocia_Holy_Shrine.cfg                 Tug_of_War
Diplomacy_Era                      Orocia_RandomMod14TMP                  TUNNEL_DUNGEON
DotGCC                             Orocia_RandomMod14TMP.cfg              TUNNEL_DUNGEON.cfg
DotGCC.cfg                         Orocia_Water_Shrine                    Two_opposing_powers
Doughnut_Map                       Orocia_Water_Shrine.cfg                UMC_Music
Dungeon_Wars_Creepfest             Our_Longest_Year                       unit-pics.zip
Dwarven_Kingdom                    Pack_Sapient                           units.zip
Elves_and_Wose                     Paintball_era                          upgrades.zip
Elvish_Dynasty                     Paintball_Era                          Valeria
elvish_sovereigns_mappack          Path_of_Summoners_Era                  Valeria.cfg
EPs_Popular_Demand_Era             PeePsMapPack                           Valley_of_the_Ancients
Era_of_dragonspirits               Peninsula_Survival_                    Vix
Era_of_Four_Moons                  Pillagers_Maps                         WCE
Era_of_Myths                       Promised_Land                          WC_NM
Era_of_Strife                      Quetzalcoatls_Maps                     Wesband
Era_of_the_Future                  RandomDefaultMap                       Wesnoth_Lua_Pack
Era_Of_Two_Suns                    Random_Map_Picker                      windsong.zip
Evolving_Era                       Ranged_Era                             WizardsTowers
Evolving_Era.cfg                   ranger.zip                             Worldwar
Expanding_Wesnoth                  Rebellion_During_the_Dark_Age          Worldwar.cfg
Extended_Era                       Red_MP_Maps                            Written_In_Blood
Fallen_City                        Resurection_of_Wesnoth                 zombie_apocolypse
Fate_of_a_Princess                 Rise_of_Camdar                         zombie_apocolypse.cfg
i notice that there are .cfg files outside their add-ons. I am curious as to how that happens.
I just made it a resource addon until i can fix this. I just cant figure it out.
Smart persons learn out of their mistakes, wise persons learn out of others mistakes! It seems that a select few have a talent learning out of others mistakes which many politicians lack.
Author of Era Of Two Suns

User avatar
Pentarctagon
Forum Administrator
Posts: 4243
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Era Of Two Suns

Post by Pentarctagon »

:shock: how long does that take to load?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code

User avatar
mnewton1
Posts: 777
Joined: November 12th, 2008, 4:31 am
Location: On my pretty teal horsey.
Contact:

Re: Era Of Two Suns

Post by mnewton1 »

Your era probably requires a file/files in one of those many add-ons. But without that file/those files it won't work. The best suggestion I can give is to remove several files at a time until you get the error. Then find out what file you are missing in that add-on. Keep doing this until you don't get the error.
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!

hart02
Posts: 52
Joined: July 15th, 2009, 12:06 am

Re: Era Of Two Suns

Post by hart02 »

Or it might be something with my units and not my add-ons

Code: Select all

/home/brian/wesnoth-1.8.3/wesnoth -d --log-debug=unit,all
20100727 01:37:49 info config: adding advancement from Cavalryman to Cataphract
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Cavalryman to Cataphract
20100727 01:37:49 info config: adding advancement from Great Wolf to Dire Wolf
20100727 01:37:49 info config: advancement from Great Wolf to Dire Wolf already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Great Wolf to Dire Wolf
20100727 01:37:49 info config: adding advancement from Dwarvish Thunderer to Dwarvish Flamethrower
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Dwarvish Thunderer to Dwarvish Flamethrower
20100727 01:37:49 info config: adding advancement from Dwarvish Fighter to Dwarvish Prince
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Dwarvish Fighter to Dwarvish Prince
20100727 01:37:49 info config: adding advancement from Dwarvish Fighter to Dwarvish Runefighter
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Dwarvish Fighter to Dwarvish Runefighter
20100727 01:37:49 info config: adding advancement from Dwarvish Fighter to Dwarvish Runesmith
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Dwarvish Fighter to Dwarvish Runesmith
20100727 01:37:49 info config: adding advancement from ESpirit to EGhost
20100727 01:37:49 info config: advancement from ESpirit to EGhost already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from ESpirit to EGhost
20100727 01:37:49 info config: adding advancement from Forest Scout to Forest Horseman
20100727 01:37:49 info config: advancement from Forest Scout to Forest Horseman already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Forest Scout to Forest Horseman
20100727 01:37:49 info config: adding advancement from Forest Fighter to Forest Protector
20100727 01:37:49 info config: advancement from Forest Fighter to Forest Protector already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Forest Fighter to Forest Protector
20100727 01:37:49 info config: adding advancement from Necrophage to Ghast
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Necrophage to Ghast
20100727 01:37:49 info config: adding advancement from Walking Corpse to Ghoul_C
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Walking Corpse to Ghoul_C
20100727 01:37:49 info config: adding advancement from Ogre to Great Ogre
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Ogre to Great Ogre
20100727 01:37:49 info config: adding advancement from Wolf_C to Great Wolf
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Wolf_C to Great Wolf
20100727 01:37:49 info config: adding advancement from Cavalryman to Holibar
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Cavalryman to Holibar
20100727 01:37:49 info config: adding advancement from Outlaw to Human Commander
20100727 01:37:49 warning config: Human Commander does not support gender 1
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Outlaw to Human Commander
20100727 01:37:49 info config: adding advancement from Rancher to Kedari Camel Rider
20100727 01:37:49 info config: advancement from Rancher to Kedari Camel Rider already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Rancher to Kedari Camel Rider
20100727 01:37:49 info config: adding advancement from Rancher to Kedari Desert Raider
20100727 01:37:49 info config: advancement from Rancher to Kedari Desert Raider already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Rancher to Kedari Desert Raider
20100727 01:37:49 info config: adding advancement from Giant Mudcrawler to Mother Mudcrawler
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Giant Mudcrawler to Mother Mudcrawler
20100727 01:37:49 info config: adding advancement from Naga Hunter to Naga Assassin
20100727 01:37:49 info config: advancement from Naga Hunter to Naga Assassin already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Naga Hunter to Naga Assassin
20100727 01:37:49 info config: adding advancement from Naga Fighter to Naga Depthprowler
20100727 01:37:49 info config: gendered advancement 1: 20100727 01:37:49 info config: adding advancement from Naga Fighter to Naga Depthprowler
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Naga Fighter to Naga Depthprowler
20100727 01:37:49 info config: adding advancement from Initiate to Necromantic Initiate
20100727 01:37:49 info config: advancement from Initiate to Necromantic Initiate already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Initiate to Necromantic Initiate
20100727 01:37:49 info config: adding advancement from Orcish Protector to Orcish Champion
20100727 01:37:49 info config: advancement from Orcish Protector to Orcish Champion already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Orcish Protector to Orcish Champion
20100727 01:37:49 info config: adding advancement from Orcish Grunt to Orcish Fireline
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Orcish Grunt to Orcish Fireline
20100727 01:37:49 info config: adding advancement from Orcish Grunt to Orcish Protector
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Orcish Grunt to Orcish Protector
20100727 01:37:49 info config: adding advancement from Orcish Slayer to Orcish Stalker
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Orcish Slayer to Orcish Stalker
20100727 01:37:49 info config: adding advancement from Sergeant to Outlaw Captain
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Sergeant to Outlaw Captain
20100727 01:37:49 info config: adding advancement from Phantom Leader to Phantom Commander
20100727 01:37:49 info config: advancement from Phantom Leader to Phantom Commander already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Phantom Leader to Phantom Commander
20100727 01:37:49 info config: adding advancement from Phantom Rider to Phantom Dullohan
20100727 01:37:49 info config: advancement from Phantom Rider to Phantom Dullohan already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Phantom Rider to Phantom Dullohan
20100727 01:37:49 info config: adding advancement from EGhost to Phantom Leader
20100727 01:37:49 info config: advancement from EGhost to Phantom Leader already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from EGhost to Phantom Leader
20100727 01:37:49 info config: adding advancement from Initiate to Rogue Mage
20100727 01:37:49 info config: advancement from Initiate to Rogue Mage already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Initiate to Rogue Mage
20100727 01:37:49 info config: adding advancement from Scouting Attack Dog to Scouting Hound
20100727 01:37:49 info config: advancement from Scouting Attack Dog to Scouting Hound already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Scouting Attack Dog to Scouting Hound
20100727 01:37:49 info config: adding advancement from Great Troll to Siege Troll
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Great Troll to Siege Troll
20100727 01:37:49 info config: adding advancement from Skeleton Fighter to Skeleton Baron
20100727 01:37:49 info config: advancement from Skeleton Fighter to Skeleton Baron already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Skeleton Fighter to Skeleton Baron
20100727 01:37:49 info config: adding advancement from Skeleton Fighter to Skeleton Fencer
20100727 01:37:49 info config: advancement from Skeleton Fighter to Skeleton Fencer already known, ignoring.
20100727 01:37:49 debug unit: Added advancement ([advancefrom]) from Skeleton Fighter to Skeleton Fencer
20100727 01:37:49 info config: adding advancement from  to Skeleton Mage
20100727 01:37:49 info config: variation advancement: Segmentation fault

Code: Select all

 ls /home/brian/.wesnoth1.8/data/add-ons
Era_Of_Two_Suns
it stops at

Code: Select all

info config: variation advancement: Segmentation fault
Smart persons learn out of their mistakes, wise persons learn out of others mistakes! It seems that a select few have a talent learning out of others mistakes which many politicians lack.
Author of Era Of Two Suns

hart02
Posts: 52
Joined: July 15th, 2009, 12:06 am

Re: Era Of Two Suns

Post by hart02 »

Ok I fixed it. I removed the following
from a config file

Code: Select all

[advancefrom]
        unit=Walking Bones
 [/advancefrom]
I did not have this. of all things. Now try and use it.
Smart persons learn out of their mistakes, wise persons learn out of others mistakes! It seems that a select few have a talent learning out of others mistakes which many politicians lack.
Author of Era Of Two Suns

User avatar
zookeeper
WML Wizard
Posts: 9741
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Era Of Two Suns

Post by zookeeper »

In multiplayer content, you must not use [advancefrom] to make a core unit advance to a custom unit. That causes OOS errors whenever two people, one of which has the era installed and the other one doesn't, plays any MP game in which that core unit is recruited or advances a level. If someone has your era installed and plays a default era game where a Cavalryman advances, they see an option to advance to a Cataphract, whereas players who don't have your era installed don't, which obviously leads to plenty of OOS.

So, you need to remove all [advancefrom]s which point to a core unit, ASAP. If you need to have Cavalryman advance to Cataphract, then use [base_unit] to create your own id=EoTS_Cavalryman unit which is identical to the core Cavalryman except that it advances to Cataphract.

hart02
Posts: 52
Joined: July 15th, 2009, 12:06 am

Re: Era Of Two Suns

Post by hart02 »

0.4 has been released and there is only one [advancefrom] just for the corpse ghoul override. Now all can enjoy and use it. I hope more two sun campaigns can be created using this for i have a variety of units which I am sharing :D . Pointers on making more factions are welcome.
Smart persons learn out of their mistakes, wise persons learn out of others mistakes! It seems that a select few have a talent learning out of others mistakes which many politicians lack.
Author of Era Of Two Suns

User avatar
Lord-Knightmare
Forum Regular
Posts: 1153
Joined: May 24th, 2010, 5:26 pm
Location: Somewhere in the depths of Irdya, gathering my army to eventually destroy the known world.
Contact:

Re: Era Of Two Suns

Post by Lord-Knightmare »

Every time I load Multiplayer, your era causes an error (mainly unit errors, i.e. advancefroms, etc)
And the game quits immediately.

But I must say:
Your era is more like an era pack more than the era.
And has a vast unit library.
But using separate factions would be a better idea

User avatar
zookeeper
WML Wizard
Posts: 9741
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Era Of Two Suns

Post by zookeeper »

hart02 wrote:0.4 has been released and there is only one [advancefrom] just for the corpse ghoul override. Now all can enjoy and use it.
...sure, except everyone who also wants to play MP using WCs and any other era than yours. Get it fixed.

hart02
Posts: 52
Joined: July 15th, 2009, 12:06 am

Re: Era Of Two Suns

Post by hart02 »

...sure, except everyone who also wants to play MP using WCs and any other era than yours. Get it fixed.
I uploaded it 8 times already and have done numerous revisions to every file i could find with issues and I am mostly working on a campaign using this add-on and lua. I have not really focused on the multiplayer part much.
Smart persons learn out of their mistakes, wise persons learn out of others mistakes! It seems that a select few have a talent learning out of others mistakes which many politicians lack.
Author of Era Of Two Suns

User avatar
Gambit
Loose Screw
Posts: 3266
Joined: August 13th, 2008, 3:00 pm
Location: Dynamica
Contact:

Re: Era Of Two Suns

Post by Gambit »

You misunderstand. Your add-on breaks default multiplayer for everyone who downloads it. Please fix this one last error zookeeper pointed out as soon as possible.

Post Reply