[Fixed for V0.38] Crash clicking on triggers as ghost

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.38] Crash clicking on triggers as ghost

Post by KlausM »

There's an Access violation exception when clicking a fountain without any character in party.

Do following to reproduce:

Editor:
- make a new dungeon and set the level bigger.
- place the Testcharacter into a mirror so that you begin without character.
- build a fountain
- build a WALLITEM_ACTION with Action ACTION_BOOST_CHARACTER_BYOBJECT and Object 1 is for example FLASK_POTION_VI. (Object 2 is NULL)
- make the fountain be a trigger, operated by Mouse, that is activating the WALLITEM_ACTION.


Ingame:
- Click on the fountain, but without any character.

I think it should only be possible to use mirrors if you have no character.
User avatar
Sophia
Concise and Honest
Posts: 4306
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Access violation exception when click on fountain...

Post by Sophia »

KlausM wrote:I think it should only be possible to use mirrors if you have no character.
Ideally, yes.

In practice, there are all kinds of things that you can do before you've picked a character that you probably shouldn't-- play with torch sconces, too.

You're best off doing what DM did: block off most of the dungeon to players without a champion.
User avatar
beowuuf
Archmastiff
Posts: 20687
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

I'm doing an Inn HoC, so yes, i'd like some ghost protection on certain items, but also I don't want to cmpletely make the ghost a dead innecffective charatcer - I want it to activate items if they are clicked clicked and activate floor pads too, becuase sometimes you want the 'ghost' from a playing point of view to actually be someone, not just a mechanic to be able the select champions.
Perhaps disable the non-champion mouse pointer from selecting things as suggested, but have a new 'opby_ghost' for wall items (and have obby_all still work for ghost)
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

The crash is actually being caused by another problem which I've now fixed for V0.38.

The general point though that beowuuf makes (ghosts activating things should be allowed) I agree with though so I havn't blocked it even though some combinations won't make sense (for example, picking up objects or creating new ones in the partys hands). Which brings this neatly round to Sophias general point (be very careful with putting anything in the dungeon that the ghost can reach).
Post Reply