Jump to content

Custom Pvp Zone ( Freya - H5 ) Up-Dated


Recommended Posts

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.

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

  • 1 month later...

 

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

Link to comment
Share on other sites

 

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?

Link to comment
Share on other sites

  • 1 month later...
  • 10 months later...
  • 1 year later...
  • 2 months later...

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
Link to comment
Share on other sites

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 }.

Link to comment
Share on other sites

I get same errors...

 

https://postimg.org/gallery/dd4j9es2/

 

In the gallery you ca see my files too where i have added the code lines.

Edited by CodyRo
Link to comment
Share on other sites

// 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 :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now



×
×
  • Create New...