Jump to content

[Interlude Project] L2j Esios


Recommended Posts

Posted

I can't compile.

Error source:

Buildfile: C:\workspace\l2jesios_gameserver\build.xml
clean:
   [delete] Deleting directory C:\workspace\l2jesios_gameserver\build
checkRequirements:
     [echo] Verification of your JDK version.
version:
     [echo] l2jesios gameserver revision: 45
init:
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\classes
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist\login
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist\gameserver
compile:
    [javac] Compiling 1359 source files to C:\workspace\l2jesios_gameserver\build\classes
    [javac] C:\workspace\l2jesios_gameserver\java\net\sf\l2j\gameserver\model\actor\instance\L2MarketNpcInstance.java:241: error: unmappable character for encoding Cp1253
    [javac] 				tx.append(bid.getBidItem().getItemName() + " +" + bid.getBidItem().getEnchantLevel() + " <a action=\"bypass -h npc_%objectId%_marketpage info " + bid.getBidId() + "\">Π?Π½Ρ„ΠΎ</a> <a action=\"bypass -h npc_%objectId%_marketdel " + player.getObjectId() + " " + bid.getBidId() + "\">Remove from the market</a><br>");
    [javac] 				                                                                                                                                                                             ^
    [javac] 1 error

BUILD FAILED
C:\workspace\l2jesios_gameserver\build.xml:54: Compile failed; see the compiler error output for details.

Total time: 9 seconds

Guest Elfocrash
Posted

please reports at our forum

Posted

please reports at our forum

It is already shared , you tell that is fixed but is not. Check it.

 

Edit: I created the same topic in your forum.

Posted

I think that i fix it.

I just delete this (red)

tx.append(bid.getBidItem().getItemName() + " +" + bid.getBidItem().getEnchantLevel() + " <a action=\"bypass -h npc_%objectId%_marketpage info " + bid.getBidId() + "\">Π?Π½Ρ„ΠΎ</a> <a action=\"bypass -h npc_%objectId%_marketdel " + player.getObjectId() + " " + bid.getBidId() + "\">Remove from the market</a><br>");

Buildfile: C:\workspace\l2jesios_gameserver\build.xml
clean:
   [delete] Deleting directory C:\workspace\l2jesios_gameserver\build
checkRequirements:
     [echo] Verification of your JDK version.
version:
     [echo] l2jesios gameserver revision: 45M
init:
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\classes
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist\login
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist\gameserver
compile:
    [javac] Compiling 1359 source files to C:\workspace\l2jesios_gameserver\build\classes
jar:
      [jar] Building jar: C:\workspace\l2jesios_gameserver\build\l2jserver.jar
     [copy] Copying 1 file to C:\workspace\l2jesios_gameserver\build\dist\login\libs
     [copy] Copying 1 file to C:\workspace\l2jesios_gameserver\build\dist\gameserver\libs
dist:
     [copy] Copying 5 files to C:\workspace\l2jesios_gameserver\build\dist\login\libs
     [copy] Copying 12 files to C:\workspace\l2jesios_gameserver\build\dist\gameserver\libs
     [copy] Copying 7 files to C:\workspace\l2jesios_gameserver\build\dist\login
     [copy] Copying 3 files to C:\workspace\l2jesios_gameserver\build\dist\gameserver
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist\gameserver\log
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist\login\log
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist\gameserver\config
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist\login\config
     [copy] Copying 11 files to C:\workspace\l2jesios_gameserver\build\dist\gameserver\config
     [copy] Copying 4 files to C:\workspace\l2jesios_gameserver\build\dist\login\config
    [mkdir] Created dir: C:\workspace\l2jesios_gameserver\build\dist\gameserver\data
BUILD SUCCESSFUL
Total time: 44 seconds

Fixed .

Posted

This is wrong here ->https://www.assembla.com/code/l2jesios/subversion/changesets/35

 

         newChar.setTitle("");

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);

 

You must Do it like this:

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);
        else
newChar.setTitle("");

 

ps:also what are you doing? you follow the frozen? adding custom shits? at least learn how the if -else if -else working because you made a mistake here :)

Posted
ps:also what are you doing? you follow the frozen? adding custom shits? at least learn how the if -else if -else working because you made a mistake here

 

Agree with frozen part, but with if else part it will work the same anyway.

Posted

This is wrong here ->https://www.assembla.com/code/l2jesios/subversion/changesets/35

 

         newChar.setTitle("");

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);

 

You must Do it like this:

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);
        else
newChar.setTitle("");

 

ps:also what are you doing? you follow the frozen? adding custom shits? at least learn how the if -else if -else working because you made a mistake here :)

haha only one who should learn that is u. omfg stupidest thing ever

Guest Elfocrash
Posted

This is wrong here ->https://www.assembla.com/code/l2jesios/subversion/changesets/35

 

         newChar.setTitle("");

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);

 

You must Do it like this:

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);
        else
newChar.setTitle("");

 

ps:also what are you doing? you follow the frozen? adding custom shits? at least learn how the if -else if -else working because you made a mistake here :)

you are an idiot. First the title will go "" and then it will check if the bool is true. if it is it will be changed to the custom one so i save a check.

You are too unskilled to talk for my codes. bite me

Posted

This is wrong here ->https://www.assembla.com/code/l2jesios/subversion/changesets/35

 

         newChar.setTitle("");

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);

 

You must Do it like this:

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);
        else
newChar.setTitle("");

 

ps:also what are you doing? you follow the frozen? adding custom shits? at least learn how the if -else if -else working because you made a mistake here :)

XAXAX
Posted

This is wrong here ->https://www.assembla.com/code/l2jesios/subversion/changesets/35

 

         newChar.setTitle("");

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);

 

You must Do it like this:

        if (Config.ALLOW_CHAR_TITLE)      
            newChar.setTitle(Config.CHAR_TITLE);
        else
newChar.setTitle("");

 

ps:also what are you doing? you follow the frozen? adding custom shits? at least learn how the if -else if -else working because you made a mistake here :)

 

you try correct Elfo omg noob???

Elfocrash has been creating codes since you didn't exist pffff idiots

Posted

you try correct Elfo omg noob???

Elfocrash has been creating codes since you didn't exist pffff idiots

omg someone kill that guy,

BECOME ridicule by alone.

Posted

you try correct Elfo omg noob???

Elfocrash has been creating codes since you didn't exist pffff idiots

YOU ARE RETARD AND I " MEAN " IT

Guest
This topic is now closed to further replies.



  • Posts

    • in conclusion when somebody who has a project for 10+ years still on development writes an e-say to try until you succeed and then advertises his project, one of the reasons is he needs money, so l2j has once more become pure expensive hobby, you wont make money out of it.   You can still use L2jFrozen and get better results for this, i know some people that done it    keep in mind that C in aCis stands for Crappy, and after all these years its not a cool wordplay anymore, its a fact, prove me wrong.
    • First, don't really follow the "main voice", moreover if you consider it an hobby. Simply do what you want, you got only one life so use it as you want. If you make it an hobby, it's exactly like piano, or velo - only practice makes you better.   Secondly, how do you learn things ? It's actually a really important question, since some can simply be scholar, read books (theory) then practice ; and some simply can't read books. I'm the second type, I hated school, I find it boring - my knowledge in Java comes from try-and-fail. You improve your coding style every year or so, I can myself rewrite my own code (which I already considered top-notched) after a while. You always learn something new - even if Java barely evolves. L2J is a fun way to learn programming, it's a giant sandbox where you can edit anything, and I believe it should be taken as it.   My own way of learning was as follow : Add existing customs, no matter what they are : the point is to know main classes used by L2J / customs. L2J is barely Java knowledge ; the true knowledge is to know WHAT to search in WHICH location (what I call, organization). You have to understand than EVERYTHING you think already exists, in a form on another, in the source code. A custom is only the association of the different mechanisms you found "here and there", glued together in a proper goal. Once you know main classes to edit, and the customs you added are compiling fine, the main point is to know WHAT exactly you DID. Try to understand WHY and WHERE you actually copied the code. Third point would be to MANIPULATE the customs you added in order to fit your wish. First edit little values, then logic conditions ; eventually add a new Config, or a new functionality to the custom. Fourth point would be to begin to craft your own ideas. Once again, EVERYTHING already exists, in a form or another. You want a cycled event ? You got Seven Signs main task as exemple. Npc ? Search any type of Npc and figure out what it does. Fifth point would be to understand Java - mostly containers (WHAT and WHERE to use them), variables types and main Java mechanisms (inheritance, static modifier, etc). You should also begin to cut your code into maintainable classes or methods. Java can actually run without optimization, but bigger your ideas, more optimized and well-thought it should be. It's direct saved time in the future, and you would thank yourself doing so. Main tips : ALWAYS use any type of versioning system - GIT or SVN. It allows to save your work, step by step and eventually revert back anytime you want if you terribly messed up. L2J is 80% organization knowledge, and 20% Java knowledge. Basically, if you know WHAT and WHERE to search, if you aren't dumb, it's easy to replicate and re-use things. Cherry on top is to use a already good coded pack to avoid copy-paste crap and get bad habits. Avoid any type of russian or brazilian packs, for exemple - their best ability is to leak someone's else code. Obviously you need some default sense of logic, but Java and programming in general help you to improve it.   Finally, most of your questions could be solved joining related Discord (at least for aCis, I can't speak for others) - from the moment your question was correctly asked (and you seemed to search for the answer). My community (and myself) welcomes newbies, but got some issues with noobies.   The simpliest is to try, fail and repeat until you succeed - it sounds stupid, but that's basically how life works.   PS : about Java ressources, before ChatGPT, it was mostly about stackoverflow website, and site like Baeldung's one. With ChatGPT and alike, you generally double-cross AI output to avoid fucked up answers. Also, care about AI, they are often hallucinating really hard, even today. They can give you complete wrong answer, you tell them they are wrong, and they say "indeed, I suck, sorry - here's a new fucked up answer". You shouldn't 100% rely over AI answer, even if that can give sometimes legit answers, full code or just skeletons of ideas.   PPS : I don't think there are reliable ressources regarding L2J itself, also most of the proposed code decays pretty fast if the source code is actually maintained (at least for aCis). Still, old coded customs for old aCis sources are actually a good beginner challenge to apply on latest source.
    • WTS: - AQ - Baium - Zaken  - Frintezza - Vesper Fighter Focus Fire Element   pm for detalis
  • Topics

×
×
  • 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