Skip to content

Cannot clone NPCs #3

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create new type of NPC with @addnpc foo
2. Try to bring a new foo to life with @clone foo
3. Client is disconnected due to error
     'NoneType' object is unsubcriptable
     at admin.py line 178


What is the expected output? What do you see instead?
expected: foo has been cloned
got: client gets disconnected


What version of the product are you using? On what operating system?
svn r29 on Ubuntu Linux



Please provide any additional information below.

replace this line in admin.py at about line 178--
Insert.cloneItem(self.obj[0], session.p_id, time.time())

with:
Insert.cloneNpc(self.npc[0], session.p_id, time.time())

and you can then clone NPCs.

Original issue reported on code.google.com by miss...@hotmail.com on 15 Nov 2008 at 9:56

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions