[Fixed for V0.39] Can't gain experience via damage actions

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
KlausM
Novice
Posts: 22
Joined: Fri Apr 14, 2006 1:39 am
Location: Germany, Rheinland-Pfalz

[Fixed for V0.39] Can't gain experience via damage actions

Post by KlausM »

Hi George,

You wrote here that its possible to use negative strength in actions.
(especially for experience awards)

but RTC bumps out an critical error , like this :

Code: Select all

.
.
.

*** CRITICAL ERROR (line 355, item reference ref000403-1 - WALLITEM_ACTION): String "-50" not supported. Expecting an integer with a value 0 or greater.
.
.
.
**** RTC FILE HAS NOT BEEN CREATED ****
The line in the dungeon text file is this (for only the action)

Code: Select all

ref000403-1	WALLITEM_ACTION			4	3	0	CENTRE	ACTION=(ACTION_DAMAGE_BYMONSTER_EXPERIENCE_FIGHTER,NULL,NULL)	STRENGTH=(-50)
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Hmm - I think that might be a bug with my post rather than RTC :oops:

Negative strengths are generally speaking a bad thing and all sorts of things could go wrong with them (which is why the compiler is correctly complaining).

This is probably best turned into a request for a set of GAIN_EXPERIENCE actions to allow you to do what you want, however I'll have to have a bit more of a think about the best thing to do here!
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Fixed for V0.39 (by adding new actions to directly alter the experience values)
Post Reply