Page 1 of 1

import StatsSet

Posted: Thu Feb 23, 2012 7:47 pm
by spremusik
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:5191
L2JDP Revision Number:8691
please, one admin, move this here: http://l2jserver.com/forum/viewtopic.ph ... 60#p138033
i dont have the necesary posts and dont want to do post hunting . thx
i was using this script and everything was ok untill i updated to the last version from trunk

now i have this error:

Code: Select all

1. ERROR in \BossRespawn.java (at line 36)        import com.l2jserver.gameserver.templates.StatsSet;               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^The import com.l2jserver.gameserver.templates.StatsSet cannot be resolved----------2. ERROR in \BossRespawn.java (at line 133)        StatsSet stats = GrandBossManager.getInstance().getStatsSet(boss.getId());        ^^^^^^^^StatsSet cannot be resolved to a type----------2 problems (2 errors)The import com.l2jserver.gameserver.templates.StatsSet cannot be resolvedStatsSet cannot be resolved to a type
this is line 36:

Code: Select all

import com.l2jserver.gameserver.templates.StatsSet;
this is line 133:

Code: Select all

StatsSet stats = GrandBossManager.getInstance().getStatsSet(boss.getId());
i'm new to programming pls help me.
i beleve that StatsSet was changed in the last revisions. but i dont know how to search in svn to see the new value

sorry for posting here.

Re: import StatsSet

Posted: Thu Feb 23, 2012 7:55 pm
by Zoey76
It has been moved.

Now is in:

Code: Select all

com.l2jserver.gameserver.model.StatsSet
Replace the import with:

Code: Select all

import com.l2jserver.gameserver.model.StatsSet;
That should fix the problems.

Re: import StatsSet

Posted: Thu Feb 23, 2012 8:11 pm
by spremusik
that was fast. i was just browsing the classes in eclipse atempting to find it but you was faster.
manny thx