Ingame Editor

Thank you very much, Emerald Viper! :)
I will include the updated ES and IT translations, fix a bug and temporary disable the map regeneration (too unstable right now) and I will officially release a new version. I just need to find a couple of minutes between two sessions on Reseed.
 
looked through this thread to find how to access the editor, couldn't find anything. Have G&K, isn't it compatable?
 
looked through this thread to find how to access the editor, couldn't find anything. Have G&K, isn't it compatable?
Hello. Please read the installation notes again (on first post or on Steam) and if you still have an issue be more descriptive.
 
v29 has been released.
Big thanks to all the bug reporters!

Bugfixes
  • As with barbarians, selecting a city state as the active player now automatically uses the safe mode to prevent crashes.
  • When using "save & reload" or "autosave", IGE will now correctly overwrite the corresponding previous IGE files, and delete the redundant ones.
  • The previous fix should also hopefully prevent (another) crash on startup when using IGE on macs.
  • When spawning religous units, IGE sometimes triggered a civ5 crash.
  • When spawning religous units, IGE sometimes encountered a civ5 bug that left it believing the unit was created while it was not.
  • When creating a wonder with IGE the wonder popup will now be correctly displayed if the turn number is zero.
  • When creating a wonder with IGE the wonder popup will now be displayed once, not twice.
  • When modifying a hex, IGE won't force a resource update on all hexes previously modified.
  • You are no longer limited to two digits when directly typing numbers in the edit boxes for culture, faith and gold on the players panel.
  • Unique units or buildings belonging to specific classes without any unit or building common to all civilizations, such as the Barbarian Galley, were not displayed on the units panel and the cities panel.
  • Now supports more than 11 religions on the units and cities panel (I previously thought it was a built-in limit)
  • Standard city banners are now corretly updated if you destroy a city in IGE.

New features
  • There are now compatibility filters for mods on the fallback techs panel since not every mod interpret things the same way. All techs will be visible by default and you can choose between different filters to hide techs that should be hidden for the active mods. Those options are not displayed when the vanilla tech layout does the job.


PS: The map regeneration feature has been disabled in this version since it's not mature enough yet and I don't want to update IGE as often as I do with Reseed (more administrative work means less coding).
 
v29.1 has been released
Makes IGE bullet-proof against mods that declare a wrong yield type in the yield changes from resources and such.


@vers1on
Welcome on Cf and thank you for the report. This is fixed by this patch. :)
 
Hello, I tried your mod, but now when I click on IGE, its makes me go back to the office with me to mark a sentence error, I tried all I need is you're consulting.
Sorry for my english I'm french
 
Hello. You can contact me in French in PM.
Bonjour, tu peux me contacter via PM en Français. Civ5 a planté, c'est bien ça ? Ou IGE t'a t-il affiché un message d'erreur ?
 
Civ5 plante ,et parfois sa affiche un message d'erreur ,j'utilise que se mod la j'évite dans utiliser de trop ,je vais mettre la version 29 de IGE ,je ferai une capture d'écran si sa plante de nouveau
 
Howdy, I've got a bit of a problem, no matter what game I start or do with IGE enabled, it crashes Civ 5 utterly when opening the overlay in game. No idea why.

  • I play the PC version
  • It has the Gods and Kings Expansion.
  • It's a Steam Version, fully legal.
  • Fully updated as well.
  • The exact problem is this: When I start a new game, on any difficulty, and reach for the IGE Icon, or press Ctrl+I the game crashes completely. Full stop.
  • There are no other mods installed.
  • Log Attached.

As a bit of aditional information;
I do run the game at a Laptop Resolution (For I play it on one) 1377x768 it is.
PC's not the greatest, but not the worst either, 32 Bit Operating system, it was a ''Huge'' Map.
If you need any aditional information do not hesitate to ask!

Regards, The Kettun
 

Attachments

Hello Kettun.

Huh, another crash? And a new one also. Thank you for the LUA log and all the informations. It does not tell me exactly what the problem is but it restricts the scope to search. I will provide you another version to try within the next couple of hours, either it will work either it will generate a more detailed log for that part.
 
Oh yeah, I've been attempting some other things, but for some reason Civ's become tremendously unstable over the past few days - I think it's to do with me having forced the RAM restriction of Windows off. I'm about to attempt a fresh restart with it on, to see if it changes the amount it crashes (Which was a lot :( )

I'l update you with any changes.

Aaand it still crashes, upon clicking the IGE Icon/text/pressing Ctrl+I
 
Meanwhile, if your reboot does not change anything, here is a version that will provide a more detailed log so that I can learn where it comes from. :)
 

Attachments

Suppose the mod just *Really* doesnt like me all that much.

Regardless, I shall post to you; the new log. I wont even pretend to know what the LUA coding is all about even though I'm very eager to learn all about it.
 

Attachments

Given the new log, it appears your computer definitely has a problem: this time your game crashed before the point it previously did. So it's not like there is one specific action your computer dislike for some reason, it's more like your game tend to crash for no reason, which is a very bad sign and not something I can prevent.

I can give you advices regarding your computer though: if you live in the northern hemisphere, we're in summer and it's not uncommon to see PC overheating. If you have any temperature monitor, look at it and see if everything is fine. If it's too hot or if you have no temperature monitor, it may be the time you open your computer case and remove all that dust (on all air exits, below the CPU fan - you need to unmount it -, etc). Beware that opening the case it can void your warranty if it's still relevant (not on the pieces itself though but it does matter for brands like Dell). This kind of cleaning makes miracles sometimes. If it does not change anything, though, I would like to suggest you to download a software to test your ram, then another one to test your CPU (CPU-Z may have both tests, I do not remember), and lastly another one for your GPU (some 3D benchmark for example).


On a sidenote, LUA is a programming language and it's the one that has been chosen by Firaxis. Mods typically have three elements: XML gameplay definitions (data like unit's name, strength, terrain's yields, texts, ...), XML UI definition (button at X=54, Y=103, image at...) and the LUA files to glue all of that and implements the mod's logic ("when user clicks that, do that"). All of those files are text files and you can open them with the notepad. LUA is not required for all mods (no need to program anything if you just want to add a building or a regular unit for example), but a mod like IGE is mostly about LUA for example.

Now, the LUA log is the output where things are written anytime I put a "print" instruction. It allows me to understand at which point of my code the crash happened, since I can infere from this log that it stopped somewhere between print("blah blah") and print("blah blah 2"). If error occurs ("such variable did not have any value"), civ5 also writes them in this log. If you wish to learn programming, LUA may be quite a good language for that (at least it was designed for that purpose) and programming is both very interesting and something you can learn alone, although the first steps are quite hard to do. :)
 
Hmm, I've tried the things you said, and There's no errors coming from my Laptop's CPU or RAM. I still need to check if the HDD Might be burning out (Which would be Bad as it holds all my Data.)

i've been trying different things and it seems that if I lower my game settings I suddenly *Can* enable the IGE, I think it might be going over the Shell's 32Bit RAM limit or something, But I'm no expert on the subject.

Cooling's golden mind, It's on a Cooling pad and has had it's monthly De-Dustification quite recently.

What's more is that it did work fine up until the day before yesterday at which I had my first multiplayer match. I'm -highly- confused about it to be totally honest.

Thanks for the little scripting synopsis, mind, much obliged. I've got a long way to go.

As for PC Speccs, I think I hit the ''Lower class'' system specs for Civ5, with a 2.53ghz processor, 512mb VRAM and 3k RAM. I'l fiddle a little with the settings of the game to see if that can make a difference, after that I'l give up I think. Too much of a headache for map editing. I'l find other ways. *Evilhandrub*

Regards, Kettun
 
i've been trying different things and it seems that if I lower my game settings I suddenly *Can* enable the IGE, I think it might be going over the Shell's 32Bit RAM limit or something, But I'm no expert on the subject.
The RAM limit is not supposed to cause crashes: when that happens, Windows dumps unused data to the hard drive (in the swap file) and put them back to the memory when they are needed. Of course if you reach the point where all the data you need on every frame cannot be held in memory, your OS needs to constantly swap things in and out and it slows down your computer in a great extent. But it does not cause crashes. Unless the data returned from the hard drive are corrupted so a hd problem might indeed be a reason but I do not really believe it. If all your components are fine, it typically looks like an overheating problem, despite the cooling pad, and the fact that those problems disappear if you lower your graphics settings tend to confirm that hypothesis.
 
Avast! I have fixed it, it had something to do with IO overhead lag from RAM to HDD and vice versa, that happened on my laptop because the hardrive got well... 'loose'. Screwing it back in fixed it.

No other bugs so far except for the usuall already mentioned ones.

So; low RPM Harddrives are bad for large simultanious actions performed, such as loading IGE. (I think, I might just be talking out of my rear, though.)

If this is the case, it might be worth investing some time in ''sharing the load'' a little, or at least spreading it.

Much Regards,

Kettun
 
Back
Top Bottom