Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead. There is no support for other server builds than the official provided by l2jserver.com
If you want to receive support we need this info to help you properly. » Find Revision
L2J Revision 6445:
L2JDP Revision 9641:
Hi everybody
I'm in the process of adding a Global Gatekeeper to my server. I have read many many many posts about people asking how to do it.
I have the NPC in my npc_custom table, and the html files in the gs->data->html->default folder.
however, when i go to spawn the NPC in game with my Admin character, the client crashes. Now since I've tried spawning that npc ONE time, everytime i log into my server, the client crashes immediately.
How can i fix this? Please help! I'd be very appreciative.
update: I deleted the entry from the npc_custom table and i can now log in and wonder giran with no errors...but can anyone tell me what i did wrong while trying to add the global gk?
Have a look at your console output - perhaps you see some Exception there being thrown. Also it does matter what exception causes the crash of your client. For example if some L2-HTML is bad, it can crash your client, but it most likely won't occur when you just get near the NPC.
If it's when you go near that NPC, try changing the npc-template - perhaps your client is damaged or the server has some seriously invalid values or something.. there are so many possible reasons for a client crash, that I don't think anyone here can help you except if you post what your client crash report looks like and if your server console (or any other log) reveals some information.
I don't mind helping - however: I only do so if I want to. No support for other server packs than L2J.
Obviously some NPC data is invalid. Did you copy the original NPC's stats exactly? You should only modify the name/title values, the NPC ID and maybe the type, leaving all other stuff same as the original.
P.S. Is your npc of type Teleporter? The htmls should be in data/html/teleporters/.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste! Discussion breeds innovation.
Gries wrote:Seems that the gatekeeper teleported you into a critical error.....
Lol, that actually made me laugh. Thank you.
HappyLDE wrote:Make sure the ID of the template is correct and exists in your client as well.
where do i find out if this exists in my client?
jurchiks wrote:Obviously some NPC data is invalid. Did you copy the original NPC's stats exactly? You should only modify the name/title values, the NPC ID and maybe the type, leaving all other stuff same as the original.
P.S. Is your npc of type Teleporter? The htmls should be in data/html/teleporters/.
Do you recommend gatekeepers in the npc_custom or just npc table? To get it to successfully insert to the database I had to delete one item from the end of the insert statement (it was '0') because the gatekeeper i downloaded had one extra value on it from what my table had available...I was using trial and error...lots of error.
For custom NPCs only custom tables, don't mix custom and retail together.
custom_npc table allows NPC IDs with 7 digits, if that gk had more then it was too long in the first place. Some devs really like making their custom NPC IDs too damn long.
where do i find out if this exists in my client?
If the idTemplate is in the normal NPC table (not custom inserted) then it must exist in your client, unless you're using the wrong client.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste! Discussion breeds innovation.
Well that definitely should have worked...
Yeah, any existing will work. Just copy all the stats, not just the idTemplate.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste! Discussion breeds innovation.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste! Discussion breeds innovation.
I have tried, and I have succeeded...Next question, She spawns, i've edited the html's to spawn where i want them to. BUT, her name and title don't appear above her head. And when I spawn a second instance of her and you click on her, the name it comes up with is the original NPC's name.