Making crafting station

Discussions of the design and development of in-game content.

Moderator: Team Members

Post Reply
Plague
Posts: 68
Joined: Mon Jun 29, 2015 3:17 pm
EQ2Emu Server: WiP

Making crafting station

Post by Plague » Sat Jul 18, 2015 4:26 pm

Was looking through the tutorials section of the board to find out how to make something other then NPCs or MObs when I came across this post http://eq2emulator.net/phpBB3/viewtopic.php?f=9&t=2618 and decided I would make a woodworking table. Great post. Now I got a handy table in my GMhall. Nothing happened when I click it and the right click produces a repair option. Then thinking ok either I broke something, miss typed something or just put in another extra SPACE (something I check religiously now) I read this post http://eq2emulator.net/phpBB3/viewtopic.php?f=3&t=2616. /spawn set device_id # well that makes it easy, I think. OK I am confused. I am missing something between the 2 posts to make a table (or any crafting station) interact like it does on the official EQ2Emu server. The anvil (well Engraving desk as the UI window says) seems to work tho I did not craft anything having no coal to test it. Not sure if there is an easier way to spawn these that I have not found yet. My trusty search of the forums had led to no answers yet. Perhaps ill look into making signs or maybe doors next but for now I am being dragged off to the movies with the family.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Making crafting station

Post by Jabantiz » Sat Jul 18, 2015 4:51 pm

Are you spawning the table as an object? "/spawn set device_id" will only work on an object. Other then that I do not know why it wouldn't be working for you.

For items you can just do /item that will pop up a broker window and let you browse and summon items.

Plague
Posts: 68
Joined: Mon Jun 29, 2015 3:17 pm
EQ2Emu Server: WiP

Re: Making crafting station

Post by Plague » Sat Jul 18, 2015 5:01 pm

I am doing the following.

Code: Select all

/spawn create object 2346 1 1 'Woodworking Table"
/spawn add new
/reload spawns
/spawn set device_id 6
/reload spawns
copied another woodworking table in database.
show_command_icon I set to 1
command_primary I set to 4
I also choose to make the name visible tho not necessary

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Making crafting station

Post by Jabantiz » Sat Jul 18, 2015 5:11 pm

I will have to look into this, sound like something broke with the commands.

Can you get the spawn id of the table (target then /spawn details) then look it up in the `spawn_objects` table and see if `device_id` is set and if not manually set it in the db and let me know if it works then?

Plague
Posts: 68
Joined: Mon Jun 29, 2015 3:17 pm
EQ2Emu Server: WiP

Re: Making crafting station

Post by Plague » Sat Jul 18, 2015 5:15 pm

Posted to fast! Your very fast haha I updated "show_command_icon" and I set to 1 and I updated "command_primary" and I set to 4 in the spawn table and it works now.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Making crafting station

Post by Jabantiz » Sat Jul 18, 2015 5:17 pm

Ok, glad you figured it out and nothing is broken :mrgreen:

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests