|
|
 |
 |
 |
 |
|
 |
 |
|
 |
 |
|
 |
|
Support::Linux Servers Support forum for Linux EQEMu users. |

07-16-2007, 09:20 AM
|
Hill Giant
|
|
Join Date: Feb 2002
Posts: 146
|
|
Some Issues
Hi guys,
I'm currently having some issues with a server and I thought I'd put them all together in one thread. Hopefully someone can answer them.
1) Potions (distillates) are currently showing as curcharges 1 in iteminfo yet when you inspect the item or try to use them it is saying out of charges.
2) I cannot seem to get npcs to equip items, even through the loottables with the equip_item set to 1.
3) There doesn't seem to be a way to get npcs to spawn using npcspawn add. I always used to do #npcspawn create, then #npctypespawn <id> then #npcspawn add to add it to the spawn2 table. This doesn't seem to be working any more?
Thanks in advance
InKy
|

07-16-2007, 10:15 AM
|
Demi-God
|
|
Join Date: Jul 2006
Posts: 1,552
|
|
After you do the create, is the NPC inserted into the npc_types table correctly? I was having some difficulties creating invisible men the other night, too. But I did get them to spawn, just not persistently. Soon as my zone restarted, the invisible man wouldn't spawn.
Something could be wrong, but I am not sure there were any changes to this code recently.
|

07-16-2007, 11:04 AM
|
Hill Giant
|
|
Join Date: Feb 2002
Posts: 146
|
|
I am only using 1 npcspawn create which is adding ok and adding them to the spawn2 table (annoying but that is fine). Now when i dbspawn/npctypespawn the npc i have just created and then do an npcspawn add it will add the entry to spawn2. It won't, however, add any more than 2 of the same npc in npcspawn.
I think this may be down to the spawngroup names but I am unsure.
The thing is, i really don't want to clutter my database having a million of the same npcs in npc_types. It just seems pointless and a management nightmare.
|

07-16-2007, 11:18 AM
|
Hill Giant
|
|
Join Date: Feb 2002
Posts: 146
|
|
snprintf(tmpstr, sizeof(tmpstr), "%s%s%i", zone, spawn->GetName(),Timer::GetCurrentTime());
This is what was causing my problem. You guys should really remove the zone bit. Alot of people use long names in their npc's names. Perhaps just have the ZONEID instead?
|
 |
|
 |

07-16-2007, 01:52 PM
|
Hill Giant
|
|
Join Date: Oct 2006
Posts: 248
|
|
Quote:
Originally Posted by inkubus
I am only using 1 npcspawn create which is adding ok and adding them to the spawn2 table (annoying but that is fine). Now when i dbspawn/npctypespawn the npc i have just created and then do an npcspawn add it will add the entry to spawn2. It won't, however, add any more than 2 of the same npc in npcspawn.
I think this may be down to the spawngroup names but I am unsure.
The thing is, i really don't want to clutter my database having a million of the same npcs in npc_types. It just seems pointless and a management nightmare.
|
lol, dont look at the faction handling then. thats even worse. there are individual faction entries for each mob, rather than just 1 for each faction grouping. and the code assumes there are no "holes" in the table, so you cant just go deleting entries without updating the code to handle the holes, or revising the table to remove the holes. faction handling could use alot of optimization.
== sfisque
|
 |
|
 |

07-17-2007, 09:46 AM
|
Demi-God
|
|
Join Date: Jul 2006
Posts: 1,552
|
|
Quote:
Originally Posted by inkubus
snprintf(tmpstr, sizeof(tmpstr), "%s%s%i", zone, spawn->GetName(),Timer::GetCurrentTime());
This is what was causing my problem. You guys should really remove the zone bit. Alot of people use long names in their npc's names. Perhaps just have the ZONEID instead?
|
What do you mean, "Long Names"? Like first and last? If so, you should use Long_Name <- underscore. The emu will remove the _ character when it displays back.
|

07-21-2007, 04:17 PM
|
Sarnak
|
|
Join Date: May 2003
Posts: 37
|
|
Distillates
I keep updating to the newer binaries and the distillates still don't work, i take they are still not working?
|

07-25-2007, 03:35 PM
|
Hill Giant
|
|
Join Date: Feb 2002
Posts: 146
|
|
Quote:
Originally Posted by John Adams
What do you mean, "Long Names"? Like first and last? If so, you should use Long_Name <- underscore. The emu will remove the _ character when it displays back.
|
I mean names like A_Really_Long_Named_Npc.
|

09-01-2007, 07:12 AM
|
Discordant
|
|
Join Date: Aug 2006
Posts: 394
|
|
For one thing, once you create an NPC, you must zone out and back in (or restart the zone) before you can do anything else, such as edit or dbspawn it's ID and add more spawnpoints.
Restarting the zone isn't optional.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 11:35 AM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |