Frintezza

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
Post Reply
hiroshima
Posts: 107
Joined: Tue Nov 03, 2009 1:28 pm

Frintezza

Post by hiroshima »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number: 4412
L2JDP Revision Number: 7664

Hello i am interested in applying Frintezza Final Battle:
viewtopic.php?f=69&t=13999&hilit=Frintezza
to my server.
There's one problem...
/*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.l2jserver.gameserver.network.serverpackets;


public class SpecialCamera extends L2GameServerPacket
{
private static final String _S__C7_SPECIALCAMERA = " d6 SpecialCamera";

private final int _id;
private final int _dist;
private final int _yaw;
private final int _pitch;
private final int _time;
private final int _duration;
private final int _turn;
private final int _rise;
private final int _widescreen;
private final int _unknown;

public SpecialCamera(int id, int dist, int yaw, int pitch, int time, int duration)
{
_id = id;
_dist = dist;
_yaw = yaw;
_pitch = pitch;
_time = time;
_duration = duration;
_turn = 0;
_rise = 0;
_widescreen = 0;
_unknown = 0;
}

public SpecialCamera(int id, int dist, int yaw, int pitch, int time, int duration, int turn, int rise, int widescreen, int unk)
{
_id = id;
_dist = dist;
_yaw = yaw;
_pitch = pitch;
_time = time;
_duration = duration;
_turn = turn;
_rise = rise;
_widescreen = widescreen;
_unknown = unk;
}

@Override
public void writeImpl()
{
writeC(0xd6);
writeD(_id);
writeD(_dist);
writeD(_yaw);
writeD(_pitch);
writeD(_time);
writeD(_duration);
writeD(_turn);
writeD(_rise);
writeD(_widescreen);
writeD(_unknown);
}

@Override
public String getType()
{
return _S__C7_SPECIALCAMERA;
}
}
SpecialCamera.java file on my server is a bit different than this from KKnD's patch.
It is safe to change unknown to unknown3 ?
Please tell me what i should do ;)
Thanks!
Last edited by hiroshima on Thu Sep 02, 2010 7:03 pm, edited 1 time in total.
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: Frintezza

Post by LasTravel »

1- Frintezza are already implemented on l2j
2- Latest is not a NUMBER
Scepter
Posts: 64
Joined: Tue Apr 13, 2010 12:36 pm

Re: Frintezza

Post by Scepter »

if im not wrong hes talking about the final battle mod, its slightly different visuals, for example frintezza continues playing the piano instead of just standing there ect.
Scepter - Main man with a plan.
hiroshima
Posts: 107
Joined: Tue Nov 03, 2009 1:28 pm

Re: Frintezza

Post by hiroshima »

Yeah, but i am trying to apply final battle.
*I fixed revision number. Sorry.
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: Frintezza

Post by LasTravel »

On FrintezzaManager.java add ",1,0" on each specialcamera, example:

Without:

Code: Select all

specialcamera(frintezza, 100, 90, 0, 3000, 4100, 0, 0);
With:

Code: Select all

specialcamera(frintezza, 100, 90, 0, 3000, 4100, 0, 0,1,0);
And don't change nothing on SpecialCamera packet.
Post Reply