Allow_Default_Names Bug
issueid=148 07-23-2010 07:39 PM
Ancient Member
Number of reported issues by JellySlayer: 114
Allow_Default_Names Bug
Weird bug associated with this .cfg option

The Allow_Default_Name = true flag in the .cfg can either result in a crash or a strange, exploitable effect.

How to trigger:
-Set Allow_Default_Name = true
-Create a PC using one of the default names
-Save
-Create a new PC of the same race but different class, and use the default name again.

In winbeta, this will crash the game.
In other versions (eg. DOS), this will, for lack of a better word, collapse the saved game with the current game. Items left on the ground in Saved game will still be there in the recreated game. There may be other effects that haven't been explored, but this alone allows you to transfer items from multiple created characters into the same savefile--eg. you could make a dwarf merchant for a pile of gold and wands, a dwarf paladin for armor, an archer for a bow and arrows, and then use all of this free equipment on a dwarf monk.
Issue Details
Issue Number 148
Project ADOM (Ancient Domains Of Mystery)
Category Unknown
Status Fixed
Priority 1 - Highest
Affected Version ADOM 1.1.1
Fixed Version ADOM 1.2.0 pre 1
Milestone (none)
Users able to reproduce bug 2
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)




07-30-2010 09:02 PM
Senior Member
The new PC must be of the same gender as well as race in order to be generated with the same default name as the previous savefile.

This is very game-breaking since it allow for unlimited amounts of items that any class can start with.

10-25-2010 04:30 PM
Ancient Member
Update:

Class/race does not need to be the same. Simply change the name of the PC ingame to the default name of a difference race and you can access that race's items as well.

12-14-2010 04:48 PM
Ancient Member
This can be used at any point in the game. This essentially allows the player access to unlimited quantities of all starting items from all races and classes, at any point in the game. Potential for exploitation is nearly endless.

05-24-2012 08:56 PM
jt jt is offline
Administrator
Fixed, the name collision check is now called when using "Allow_Default_Names = true" too.

+ Reply