Chaosforge Forum
Coding => FPC Valkyrie => Topic started by: beam on February 25, 2007, 17:45
-
Hey, I just want to say that Valkyrie is great, but I've been experiencing some problems with it.
Free Pascal Compiler version 2.0.4 [2006/08/21] for i386
Copyright (c) 1993-2006 by Florian Klaempfl
Target OS: Win32 for i386
Compiling c:\fpc\202a8d~1.4\projects\sr\sr.pas
Compiling srmain.pas
Compiling srmap.pas
Compiling srentity.pas
srentity.pas(20,20) Error: There is no method in an ancestor class to be overridden: "constructor TEntity.Init"
srentity.pas(31,1) Fatal: There were 1 errors compiling module, stopping
srentity.pas(10,23) Fatal: Compilation aborted
I'm trying to do the SR tutorial, and that error always pops up. Any idea what I might be doing wrong?
-
The problem is that the sr tutorial was written under the 4.0 valkyrie version :/. I plan making a very updated and complete roguelike tutorial, but not before the 7DRL competition. Till then you may try to replace ALL "Init" names with "Create" (and by ALL I mean ALL). This MIGHT work.
-
Thanks, that worked great. It fixed the valkyrie compile errors, but then it said that Freepascal couldn't find the gzio unit. I downloaded paszlib, but for some reason crc.pas generates all kinds of crazy errors. I'm sure I'll get it working though.
-
Hmm, you don't need paszlib anyway. You can try commenting off all gz stuff.
-
The problem is that the sr tutorial was written under the 4.0 valkyrie version :/. I plan making a very updated and complete roguelike tutorial, but not before the 7DRL competition.
You know, some people are considering Valkyrie for their 7drl attempt ;) You're not making it easier for us ;)
Cheers,
T.
PS : Evil kaneevil to force me to register ;)
-
The problem is that the sr tutorial was written under the 4.0 valkyrie version :/. I plan making a very updated and complete roguelike tutorial, but not before the 7DRL competition.
You know, some people are considering Valkyrie for their 7drl attempt ;) You're not making it easier for us ;)
Uh sorry I didn't think of that :/
Cheers,
T.
PS : Evil kaneevil to force me to register ;)
Yup, I'm inherently evil ^^
-
For completeness sake,
all instances of 'Done' must be replaced with 'Destroy'.
T.
-
Sample Roguelike Tutorial 3, fixed to fit Valkyrie 0.4.2.
http://izmoden.ucoz.ru/myfiles/sr-step-3.zip (http://izmoden.ucoz.ru/myfiles/sr-step-3.zip)
-
Wow, thanks!
Although 0.4.2 is pretty outdated :).
I hope to have better support, documentation and release info when 0.5.0 comes out.
-
Dude,
you said that 2 years ago !!!
fpc -Mobjfpc srmain.pas
Compiling vstream.pas
vstream.pas(160,9) Error: No matching implementation for interface method "IOutputStream.Write(const LongInt, Pointer);"
found
T.
-
Wow, thanks!
Although 0.4.2 is pretty outdated :).
I hope to have better support, documentation and release info when 0.5.0 comes out.
Is it coming... well... anytime?..
-
I hope so >^_^<