PDA

View Full Version : Path.cpp [552] Invalid offset[0] count[0]


Sakumi
01.05.2005, 16:19
Hey all.

Well ever since I can remember I've been spammed with invalid offset errors. Im assuming they are connected to pathnode.bin/idx. I currently use the pathnode.bin from sina server [as i run sina]. Every time the server loads it gives me a pathnode.bin as failed to load. Sadly, this has happened with meifu as well.

Do you guys have these issues?

Would replacing pathnode.bin/idx with 0kb fakes, and editing the l2server ini ti disable pathing, help? Or is it unrelated do you think? I also randomly have my pending write shoot up when the Invalid Offsets start going off, sometimes resulting in a cached or l2npc crash. Rately thou...

Sorry just trying to figure it out hehe :D

BTW thanks for all your guys and gals help in the past!

yellowperil
01.05.2005, 18:23
pathnode will only load i you are using 2003 server with the /3gb switch in the boot.ini.

invalid offset[0] count[0] is most likely bad info in your data files, I would check them first.

Most likely your NPC data is mismatched.

Livid
01.05.2005, 18:29
Lol. Not ONLY 2003 server :) Any XP-based o/s

Sakumi
01.05.2005, 18:31
I use 2000. Thanks for the info on that.

Will pathnode cause issues if it doesnt load? Should I load a 0kb version?

Livid
01.05.2005, 18:38
Hmmm.... Well, haven't tried it yet. Server starts & runs fine (ok, with few errors) when i have no pathnode.bin in my GeoData at all (It speeds up the boot a little), so I think your issue is somewhere else.

Sakumi
01.05.2005, 18:47
I've been doing some thinking. I believe pathnode may relate to a characters pathfinding, ie up stairs and around doors etc. Me and a clanmate noted there was a change between prelude and c1. The pathnode.bin is much smaller in the TW prelude server, im going to attempt to load it up.

Upon searching, someone noted a disabled pathnode may spring invalid offsets.

Digital
01.05.2005, 20:35
hmm.. my pathnode is 0 bytes :)

eviljolly
02.05.2005, 02:41
Yes I noticed that when you click up at the top of a winding staircase, or the top of a hill which you cannot get to by going in a direct line, without pathnode loaded the character will try to walk directly there instead of actually figuring out the way. Pathnodes are generally a connect-the-dot map which allows players (and mobs) to figure out more difficult terrain.

Back in the days of Quake2 I used to do a lot of work with mods and bots, and when you would load a new map, you would have to play with them for about 30 minutes or so and bring them through all of the different places they could get stuck and figure out how to get out. It would save a file called pathnode and that would draw out a map of how to get around the map the fastest way possible without colliding with objects. It was a series of points where they would follow in order to get to other players but not get hung up on terrain. I've noticed on our server without pathnode.bin it is much easier to get mobs stuck on terrain than on official servers (even before chronicle 2). Sure you can edit the AI so that they will teleportto the player if unable to reach them for X seconds, but that seems quite glitchy, and in some cases very unfair to the player. This is a rough representation of what pathnodes would look like (at least in quake2) if it were put into a graphical representation.
http://eviljolly.com/lin2/pathnodes.jpg
This is a fairly important part of the game, not only to make it easier for players to move about the world, but also for mobs to navigate to players without getting hung up on objects and terrain.

Loading Win2k3 isn't really an option for us right now. If anybody has a pathnode.bin file which loads without error on a win2k server when your l2server starts up I would be interested in getting a copy of it. The one I have, and the one Sakumi and I are running on the server is 212,754,960 bytes with an MD5 checksum of 0439FDA26538EC2594386B90C7173E25 modified on June 2nd of 2004. If you have a different version and your pathing is working correctly, I can get you some FTP space to upload it to. :wink:

yellowperil
02.05.2005, 07:42
the reason it loading correctly is that the /3gb is emulated in 2000. Hense it cannot run correctly, hense it doesnt load.

If you REALLY want it to work get 2003 or XP, that your only answer.

Livid
02.05.2005, 08:13
yellowperil:
Actually, pathnode loads correctly WITHOUT /3gb on 2003. Problems begin when you try to load NPC.

eviljolly
02.05.2005, 10:16
So L2Official servers were running win2k3? Hmmm...wish there was a way to get this working in win2k.

nepsquare
02.05.2005, 16:04
Best practise:

W2K3 + SP1 (/3GB)
MSSQL 2k +SP3a? (optimised db)
minimal 4Gigs of ram?

elcapo
02.05.2005, 18:30
i had this error about 4 months later, i tried all kind of things, its mather of INI's configuration.

yellowperil
02.05.2005, 19:26
the /3gb switch is emulated on the other opsys, thats why it doesnt work.

btw I didnt know that AS worked, you learn something everyday :)

Sakumi
03.05.2005, 15:24
Well, working immidiately in W2k3 sp1.

Now monsters can find themselves to players up stairs etc, its a vast improvement.

For all you win2k server users: Get 2k3.. pathnode is REALLY important.

Digital
03.05.2005, 15:35
haha.. yeah :)
i'm on w2k3 since last yr :)
and sql2k5 is pretty good as well, at least it solved all sql injections problems :)

nepsquare
03.05.2005, 15:36
I was gonna wait with using the beta, is there a 32bit version out?

nepsquare
03.05.2005, 15:39
My last question, a stupid question? Maybe. :)

Digital
03.05.2005, 15:39
beta? i was using the full version tho.. :o
yes it has support for both 32, 64bits :)

nepsquare
04.05.2005, 06:52
Gr8! Knowing MS it probably sucks more resources...

Anywho, you meant importing the sql files by sql injections?
(I'm noobish, I know it)

Sakumi
04.05.2005, 08:18
haha.. yeah :)
i'm on w2k3 since last yr :)
and sql2k5 is pretty good as well, at least it solved all sql injections problems :)

But you have your pathnode set to 0kb?

Seeing as you can run it, why have it disabled? It really helps gameplay! :D

Digital
04.05.2005, 10:37
lol... yes it'd probably help ya and other l2 servers
but i dun really play l2 anymore...
so yeah, they aint much of a concern to be anymore.
so removing them = save space, faster loading times

on a side note. most pathnode used is probably the sina version
which is only up to c1, nothing on c2,c3 maps :)
and to mark out the new paths... u'd probably need a pathnoder or...
lol.. l2walker :)

oh well.. it really depends on individuals...

Sakumi
05.05.2005, 06:50
Im actually happy with c1 client based servers, for some reason... /weird

EntroX
07.05.2005, 12:25
Im actually happy with c1 client based servers, for some reason... /weird

Yeah...but you cant complain on seeing new stuff added on C2 servers cant you :P

EntroX

rodier
09.05.2005, 02:45
hmm we have 2gb ram, win2k3 server ed. /3gb and no problem with pathnode.
we enabled pathfinding in l2server menu and pathfinding is best.. player char automatically pass by all object like rocks, woods..
we almost dont have any stucked players ...