Jump to content

L2Fandc, latest source with facebook share, twitch, phantom


Recommended Posts

On 5/11/2020 at 12:59 AM, AndreEsteves said:

Kara Vote SQL - Fixed

last_vote_kara.sql



Someone know how to fix queen ant heal?

heal or  hp? have half hp?

Link to comment
Share on other sites

To fix the services button is easy..Open Eclpise and then Just open services.community and search for ''CommunityNpcs'' after that search   if ("bbsgetfav".equals(cmd) || "bbsnpcs".equals(cmd))
            {
            sendFileToPlayer(player, "bbs_npcs.htm", true);
            return; 

and UNGREEN IT..

Edited by addx20
Link to comment
Share on other sites

  • 2 weeks later...
On 5/17/2020 at 10:44 PM, addx20 said:

To fix the services button is easy..Open Eclpise and then Just open services.community and search for ''CommunityNpcs'' after that search   if ("bbsgetfav".equals(cmd) || "bbsnpcs".equals(cmd))
            {
            sendFileToPlayer(player, "bbs_npcs.htm", true);
            return; 

and UNGREEN IT..

Well Done thank you!

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...

[GAMESERVER]

INFO Licensed IP 127.0.0.1
 INFO Licensed IP Please Contact Ichsan Rinaldi Sjofka

 

[LOGINSERVER]

INFO IP: 190.161.xxx.xx Login: kryz Assigned to Proxy: 127.0.0.1


i cant log in any idea?

Link to comment
Share on other sites

12 hours ago, lokaosk1000 said:

[GAMESERVER]

INFO Licensed IP 127.0.0.1
 INFO Licensed IP Please Contact Ichsan Rinaldi Sjofka

 

[LOGINSERVER]

INFO IP: 190.161.xxx.xx Login: kryz Assigned to Proxy: 127.0.0.1


i cant log in any idea?

fixed it

Link to comment
Share on other sites

  • 4 weeks later...

Could someone help me out with this error?

Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.rewind()Ljava/nio/ByteBuffer;
        at l2f.gameserver.vote.DDSConverter.buildHeaderDxt1(DDSConverter.java:215)
        at l2f.gameserver.vote.DDSConverter.convertToDxt1NoTransparency(DDSConverter.java:126)
        at l2f.gameserver.vote.DDSConverter.convertToDDS(DDSConverter.java:113)
        at l2f.gameserver.cache.ImagesCache.loadImages(ImagesCache.java:69)
        at l2f.gameserver.cache.ImagesCache.<init>(ImagesCache.java:57)
        at l2f.gameserver.cache.ImagesCache$ImagesCacheHolder.<clinit>(ImagesCache.java:308)
        at l2f.gameserver.cache.ImagesCache.getInstance(ImagesCache.java:303)
        at l2f.gameserver.GameServer.<init>(GameServer.java:305)
        at l2f.gameserver.GameServer.main(GameServer.java:617)

I've tried all kinds of different java versions to run the gameserver and to compile everything, still throws this one every time.

Link to comment
Share on other sites

  • 1 month later...
On 13/08/2020 at 13:06, estaz said:

Alguém poderia me ajudar com esse erro?


Eu tentei todos os tipos de versões diferentes de java para rodar o gameserver e compilar tudo, ainda jogo isso toda vez.

 

Error Compiler fixed .......

 

 

 

package l2f.commons.compiler;

import java.io.File;
import java.io.StringWriter;
import java.io.Writer;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Locale;

import javax.tools.Diagnostic;
import javax.tools.DiagnosticListener;
import javax.tools.JavaCompiler;
import javax.tools.JavaFileObject;
import javax.tools.StandardJavaFileManager;

import org.eclipse.jdt.internal.compiler.tool.EclipseCompiler;
import org.eclipse.jdt.internal.compiler.tool.EclipseFileManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * ????? ?????????? ??????? Java ??????<br>
 * ? ???????? ??????????? ???????????? Eclipse Java Compiler
 * @author G1ta0
 */
public class Compiler
{
    private static final Logger _log = LoggerFactory.getLogger(Compiler.class);
    
    private static final JavaCompiler javac = new EclipseCompiler();
    
    private final DiagnosticListener<JavaFileObject> listener = new DefaultDiagnosticListener();
    private final StandardJavaFileManager fileManager = new EclipseFileManager(Locale.getDefault(), Charset.defaultCharset());
    private final MemoryClassLoader memClassLoader = new MemoryClassLoader();
    private final MemoryJavaFileManager memFileManager = new MemoryJavaFileManager(this.fileManager, this.memClassLoader);
    
    public boolean compile(File... files)
    {
        // javac options
        List<String> options = new ArrayList<String>();
        options.add("-Xlint:all");
        options.add("-warn:none");
        // options.add("-g:none");
        options.add("-g");
        options.add("-source");
        options.add("1.8");
        // options.add("-deprecation");
        
        Writer writer = new StringWriter();
        JavaCompiler.CompilationTask compile = javac.getTask(writer, this.memFileManager, this.listener, options, null, this.fileManager.getJavaFileObjects(files));
        
        if (compile.call())
        {
            return true;
        }
        
        return false;
    }
    
    public boolean compile(Collection<File> files)
    {
        return this.compile(files.toArray(new File[files.size()]));
    }
    
    public MemoryClassLoader getClassLoader()
    {
        return this.memClassLoader;
    }
    
    private class DefaultDiagnosticListener implements DiagnosticListener<JavaFileObject>
    {
        @Override
        public void report(Diagnostic<? extends JavaFileObject> diagnostic)
        {
            _log.error(diagnostic.getSource().getName() + (diagnostic.getPosition() == Diagnostic.NOPOS ? "" : ":" + diagnostic.getLineNumber() + "," + diagnostic.getColumnNumber()) + ": " + diagnostic.getMessage(Locale.getDefault()));
        }
    }
}

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.




×
×
  • Create New...