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.
[Fixed for V0.38] Crash clicking on triggers as ghost
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
- 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...
Ideally, yes.KlausM wrote:I think it should only be possible to use mirrors if you have no character.
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.
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)
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)
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
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).
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).