Giter Club home page Giter Club logo

wargus's Introduction

Wargus is a Warcraft2 Mod that allows you to play Warcraft2 with the Stratagus engine. The game looks and sounds exactly like Warcraft2. The gameplay is very close to Warcraft2's gameplay, with slight enhancements towards Starcraft. You can find more details on Wargus and on how to install it under Linux, Windows and Mac at https://stratagus.com.

Join the chat at https://gitter.im/Wargus

Discord

Status of latest builds:

  • Windows:
  • Linux & OSX: Build Status

To help with translations, visit these pages:

wargus's People

Contributors

a-detiste avatar actboy168 avatar amdmi3 avatar cen1 avatar chefkeeper avatar deaod avatar dinkydyeaussie avatar doomguy avatar fydo avatar ipochto avatar jarod42 avatar kintobor avatar ladislav-zezula avatar lectem avatar leeonix avatar mimooh avatar mistranger avatar namreeb avatar notpointify avatar nvs avatar pali avatar psa-jforestier avatar simonestarace avatar talas avatar threez avatar timfel avatar tmiad2 avatar tyusha0 avatar yunabraska avatar zzam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wargus's Issues

RegenerationRate speed

I noticed a little bug in RegenerationRate. It doesn't break the game, but make a big difference with Warcraft 2.
The RegenerationRate seems too fast. In the original WC 2 the berserkers regenerate 1 health every 2/3 second, here the minimum regeneration is 1 hp each second.


Imported from Launchpad using lp2gh.

Town hall information in left panel

I think this information should be corrected. Currently there is info about farm supply / demand when Town hall is clicked. There should be infomation about resource bonuses instead (gold, wood, oil).


Imported from Launchpad using lp2gh.

wargus won't start: music extension in stratagus.lua

Fresh install from today trunk (stratagus and wargus):

wszafie:wargus$ ./stratagus

[string "scripts/stratagus.lua"]:87: attempt to concatenate field 'music_extension' (a nil value)
stack traceback:
[string "scripts/stratagus.lua"]:87: in main chunk


Imported from Launchpad using lp2gh.

there is a problem with the "missile-class-parabolic"

hello again!, well, i realized that the attack of some units like the catapult or the destroyers are strange, in the sense of that the parabolic missile doesn't work as it should do, is a little difficult to describe but if you see it yourself you will know what iam talking about, now that is strange because in the previous version that did not happen, i am ussing the v2.2.5.5 on win 32bit. but as i told you in the 2.2.5.4 the parabolic effect worked perfectly!


Imported from Launchpad using lp2gh.

User Preferences file

Sometimes we add new options to preferences file. If user has valid preferences file and upgrade to new Wargus version (in which was change introduced) and do not delete or fix preferences file, Stratagus show similar lua error:

[string "/usr/share/games/stratagus/wargus/scripts/s..."]:348: bad argument #1 to 'SetMouseScrollSpeed' (number expected, got nil)
stack traceback:
[C]: in function 'SetMouseScrollSpeed'
[string "/usr/share/games/stratagus/wargus/scripts/s..."]:348: in main chunk

It is cased by script scripts/stratagus.lua where is:

Load("preferences.lua")
if (wc2.preferences == nil) then
wc2.preferences = { ... }
end
...
SetMouseScrollSpeed(wc2.preferences.MouseScrollSpeed)

So with old config wc2.preferences.MouseScrollSpeed is nil.

What do you think, how to fix this problem? It is possible to patch lua functions (SetMouseScrollSpeed) that will also accept nil? Or should we add before each function condition like this? Or is there any other option?

if (wc2.preferences.MouseScrollSpeed == nil) then
wc2.preferences.MouseScrollSpeed = 1
fi

This is blocker which should be fixed before 2.2.7. Also this affects all games (not only Wargus).


Imported from Launchpad using lp2gh.

Maximum speed slower than W2

The maximum speed in Wargus is slower than Warcraft 2's "Fastest". I think the current maximum is equivalent to Warcraft 2's "Even faster".


Imported from Launchpad using lp2gh.

invalid tile number: 80

I get this error if I try to make a new map (I can create and save it, but when I try to load or edit again I get the error) and if I try to edit a campaign map.


Imported from Launchpad using lp2gh.

Install ERROR

On installation Wargus 2.2.5.4 on win 7 shows message ripping warcraft 2 audio track failed.
What I doing wrong?
Pleas help

jii


Imported from Launchpad using lp2gh.

Death Knight doesn't use spells, doesn't even attack

Maybe it's a feature request.

This happens in Expansion Human Campaign, Level 1.

Death Knights don't do anything, they don't attack, don't use spells and just run away when attacked. I expected that at least they use Death Coil on my units.


Imported from Launchpad using lp2gh.

Feature Request - Selectable Colors

I noticed you got feature requests in the bug section, not sure why, but I figure I would post these in here since other people already did. If there is an actaul place where they are supposed to be, point me in the right direction please.

So a feature I would like to have in the future versions is being able to select/randomize my color before every match, I am really sick of being Red player all the time. Can this be done with Wargus?


Imported from Launchpad using lp2gh.

wargus crashes with XIO error

Wargus crashes randomly during the play (not in menus though) with the following diagnostics:

XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 457 requests (456 known processed) with 0 events remaining.
zsh: segmentation fault wargus

There are no errors in .xsession-errors, Xorg.0.log nor dmesg.

Any idea how to debug this issue?


Imported from Launchpad using lp2gh.

Feature Request - Difficulty Setting of AI

It would be really ideal to have a difficulty setting for the AI, there are some maps where it is impossible to beat the AI the way they are currently programmed. So I was thinking maybe there is a way to put in some variables to alter how they function when you select it, then maybe later on you can set the difficulty of each individual AI when you are able to select the colors. So my basic rundown of how this could work is:

Easy = -10-15% on rate of micro managing. This would essentialy make the AI not build up their base so darn fast and Gruntman rush you to death. Also will make them not rush early in general.

Medium = Basicaly the current programming is kept the way it is now, except their micro managing should be toned down 5% of what is now to keep them from dominating the player in a 1v1 match in open field.

Hard = All this will do is keep the current AI setting the way they are currently (2.2.5), and add some more attack strategies and possibly early expanding.

These will definantly make the game far more enjoyable, I hope you will consider this in the future, thanks for reading. :-)


Imported from Launchpad using lp2gh.

In network games, assigned race does not usually match selected race

I setup a network game between 3 people; after everyone has selected their race of choice and I hit start, often users don't get the race they expected.

This is based on a development build from somewhere around July 19 2014. I don't [currently] have the means to test this out on a newer build.


Imported from Launchpad using lp2gh.

Campaign AI non-existant

The campaign has been a huge cake walk due to the AI just sitting there doing nothing, the most they will do is mine gold and chop some trees, and that's it. In vannilla WarCraft 2, they attack you like crazy. Maybe Once in a blue moon do they actualy do something, but it's extrememly rare for me. I will attach the same log I used for the speed glitch, because in that level, they are supposed to send some ships and trasport troops on your island to attack, and they don't do anything but sit there and wait to die.

  • Original WarCraft 2 DOS CD (no expansion)
  • stratagus version 2.2.5 (latest)
  • wargus version 2.2.5 (latest)
  • Windows XP SP3

Imported from Launchpad using lp2gh.

Wishes : AI attack each other + choice manually the number of AI

(Sorry if wishes must not be in buglist but I didn't find another place).
It would be great if we could choose AI attack each other in network party and if we could manually select the number of AI in a game (below maximum of the map).
Few years ago I made this modifications on old stratagus / wargus versions (2.2.4) and I experienced many network issues (but sometimes it worked), so I probably made mistakes.

Another little thing, I remember that GameCycle (into stratagus) is not reset on start of each network party, but I don't know if you already fix it.


Imported from Launchpad using lp2gh.

check your sources

Debian/Squeeze
all was good, but then:

cd ../stratagus-2.2.4

./stratagus -d ../wargus-2.2.5.2/data.wc2

[string "../wargus-2.2.5.2/data.wc2/scripts/stratagu..."]:85: attempt to call global SetFullGameName' (a nil value)2 stack traceback: [C]: in functionSetFullGameName'
[string "../wargus-2.2.5.2/data.wc2/scripts/stratagu..."]:85: in main chunk

google told me, that:
"Since foo is just a reference to a function body we can assign other variables to have the same value. We can also delete the reference to foo by assigning the value nil to it. This effectively deletes the foo variable. Once we delete the reference from both foo and bar, the function is unreachable, and Lua will delete it (see GarbageCollectionTutorial). In this instance we assigned the function body to the variable bar, so in a way we renamed the function. But when we set the variable bar to nil, there are no other variables pointing to the function body, and it will be deleted when the garbage collector is called." (c) http://lua-users.org/wiki/FunctionsTutorial


Imported from Launchpad using lp2gh.

there aren't cycles, and the icons don't change

hello, when i was playing the other day, i realized, that, in the new version, the cycles, like the water cycle in the pallete (38-47). the building cycles and the icons cycles, are disabled, in that sense, the game is very static. Also another bug i found, was the colors in the icons, as you can see, the icons do not change colors, when the player change. they are always in red color.

sorry if my english is not the best, in truth, i speak spanish =)


Imported from Launchpad using lp2gh.

Problem extracting CD: Track #18 does not exist

I'm using stratagus/wargus v2.2.5.5 on Ubuntu 11.04 (natty) from the launchpad repository.

When installing wargus:
Preconfiguring packages ...
/tmp/wargus.config.141081: 11: /usr/games/wartool: not found

I don't know if that's relevant.
Anyway, it then goes on to extract the CD, but fails after extracting audio track 17 with:

Input #0, wav, from '/usr/share/games/stratagus/wargus/music/track_17.wav':
(...)
Track #18 does not exist.
dpkg: error processing wargus (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing: wargus
E: Sub-process /usr/bin/dpkg returned an error code (1)

Trying to run Wargus anyway tells me that Wargus data was not extracted yet...

Looks like I have the UK DOS version of the Warcraft 2 disc, and there are only 17 tracks on it (16 audio tracks). What am I doing wrong?


Imported from Launchpad using lp2gh.

New AI Gives Up Attacking

I have done many games testing the new AI, and there is a problem with them. After a few attacks they launch against an enemy, they all suddenly stop attacking. They just camp in their base after the attack, and build units non-stop til they run out of resources. This isn't just a couple AI settings doing this, it's all of them. It's like something broke in their script to tell them to attack that causes them to just sit there. This will need to be fixed ASAP as this also effects campaign too.

  • Trunk Build (latest 2/7/14)
  • Original WarCraft 2 Expansion DOS CD
  • Stratagus version 2.2.7 (latest)
  • Wargus version 2.2.7 (latest)
  • Windows 7

Imported from Launchpad using lp2gh.

AI Will Not Build Past Town Hall Tech

This bug is only present in the 2.2.7 version. After doing many matches against them, I discovered that they refuse to build anything that comes with upgrading the Town Hall to Keep/Stronghold. They get as far as the Town Hall upgrade, and just stop. I think some AI scripting was badly modified or it is missing here. (AI not building Mages bug is present in earlier versions as well.)

  • Original WarCraft 2+ Expansion DOS CD
  • stratagus version 2.2.7 (latest)
  • Wargus version 2.2.7 (latest)
  • Windows XP SP3

Imported from Launchpad using lp2gh.

Glitch Present In Map Editor Involving Walls

When using the map editor, the wall sections create other texture pallets that are glitched, resulting anything within a certain radius getting overwritten when you attempt to remove the placed wall section from the map. To reproduce this, simply place some walls on the field and overlap it with a tree or something and watch what happens. This also applies to Stratagus.

  • WarCraft 2 Battle.net Edition
  • Stratagus version 2.3.0 (latest)
  • Wargus version 2.2.7 (latest)
  • Windows 7

Imported from Launchpad using lp2gh.

Map Editor Crashes To Desktop

As the topic says, I am currently the latest trunk build, and for some reason it crashes to desktop while it is loading. I tried altering my resolution to see if that was the problem, but even on the default resolution it still did it.

  • Original WarCraft 2 Expansion DOS CD
  • stratagus version 2.2.7 (latest)
  • wargus version 2.2.7 (latest)
  • Windows 7

Imported from Launchpad using lp2gh.

UK/Australian original DOS CD not supported

Copied CD contents to MyDocs/War2

Did a manual run of /usr/games/warextract and after a while it crashed on me. Terminal output as follows:

Warning: cdparanioa is not installed in system
cdparanoia is needed for extract music
Detected UK/Australian original DOS CD
Please be patient, the data may take a couple of minutes to extract...
Wrong type 00000fa0, expected 000007d0


Imported from Launchpad using lp2gh.

BNE CD unsupported

The BNE cd should be supported.

Support/Tomes/Tome.1 is maindat.war
Support/Tomes/Tome.4 is strdat.war


Imported from Launchpad using lp2gh.

In network games, after hitting "start game", non-host clients report that the game creator has changed

  1. Start a LAN server
  2. Have 2 or more clients join and click 'ready'
  3. note who the creator is on the two clients
  4. Click start and note who it says the creator is on the other two machines

If you're running on a fast machine you may need to find a way to introduce a delay or something to see it. My suspicion is that it's possible once the game begins some clients may misbehave because they think they're the server, or think someone else is the server.


Imported from Launchpad using lp2gh.

rv1757 Map Editor / Select Map dir browsing missing ../

Using wargus 1757 scripts with stratagus 8915.

Somewhere between 1722 and 1757 the "../" was dropped from the Select Map directory browser in the map editor on the initial page. This was very useful/essential for me as now I cannot navigate to where my games are.

Thank You.


Imported from Launchpad using lp2gh.

Warcraft II audio cd files not found

Wargus version 2.2.5.5 deb package for ubuntu installed on debian testing
$ uname -a
Linux qaculda 2.6.38-2-amd64 #1 SMP Thu Apr 7 04:28:07 UTC 2011 x86_64 GNU/Linux

CD iso mounted to /mnt with mount -o loop

When installing the package using gdebi the system throws the message "Warcraft II audio cd files not found" and doesn't extract any files.


Imported from Launchpad using lp2gh.

Request - Tweak the Air Attack AI Setting.

I may have mentioned this before, but this attack setting is just feeble, it pretty much ensures an instant win for the player when they do this. The AI will turtle in their base with a minimal amount of units and a dozen towers, and just send attack waves of Dragons or Gryphon Riders untill they run out of money. This entire strategy is easily countered by large groups of Archers/Berserkers with some Ballistas. If there is any way to tweak this so that they at least send some ground troops with their flyers, that will make it less easy to fight them.


Imported from Launchpad using lp2gh.

Missiles not flying and missing spell buttons

Wargus version: 2.2.5.5
Stratagus: 2.2.5.5

Using these versions I noticed missiles are bugged. They dont fly, but just appear next to the unit. Everything else works fine, including damage, hit, etc.
Also, there are missing spell buttons for fireball, death coil, and knight's and ogre's initial spells.
When I switched to a previous version of both Wargus and Stratagus, both issues were gone. I used the same warcraft CD.

No matter in what version, casting a position spell without clicking on a specific unit always results in the mage's going to a tile adjacent to the target and then casting a spell, no matter what's the range.


Imported from Launchpad using lp2gh.

kindle fire: multiplayer game speed too slow

This is related to bug 817054. It was observed on both 1st & 2nd gen kindle fires on wargus 2.3 (published to the amazon app store on July 19, 2014).

The game speed is fine in single player, but the pace in multiplayer is too slow. At first I thought it might either be a network issue or perhaps wargus was just exceeding the Kindle's limitations; then I ran across issue 817054.

I made edits corresponding to those made for that issue, then set the kindle's game speed to max and now the game runs at what I would consider to be the same pace as the original WC2 game engine on its default game speed.

It appears it may be necessary to either set the max even higher than 90, or perhaps there's a way scale the game speed that will work uniformly across all hardware.


Imported from Launchpad using lp2gh.

Cannot compile: missing X11 library

Hello
I am trying to compile Wargus (latest version, from 24/11, 2.2.6, both stratagus and wargus) on Fedora 16, but it gave me errors, after the "cmake .."

$ make
Scanning dependencies of target pudconvert
[ 14%] Building C object CMakeFiles/pudconvert.dir/pud.c.o
[ 28%] Building C object CMakeFiles/pudconvert.dir/pudconvert.c.o
Linking C executable pudconvert
[ 28%] Built target pudconvert
Scanning dependencies of target wargus
[ 42%] Building C object CMakeFiles/wargus.dir/wargus.c.o
Linking C executable wargus
/usr/bin/ld: CMakeFiles/wargus.dir/wargus.c.o: undefined reference to symbol 'XOpenDisplay'
/usr/bin/ld: note: 'XOpenDisplay' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: ** [wargus] Erro 1
make[1]: ** [CMakeFiles/wargus.dir/all] Erro 2
make: ** [all] Erro 2

Is there anything I can do? My libX11:

$ rpm -qa | grep libX11
libX11-1.4.3-1.fc16.i686
libX11-devel-1.4.3-1.fc16.x86_64
libX11-common-1.4.3-1.fc16.noarch
libX11-1.4.3-1.fc16.x86_64


Imported from Launchpad using lp2gh.

CDDA2WAW failed to rip audio track on windows

In Wargus 2.2.5.5 nsis installer script is in cdda2wav command device SPTI:1,2,0 but it may be other.
If you havn't cd/dvd drive on SPTI:1,2,0, then audio track ripping failed.
(For example my cdrw drive is SPTI:2,1,0.)


Imported from Launchpad using lp2gh.

AI Is Still Bugged

All of the AI scripts minus the default ones are still bugged. There are like 10 different scripts to choose from, but they all do the same EXACT things, difficulty settings also does not effect this either. The AI gets to a certain point in their building routine, and just stop. They don't expand, they don't use the water to their advantage, and for some reason they are not producing enough workers. They only build maybe 8-10 and that's it, sometimes they won't even replace the lost workers. They still attack with small amounts of forces, but they do not build or use their Castle/Fortress tech.

The default AI that came with the game (Land Attack, Sea Attack, Air Attack) are quite formidable and the only AI worth playing against currently because they expand and use everything at their disposal. (minus the shipyards unless set to sea attack)

The issue with the workers also goes in conjunction with the FTM game mode because it uses the Nepherite AI scripts. I have attached another game log with what the AI is doing and also another incident with the Transports.

  • WarCraft 2 Battle.net Edition
  • Stratagus version 2.3.0 (latest)
  • Wargus version 2.2.7 (latest)
  • Windows 7

Imported from Launchpad using lp2gh.

Error while installing wargus from ppa

When i try to install wargus from stratagus/ppa i get an error. I have tried it on two different machines and i get the same error:

gustav@kubuntu-dell:$ sudo apt-get install wargus
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
wargus
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,821 kB of archives.
After this operation, 5,186 kB of additional disk space will be used.
Preconfiguring packages ...
wargus failed to preconfigure, with exit status 1
Selecting previously deselected package wargus.
(Reading database ... 219498 files and directories currently installed.)
Unpacking wargus (from .../wargus_2.2.6-1ubuntu1
oneiric_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Setting up wargus (2.2.6-1ubuntu1~oneiric) ...
dpkg: error processing wargus (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
wargus
E: Sub-process /usr/bin/dpkg returned an error code (1)


Imported from Launchpad using lp2gh.

PUD Support

Older releases of Wargus (2.2 I believe) had PUD support. Perhaps support could be added back in.


Imported from Launchpad using lp2gh.

Feature Request - Expand Unit Panel

I noticed you got feature requests in the bug section, not sure why, but I figure I would post these in here since other people already did. If there is an actaul place where they are supposed to be, point me in the right direction please.

Would it be possible to expand the unit panel to see more than 9 unit portraits? I know the max number of commandable units at one time is 18, and the new hud definantly looks like it can fit all 18 portraits. Can this be done with Wargus?


Imported from Launchpad using lp2gh.

REQUEST - Display All Enemy Statistics

I am not sure why this isn't available yet, but I think it should be. I would really like to see what I see on my units when I come across an enemy. So far all it will display sometimes is the level of the unit (yes, Isaid sometimes), and the range of the unit if it was upgraded.


Imported from Launchpad using lp2gh.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.