Chaosforge Forum

  • April 18, 2024, 05:11
  • Welcome, Guest
Please login or register.



Login with username, password and session length

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 - icelus

Pages: [1]
1
DiabloRL / dialorl-svn build error
« on: June 01, 2012, 18:36 »
I think the file vlualibrary.pas in fpcvalkyrie is missing; in r387 a bunch of stuff was refactored to use it, and the log message indicates it's the main change.... but there's no file that I can see.

In r984 diablorl gives me errors in rlthing: rlthing.pas(26,42) Error: Unknown class field or method identifier "FPosition" (using the 2.6.0 fpc compiler - it refused to build with anything less).

Stepping back to r983 gives me errors in rlview (probably because I had to step to r386 of fpcvalkyrie to get a build).

First occurrence without that is r946; that has errors in rlui (more missing modules from the library).

First occurrence without those errors is 944. That needs vlualibrary (the same we started off missing).

First occurrence without that is r940. This has overloading errors in rllua/rlplayer (State.Push is an ambiguous overload). I backported the fixes from r984 into 940 and fixed these.

Unfortunately, there's an ifOnHit (undefined flag from TFlags) still outstanding. I wasn't able to work out how to fix this in the time available.

ALl of which is a long way of saying I think svn doesn't build at the moment. I did try though! I really wanted to play this.

2
DiabloRL / Patch for Linux on svn875
« on: August 27, 2011, 12:29 »
svn 875 is broken on linux, path delimiter woes in building the resource bundle.

Need:

Index: src/mpq.pas
===================================================================
--- src/mpq.pas   (revision 875)
+++ src/mpq.pas   (working copy)
@@ -17,10 +17,14 @@
     MPQFile.AddLuaFile('functions.lua',FILETYPE_LUA,[vdfCompressed]);
     MPQFile.AddLuaFile('const.inc',FILETYPE_LUA,[vdfCompressed]);
 
-    MPQFile.Add('lua','*.lua',@MPQFile.AddLuaFile,FILETYPE_LUA,[vdfCompressed]);
-    MPQFile.Add('lua\items','*.lua',@MPQFile.AddLuaFile,FILETYPE_LUA,[vdfCompressed],'items');
-    MPQFile.Add('lua\npc','*.lua',@MPQFile.AddLuaFile,FILETYPE_LUA,[vdfCompressed],'npc');
-    MPQFile.Add('lua\levels','*.lua',@MPQFile.AddLuaFile,FILETYPE_LUA,[vdfCompressed],'levels');
+    MPQFile.Add('lua','*.lua',
+                @MPQFile.AddLuaFile,FILETYPE_LUA,[vdfCompressed]);
+    MPQFile.Add('lua' + PathDelim + 'items','*.lua',
+                @MPQFile.AddLuaFile,FILETYPE_LUA,[vdfCompressed],'items');
+    MPQFile.Add('lua' + PathDelim + 'npc','*.lua',
+                @MPQFile.AddLuaFile,FILETYPE_LUA,[vdfCompressed],'npc');
+    MPQFile.Add('lua' + PathDelim + 'levels','*.lua',
+                @MPQFile.AddLuaFile,FILETYPE_LUA,[vdfCompressed],'levels');
   except
     on e : Exception do
       Writeln( e.Message );

Pages: [1]