vitality

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
Raincast
Posts: 101
Joined: Sat Mar 28, 2009 11:44 am

vitality

Post by Raincast »

vitality Works not correctly
vitality does not decrease and does not increase
If the character has already been created that it equally 1 and does not increase


Обновил сервер включил виталити врезультате он не прибовляется и не отнимается.Если создать персонажа у него оно убовлятся не будет в базе написано vitality points 1 у тех кто уже играл и vitality points 2000 те кто создал персонажа заново.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: vitality

Post by _DS_ »

Not a bug, moving into server support.

PS. Clean installed server works fine for me, so check your custom code and config files.
http://www.l2jserver.com/trac/changeset ... properties
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Raincast
Posts: 101
Joined: Sat Mar 28, 2009 11:44 am

Re: vitality

Post by Raincast »

config does not react to inclusion deenergizing.
Config не реагирует на включение выключение что true что false одно и тоже виталити так же в базу заносятся кто стартовал с 2000 кто уже игра с 1.Core из custom стоит только камалока скрипт.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: vitality

Post by _DS_ »

Worksforme. Test on clean install.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: vitality

Post by Notorious »

Who wants clean install?! :lol:
kurtspirit
Posts: 411
Joined: Thu Mar 12, 2009 8:20 pm
Location: Toulouse, France

Re: vitality

Post by kurtspirit »

I try to find the problem (yes i have the same...) and i think it's here on PcStat.java :
Image

As you can see, it have some errors with eclipse on variable decrease/increase etc.. So i download the file on trunk and replace, same problem.. Have you a solution for this? I think if we can solve this 4 errors, Vitality will work fine .. Thank's
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: vitality

Post by _DS_ »

One of the other files (system messages) is out of date or incorrectly patched. How your server supposed to run AT ALL ?
Horrible.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
kurtspirit
Posts: 411
Joined: Thu Mar 12, 2009 8:20 pm
Location: Toulouse, France

Re: vitality

Post by kurtspirit »

Ok it's just a problem of "refresh" of new files i had download on trunk. No errors now but Vita still at 1 on DB for user offline... Just if you create a new character, you have vita level 4 and decrease is ok but no increase.. For now, i'm lost, all files are ok, all config ok, but still some bug for me.. Thank's
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: vitality

Post by _DS_ »

Check Config.java
Or better just try on clean.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
kurtspirit
Posts: 411
Joined: Thu Mar 12, 2009 8:20 pm
Location: Toulouse, France

Re: vitality

Post by kurtspirit »

ok after more modifications, i allways stay with vitality problems.. :
i try to turn off vitality system (on config file) , so i write : Enable Vitality : False , and Vita stay on oO .. I try to look again the update, i don't see the problem ...
When you say try a clean install, ok but how i can make a clean install without lost all data ?? Because i have players, heros, skills, instance etc etc... So have you an idea for my problem ??
Why Vitality is not affect by configuration files? Thank you
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: vitality

Post by _DS_ »

Got fresh config file from distributive and set your values. Config files reader highly sensitible to spaces, tabs..
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
kurtspirit
Posts: 411
Joined: Thu Mar 12, 2009 8:20 pm
Location: Toulouse, France

Re: vitality

Post by kurtspirit »

I download from browser configurations files, but same problem. It's possible this bug come from Database ??
If no, i think i will download all files of Vitality on browser and try to install again..
I tell you how i proceed for uptade (maybe you will see my error ..) :
I check manually update on Eclipse, and after i compile source . I send the new l2jserver.jar on my server and i replace it.
For configuration files, i donwload the new and i replace to. Is it correct? Thank you
Belier
Posts: 42
Joined: Mon Aug 10, 2009 9:39 pm

Re: vitality

Post by Belier »

Im having exactly the same problem. I just do the update in the right way (I think ;)).

I will investigate more about my situation.
Image
Image
kurtspirit
Posts: 411
Joined: Thu Mar 12, 2009 8:20 pm
Location: Toulouse, France

Re: vitality

Post by kurtspirit »

Belier wrote:Im having exactly the same problem. I just do the update in the right way (I think ;)).

I will investigate more about my situation.
Have you find a solution ? Tell me more about that please.. I try many times to update , but allways same result... Thank you
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: vitality

Post by _DS_ »

What you mean by "vita stay on" ? If you disable vitality - it freezed (neither decreased nor increased), vitality rates not applied and herbs not dropped.
If you want to clear vitality on all characters - zero entire database column.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Post Reply