
Server error and freeze!
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 93
- Joined: Tue Jan 09, 2007 12:41 pm
Re: Server error and freez!
Well bro i cant remove it
Its a stack sub server i need that one... can it be corrected? What should i add? Please?

-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Server error and freez!
then simply close the connections in first script in places you've forgotten to
-
- Posts: 93
- Joined: Tue Jan 09, 2007 12:41 pm
Re: Server error and freez!
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.

-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Server error and freez!
missing conn.close()
somewhere I guess
although from the quick look I took it seemed like all connections were closed..
somewhere I guess
although from the quick look I took it seemed like all connections were closed..
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Server error and freez!
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.
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!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 93
- Joined: Tue Jan 09, 2007 12:41 pm
Re: Server error and freez!
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.
-
- Posts: 93
- Joined: Tue Jan 09, 2007 12:41 pm
Re: Server error and freez!
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'))
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'))
-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Server error and freez!
fix the indentation of that line
and btw janii's a she *
and btw janii's a she *

-
- Posts: 93
- Joined: Tue Jan 09, 2007 12:41 pm
Re: Server error and freez!
ups sry
what you mean with that? i just saw the line 530 and it looks ok 


-
- Posts: 915
- Joined: Thu Sep 03, 2009 6:36 pm
- Location: Israel
- Contact:
Re: Server error and freez!
there's probably a missing\extra space\tab
gotta love python..
gotta love python..
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Server error and freez!
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 93
- Joined: Tue Jan 09, 2007 12:41 pm
Re: Server error and freez!
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...
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Server error and freez!
make a screenshot of the error then.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...
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 93
- Joined: Tue Jan 09, 2007 12:41 pm
Re: Server error and freez!
Picture from ingame:

Picture from console:


Picture from console:

- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: Server error and freez!
next try ^^ http://pastebin.com/f1c6a445d
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!