Author Topic: Beta 242.02  (Read 1733 times)

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Beta 242.02
« on: December 27, 2017, 01:34:01 PM »
Beta location

Changes since last:
  • The variables WEIDU_ARCH, WEIDU_OS and WEIDU_VER are defined when the log file is written.
  • Optimisation to ITEM_EFFECT_TO_SPELL: much less copying of files.
  • Add insert_point variable to ITEM_EFFECT_TO_SPELL.
  • Certain file-existence checks do not return false for files which exist but which are too large for the size to be expressible with a 32-bit integer.
  • TEXT_SPRINT works like SPRINT instead of like LOCAL_SPRINT.
  • Fix variable-evaluation bugs in ADD_KIT.
  • DELETE properly accepts filenames of any case on Linux.
  • AT_NOW makes available the return value of the inferior process.
  • SNPRINT can return the N last characters instead of just the first ones.
  • ADD OUTER_SNPRINT.
  • HANDLE_CHARSETS can infer charsets based on the language code in addition to the language name.
  • Document SPRINTF.
  • Fix documentation of the kit value in the CRE format.
  • Fix corruption issue in fj_are_structure affecting PST.

If things go as planned, a stable version will be released in a couple of weeks.

Offline CamDawg

  • Infidel
  • Planewalker
  • *****
  • Posts: 859
  • Dreaming of a red Xmas
    • The Gibberlings Three
Re: Beta 242.02
« Reply #1 on: December 27, 2017, 01:47:33 PM »
And fixes this.
The Gibberlings Three - Home of IE Mods

The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 242.02
« Reply #2 on: December 27, 2017, 04:31:30 PM »
That was the reason for 242.01 ;) Too bad I forgot to release it stable.

Offline Argent77

  • Planewalker
  • *****
  • Posts: 187
Re: Beta 242.02
« Reply #3 on: December 27, 2017, 04:34:57 PM »
I'm getting the following error when compiling v242.02 on macOS:
Code: [Select]
File "src/tpaction.ml", line 2079, characters 22-31:
Error: Unbound constructor WEXITED
cp: src/tpaction.cmi: No such file or directory
cp: src/tpaction.o: No such file or directory
make: *** [obj/x86_LINUX/tpaction.cmx] Error 1

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 242.02
« Reply #4 on: December 27, 2017, 04:44:00 PM »
Can you try with the current HEAD? The old code works for me but it's technically incorrect, so maybe that's it.

Offline Argent77

  • Planewalker
  • *****
  • Posts: 187
Re: Beta 242.02
« Reply #5 on: December 27, 2017, 05:02:14 PM »
It works!
« Last Edit: December 28, 2017, 04:07:13 AM by Argent77 »

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 242.02
« Reply #6 on: December 27, 2017, 07:19:36 PM »
Thanks.

Offline The Imp

  • Planewalker
  • *****
  • Posts: 288
  • Gender: Male
Re: Beta 242.02
« Reply #7 on: December 28, 2017, 05:16:51 PM »
Fix variable-evaluation bugs in ADD_KIT.
If I may ask, what exactly does this entail ? Just out of curiosity.

Offline Wisp

  • Moderator
  • Planewalker
  • *****
  • Posts: 1176
Re: Beta 242.02
« Reply #8 on: December 28, 2017, 05:54:22 PM »
Passing arguments as variables would in some cases result in the variables not being evaluated. It's not usually done, so it's mostly a minor issue.

Offline subtledoctor

  • Planewalker
  • *****
  • Posts: 131
Re: Beta 242.02
« Reply #9 on: January 02, 2018, 10:08:04 AM »
The variables WEIDU_ARCH, WEIDU_OS and WEIDU_VER are defined when the log file is written.

Not entirely related, and not terribly urgent, but a feature suggestion: the log file should make mention of the result of GAME_IS at the time of its creation. I can't tell you how many times I've had users report "x mod component isn't working! Weidu.log attached." And I can't tell what game is being played and thus, in some instances, what the mod's intended behavior is or how it's breaking.

It's a small thing, but it would be useful to have that information at a glance at the top of the log file.

Offline AL|EN

  • Planewalker
  • *****
  • Posts: 391
  • Gender: Male
Re: Beta 242.02
« Reply #10 on: January 03, 2018, 05:40:24 AM »
Such information is included inside .debug file but people don't often post it so it would be definitely helpful.
Project Infinity public BETA - mod manager for Infinity Engine games
Modder's Guide to Github - you cannot have progress without committing changes

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: