Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot clone NPCs #3

Open
GoogleCodeExporter opened this issue Oct 24, 2015 · 0 comments
Open

Cannot clone NPCs #3

GoogleCodeExporter opened this issue Oct 24, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

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

No branches or pull requests

1 participant