Re: [Ohrrpgce] SVN: teeemcee/1457 Add milliseconds command (to relieve those people who went to the trou
On 10/23/07, Kizul Emeraldfire [EMAIL PROTECTED] wrote: On 9/19/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: teeemcee 2007-09-19 05:56:37 -0700 (Wed, 19 Sep 2007) 154 Add milliseconds command (to relieve those people who went to the trouble of synchronising scripts to music) Also copy scriptstate$ changes to U. branch --- U rel/ubersetzung/docs/plotdict.xml U rel/ubersetzung/whatsnew.txt U rel/ubersetzung/yetmore.bas U wip/docs/plotdict.xml U wip/plotscr.hsd U wip/whatsnew.txt U wip/yetmore.bas Say TMC, I just looked around on CastleParadox and on the O.H.R. wiki, and I can't find anything saying how to use the milliseconds command — not even the help thing in James's HamsterSpeak Script Editor knows. Any chance you could shed some light on how to USE this wondrous command? o.O It is documented in the plotscript dictionary: milliseconds Use to measure time intervals accurately. Subtract two values returned by milliseconds at different times to find the number of ms (1000ths of a second) elapsed in between. A single value is useless (the computer's uptime). For example, to wait for 2.5 seconds, variable (start time) start time := milliseconds while (milliseconds start time + 2500) do (wait) (Maybe the dictionary needs to be re-uploaded to the wiki) ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] [Bug 437] [Gentoo] Fix /usr/games/lib/ohrrpgce hack
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=437 --- Comment #5 from [EMAIL PROTECTED] 2007-10-22 23:13 --- Instead of /usr/games/lib/ohrrpgce, custom (and game) now look in the folder specified with the DATAFILES compile-time define (defaulting to /usr/share/games/ohrrpgce), have a look at makeedit.sh -- Configure bugmail: http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] The F is for Faster
Mostly for Kizul, I revved up the FMF's speed. It should run noticeably quicker (Large Screen should still be left un-ticked.) (- SR PS: Thanks to Adam for testing my Ant script. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] [Bug 437] [Gentoo] Fix /usr/games/lib/ohrrpgce hack
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=437 --- Comment #6 from [EMAIL PROTECTED] 2007-10-23 05:51 --- Compile error. common.bas(1347) : error 1: Argument count mismatch, found: '/' IF isfile(DATAFILES + SLASH + filename$) THEN RETURN DATAFILES + SLASH + filename$ * The specific snippet of code: * /usr/bin/fbc ${FBCFLAGS} -g -v -m game -d IS_GAME -d DATAFILES=$(games_get_libdir)/ohrrpgce \ * game.bas bmod.bas bmodsubs.bas allmodex.bas menustuf.bas moresubs.bas yetmore.bas yetmore2.bas compat.bas bam2mid.bas loading.bas common.bas browse.bas util.bas \ * gfx_${OHR_GFX}.bas music_${OHR_MUSIC}.bas || die compile failed [EMAIL PROTECTED] ~/hamsterrific/games-rpg/ohrrpgce-player-wip $ fbc -version FreeBASIC Compiler - Version 0.16 for linux (target:linux) Copyright (C) 2004-2006 Andre Victor T. Vicentini ([EMAIL PROTECTED]) Any reason it should be doing this? (WIP btw) -- Configure bugmail: http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
Re: [Ohrrpgce] [Bug 437] [Gentoo] Fix /usr/games/lib/ohrrpgce hack
On 10/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=437 --- Comment #6 from [EMAIL PROTECTED] 2007-10-23 05:51 --- Compile error. common.bas(1347) : error 1: Argument count mismatch, found: '/' IF isfile(DATAFILES + SLASH + filename$) THEN RETURN DATAFILES + SLASH + filename$ * The specific snippet of code: * /usr/bin/fbc ${FBCFLAGS} -g -v -m game -d IS_GAME -d DATAFILES=$(games_get_libdir)/ohrrpgce \ * game.bas bmod.bas bmodsubs.bas allmodex.bas menustuf.bas moresubs.bas yetmore.bas yetmore2.bas compat.bas bam2mid.bas loading.bas common.bas browse.bas util.bas \ * gfx_${OHR_GFX}.bas music_${OHR_MUSIC}.bas || die compile failed [EMAIL PROTECTED] ~/hamsterrific/games-rpg/ohrrpgce-player-wip $ fbc -version FreeBASIC Compiler - Version 0.16 for linux (target:linux) Copyright (C) 2004-2006 Andre Victor T. Vicentini ([EMAIL PROTECTED]) Any reason it should be doing this? (WIP btw) I suppose you meant ${games_get_libdir} ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
Re: [Ohrrpgce] [Bug 437] [Gentoo] Fix /usr/games/lib/ohrrpgce hack
On 10/24/07, Ralph Versteegen [EMAIL PROTECTED] wrote: On 10/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=437 --- Comment #6 from [EMAIL PROTECTED] 2007-10-23 05:51 --- Compile error. common.bas(1347) : error 1: Argument count mismatch, found: '/' IF isfile(DATAFILES + SLASH + filename$) THEN RETURN DATAFILES + SLASH + filename$ * The specific snippet of code: * /usr/bin/fbc ${FBCFLAGS} -g -v -m game -d IS_GAME -d DATAFILES=$(games_get_libdir)/ohrrpgce \ * game.bas bmod.bas bmodsubs.bas allmodex.bas menustuf.bas moresubs.bas yetmore.bas yetmore2.bas compat.bas bam2mid.bas loading.bas common.bas browse.bas util.bas \ * gfx_${OHR_GFX}.bas music_${OHR_MUSIC}.bas || die compile failed [EMAIL PROTECTED] ~/hamsterrific/games-rpg/ohrrpgce-player-wip $ fbc -version FreeBASIC Compiler - Version 0.16 for linux (target:linux) Copyright (C) 2004-2006 Andre Victor T. Vicentini ([EMAIL PROTECTED]) Any reason it should be doing this? (WIP btw) I suppose you meant ${games_get_libdir} And you'll need the quotes around the double quotes, if I'm not mistaken ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] SVN: james/1504 Fixed a bug in the item menu code where it loaded attack data incorrectl
james 2007-10-23 14:14:46 -0700 (Tue, 23 Oct 2007) 237 Fixed a bug in the item menu code where it loaded attack data incorrectly into a temporary buffer intended for item data. Until very recently, attack data and item data records were the same size, so this went unnoticed for a long time. --- U wip/menustuf.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] [Bug 485] Item using attack causes all usable items to close game
http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/show_bug.cgi?id=485 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #4 from [EMAIL PROTECTED] 2007-10-23 14:20 --- Fixed in SVN revision 1504 The bug was an ancient one, where I was loading attack data into an item buffer. The recent binsize change for attack.bin revealed this bug, since now item data and attack data are no longer the same size. -- Configure bugmail: http://gilgamesh.hamsterrepublic.com/cgi-bin/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug, or are watching the assignee. ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
Re: [Ohrrpgce] [Bug 437] [Gentoo] Fix /usr/games/lib/ohrrpgce hack
On 10/23/07, Ralph Versteegen [EMAIL PROTECTED] wrote: On 10/24/07, Ralph Versteegen [EMAIL PROTECTED] wrote: I suppose you meant ${games_get_libdir} ${games_get_libdir} is a variable. $(games_get_libdir) is the result of the function or command games_get_libdir. I'm 99.995% certain that it's getting passed in correctly. However, I will try and see if the quotes are getting passed in. It's 100% possible that bash is passing in DATAFILES=/usr/games/lib/ohrrpgce. -- Keith Gable Lead Programmer / Project Leader The Ignition Project http://www.ignition-project.com/ [Ask me how you can get a free Gmail account - Now with Google Chat!] ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] SVN: james/1505 More Menu editor work.
james 2007-10-23 15:21:45 -0700 (Tue, 23 Oct 2007) 80 More Menu editor work. Code for writing menu data to menus.bin and menuitem.bin --- U wip/compat.bas U wip/const.bi U wip/flexmenu.bas U wip/loading.bas U wip/loading.bi ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] SVN: james/1506 strgrabber() is now a function that returns true of the string changes.
james 2007-10-23 15:51:55 -0700 (Tue, 23 Oct 2007) 241 strgrabber() is now a function that returns true of the string changes. It can still be used as a sub when you don't care if it changed the string, but as a function you can avoid code like: old$ = s$ strgrabber s$, 10 IF old$ s$ THEN --- U wip/custom.bas U wip/drawing.bas U wip/flexmenu.bas U wip/mapsubs.bas U wip/menus.bas U wip/moresubs.bas U wip/subs.bas U wip/subs2.bas U wip/subs3.bas U wip/yetmore2.bas ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org