EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Update now i have no items (https://www.eqemulator.org/forums/showthread.php?t=35316)

Meleek 05-06-2012 02:06 AM

Update now i have no items
 
Ok so i updated my server from the ProjectEQ site the latest one updated fine took a while now i have no items in game was wanting to see if there was something i missed or if i just needed to just restore my server to before the update

lerxst2112 05-06-2012 03:17 AM

If you updated to the latest peq database then you'll need to also update to a source code revision equal to or newer than that database.

If you updated your source code to something newer than the database then you need to look in the trunk\EQEmuServer\utils\sql\svn directory and apply any sql updates newer than your database revision up to your source code revision.

As always, when you have a problem look in your logs for errors. It will often tell you exactly what isn't working.

Meleek 05-06-2012 04:27 AM

i tried sorcing the files and it said they were already in there and the only error i could find was

[05.06. - 04:15:10] [WORLD__INIT_ERR] Error: Could not load item data. But ignoring

sheir96 05-06-2012 05:30 AM

Too many items in database...Delete 5-6 items that you may not need in your database.

Restart.

Hope this helps! :D

lerxst2112 05-06-2012 07:10 AM

If the items aren't loading then there should be several other lines that tell you what is going wrong. Make sure you look at all of the log files.

If you have too many items there will be an error for that.

Without knowing exactly what you did when you say you updated your server it's hard to guess at what might be wrong.

Meleek 05-06-2012 02:13 PM

ok found the error finally Error: Emusharemem: pDLLLoaditems: imaxitemid > MMF_EQMAX_ITEMS [debug] [05.05.12 - 14:11:03} Emcryption initialize.

You need to increase the define in Items.h.

Meleek 05-06-2012 02:15 PM

deleted some itesm and that didnt fix it, do i need to delete more?

sorvani 05-06-2012 04:56 PM

did you delete the items that had a higher id than imaxitemid? or did you just delete random items?

lerxst2112 05-06-2012 05:38 PM

Run this query:

SELECT MAX(id),COUNT(*) FROM items;

See what the number in the MAX(id) column is, and change this line to be bigger than that number:

#define MMF_EQMAX_ITEMS 200000

The, recompile everything.

I would wonder how you ended up with ids over 200k unless you made them yourself.

Meleek 05-06-2012 09:54 PM

maxid 132475
count 92463

So i want to run #define MMF_EQMAX_ITEMS 200000 as an sql right? thank you very much for your help and i dont have any created items in there it deleted them when i updated.

lerxst2112 05-06-2012 10:26 PM

No, that doesn't have anything to do with sql. You need to update your server source code and recompile. If you do this it will automatically be changed to 200000.

Did you compile your server or are you using something that was prebuilt? The latest prebuilt I see is rev 2098, and it is unlikely that it will work properly with a database newer than that.

Meleek 05-06-2012 10:35 PM

Im using the prebuilt 2098

Meleek 05-06-2012 10:38 PM

actually nevermind when i updated it was from 1597 to 2133 was the only thing i could find never seen the prebuilt 2098


All times are GMT -4. The time now is 07:32 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.