Ir para conteúdo
  • Cadastre-se
  • 0

Duvida Mod Acis


Brhu3

Pergunta

A acis 368 nao tem mais GMaudit :

 

- Drop GMAudit, uses the default formatter/handler/filter (all GMs are written on the same file).

 

Alguem sabe como removo o gmaudit ?

 

exemplo essas partes com gmaudit nao faço ideia de como adaptar isso

 

 

 

+import net.sf.l2j.gameserver.util.GMAudit;

 

 

 

+ if (player != null)
+ createItem(activeChar, player, idval, numval, getItemLocation(location));
+ else
+ giveItemToOfflinePlayer(activeChar, playername, idval, numval, getItemLocation(location));
+
+ auditAction(command, activeChar, playername);

 

 

 

 

+ private static void auditAction(String fullCommand, Player activeChar, String target)
+ {
+ if (!Config.GMAUDIT)
+ return;
+
+ String[] command = fullCommand.split(" ");
+
+ GMAudit.auditGMAction(activeChar.getName() + " [" + activeChar.getObjectId() + ]", command[0], (target.equals("") ? "no-target" : target), (command.length > 2 ? command[2] : ""));
+ }

 

 

Editado por Brhu3
Link para o comentário
Compartilhar em outros sites

3 respostass a esta questão

Posts recomendados

  • 0

Remove :

+ if (player != null)
+ createItem(activeChar, player, idval, numval, getItemLocation(location));
+ else
+ giveItemToOfflinePlayer(activeChar, playername, idval, numval, getItemLocation(location));
+

"Tente ser uma pessoa de valor , não de sucesso" - Albert Einstein

 

 

Link para o comentário
Compartilhar em outros sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Processando...
  • Registre-se

    Faça parte da maior e  mais antigas comunidades sobre Lineage2 da América Latina.





×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.