Log in

View Full Version : Shared Mem/world.exe errors


kilst87
08-13-2014, 09:47 PM
Alright, running into an issue when loading up the server. I'm getting 2 errors:

Shared Memory
[Status] Loading Items...
[Error] Starting Log: logs/eqemu_error_shared_memory_5088.log
[Error] EQEmu Exception <Shared Memory> in ..\..\common\memory_mapped_file.cpp at line (61): Could not open a file for this shared segment.

World.exe
[Error] Starting Log: logs/eqemu_error_world_5948.log
[Error] Error Loading Items: EQEmu Exception <Shared Memory> in ..\..\common\memory_mapped_file.cpp at line (130): Could not open a file for this shared segment.

I made the server about 6 months ago, maybe longer. I didn't notice then if the issue was there. Might have been.

I can see the server, log in, equip and summon items, hail NPC's, kill mobs, hire mercs, items are dropping etc etc. The only issue I have come across is when trying to put in a custom quest where a text input makes the NPC give me an item.

Quest:

#A conversation With Player being given an Item
sub EVENT_SAY
{

if ($text =~/hail/i)
{
quest::say ("Good day to you, $name. Do you need this [book]?");
#quest::emote ("Jumps in joy when he sees $name.");
}

if ($text =~/book/i)
{
quest::say ("Then thou shall have mine");
quest::SummonItem("18521");
}

}



The dialogue works, I just don't recieve the "book". I changed it to a huge bag of plat, same issue. I also made a buff bot that works perfectly, just not receiving this item.

Thanks in advance,
Kilst

Kingly_Krab
08-13-2014, 09:51 PM
It's because quest::summonitem() is case-sensitive and you're using it as quest::SummonItem();

Instead of this: quest::SummonItem(18521);
Do this: quest::summonitem(18521);

kilst87
08-13-2014, 09:55 PM
Wow, fast response. Sweet, I'll try that :)

Okay, that worked! Quest problem solved.

Now only those 2 errors.

Kingly_Krab
08-13-2014, 09:57 PM
Check your private messages, too. I sent you a link to a version I wrote of your script.

kilst87
08-13-2014, 10:08 PM
Awesome thanks. That was just a test script that I took from an quest editor to get me started. I will be using it for a huge bag of plat quest instead, but thats easy enough to change.

Only just starting my delve into quest scripting.

Appreciate the help!

Edit: just noticed - quest::saylink("book", 1) Omg, is that what I think it is? :D Going to go test that :D