Jump to content

Recommended Posts

Posted

Players don't get the Noblesse Buff after using ".res", can someone fix it?

 

I see above someone write:

L2Skill NobleBlesingBuff = SkillTable.getInstance().getInfo(1323, 1);

L2PcInstance activechar = (L2PcInstance) character;
    if (!activechar.isNoblesseBlessed())
        {
        NobleBlesingBuff.getEffects(activechar,activechar);
        } 

but dunno after or replace what in L2CustomPVP.java.

  • 1 month later...
Posted

hi

 

is there anyone who can help me to get him to working for HI5:

 Revision 6670 server
Revision 10490:DataPack_BETA

 

Thanks in advance

 

Nowone can help to make it work  at

 Revision 6670 server
Revision 10490:DataPack_BETA

  • 1 month later...
Posted

 

hi

 

is there anyone who can help me to get him to working for HI5:

 Revision 6670 server

Revision 10490:DataPack_BETA

 

Thanks in advance

 

Nowone can help to make it work  at

 Revision 6670 server

Revision 10490:DataPack_BETA

 

 

can somewon help to make it work please

Posted

 

hi

 

is there anyone who can help me to get him to working for HI5:

 Revision 6670 server

Revision 10490:DataPack_BETA

 

Thanks in advance

 

Nowone can help to make it work  at

 Revision 6670 server

Revision 10490:DataPack_BETA

 

did you tested it and it didn't work?

  • 1 month later...
Posted

did you tested it and it didn't work?

Yes have tested but get lots of errors if i try to install it :-\

so please somewone can help me

  • 10 months later...
  • 1 year later...
  • 2 months later...
Posted (edited)

In scripts.cfg must to add all .java files?

 

Res.java

MasterHandler.java

L2CustomPvP.java

Edited by CodyRo
Posted

In scripts.cfg must to add all .java files?

 

Res.java

MasterHandler.java

L2CustomPvP.java

 

None of them.

Posted (edited)

Ok ty. But I get thats errors...

[02/05 01:40:33] GameServer: Loading server scripts:
----------
1. WARNING in \handlers\MasterHandler.java (at line 282)
        import handlers.voicedcommandhandlers.Lang;
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import handlers.voicedcommandhandlers.Lang is never used
----------
2. WARNING in \handlers\MasterHandler.java (at line 284)
        import handlers.voicedcommandhandlers.Wedding;
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import handlers.voicedcommandhandlers.Wedding is never used
----------
3. ERROR in \handlers\MasterHandler.java (at line 595)
        +VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Res
());
        ^
Syntax error on token "+", ++ expected
----------
4. ERROR in \handlers\MasterHandler.java (at line 597)
        VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Wedd
ing());

      ^
Syntax error, insert "else Statement" to complete IfStatement
----------
5. ERROR in \handlers\MasterHandler.java (at line 597)
        VoicedCommandHandler.getInstance().registerVoicedCommandHandler(new Wedd
ing());

      ^
Syntax error, insert "}" to complete MethodBody
----------
----------
6. ERROR in D:\Jocuri\L2 Server H5\server\game\data\scripts\handlers\voicedcomma
ndhandlers\Res.java (at line 43)
        if(activeChar.isInJail())
                      ^^^^^^^^
The method isInJail() is undefined for the type L2PcInstance
----------
6 problems (4 errors, 2 warnings)
Syntax error on token "+", ++ expected
Syntax error, insert "else Statement" to complete IfStatement
Syntax error, insert "}" to complete MethodBody
The import handlers.voicedcommandhandlers.Lang is never used
The import handlers.voicedcommandhandlers.Wedding is never used
The method isInJail() is undefined for the type com.l2jserver.gameserver.model.a
ctor.instance.L2PcInstance
[02/05 01:40:42] Failed executing script: D:\Jocuri\L2 Server H5\server\game\dat
a\scripts\handlers\MasterHandler.java. See MasterHandler.java.error.log for deta
ils.

It's correct where i copy thats codes?

 

rfd.jpg

Edited by CodyRo
Posted

Well it isn't correct at all.

 

I see that you're using H5, so delete that loadVoicedHandlers method and only add this class in the voiced command section above:

Res.class,

Wedding is already integrated. For the next time, any + you see before the lines means they should be added and every beginning has an end, meaning methods start with { and end with }.

Posted
// Voiced Command Handlers
StatsVCmd.class,
// TODO: Add configuration options for this voiced commands:
// CastleVCmd.class,
// SetVCmd.class,
(Config.L2JMOD_ALLOW_WEDDING ? Wedding.class : null),
(Config.BANKING_SYSTEM_ENABLED ? Banking.class : null),
(Config.L2JMOD_CHAT_ADMIN ? ChatAdmin.class : null),
(Config.L2JMOD_MULTILANG_ENABLE && Config.L2JMOD_MULTILANG_VOICED_ALLOW ? Lang.class : null),
(Config.L2JMOD_DEBUG_VOICE_COMMAND ? Debug.class : null),
(Config.L2JMOD_ALLOW_CHANGE_PASSWORD ? ChangePassword.class : null),
Res.class,

That's how your voiced command handler section should look like and Wedding is already there. If it isn't, then I dunno what H5 you're using :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock