*** tpb has joined #freeorion | 00:00 | |
*** GeofftheMedio_ has quit IRC | 03:22 | |
*** GeofftheMedio has joined #freeorion | 03:25 | |
*** GeofftheMedio has quit IRC | 04:08 | |
*** GeofftheMedio has joined #freeorion | 04:18 | |
*** STalKer-X has joined #freeorion | 04:22 | |
*** STalKer-X_g has quit IRC | 04:25 | |
*** Stranger has joined #freeorion | 05:14 | |
*** ComputerPers has joined #freeorion | 05:49 | |
*** zhur has joined #freeorion | 06:17 | |
*** Stranger has quit IRC | 10:56 | |
*** frkarl has joined #freeorion | 11:01 | |
*** frkarl has quit IRC | 11:05 | |
*** VargaD has joined #freeorion | 11:06 | |
*** frkarl has joined #freeorion | 11:10 | |
*** frkarl has quit IRC | 11:16 | |
*** frkarl_ has joined #freeorion | 11:16 | |
*** frkarl_ has quit IRC | 11:24 | |
*** frkarl has joined #freeorion | 11:26 | |
*** frkarl has quit IRC | 12:30 | |
*** Xenux has joined #freeorion | 13:42 | |
ComputerPers | Hi! | 13:51 |
---|---|---|
ComputerPers | Creating a building with effect of CreatePlanet | 13:51 |
GeofftheMedio | uh... what? | 13:51 |
ComputerPers | activation = Star type = Red | 13:51 |
ComputerPers | efects = CreatePlanet type=barren size=1 | 13:51 |
GeofftheMedio | you probably want scope = Star type = Red | 13:51 |
ComputerPers | it seems that game skipping my building | 13:51 |
ComputerPers | i was unable to find right scope | 13:52 |
GeofftheMedio | scope determines what the effect fires on. activation determines whether the effect fires | 13:52 |
ComputerPers | i have tried different values of scope and activation | 13:53 |
GeofftheMedio | it should probably also be planetsize = Small rather than size = 1 | 13:55 |
ComputerPers | is it possible to find somewhere what is wrong with my building design - any log ? | 13:57 |
GeofftheMedio | yes; the log files probably indicate something if there's a parsing error | 13:57 |
GeofftheMedio | if there's a logic error, it just won't work as you expect | 13:58 |
ComputerPers | I've found only this | 14:02 |
ComputerPers | EncyclopediaDetailPanel::Refresh couldn't find building type with name BLD_ADMIN_CREATE_PLANET | 14:02 |
ComputerPers | and didn't found any examples of CreatePlanet :-( | 14:03 |
GeofftheMedio | if there's a syntax error with a script file, you'd see something like ERROR Client : C:\FreeOrion_VS2010_SDK\FreeOrion\default\buildings.txt:81:22: Parse error. | 14:05 |
GeofftheMedio | the 81 in this case is the line where it's complaining | 14:05 |
GeofftheMedio | that isn't necessarily the line where you have an error | 14:05 |
GeofftheMedio | but it's probably at least in the same bit of content definition | 14:05 |
ComputerPers | something found | 14:06 |
ComputerPers | 012-11-18 17:59:27,384 ERROR Client : /Users/ComputerPers/Documents/freeorion/svn/FreeOrion/Xcode/DerivedData/FreeOrion/Build/Products/Test/FreeOrion.app/Contents/Re ] | 14:07 |
ComputerPers | effectsgroups = [ | 14:07 |
ComputerPers | EffectsGroup | 14:07 |
ComputerPers | scope = Contains Source | 14:07 |
ComputerPers | activation = Star type = Red | 14:07 |
ComputerPers | efects = CreatePlanet type=barren size=small | 14:07 |
ComputerPers | ^ | 14:07 |
ComputerPers | EffectsGroup | 14:07 |
ComputerPers | scope = Source | 14:07 |
ComputerPers | activation = Source | 14:07 |
ComputerPers | effects = Destroy | 14:07 |
GeofftheMedio | that's quite a clear indication of the problem | 14:07 |
GeofftheMedio | right where the ^ is | 14:07 |
GeofftheMedio | and the same problem with size I noted is still there | 14:08 |
ComputerPers | changed to this | 14:10 |
ComputerPers | efects = CreatePlanet type=Barren size=Small | 14:10 |
ComputerPers | without success | 14:10 |
Nagilum_ | not effect ? | 14:10 |
Nagilum_ | +s | 14:10 |
GeofftheMedio | uh... you didn't change anything | 14:10 |
ComputerPers | typo! | 14:11 |
ComputerPers | effectsgroups = [ | 14:12 |
ComputerPers | EffectsGroup | 14:12 |
ComputerPers | scope = Contains Source | 14:12 |
ComputerPers | activation = Star type = Red | 14:12 |
ComputerPers | effects = CreatePlanet type=Barren size=Small | 14:12 |
ComputerPers | ^ | 14:12 |
ComputerPers | progress.... | 14:12 |
GeofftheMedio | still have the same problem I've noted twice before... | 14:12 |
ComputerPers | BuildingType | 14:15 |
ComputerPers | name = "BLD_ADMIN_CREATE_PLANET" | 14:15 |
ComputerPers | description = "BLD_ADMIN_CREATE_PLANET_DESC" | 14:15 |
ComputerPers | buildcost = 40 | 14:15 |
ComputerPers | buildtime = 10 | 14:15 |
ComputerPers | location = And [ | 14:15 |
ComputerPers | OwnedBy TheEmpire Source.Owner | 14:15 |
ComputerPers | Star type = Red | 14:15 |
ComputerPers | ] | 14:15 |
ComputerPers | effectsgroups = [ | 14:15 |
ComputerPers | EffectsGroup | 14:15 |
ComputerPers | scope = Contains Source | 14:15 |
ComputerPers | activation = Star type = Red | 14:15 |
ComputerPers | effects = CreatePlanet type=Barren planetsize=Small | 14:15 |
ComputerPers | EffectsGroup | 14:15 |
ComputerPers | scope = Source | 14:15 |
ComputerPers | activation = Source | 14:15 |
ComputerPers | effects = Destroy | 14:15 |
ComputerPers | ] | 14:15 |
ComputerPers | icon = "" | 14:15 |
ComputerPers | Game crash | 14:15 |
GeofftheMedio | check the logs | 14:15 |
ComputerPers | didn't found anything useful in logs. game crashes when i'm trying to select this building or to see effects of it | 14:20 |
ComputerPers | Thread 0 Crashed:: Dispatch queue: com.apple.main-thread | 14:21 |
ComputerPers | 0 ??? 0x4f914f90 0 + 1334923152 | 14:21 |
ComputerPers | 1 org.freeorion.FreeOrion 0x00373d51 Effect::EffectsGroup::GetDescription() const + 791 | 14:21 |
ComputerPers | 2 org.freeorion.FreeOrion 0x00373f41 Effect::EffectsGroup::DescriptionString() const + 113 | 14:21 |
ComputerPers | 3 org.freeorion.FreeOrion 0x0037453d EffectsDescription(std::vector<boost::shared_ptr<Effect::EffectsGroup const>, std::allocator<boost::shared_ptr<Effect::EffectsGroup const> > > const&) + 454 | 14:21 |
ComputerPers | mabe parser bug ? | 14:21 |
ComputerPers | as i saw CreatePlanet added by you [http://www.freeorion.org/forum/viewtopic.php?f=26&t=2348] | 14:22 |
tpb | <http://ln-s.net/++9g> (at www.freeorion.org) | 14:22 |
GeofftheMedio | looks like an issue generating descriptions for effects. | 14:25 |
ComputerPers | what can i do about this ? | 14:27 |
GeofftheMedio | don't use whatever bit of scripting causes the crash | 14:29 |
ComputerPers | CreatePlanet type = TYPE size = SIZE | 14:29 |
ComputerPers | http://freeorion.org/index.php/Effects | 14:29 |
tpb | Title: Effects - FreeOrionWiki (at freeorion.org) | 14:29 |
GeofftheMedio | out of date | 14:30 |
ComputerPers | :-( | 14:30 |
ComputerPers | is it means that CreatePlanet effect is broken ? | 14:32 |
GeofftheMedio | not sure | 14:33 |
GeofftheMedio | try it with different effects, or try different (simpler) conditions with that effect | 14:33 |
ComputerPers | is it simpler ? | 14:42 |
ComputerPers | BuildingType | 14:42 |
ComputerPers | name = "BLD_ADMIN_CREATE_PLANET" | 14:42 |
ComputerPers | description = "BLD_ADMIN_CREATE_PLANET_DESC" | 14:42 |
ComputerPers | buildcost = 40 | 14:42 |
ComputerPers | buildtime = 10 | 14:42 |
ComputerPers | location = All | 14:42 |
ComputerPers | EffectsGroup | 14:42 |
ComputerPers | scope = Contains Source | 14:42 |
ComputerPers | activation = Source | 14:42 |
ComputerPers | effects = CreatePlanet type=Barren planetsize=Small | 14:42 |
ComputerPers | icon = "" | 14:42 |
GeofftheMedio | yes | 14:45 |
ComputerPers | still crashes | 14:45 |
ComputerPers | shall i post a bug (http://sourceforge.net/tracker/?atid=544942&group_id=75752&func=browse) ? | 14:50 |
tpb | <http://ln-s.net/++:I> (at sourceforge.net) | 14:50 |
GeofftheMedio | sure | 14:50 |
Nagilum_ | http://pastebin.com/XcfmeY4u | 15:30 |
tpb | Title: [ 69%] Built target freeorionca [ 69%] Building CXX object client/human/CMakeFi - Pastebin.com (at pastebin.com) | 15:30 |
*** __alex has joined #freeorion | 15:44 | |
GeofftheMedio | uhm... well, now it wants to compile with just begin and end, so I gess I don't need the cbegin and cend | 16:27 |
GeofftheMedio | though I'm also confused why msvc has them if they're not in the standard, apparently | 16:27 |
Nagilum_ | sorry, I have no clue about C++ and hence no opinion :-} | 16:53 |
Nagilum_ | hmm, I'm not sure it actually uses the gcc4.7 :-/ | 17:06 |
Nagilum_ | I thought cmake would respect $CC et al but looking at the processes it doesn't look like it :/ | 17:07 |
*** ComputerPers has quit IRC | 18:21 | |
*** theTroy has quit IRC | 19:06 | |
*** Stranger has joined #freeorion | 19:12 | |
*** kimchi has joined #freeorion | 20:34 | |
*** Stranger has quit IRC | 20:58 | |
*** theTroy has joined #freeorion | 20:58 | |
*** zhur has quit IRC | 21:25 | |
*** aanderse has quit IRC | 22:19 | |
*** aaanderse has joined #freeorion | 22:19 | |
*** theTroy has quit IRC | 22:50 | |
*** VargaD has quit IRC | 23:13 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!