Server error and freeze!

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
Forum rules
READ NOW: L2j Forums Rules of Conduct
Removed20180815
Posts: 93
Joined: Tue Jan 09, 2007 12:41 pm

Re: Server error and freez!

Post by Removed20180815 »

Well bro i cant remove it :| Its a stack sub server i need that one... can it be corrected? What should i add? Please?
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Server error and freez!

Post by Probe »

then simply close the connections in first script in places you've forgotten to
Removed20180815
Posts: 93
Joined: Tue Jan 09, 2007 12:41 pm

Re: Server error and freez!

Post by Removed20180815 »

i dont know how thats the thing :| i know php,html, a little programming to understand the code but not so high to write it... if any1 can give me some tips on how to do it would be awesome.
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Server error and freez!

Post by Probe »

missing conn.close()
somewhere I guess

although from the quick look I took it seemed like all connections were closed..
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Server error and freez!

Post by janiii »

for the first one try this: http://pastebin.com/f634a1b69 (i only changed some indent of the con.close() lines, so that it is always executed, not only in case of an error in the rs.get..() line)
the seconds one looks fine for me.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Removed20180815
Posts: 93
Joined: Tue Jan 09, 2007 12:41 pm

Re: Server error and freez!

Post by Removed20180815 »

Thank you very much i will try and report back...
Last edited by Removed20180815 on Sun Dec 06, 2009 12:52 pm, edited 1 time in total.
Removed20180815
Posts: 93
Joined: Tue Jan 09, 2007 12:41 pm

Re: Server error and freez!

Post by Removed20180815 »

This is what i get. It make a init.py error log file with:
Error on: gameserver\data\scripts\custom\855_SubclassNpc\__init__.py.error.log
Line: -1 - Column: -1

Traceback (innermost last):
(no code object) at line 0
SyntaxError: ('invalid syntax', ('__init__.py', 530, 25, '\t\t\texcept : pass\t'))
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Server error and freez!

Post by Probe »

fix the indentation of that line
and btw janii's a she * :P
Removed20180815
Posts: 93
Joined: Tue Jan 09, 2007 12:41 pm

Re: Server error and freez!

Post by Removed20180815 »

ups sry :) what you mean with that? i just saw the line 530 and it looks ok :|
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: Server error and freez!

Post by Probe »

there's probably a missing\extra space\tab
gotta love python..
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Server error and freez!

Post by janiii »

sry, i forgot to delete one tab (edited the file on pastebin..)

http://pastebin.com/f11a2410e
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Removed20180815
Posts: 93
Joined: Tue Jan 09, 2007 12:41 pm

Re: Server error and freez!

Post by Removed20180815 »

Thanks alot. Wel i tryed with what you gave me and now there is no init.py error but when i go ingame at the npc and doubleclick it i get alot of code... like somekind of error...
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Server error and freez!

Post by janiii »

EboLLa wrote:Thanks alot. Wel i tryed with what you gave me and now there is no init.py error but when i go ingame at the npc and doubleclick it i get alot of code... like somekind of error...
make a screenshot of the error then.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Removed20180815
Posts: 93
Joined: Tue Jan 09, 2007 12:41 pm

Re: Server error and freez!

Post by Removed20180815 »

Picture from ingame:
Image
Picture from console:
Image
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Server error and freez!

Post by janiii »

DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply