The other suggestion of course was to make them "moveable" like placing objects in your apartment or house... but that's a dream for someday
Spawn Commands
Forum rules
Most information about EQ2Emulator and Tutorials can be found at the Project Wiki. Look there for the most current information.
Most information about EQ2Emulator and Tutorials can be found at the Project Wiki. Look there for the most current information.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Thinking a little more about Crabclaw's last suggestion. If you can make a "/summon" command that will pull your target to you (or /summon [name] for later use?), we could get the NPCs to our x,y,z, then issue a "/spawn fix" command al la EQEmu. This has always been a very simple way to place NPCs in game.
The other suggestion of course was to make them "moveable" like placing objects in your apartment or house... but that's a dream for someday
The other suggestion of course was to make them "moveable" like placing objects in your apartment or house... but that's a dream for someday
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Moveable objects is something I tried to implement in the beginning but the client is too picky about when it wants to place things once the object (or spawn) is 'in hand'. The problem wasnt getting the client to enter move object mode and move objects around, it was that the client refused to put it down on anything but the flattest surfaces.John Adams wrote:The other suggestion of course was to make them "moveable" like placing objects in your apartment or house... but that's a dream for someday
Done. I added /summon and /goto each of which can take an optional argument name. Otherwise they use the current targeted mob. If more than one spawn matches the name, it will move you to the closest (or bring the closest to you). If no mobs match your search in your current zone, it will attempt to locate client's that match your search in all zones. If it finds one, it will either /summon them to you, or you will /goto them. I wasnt able to test the client aspect of the commands out as I didnt have anyone else around, but they should work correctly. The default status for /summon is 10.John Adams wrote:Thinking a little more about Crabclaw's last suggestion. If you can make a "/summon" command that will pull your target to you (or /summon [name] for later use?), we could get the NPCs to our x,y,z, then issue a "/spawn fix" command al la EQEmu. This has always been a very simple way to place NPCs in game.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
Someday is Saturday.John Adams wrote:The other suggestion of course was to make them "moveable" like placing objects in your apartment or house... but that's a dream for someday
I figured out the problem we were having with placing moveable objects. I'll check my changes in this weekend that will allow you to select a mob, enter move mode, and place it anywhere you would like. If the spawn was previously saved in the database, the new location info will be saved after the move. Should make it a lot easier to place and move custom content. I am also working on a few fixes for login crashes occurring when the zone has quite a few spawns in a small area. What is happening is that the server is flooding the client with too much information and the client is going, 'wtf mate?'.
-
link2009
- Retired
- Posts: 390
- Joined: Fri Aug 10, 2007 5:59 pm
- Location: POrTal
- Contact:
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Question about "/spawn set" (and possibly other spawn related commands); do the changes only take place after a world restart right now? I'm noticing after resizing a few crabs that in-game, they still appear size 32, when the DB for that spawn ID shows a value of 24 (what I changed it to).
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
-
LethalEncounter
- Team: Zombie
- Posts: 2717
- Joined: Wed Jul 25, 2007 10:10 pm
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Aye, I am noticing that the crab I am working on resizes fine while staring at it, but his "kin" do not resize. Something else is weird. NPC ID 1676 is my small shore crab. In the DB, it's set to a size 20. Yet I restart the world, log in, and /spawn details shows it at 32 (default size if size = 0).
Not sure what's up with that. I might need to write you a new bug!
Not sure what's up with that. I might need to write you a new bug!
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Rev 71, there's still something wrong with npc.size value not being recognized. Same scenario as above. Set a small coastal crab to 20, DB shows it as 20, but /spawn details shows it as 32, and it is physically size 32 in game.
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
I do not see this in the commands list yet, and not so much pushing it as bumping the concept. While most changes do take place live, sweeping changes make perhaps with an external editor or directly to the DB could be nice to "/spawn repop". Along this line, "/spawn depop" and maybe a "/spawn freeze" (locks every NPC in a zone from being interacted with) might be a nice addition.CrabClaw wrote:Yes a '/respawn' or '/spawn update' type re-pop would complete the set.
Maybe a /respawn <zone> so you could do it remotely would be nice so an admin could re-pop a zone that he wasn't in (only if it was active of course.).
Who is online
Users browsing this forum: No registered users and 0 guests
