Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   NPC server crashing (https://postpacific.loc-online.com/showthread.php?t=2007)

Slipknight 01.10.2005 23:04

NPC server crashing
 
Can someone tell me why my NPC server crashes after about 5 minutes? And how to fix this horrible problem?

Enishi 01.10.2005 23:06

Might want to post your error my friend.

Slipknight 01.10.2005 23:18

Current Time : Sat Oct 01 16:16:52 2005

IOBufferPool - 1533

[(5640) 2005/10/01 16:16:52]: =======================
an Access Violation in module L2NPC.exe at 001b:00478cf0.
start at 2005/10/1 16:13:13
Write to location 00000000 caused an access violation.

Registers:
EAX=369efb10 CS=001b EIP=00478cf0 EFLGS=00010212
EBX=00000016 SS=0023 ESP=35d3e3e8 EBP=004eb918
ECX=00000bc4 DS=0023 ESI=0000000d FS=003b
EDX=0000000c ES=0023 EDI=35d3f568 GS=0000
Bytes at CS:EIP:
c6 05 00 00 00 00 01 64 8b 0d 2c 00 00 00 8b 11
Stack dump:
35d3e3e8: 0dffb7d4 00486336 35d3f568 0000000b 35d3fd48 00000016 35d3e428 004bf95a
35d3e408: 00000000 00485ba7 004eb918 00000000 00000004 00000002 35d3e468 0217c308
35d3e428: 35d3fd3c 004bf97a 00000000 004849ec 00000002 35d3e468 00280200 3938fecc
35d3e448: 00000000 00000000 01000000 000a07d5 00010006 00100010 005d0034 00000000
35d3e468: 00300031 0030002f 002f0031 00300032 00350030 00310020 003a0036 00360031
35d3e488: 0035003a 002e0032 00390030 002c0033 002d0020 002d005f 00660020 00720061
35d3e4a8: 00720063 006e0061 00200020 00320028 00320036 00390031 00320035 000d0029
35d3e4c8: 0000000a 00000000 00000000 00000000 00000000 00000000 00000000 00000000
35d3e4e8: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
35d3e508: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000


GuardInfo :

IOThread [0] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [1] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [2] (good): void IOThread_common(void *arglist)
Lock Stack :

IOThread [3] (ahehe): void IOThread_common(void *arglist) -> void CIOObject::TimerDispatch(bool bRootLoop) -> void CIOObject::OnIOCallback(BOOL bSucess, DWORD dwTransferred, LPOVERLAPPED lpOverlapped) -> void CNpcMakerDB::TimerExpired(int id) -> bool CNpcMakerDB::ProcessOneNpcMaker() -> void CNpcMaker::CreateNPC() -> create npc 6 -> bool CNpcSpawnDefine::CreateNPC(bool bFirst, int n) -> CLog::Add -> CLog::AddV -> void CLogCli::LogSendMsg(LogType nLogType, WCHAR* szSendMsg) -> void CLogSocket::Send(const char* format, ...) -> io_buffer_crash
Lock Stack :

ListenThread [12] (good): void NPCServer::Run() -> unsigned __stdcall WaitThread(void *)
Lock Stack :

MainThread [11] (good): Lock Stack :

GuardInfo end

flakka 01.10.2005 23:32

Is your IOBufferPool supposed to be that low? Try setting it to 3000. Higher if you have more people (100+).

Try checking your error log and post that. That should give you a better "log" of why your exe shut down.

It's in C:\where ever your server is\L2NPC\err\ (the most recent .txt file)

Don't post it here if it's too long. But rather, post any significant logs that you don't understand. You might want to try searching the forums as well.

Enishi 01.10.2005 23:36

What was the last thing you did before that error came up?

Frozen 01.10.2005 23:42

did u edit the boot.ini? i had the same problem before i did that.. just type
c:\boot.ini
in explorer and add /3GB at the end.

Slipknight 02.10.2005 00:46

yes I added the /3GB

I just reinstalled this on my new box and its having problems here, on my last box it never had a problem like this :/

Anyone have anymore suggestions?

Also the logs in /err folder are empty :/

flakka 02.10.2005 00:59

Quote:

Originally Posted by Slipknight
Also the logs in /err folder are empty :/

Even for L2Server?

Slipknight 02.10.2005 01:22

Quote:

Originally Posted by flakka
Quote:

Originally Posted by Slipknight
Also the logs in /err folder are empty :/

Even for L2Server?

10/01/2005 15:02:xx.xx2, [ObjectDB.cpp][196] undefined (or unregistered) Name[trader_simplon]
10/01/2005 15:02:xx.xx2, [castle_parser.y][871] CreateNPC Failed. (GetObject Failed)
10/01/2005 15:02:xx.xx1, DBSocket open 5026c(78a6bf54)
10/01/2005 15:02:xx.xx3, DBSocket open 50278(78a6d35c)
10/01/2005 15:02:xx.xx8, AuthSocket open 502b0(78a6e86c)



is latest and biggest

flakka 02.10.2005 01:51

If that's spamming all across the lines, then you need to fix your npcpos npcdata and ai.obj (if it applies).

Also, check your areadata and castledata to make sure everything is ok.

Slipknight 02.10.2005 02:18

I watched it until it crashes which is right before all NPC's are loaded (at around 3.3k NPC's max is 4k) and it spams this before it crashes "-_- farcran" any suggestions?

Enishi 02.10.2005 02:23

Yes....whats the last item you added to your server? ^^
A dual weapon or S grade hammer by any chance?

Slipknight 02.10.2005 02:36

Quote:

Originally Posted by Enishi
Yes....whats the last item you added to your server? ^^
A dual weapon or S grade hammer by any chance?

I added the S grade items but only the C3 ones, but I was'nt sure if I did the item_pch right, could you go through the steps your supposed to take when adding a item, like 1.Itemdata, 2.item_pch ? Because thats what I do.

Enishi 02.10.2005 02:38

If you copy and paste...you can't have spaces, only tabs in it.
Remove all the spaces and replace with tabs then try again, if it still crashes, remove the items for the time being.
Lemme know how it turns out.

Slipknight 02.10.2005 03:19

Ok now im usuing original scripts that I got from the PanDragons C1 to C3 patch and they have worked before, ALL the scripts are default nothing edited by me and im STILL getting this same annoying problem >.<, no clue what to do either. Also still getting that farcran error.

Enishi 02.10.2005 03:20

Wow...I dunno what to tell you then man...maybe wait for a more experianced modder to help you out.


All times are GMT. The time now is 15:21.