Page 2 of 2

Re: Windows 7 Forces GS and Login Console to Close.

Posted: Wed Nov 11, 2009 7:14 am
by DeGato
ok, many thanks. btw if no players online, what kind of items must be saved by the server? what is meant by "trade items"?

Re: Windows 7 Forces GS and Login Console to Close.

Posted: Wed Nov 11, 2009 7:24 am
by janiii
DeGato wrote:ok, many thanks. btw if no players online, what kind of items must be saved by the server? what is meant by "trade items"?
there are shops and they have stocks. like grocery and it has only 400 asofe for sale. the number of available stock is checked on given timer in db if there was no change inbetween. so if you have a clean db, the timers are set to 0 and each item has to be checked on its stock. when it is checked, the timer is set to now+1hour. so if you restart before the 1 hour is up, no item stock needs to be checked and saved. it was something like that if a remember right.

Re: Windows 7 Forces GS and Login Console to Close.

Posted: Wed Nov 11, 2009 7:34 am
by DeGato
janiii wrote:
DeGato wrote:ok, many thanks. btw if no players online, what kind of items must be saved by the server? what is meant by "trade items"?
there are shops and they have stocks. like grocery and it has only 400 asofe for sale. the number of available stock is checked on given timer in db if there was no change inbetween. so if you have a clean db, the timers are set to 0 and each item has to be checked on its stock. when it is checked, the timer is set to now+1hour. so if you restart before the 1 hour is up, no item stock needs to be checked and saved. it was something like that if a remember right.
Now it's clear for me. Many thanks again!

Re: Windows 7 Forces GS and Login Console to Close.

Posted: Mon Dec 21, 2009 8:19 am
by Vinius
Hello,

I will try to revive this topic. See if anyone will answer. TradeController is causing really problems to my server. Regarding Janii's explanation I can partly guess, what TradeController does, but.
Is it possible to turn the crappy saving off? ( Is it reverting Changeset 3206 ? )
What troubles can it cause?

Re: Windows 7 Forces GS and Login Console to Close.

Posted: Mon Dec 21, 2009 8:32 am
by janiii
in Shutdown.java, you can just comment out the following line (write // before the line):

Code: Select all

TradeController.getInstance().dataCountStore();
no idea what are the consequences ;)

Re: Windows 7 Forces GS and Login Console to Close.

Posted: Mon Dec 21, 2009 11:45 am
by Pere
if you have an highrate, do it.

Re: Windows 7 Forces GS and Login Console to Close.

Posted: Mon Dec 21, 2009 3:37 pm
by Vinius
Nice advice Migi, but have an idea, what it is gonna do?