Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jammyjamjamman

Pages: [1] 2
1
Bug reports / End Game Stats Colours are Wrong
« on: 9 November 2021, 21:15:20 »
End game stats colours are incorrect. See the screenshot below:
(click to show/hide)

2
Tools / New Blender 2.9x G3D Exporter!
« on: 26 November 2020, 20:25:59 »

Blender 2.9x G3D Exporter Available!



You can download the new script here.

Screenshots and Notes



Importing/ exporting is fairly similar to how it's done in old blender:


Animated mesh:
http://jammy.megaglest.org/g3d_blender/worker_blender.webm

Texturing is a little different. Here's a screenshot of the node tree for the g3d mesh material:


Final notes:
  • Everything should be working. But much more testing is needed. Any feedback would be great!
  • I'm not 100% happy with how textures currently display in blender. So there's a good chance the material configuration g3d's require will change.
  • Blender 2.9x is radically different from blender < 2.79. So there's lots of new things to find.

Happy Blender-ing!

3
Mods / Enemies and Allies
« on: 3 November 2019, 17:33:10 »
Here's enemies and allies updated with multiselection on buildings + some other corrections.

https://github.com/Jammyjamjamman/enemies_and_allies


4
==COPIED FROM MEGAGLEST BOARD==
I wanted to read megaglest maps so I could use them in other things. So, I wrote this *dirty* python 3 script to read a map into a python dictionary. The dictionary is formatted such that it can be easily written to disk as e.g. a JSON file.
Here's a link if anyone else is interested in reading maps in python: https://drive.google.com/file/d/190gXUyiuNKR3ITFtN_zF5MFc6Qogca_f/view?usp=sharing

  • Maps  included were made by atze.
  • The script no longer requires numpy! It should be completely compatible with cpython3.
  • There is example code, commented out, under if __name__ == "__main__":, which demonstrates previewing atze's 6player.mgm map data in matplotlib and saving the map as a JSON object file.
  • The original map data is is stored as a flat, 1d array of numbers, but the script converts the flat array into a 2d array in the shape of the map.

The code is very badly written and has the following problems (in descending order of importance):
  • Does not support  "version 1" maps (glest maps?).
  • Needs numpy to read map data (unnecessary as performance not an issue + requires extra dependencies).
  • Code is generally a mess which leads to memory inefficiencies in various places.

I may fix these problems sometime, or feel free to fix them yourself if you want :).
The code is licensed under the MIT License.

5
==PLEASE SEE TOPIC 10001 FOR FURTHER UPDATES.==

I wanted to read megaglest maps so I could use them in other things. So, I wrote this *dirty* python script to read a map into a python dictionary. The dictionary is formatted such that it can be easily written to disk as e.g. a JSON file.
Here's a link if anyone else is interested in reading maps in python: https://drive.google.com/file/d/1HogRDgOe3bgFhGIlet48tP0q1CtS0Kkb/view?usp=sharing

There is example code, commented out, under if __name__ == "__main__":, which demonstrates previewing atze's 6player.mgm map data in matplotlib and saving the map as a JSON object file.

The code is very badly written and has the following problems (in descending order of importance):
  • Does not support  "version 1" maps (glest maps?).
  • Needs numpy to read map data (unnecessary as performance not an issue + requires extra dependencies).
  • Code is generally a mess which leads to memory inefficiencies in various places.

I may fix these problems sometime, or feel free to fix them yourself if you want :).

6
Annex: Conquer the World / UNOFFICIAL LINUX RELEASES! (working)
« on: 9 October 2017, 20:11:58 »

Unofficial Annex: Conquer the World Linux game files!


Motivation
The linux binaries for annex don't appear to work out of the box on newer linux distros, so I have created 2 new game packages; one created using filux's patch and one using the megaglest 3.13 binary. I have compressed them into a .zip file, so they simply need decompressing and then they can be run using the "annex" script or "annex_mapeditor" script. I have only tested these on kubuntu 17.04, so it may not work on your linux distro. If they fail to run, try deleting the contents of the lib folder in annex, and copy the lib contents from a working copy of megaglest (v. 3.9.1 and/ or v. 3.13) into the annex lib folder.

Downloads

Version using filux's patch (recommended).
Download: https://drive.google.com/file/d/0B6f6q4mSdgpIS2lDRzBzc1I2dE0/view?usp=sharing
Difference from original:
  • Filux's patch has been applied to the game files
  • Map editor has been replaced with the megaglest map editor from MegaGlest v. 3.13. This is because I couldn't get the map editor from older versions of megaglest to work.
  • lib folder was then copied from megaglest 3.13 to make the map editor work (note, the original folder was not deleted so that filux's patched version of annex still works).
Note: This version is compatible with the available headless server and all official Annex versions for online gameplay.

Version Based off Megaglest v3.13 (current version as of writing this).
Download: https://drive.google.com/file/d/0B6f6q4mSdgpIMV9FRUFQUWJUMDg/view?usp=sharing
Difference from original:
  • annex and annex map editor binaries and scripts replaced with MegaGlest v. 3.13 binaries and scripts.
  • Original libs folder deleted and replaced with MegaGlest v. 3.13 libs folder.
  • lang files (except hints) replaced with MegaGlest v. 3.13 lang files (so that text is mapped correctly).
  • unit and resource particle xml tags edited so that they are now correctly formed (the originals open and close with different tags).
  • Building multi-selection is activated on all buildings.
  • glestkeys.ini copied from MegaGlest v. 3.13 (so keys are properly mapped).
Note: This version is incompatible with the available headless server and all official forms of Annex for online gameplay.

Enjoy!  :)

7
Maps, tilesets and scenarios / New map: Blade Fells
« on: 22 July 2017, 00:54:02 »
I've created a new map called blade fells. It's a 3 v 5 map. There's lots of gold, which is required to defeat 5x cpu megas. Current version is a10.

Download: blade_fells.mgm

8
MegaGlest / Ever wondered what 13,139 units on a map looks like?
« on: 20 February 2017, 01:56:47 »
The answer is very slow.

But you can also see photos of what it looks like >here<!

9
MegaGlest / Epic 5v2 game! :D
« on: 9 February 2017, 00:40:38 »
Me and David123 completed this fun 5 mega 2.5 v us 2 on the map fiveonthree, with both of us playing romans.

>Results!<

The key to this was simply using all the resources we had at our disposal to produce as many units as possible. Also, we took particular roles during the game e.g. I took all the most dangerous gold spots, while david123 ordered commands for our army (n.b. There were no shared resources. David123 simply told me when to retreat and attack).

Romans is also a good faction to choose for this battle, as it allows you to generate a large army very fast. Romans is quite resource-intensive, but this map has plenty of gold and wood to counteract this weakness.

10
Bug reports / Cursor disappears in-game MG-3.12, linux-x64
« on: 14 February 2016, 23:20:22 »
The first time this happened (several days ago), I joined a server, the server admin started the game, and it was when the game loaded I saw the cursor was missing.
Second time (today), I quit a 4v4 game (we were losing :P), and after clicking the exit button to leave the stats page for that game, my cursor once again had disappeared.

I've not been able to retrieve the cursor without restarting the game. Sadly no error reports popped up when this happened. It appears to occur when transitioning from the menu-to-the-game, or vice versa.

11
Bug reports / MG-3.12.0, Crash mid-game on andy_5995's Server
« on: 10 February 2016, 19:22:27 »
I was playing a 1v1 game against andy_5995, both of us running on linux-x64. FOW was disabled. The game crashed soon after I sent my army to andy_5995's base.

My error output:
Code: [Select]
*ERROR* [2016-02-10 18:57:12] In [game.cpp::update Line: 2783] Error [networkCommand->getTargetId() >= 0 && networkCommand->getTargetId() < 4, [networkCommandType = 0
unitId = 80
commandTypeId = 2
positionX = 16
positionY = 25
unitTypeId = -1
targetId = -1
wantQueue= 0
fromFactionIndex = 0
unitFactionUnitCount = 53
unitFactionIndex = 0, commandStateType = 0, commandStateValue = -1, unitCommandGroupId = -1]
Stack Trace:
/data/<user>/megaglest/megaglest:Shared::Platform::megaglest_runtime_error::megaglest_runtime_error(std::string const&, bool)address [0xb26dad] line: 2368
/data/<user>/megaglest/megaglest:Glest::Game::Commander::buildCommand(Glest::Game::NetworkCommand const*) constaddress [0x5abbb8] line: 539
/data/<user>/megaglest/megaglest:Glest::Game::Commander::giveNetworkCommand(Glest::Game::NetworkCommand*) constaddress [0x5b06d9] line: 876
/data/<user>/megaglest/megaglest:Glest::Game::Commander::updateNetwork(Glest::Game::Game*)address [0x5b3cff] line: 340
/data/<user>/megaglest/megaglest:Glest::Game::Game::update()address [0x57795f] line: 2209
/data/<user>/megaglest/megaglest:Glest::Game::Program::loopWorker()address [0x6f6a58] line: 494
/data/<user>/megaglest/megaglest:Glest::Game::glestMain(int, char**)address [0x6e403c] line: 5696
/data/<user>/megaglest/megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x6e7d16] line: 5959
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f3b06c62a40] line: 0
/data/<user>/megaglest/megaglest() [0x4f072a]address [0x4f072a]
]

I did not crash out of the game, but I was disconnected from the server. andy_5995 did not crash.
I'm running the installer-version of megaglest on kubuntu 15.10, and andy_5995 is running a self-compiled version (unmodified). Here's the dependencies andy_5995 uses (lld output):
Code: [Select]
linux-vdso.so.1 (0x00007ffe32466000)
libSDL2-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007f43324b2000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4332295000)
libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f4332027000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f4331d8d000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f4331b85000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f4331968000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f4331625000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f4331413000)
libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1 (0x00007f43311b8000)
libvorbisfile.so.3 => /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007f4330faf000)
liblua5.2.so.0 => /usr/lib/x86_64-linux-gnu/liblua5.2.so.0 (0x00007f4330d7c000)
libjpeg.so.62 => /usr/lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007f4330b25000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f43308fe000)
libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007f43306ca000)
librtmp.so.1 => /usr/lib/x86_64-linux-gnu/librtmp.so.1 (0x00007f43304ad000)
libssh2.so.1 => /usr/lib/x86_64-linux-gnu/libssh2.so.1 (0x00007f4330284000)
libnettle.so.4 => /usr/lib/x86_64-linux-gnu/libnettle.so.4 (0x00007f4330052000)
libgnutls-deb0.so.28 => /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28 (0x00007f432fd33000)
libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007f432fae8000)
liblber-2.4.so.2 => /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007f432f8d9000)
libldap_r-2.4.so.2 => /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007f432f687000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f432f46c000)
libGLEW.so.1.10 => /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10 (0x00007f432f1e0000)
libftgl.so.2 => /usr/lib/x86_64-linux-gnu/libftgl.so.2 (0x00007f432efb5000)
libfribidi.so.0 => /usr/lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007f432ed9d000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f432ea92000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f432e791000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f432e57b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f432e1d0000)
libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f432ded8000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f432dcd4000)
libpulse-simple.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0 (0x00007f432dacf000)
libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f432d87e000)
libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f432d673000)
libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f432d470000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f432d260000)
libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007f432d056000)
libXss.so.1 => /usr/lib/x86_64-linux-gnu/libXss.so.1 (0x00007f432ce53000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f432cc4d000)
libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f432ca4b000)
libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f432c83c000)
libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f432c634000)
libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f432c3f8000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f432c1f0000)
/lib64/ld-linux-x86-64.so.2 (0x00007f43335cb000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f432bfc7000)
libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f432bd9d000)
libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f432bb9a000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f432b994000)
libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f432b792000)
libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f432b579000)
libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f432b374000)
libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f432b171000)
libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f432af6e000)
libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f432ad67000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f432ab45000)
libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f432a943000)
libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f432a736000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f432a531000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f432a304000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f432a0fb000)
libhogweed.so.2 => /usr/lib/x86_64-linux-gnu/libhogweed.so.2 (0x00007f4329ecc000)
libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f4329c49000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f4329967000)
libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f4329721000)
libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f432950d000)
libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f4329239000)
libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f4329008000)
libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f4328e04000)
libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007f4328bf8000)
libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f43289f4000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f43287dd000)
libsasl2.so.2 => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007f43285c1000)
libXmu.so.6 => /usr/lib/x86_64-linux-gnu/libXmu.so.6 (0x00007f43283a8000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f43280fe000)
libpulsecommon-5.0.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-5.0.so (0x00007f4327e84000)
libcap.so.2 => /lib/x86_64-linux-gnu/libcap.so.2 (0x00007f4327c7f000)
libjson-c.so.2 => /lib/x86_64-linux-gnu/libjson-c.so.2 (0x00007f4327a74000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f432782c000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f4327622000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f432741a000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f4327216000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f4327011000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f4326dff000)
libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f4326b96000)
libXtst.so.6 => /usr/lib/x86_64-linux-gnu/libXtst.so.6 (0x00007f4326990000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f432676c000)
libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f4326561000)
libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f43262f7000)
libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f43260f1000)
libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007f4325eec000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f4325cc9000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f4325ab1000)
libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f432587e000)
libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f43255cb000)

12
MegaGlest / Megaglest executable icon (again)
« on: 11 October 2015, 15:59:27 »
So after Mathu made a new megaglest icon design, we ran into the problem that the icon was not an svg. This is because it was based off the original icons, which also weren't svgs.

Anyway, I've been playing round with inkscape and attempted to make some megaglest icon ideas, which are as follows:


Hope these might be of some interest. As you can see they all use letters in the icon, but maybe it would make more sense to use a picture logo instead? (sword, shield, castle.....)
(hint: the second and third logos appear very pixelated. They need to be downloaded to be properly viewed.)

13
I added looting parameters to various units in tower-defense, so that they released resources when killed. One of these units to get looting parameters, was the drone. Both me (and probably) the cpu had resources. However, when I kill the drone unit I don't receive any resources. No errors or warnings are produced by the parameters. Looting just simply appears not to work. amount-percentage and amount-value both have no effect on the unit's properties.

The xml drone script:

Code: [Select]
<?xml version="1.0" standalone="no"?>

<unit>
<parameters>
<size value="2"/>
<height value="1"/>
<max-hp value="1300" regeneration="3"/>
<max-ep value="200" regeneration="1"/>
<armor value="20"/>
<armor-type value="unit"/>
<sight value="15"/>
<time value="200"/>
<max-unit-count value="2"/>
<multi-selection value="true"/>
<cellmap value="false"/>
<levels>
</levels>
<fields>
<field value="air"/>
</fields>
<properties/>
<light enabled="false"/>
<unit-requirements>
</unit-requirements>
<upgrade-requirements>
</upgrade-requirements>
<resource-requirements>
<resource name="stone" amount="25"/>
<resource name="wood" amount="100"/>
<resource name="gold" amount="225"/>
</resource-requirements>
<resources-stored/>
<image path="images/drone.bmp"/>
<image-cancel path="../../icons/cancel.bmp"/>
<meeting-point value="false"/>
<selection-sounds enabled="true">
<sound path="$COMMONDATAPATH/sounds/horseman_select1.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select2.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select3.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select4.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select5.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select6.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select7.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select8.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select9.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select10.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select11.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_select12.wav"/>
</selection-sounds>
<command-sounds enabled="true">
<sound path="$COMMONDATAPATH/sounds/horseman_ack1.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack2.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack3.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack4.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack5.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack6.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack7.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack8.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack9.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack10.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack11.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack12.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack13.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack14.wav"/>
<sound path="$COMMONDATAPATH/sounds/horseman_ack15.wav"/>
</command-sounds>
                <resources-death>
                        <resource name="wood" amount-percentage="5" loss-percentage="1"/>
                        <resource name="gold" amount-value="1000" loss-percentage="1"/>
                        <resource name="stone" amount-percentage="5" loss-percentage="1"/>
                </resources-death>
</parameters>

<skills>

<skill>
<type value="stop"/>
<name value="stop_skill"/>
<ep-cost value="0"/>
<speed value="1000"/>
<anim-speed value="50"/>
<animation path="models/drone.g3d"/>
<particles value="true">
<particle-file path="jet1.xml"/>
<particle-file path="jet2.xml"/>
</particles>
<sound enabled="false"/>
</skill>

<skill>
<type value="attack"/>
<name value="stop_buff_armor"/>
<ep-cost value="100"/>
<speed value="100"/>
<anim-speed value="100"/>
<animation path="models/drone.g3d"/>
<attack-strenght value="0"/>
<attack-var value="0"/>
<attack-range value="8"/>
<attack-type value="attacker"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<attack-start-time value="0"/>
<projectile value="false"/>
<splash value="false"/>
<particles value="true">
<particle-file path="jet1.xml"/>
<particle-file path="jet2.xml"/>
<particle-file path="front_light.xml"/>
</particles>
<sound enabled="false"/>
<attack-boost>
<allow-multiple-boosts value="true" />
<radius value="12" />
<target value="faction" include-self="false"/>
<armor value="100" value-percent-multipler="false" />
<particles value="false"/>
</attack-boost>
</skill>

<skill>
<type value="attack"/>
<name value="stop_buff_dmg"/>
<ep-cost value="100"/>
<speed value="100"/>
<anim-speed value="100"/>
<animation path="models/drone.g3d"/>
<attack-strenght value="0"/>
<attack-var value="0"/>
<attack-range value="8"/>
<attack-type value="attacker"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<attack-start-time value="0"/>
<projectile value="false"/>
<splash value="false"/>
<particles value="true">
<particle-file path="jet1.xml"/>
<particle-file path="jet2.xml"/>
<particle-file path="front_light.xml"/>
</particles>
<sound enabled="false"/>
<attack-boost>
<allow-multiple-boosts value="true" />
<radius value="12" />
<target value="faction" include-self="false"/>
<attack-strenght value="60"/>
<particles value="false"/>
</attack-boost>
</skill>

<skill>
<type value="attack"/>
<name value="stop_buff_range"/>
<ep-cost value="100"/>
<speed value="100"/>
<anim-speed value="100"/>
<animation path="models/drone.g3d"/>
<attack-strenght value="0"/>
<attack-var value="0"/>
<attack-range value="8"/>
<attack-type value="attacker"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<attack-start-time value="0"/>
<projectile value="false"/>
<splash value="false"/>
<particles value="true">
<particle-file path="jet1.xml"/>
<particle-file path="jet2.xml"/>
<particle-file path="front_light.xml"/>
</particles>
<sound enabled="false"/>
<attack-boost>
<allow-multiple-boosts value="true" />
<radius value="12" />
<target value="faction" include-self="false"/>
<attack-range value="4"/>
<particles value="false"/>
</attack-boost>
</skill>

<skill>
<type value="attack"/>
<name value="stop_buff_hp"/>
<ep-cost value="100"/>
<speed value="100"/>
<anim-speed value="100"/>
<animation path="models/drone.g3d"/>
<attack-strenght value="0"/>
<attack-var value="0"/>
<attack-range value="8"/>
<attack-type value="attacker"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<attack-start-time value="0"/>
<projectile value="false"/>
<splash value="false"/>
<particles value="true">
<particle-file path="jet1.xml"/>
<particle-file path="jet2.xml"/>
<particle-file path="front_light.xml"/>
</particles>
<sound enabled="false"/>
<attack-boost>
<allow-multiple-boosts value="true" />
<radius value="12" />
<target value="faction" include-self="false"/>
<max-hp value="400" value-percent-multipler="false" />
<particles value="false"/>
</attack-boost>
</skill>


<skill>
<type value="move"/>
<name value="move_skill"/>
<ep-cost value="0"/>
<speed value="250"/>
<anim-speed value="100"/>
<animation path="models/drone.g3d"/>
<particles value="true">
<particle-file path="jet1.xml"/>
<particle-file path="jet2.xml"/>
</particles>
<sound enabled="true" start-time="0">
<sound-file path="$COMMONDATAPATH/sounds/horseman_walk1.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/horseman_walk2.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/horseman_walk3.wav"/>
</sound>
</skill>


               
<skill>
<type value="die"/>
<name value="die_skill"/>
<ep-cost value="0"/>
<speed value="60"/>
<anim-speed value="50"/>
<animation path="models/drone.g3d"/>
<particles value="false"/>
<sound enabled="true" start-time="0">
<sound-file path="$COMMONDATAPATH/sounds/horseman_die1.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/horseman_die2.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/horseman_die3.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/horseman_die4.wav"/>
</sound>
                        <fade value="false"/>
</skill>

</skills>

<commands>

<command>
<type value="stop"/>
<name value="stop"/>
<image path="../../icons/stop.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<stop-skill value="stop_skill"/>
</command>

<command>
<type value="move"/>
<name value="move"/>
<image path="../../icons/move.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
</command>

<command>
<type value="attack"/>
<name value="plus_100_armor"/>
<image path="../../icons/stop.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<attack-skill value="stop_buff_armor"/>
</command>

<command>
<type value="attack"/>
<name value="plus_400_hp"/>
<image path="../../icons/stop.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<attack-skill value="stop_buff_hp"/>
</command>

<command>
<type value="attack"/>
<name value="plus_60_dmg"/>
<image path="../../icons/stop.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<attack-skill value="stop_buff_dmg"/>
</command>

<command>
<type value="attack"/>
<name value="plus_4_range"/>
<image path="../../icons/stop.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<attack-skill value="stop_buff_range"/>
</command>

</commands>
</unit>

14
Feature requests / Gain resources from building you destroy
« on: 19 May 2015, 02:29:41 »
I was thinking that, there could be an option in in the custom game config settings where if you destroy a building, you could gain the resources currently stored in it. This might make game play more interesting in an all vs all scenario for example, as it gives everyone more of a motive to attack.

15
If you hold down the return key in the megaglest-chat, the "press return to chat" text disappears eventually and the game has to be restarted to re-enable the chat function in the megaglest-lobby.

16
After installing and attempting to run megaglest using the ./start_megaglest script, I get the following output:

Code: [Select]
default library [/home/j/megaglest/lib/libdirectfb-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirectfb-1.2.so.9] pointed to from [/home/j/megaglest/lib/libdirectfb-1.2.so.0]
default library [/home/j/megaglest/lib/libfusion-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libfusion-1.2.so.9] pointed to from [/home/j/megaglest/lib/libfusion-1.2.so.0]
default library [/home/j/megaglest/lib/libdirect-1.2.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libdirect-1.2.so.9] pointed to from [/home/j/megaglest/lib/libdirect-1.2.so.0]
default library [/home/j/megaglest/lib/libjpeg.so.62] was found in [/usr/lib/i386-linux-gnu/libjpeg.so.62]
default library [/home/j/megaglest/lib/libpng15.so.15] is missing, attempting to find and link to a newer version if available...
new library link [/lib/x86_64-linux-gnu/libpng12.so.0] pointed to from [/home/j/megaglest/lib/libpng15.so.15]
default library [/home/j/megaglest/lib/libcurl.so.4] was found in [/usr/lib/x86_64-linux-gnu/libcurl.so.4]
default library [/home/j/megaglest/lib/libxerces-c-3.1.so] was found in [/usr/lib/x86_64-linux-gnu/libxerces-c-3.1.so]
default library [/home/j/megaglest/lib/libicudata.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libicudata.so.52] pointed to from [/home/j/megaglest/lib/libicudata.so.40]
default library [/home/j/megaglest/lib/libicuuc.so.40] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libicuuc.so.52] pointed to from [/home/j/megaglest/lib/libicuuc.so.40]
default library [/home/j/megaglest/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libGLEW.so.1.10] pointed to from [/home/j/megaglest/lib/libGLEW.so.1.5]
default library [/home/j/megaglest/lib/libGLEW.so.1.5] is missing, attempting to find and link to a newer version if available...
default library [/home/j/megaglest/lib/libogg.so.0] was found in [/usr/lib/x86_64-linux-gnu/libogg.so.0]
default library [/home/j/megaglest/lib/libvorbis.so.0] was found in [/usr/lib/x86_64-linux-gnu/libvorbis.so.0]
default library [/home/j/megaglest/lib/libvorbisfile.so.3] was found in [/usr/lib/x86_64-linux-gnu/libvorbisfile.so.3]
default library [/home/j/megaglest/lib/libfontconfig.so.1] was found in [/usr/lib/x86_64-linux-gnu/libfontconfig.so.1]
default library [/home/j/megaglest/lib/libfreetype.so.6] was found in [/usr/lib/x86_64-linux-gnu/libfreetype.so.6]
default library [/home/j/megaglest/lib/libgnutls.so.26] is missing, attempting to find and link to a newer version if available...
default library [/home/j/megaglest/lib/libldap_r-2.4.so.2] was found in [/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2]
default library [/home/j/megaglest/lib/libresolv.so.2] was found in [/lib/x86_64-linux-gnu/libresolv.so.2]
default library [/home/j/megaglest/lib/liblua5.1.so.0] is missing, attempting to find and link to a newer version if available...
default library [/home/j/megaglest/lib/libftgl.so.2] was found in [/usr/lib/x86_64-linux-gnu/libftgl.so.2]
default library [/home/j/megaglest/lib/libircclient.so.1] was found in [/usr/lib/x86_64-linux-gnu/libircclient.so.1]
default library [/home/j/megaglest/lib/libdl.so.2] was found in [/lib/x86_64-linux-gnu/libdl.so.2]
default library [/home/j/megaglest/lib/libvlccore.so.5] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/libvlccore.so.8] pointed to from [/home/j/megaglest/lib/libvlccore.so.5]
default library [/home/j/megaglest/lib/libvlc.so.5] was found in [/usr/lib/libvlc.so.5]
default library [/home/j/megaglest/lib/libgcrypt.so.11] is missing, attempting to find and link to a newer version if available...
new library link [/lib/x86_64-linux-gnu/libgcrypt.so.20] pointed to from [/home/j/megaglest/lib/libgcrypt.so.11]
default library [/home/j/megaglest/lib/libtasn1.so.3] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/libtasn1.so.6] pointed to from [/home/j/megaglest/lib/libtasn1.so.3]
default library [/home/j/megaglest/lib/librtmp.so.0] is missing, attempting to find and link to a newer version if available...
new library link [/usr/lib/x86_64-linux-gnu/librtmp.so.1] pointed to from [/home/j/megaglest/lib/librtmp.so.0]
./megaglest: /home/j/megaglest/lib/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by ./megaglest)
./megaglest: /home/j/megaglest/lib/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /home/j/megaglest/lib/libgnutls.so.26)

libgcrypt.so.11 is present in ~/megaglest/lib; it is a working link to libgcrypt.so.20, but it looks like that GCRYPT_1.2 is not present in this library.
It looks like it's the same issue as shown here https://forum.megaglest.org/index.php?topic=9571.0, but I don't think this is the fix since libgcrypt is already installed on ubuntu.

17
There is currently a bug in the megaglest-chat where you can repeat what you've typed multiple times. You can reproduce this bug by:

1. type a message in the megaglest irc chat, but DON'T press return
2. press alt+return, and your message will have been posted, everyone else will see the message, but you won't see it in your own chat. You need another irc-chat open in #megaglest-lobby to see the message
3. you can repeatedly press the key combination alt+return to send the message multiple times

I originally posted this bug here: https://forum.megaglest.org/index.php?topic=9147.0. This is especially a problem in linux since the key-combination alt+return is very important when trying to escape from the game without closing it.


18
Recently in the Towerdefense mod me and FreshDumbledore are making, I added an "emergency repair" particle system to all towers (using the same xml definition as the airship in tech uses for a custom damage particle system), but every time I morph a tower into a portal with this this xml definition I get a segmentation fault with the following output:

Code: [Select]
In [/home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5602] Error detected: signal 11:
Error saved to logfile [/home/james/.megaglest/error.log]
*ERROR* [2014-09-05 01:54:30] In [/home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp::handleRuntimeError Line: 629] [In [/home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5602] Error detected: signal 11:
] gameInitialized = 1, program = 0x1d8b340
*ERROR* [2014-09-05 01:54:31] In [/home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp::handleRuntimeError Line: 648] [In [/home/softcoder/Code/megaglest/git/source/glest_game/main/main.cpp::handleSIGSEGV Line: 5602] Error detected: signal 11:

Stack Trace:
./megaglest:Glest::Game::ExceptionHandler::handleRuntimeError(char const*, bool)address [0x7a7117] line: 639
./megaglest:Glest::Game::handleSIGSEGV(int)address [0x7a780f] line: 5607
/lib/x86_64-linux-gnu/libc.so.6:()address [0x7f82f8b13c30] line: 0
./megaglest:Glest::Game::Unit::checkCustomizedParticleTriggers(bool)address [0xa39fbe] line: 3917
./megaglest:Glest::Game::Unit::tick()address [0xa3ec4e] line: 3113
./megaglest:Glest::Game::World::tick()address [0xaf5a6a] line: 1005
./megaglest:Glest::Game::World::update()address [0xafe117] line: 937
./megaglest:Glest::Game::Game::update()address [0x6707fd] line: 2157
./megaglest:Glest::Game::Program::loopWorker()address [0x7dc958] line: 476
./megaglest:Glest::Game::glestMain(int, char**)address [0x7d2a75] line: 5451
./megaglest:Glest::Game::glestMainSEHWrapper(int, char**)address [0x7d45c1] line: 5699
/lib/x86_64-linux-gnu/libc.so.6:__libc_start_main()address [0x7f82f8afeec5] line: 0
./megaglest() [0x5eddd9]address [0x5eddd9]
]
Segmentation fault (core dumped)

This happens if the object is damaged or not, and therefore also if the particle is being used or not

FreshDumbledore made a suggestion as to why this fault exists, he suggested that the particle is linked to the original object, when the morph occurs the particle wants to be cancelled but the original object which the particle belongs to is gone so the game gets confused (or something like that, maybe he'll explain a little better).

There is also a workaround this bug (using an attackboost as seen here), but this is tacky.

19
Feature requests / change how observer mode works
« on: 29 March 2014, 12:24:56 »
Currently, observer mode requires a player to take a player slot, and then select "observer" as their faction. This means that, on a 1 v 1 map you can't have any observers, so no one can watch the 1 v 1 game.

So my suggestion is to allow observers to connect to a full game. Also,  the current limit to the number of players that can join a server is 8. But, there could be an option to allow a total of say, 12 clients to join where a maximum of 8 of those clients can be players.

20
Here are some ideas I have to improve the current in-game debug:
  • When you look at the different active players in the debug, you can see players such as "cpu mega", but it'd also be nice to see what multiplier they have.
  • Add an option to Save the current debug to a text file and/ or an option to create a log
  • Add a translucent black background to make it easier to read, similar to what has been done to certain menu-stuff and when you look at past conversations
  • Add an "ok" button at the bottom of the debug so that newbies can easily escape if they accidentally enter it

21
Me and Tomreyn were playing a 2v3 game with us both on the same team, and 3x cpu ultra on the other team.

I was chatting to tomreyn after the game had well finished, when the screen froze, so I switched to tty1 and back which unfroze the game, but left this error:
http://pastebin.com/ZKsj1GyM

(It should also be noted though that ubuntu 13.10 randomly freezes for me like this under normal usage, without megaglest running and using nvidia-331 drivers)


22
Feature requests / [Done] Expand minimap when selected in game menu
« on: 15 November 2013, 00:01:57 »
Titi was showing the map "ragor" to Akbar in the game menu with FOV switched off so that Akbar could see where the resources were to be found. But, the minimap was too small for Akbar so see where the resources were. So, what I'm suggesting is that in the menu if you click on the mini-map it expands to fill most/ all of the screen so that it can be seen in more detail. (I believe Akbar actually said he tried to do this :) )

23
This problem came to my attention when me, tomreyn and titi-son were playing the latest prax game (0.5.9). titi-son started to build a new building that was recently added, and it was only after it was built could he see that it could store gold.

Currently, when you hover over one of the "build a particular building" selections, all you are told is its cost. What I recommend is that when you hover over one of these selections is that it also shows you what you would see if you were to select an already built corresponding building (so hp, storage etc.). Except, you don't want to show information such as "Kills" (arrow towers show this when selected).

24
Closed bug reports / [outdated] rev 4555 LinuxMint15 -64bit: OOS
« on: 21 September 2013, 02:31:34 »
Tomreyn was the server and I was the client when I went out of sync.

terminal output: http://megaglest.nopaste.dk/p61337

Sadly I have little information on this bug and we couldn't reproduce it after we upgraded to rev 4557 and did a full rebuild.

25
I was the client along with lyra and filux and tomreyn was hosting (everyone I think had linux64), while plaing prax 0.5.8. Filux went OOS so then tomreyn closed the game. I then clicked on the exit button on the scoreboard which is when the error occured.

The terminal output: megaglest.nopaste.dk/p61346

The core file output: http://megaglest.nopaste.dk/p61347

The crcworld.log_client: https://www.dropbox.com/s/mwslf3i6wmlh5re/debugCRCWorld.log_client.7z

Another SegF was produced with the game I had before with just lyra and tomreyn as the host. This occured when just mid game after clicking the "timeout wating for message" button: http://megaglest.nopaste.dk/p61341


Pages: [1] 2