The Cathedral of Attnam

Iter Vehemens ad Necem (IVAN)
Login
Username
Password


 Valid CSS  Valid HTML 4.01 Strict

LIVAN source code

The Cathedral of Attnam  >  IVAN Variants
Print

View profile
Send message
Find posts Find topics
 
Mar 25, 2008 at 9:38 pm #1  !
nukes
hedgehog


Joined: Mar 25, 2008
Posts: 9
LIVAN source code
As I'm sure you are all aware, LIVAN has been released in violation of the GPL (in that lampshade has not been publishing his source code).

I joined the IRC channel yesterday wanting to contribute a patch. What have I stumbled into?

So here it is, the source code for LIVAN, as provided by lampshade. I do have a version which runs on linux, but I'd rather provide his original source to begin with.


As I'm posting here, can I also ask who has CVS commit privileges to the original IVAN?
 
 
View profile
Send message
Find posts Find topics
 
Mar 25, 2008 at 9:42 pm #2  !
Dumb Shit's Avatar
Dumb Shit
Banned


Joined: Mar 14, 2008
Posts: 62
 
 
View profile
Send message
Find posts Find topics
 
Mar 25, 2008 at 9:46 pm #3  !
lampshade's Avatar
lampshade
mutant ass


Joined: Dec 3, 2007
Interests: Christian Side Hugs
Posts: 67
HELL YEAH WAY TO GO MAN
 
<J-Kahvi> my dad tried astral projection in the 70's
<lampshayde> I guess Arcane is a 19 year old with the mind of a 10 year old *shrugs* <Indephy> Yes obviously
 
View profile
Send message
Find posts Find topics
 
Mar 25, 2008 at 10:28 pm #4  !
nukes
hedgehog


Joined: Mar 25, 2008
Posts: 9
Ok, so here's my patched one
It'll now build on linux (Gentoo, G++ 4.2 - 4.3 probably won't work).

This fixes a bug I was experiencing where the CPU usage was ~50% when playing. No way was the game actually using that much.

Now it uses ~2% if that. Same problem exists in CVS, but nobody seems to have access or want to take the patch.

If you have problems with it quitting unexpectedly (but cleanly) I know the potential source of this. (some systems need the SDL_Event cleared before passing it)
 
 
View profile
Send message
Find posts Find topics
 
Mar 26, 2008 at 3:47 pm #5  !
nukes
hedgehog


Joined: Mar 25, 2008
Posts: 9
Also, you may need to compile with optimization disabled (sometimes messes up when going up/down stairs). To do this do:

Code

$ ./configure CFLAGS="-O0" CXXFLAGS="-O0"


I don't know how to alter the cflags in makefile.in.
 
 
View profile
Send message
Find posts Find topics
 
Mar 28, 2008 at 3:59 pm #6  !
nukes
hedgehog


Joined: Mar 25, 2008
Posts: 9
autoconf error
Fixed a problem where the game would crash on descending to GC5. (autoconf misconfiguration, wasn't installing one of the images)
In accordance with GPL have added notice saying it has been modified.
 
 
View profile
Send messageSend email
Find posts Find topics
 
Apr 6, 2008 at 4:30 pm #7  !
capristo's Avatar
capristo
The Imperialist


Joined: Dec 2, 2007
Location: New Attnam
Interests: bananas
Posts: 1224
Groups:
Thank you nukes
 
 
View profile
Send message
Find posts Find topics
 
Apr 8, 2008 at 9:55 am #8  !
Fluffy_Bot's Avatar
Fluffy_Bot
Master of the profane arts of linguistic combat


Joined: Jan 27, 2008
Occupation: Boxing Champion
Location: Kamogawa Gym
Interests: Boxing, Pornography
Posts: 328
Nukes is hero. Hero-Jesus, to be exact. And a filthy hippie for sucking Linux's teat.
 
image
 
View profile
Send message
Find posts Find topics
 
Aug 22, 2008 at 12:49 am #9  !
josiah
hedgehog


Joined: Jan 21, 2008
Occupation: Musical Chair
Location: Mondedr
Posts: 5
The most recent Livan compiles nicely on Slackware 12.1.

I should also mention that I've modified Livan to have a more comfortable alternative key binding system for me and my laptop. It takes the direction keys from Nethack, and makes a few changes (to the alternate key bindings) so that things are as similar to the default key bindings. If these changes interest anybody, I'm happy to share a patch. Otherwise I'll just patch every new version that comes out for myself.
 
There once was a signature-writer Who fancied himself quite a strong fighter; And if you're not careful, He'll give you an earful To hide that he is a nail biter.
 
View profile
Send message
Find posts Find topics
 
Dec 6, 2008 at 6:15 pm #10  !
relet
giant mushroom


Joined: Dec 6, 2008
Posts: 1
re:livan
Hi Forum. Livan (and Ivan too, after a bit of patching) compile cleanly on Ubuntu Heron. However it seems that there are a few issues with memory handling - it often segfaults or aborts when using the stairs, or loading a save file. I.e. when generating or restoring a new level.

Typical behaviour is:
a)
Code

Segfault 


b)
Code

Terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted



And it's not like I were short on memory.

Are you aware of this? Should I submit a bug report? (Where? I find the multitude of ivan sources and forums a bit confusing) Is there any known solution, even?

Thanks in advance,
=relet=
 
 
View profile
Send messageSend email
Find posts Find topics
 
Dec 6, 2008 at 8:45 pm #11  !
Ernomouse's Avatar
Ernomouse
Master mine stomper


Joined: Dec 16, 2007
Occupation: Vigorous training.
Location: In the forests of Finland, looking for long forgotten explosives.
Interests: Mines
Posts: 1571
Groups:
Well... The development has pretty much stopped, so if you wish to do something about, do so. There are some who have made mods/forks/patches/whatever to the original IVAN by scripting, but only a few of us know how to code C++... So, I'm not sure if there is a better place than this to post bugs.
 
I'm the master sissi who PISSES off MINES.
 
 Print


The Cathedral of Attnam  >  IVAN Variants  >  LIVAN source code

Jump to