Log in

View Full Version : Shared_memory.exe hates loottables.


Nerdgasm
11-24-2013, 08:28 PM
Items? No problem.
SpellS? No problems.
Factions?! Sure!
Loot tables? NOPE! NOPE NOPE NOPE NOPE NOPE.


---------------------------------------------
[11.24. - 16:24:01] Starting Log: logs/eqemu_shared_memory_10720.log
[11.24. - 16:24:01] Shared Memory Loader Program
[11.24. - 16:24:01] Connecting to database...
[11.24. - 16:24:01] Using database 'peq' at X
[11.24. - 16:24:01] Loading items...
[11.24. - 16:24:08] Loading factions...
[11.24. - 16:24:08] Loading loot...

[11.24. - 16:24:08] Starting Log: logs/eqemu_error_shared_memory_10720.log
[11.24. - 16:24:08] EQEmu Exception (Shared Memory) in ..\..\common\memory_mapped_file.cpp at line (82): Could not map a view of the shared memory file.

I run it when updating items, spells, factions, everything you can think of, but when I make a change to a loot table and run it, this happens. Every time, never fails.

Nerdgasm
11-24-2013, 09:21 PM
Newp. No fix...

werebat
11-29-2013, 06:57 PM
I am having the same issue (Win7, perl5.14 x64 from git, vs2012)

joligario
11-29-2013, 07:08 PM
Possibly your loot tables have an issue. What custom items or loot tables have you done lately? Programs work fine.

werebat
11-30-2013, 09:49 AM
Loot tables are fine, they worked in previous builds, it did not have an issue until the newest shared_memory was updated in recent build. When I use the base peqbeta dump it works fine. When I add my loot table it fails. So it may be a size issue? My loot table is on every mob and contains roughly 6300 items.

werebat
11-30-2013, 01:25 PM
Just verified it is size related. When I removed my loot tables of 6300 items and replaced it with a smaller set or a couple hundred items, it worked fine. I haven't tracked down in the code what the limit is or how to raise it, but that I appears to be the issue. I have 16GB RAM so memory is not an issue.

Uleat
11-30-2013, 08:52 PM
what's your highest item id when it is failing?

werebat
11-30-2013, 10:33 PM
The loot drop entries count works at peqbeta dump (581216) and my custom loot drop (581588). It fails when I use my other custom drop (587522). The items for the custom drops are all existing unmodified items.

Nerdgasm
12-01-2013, 02:06 AM
All of mine are 133700 or higher.