Jump to content

Almin

Community Members
  • Posts

    176
  • Joined

  • Last visited

Posts posted by Almin

  1. Lol that Screenshot is amazing! Strange that I needed that long to read the topic...however:

    Seriously, did you copy that idea from R.U.S.E, the commercial rts-game? To have like a command-table and if you zoom in you can see everything from near.

    A video of the game on Youtube to show how it works there (He's talking unimportant stuff on german, that you can ignore, you can directly go to minute 2:45):

  2. Indeed! I have the hole concept but can't make sense of the current AI API. I guess me and Quantumstate think very different :self_hammer:

    Me, too! (Also don't understand the common-api and the whole implementation of units and templates and that stuff, but that might also be because of me not having any programming experience ... ;) )

  3. I don't know, whether that's a bug or a feature, but you are aware of gameState.countFoundationsWithType(type) giving back the number of the foundations +1? Is this behavior intented? And just because I'm a little bit confused, this function returns only the number of foundation as not finished buildings. It does NOT include the number of buildings of the same type, which are already finished, does it?

  4. We're trying for something like this:

    Hell, this is nearly impossible to implement for the AI, isn't it? It's still great! I would love to see the walling-system from AoE3 in 0 A.D.

    edit: I yust realized that you also need the capibility to build walls with a dynamic length. Is that possible in 0 A.D.?

  5. Thanks for reporting this. The error was created in 11199. This will be fixed fairly soon, it was due to a difference in string handling between linux and widows.

    Thanks for reporting this :) Fixed in r11207

    Linking test

    Running 258 tests..................................................................................................................................................................................................................................................................OK!

    :drunk::cheers::banana::victory:

    I still wonder how you can find an error with that little information in that time, but however I've got a new wish:

    We DEFINITELY need a new smiley for the forum-users to state how totally in love we are with all the people invited in this project, as declarations of love are becoming boring with the time, don't they? And furthermore I no longer know what to write once again. You guys are just incredible! (y)

    [sOLVED]

  6. Am I (always) the only one with errors during compilation?


    SmoothElevation.cpp
    EngineScriptConversions.cpp
    MessageTypeConversions.cpp
    ScriptComponent.cpp
    PaintTerrain.cpp
    StdSerializer.cpp
    AlterElevation.cpp
    FillTerrain.cpp
    StdDeserializer.cpp
    Linking graphics
    ISerializer.cpp
    PlaceObject.cpp
    ActorViewerTool.cpp
    IDeserializer.cpp
    TransformObject.cpp
    HashSerializer.cpp
    BinarySerializer.cpp
    MiscState.cpp
    Tools.cpp
    Brushes.cpp
    ../../../source/simulation2/serialization/BinarySerializer.cpp: In Elementfunktion »void CBinarySerializerScriptImpl::HandleScriptVal(jsval)«:
    ../../../source/simulation2/serialization/BinarySerializer.cpp:149:15: Fehler: »const wchar_t [10]« kann nicht nach »const jschar* {aka const short unsigned int*}« in Zuweisung umgewandelt werden
    ObjectSettings.cpp
    make[1]: *** [obj/simulation2_Release/BinarySerializer.o] Fehler 1
    make: *** [simulation2] Fehler 2
    make: *** Warte auf noch nicht beendete Prozesse...
    Linking AtlasUI

    edit:

    Just for the case that it might help somehow: Revision 11111 from 2012-02-21 did work, so the mistake must happened between then and 11203(today)

  7. Hi guys,

    Earlier, there was a possibility to autostart the game from the commandline:


    binaries/system/pyrogenesis -quickstart -autostart=latium -autostart-random -mod "Latium" -autostart-ai=1:ScaredyBot -autostart-players=2

    This does no longer work for me and I get the following output:


    Cache: 500 (total: 3936) MiB
    TIMER| InitVfs: 56.4905 ms
    TIMER| InitScripting: 5.31568 ms
    TIMER| CONFIG_Init: 8.73725 ms
    TIMER| RunHardwareDetection: 28.5413 ms
    TIMER| InitRenderer: 7.40981 ms
    libpng warning: Not enough memory to decompress chunk
    libpng warning: Profile size field missing from iCCP chunk
    libpng warning: Not enough memory to decompress chunk
    libpng warning: Profile size field missing from iCCP chunk
    TIMER| ParseTerrain: 5.9125 ms
    TIMER| ParseEntities: 145.693 ms
    vfs.cpp(105): Function call failed: return value was -110100 (VFS directory not found)
    Function call failed: return value was -110100 (VFS directory not found)
    Location: vfs.cpp:105 (GetDirectoryEntries)

    Call stack:

    (0x77df0b) binaries/system/pyrogenesis() [0x77df0b]
    (0x73af3b) binaries/system/pyrogenesis() [0x73af3b]
    (0x73bae0) binaries/system/pyrogenesis() [0x73bae0]
    (0x73b356) binaries/system/pyrogenesis() [0x73b356]
    (0x751838) binaries/system/pyrogenesis() [0x751838]
    (0x74c98c) binaries/system/pyrogenesis() [0x74c98c]
    (0x4c7ea0) binaries/system/pyrogenesis() [0x4c7ea0]
    (0x4c9a6c) binaries/system/pyrogenesis() [0x4c9a6c]
    (0x4ca41c) binaries/system/pyrogenesis() [0x4ca41c]
    (0x456dcf) binaries/system/pyrogenesis() [0x456dcf]
    (0x457487) binaries/system/pyrogenesis() [0x457487]
    (0x7fbe0f9f50b9) /home/markus/homemade/0ad/binaries/system/libmozjs185-ps-release.so.1.0(+0xc60b9) [0x7fbe0f9f50b9]
    (0x7fbe0f9fe7e5) /home/markus/homemade/0ad/binaries/system/libmozjs185-ps-release.so.1.0(+0xcf7e5) [0x7fbe0f9fe7e5]
    (0x7fbe0f9fec82) /home/markus/homemade/0ad/binaries/system/libmozjs185-ps-release.so.1.0(+0xcfc82) [0x7fbe0f9fec82]
    (0x7fbe0f9ffb6c) /home/markus/homemade/0ad/binaries/system/libmozjs185-ps-release.so.1.0(+0xd0b6c) [0x7fbe0f9ffb6c]
    (0x7fbe0f97cda2) /home/markus/homemade/0ad/binaries/system/libmozjs185-ps-release.so.1.0(JS_CallFunctionName+0xe2) [0x7fbe0f97cda2]

    errno = 0 (No error reported here)
    OS error = ?


    (C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?

    Does the autostart no longer work, or what else am I supposed to do?

    edit: I made some research and found out that the autostart works with

    ./binaries/system/pyrogenesis -autostart="Acropolis III" autostart-ai=2:ScaredyBot -autostart-players=2

    but the ai won't start. Is that a bug or did I forget something?

    edit: same error if I try to compile with update-workspaces.sh --with-system-mozjs185:


    Cache: 500 (total: 3936) MiB
    TIMER| InitVfs: 391.477 ms
    TIMER| InitScripting: 5.5373 ms
    TIMER| CONFIG_Init: 14.207 ms
    TIMER| RunHardwareDetection: 28.7339 ms
    TIMER| write_sys_info: 16.7261 ms
    TIMER| InitRenderer: 4.56127 ms
    libpng warning: Not enough memory to decompress chunk
    libpng warning: Profile size field missing from iCCP chunk
    libpng warning: Not enough memory to decompress chunk
    libpng warning: Profile size field missing from iCCP chunk
    vfs.cpp(105): Function call failed: return value was -110100 (VFS directory not found)
    Function call failed: return value was -110100 (VFS directory not found)
    Location: vfs.cpp:105 (GetDirectoryEntries)

    Call stack:

    (0x77defb) ./binaries/system/pyrogenesis() [0x77defb]
    (0x73af2b) ./binaries/system/pyrogenesis() [0x73af2b]
    (0x73bad0) ./binaries/system/pyrogenesis() [0x73bad0]
    (0x73b346) ./binaries/system/pyrogenesis() [0x73b346]
    (0x751828) ./binaries/system/pyrogenesis() [0x751828]
    (0x74c97c) ./binaries/system/pyrogenesis() [0x74c97c]
    (0x4c7e90) ./binaries/system/pyrogenesis() [0x4c7e90]
    (0x4c9a5c) ./binaries/system/pyrogenesis() [0x4c9a5c]
    (0x4ca40c) ./binaries/system/pyrogenesis() [0x4ca40c]
    (0x456dbf) ./binaries/system/pyrogenesis() [0x456dbf]
    (0x457477) ./binaries/system/pyrogenesis() [0x457477]
    (0x7f93ed3f8c87) /usr/lib/libmozjs185.so.1.0(+0xc9c87) [0x7f93ed3f8c87]
    (0x7f93ed402555) /usr/lib/libmozjs185.so.1.0(+0xd3555) [0x7f93ed402555]
    (0x7f93ed4029f2) /usr/lib/libmozjs185.so.1.0(+0xd39f2) [0x7f93ed4029f2]
    (0x7f93ed4038a3) /usr/lib/libmozjs185.so.1.0(+0xd48a3) [0x7f93ed4038a3]
    (0x7f93ed37c4f2) /usr/lib/libmozjs185.so.1.0(JS_CallFunctionName+0xe2) [0x7f93ed37c4f2]

    errno = 0 (No error reported here)
    OS error = ?

  8. YAAAAAAAAAAAAAAAAAAAAAAAH!!! ;)


    Running 258 tests..........................................................................................................................
    ........................................................................................................................................OK!

    I don't need to tell you how deep in love I am with you, do I? :D:P(y):brow::banana::worship:

    edit: Thanks for everyone included, btw!

    [sOLVED]

  9. I have no idea why that would be failing. You're not testing anything related to Android are you? Can you try ./clean-workspaces.sh to force a clean rebuild?

    Didn't help. Same error(s) again.

    edit: And no, I don't test anything Android-related.

    edit2: After trying

    ./update-workspaces.sh --without-tests

    there are other problems:


    ==== Building pyrogenesis (release) ====
    Creating obj/pyrogenesis_Release
    main.cpp
    Trigger.cpp
    ReplaceTerrain.cpp
    FlattenElevation.cpp
    SmoothElevation.cpp
    PaintTerrain.cpp
    AlterElevation.cpp
    FillTerrain.cpp
    PlaceObject.cpp
    ActorViewerTool.cpp
    TransformObject.cpp
    MiscState.cpp
    Linking pyrogenesis
    Tools.cpp
    /usr/bin/ld: ../../../binaries/system/liblowlevel.a(x.o): undefined reference to symbol 'XConvertSelection'
    /usr/bin/ld: note: 'XConvertSelection' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
    /usr/lib/libX11.so.6: could not read symbols: Invalid operation
    collect2: ld gab 1 als Ende-Status zurück
    make[1]: *** [../../../binaries/system/pyrogenesis] Fehler 1
    make: *** [pyrogenesis] Fehler 2
    make: *** Warte auf noch nicht beendete Prozesse...
    Brushes.cpp
    ObjectSettings.cpp
    Linking AtlasUI

×
×
  • Create New...