Jump to content

disorder25

Members
  • Posts

    451
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by disorder25

  1. 2 minutes ago, Zake said:

    do you face any particular problem or?

    Yes  errors in 3 places but one I know I have to add some code in L2PcInstance for isDonator.

    the other 2 is 

    showEnchantSkillList, could not find anything that equal that on my source

    and getSkill() on case 8,9,10 

     

     

  2. Did anyone adapted to l2j Hi5. This is great by the way, thank you for share. I have try to adapt but it got a little complicated because I'm not the best with codes, I can do some changes sometimes and fix things but when it come to a lot of changes It is pass my skills. 

    Thank you anyway for the share.

    +1

  3. anyone have this code  adapted to L2j Hi5?

    I'm stuck in one line on, the "Return" from CalcZ (boolean minZ)

     

     return (savedLocs.stream().mapToInt(loc -> loc.getZ()).sum() / savedLocs.size()) + (minZ ? -zDifference : zDifference);

    errors: 

    loc -> loc cannot be resolved to a variable

    loc.getZ() Loc cannot be resolved

  4. Quote

    Have you made any changes to requestByPassToServer case "npc_"?

    No I did Not.

     

    Here is what happen. When a regular char click on npc.

    This is before I click. Remider, to Gm chars npcs work fine

    20200430_133508.jpg

     

    After I click I get the first dialog, in this case the Buffer but it happen to all npcs.

    20200430_133355.jpg

     

     

    Then I click on the dialog, in this case to get Auto buffs, the window disappear and the char did not get the buffs.

    20200430_133433.jpg

     

     

    And it goes back to no dialog

    20200430_133508.jpg

  5. I have a little problem here, when my Gm character click on any npc, all the dialogs work just fine but when a regular character click on a npc, the first dialog pop up but when he click again nothing happen. Like If He click on Gm Shop the dialog come up, then if he click on another link like weapons nothing happen, that is happening on all npcs.

    Can someone help me solve this problem, It does not show any errors on gameserver.

    Thank you in advance.

     

  6. I think it was 1.6 and now is 1.7

     

    I updated to a newer version and got lots of problems, so I downgrade it to 1.7 since I could not go back to 1.6. and now this is the only thing that doesn't work, the whole server work but I can't target, use voice commands, gm commands and probably other things that are loaded with the Masterhandler.java.

     

     

  7. Hello Maxcheaters.

     

    My server L2j Hi5 was working fine until I updated java. After that when I started the gameserver, it loads just fine without any errors but I don't see the part where the handlers are loaded and when I log into the game with my GM char or a regular char I can not target any Npc or Mob, none of the commands work, including the gm commands, in another words no handler works.

     

    So I guess the Masterhandler.java is not loading, why if it give me no errors?

     

    How can I fix this problem?

     

    Any help will be appreciated.

     

    Thank you.

     

  8. I have a problem, I have a Hi5 server and it was working fine until I updated my java version to add a feature. But after I updated I got a few errors on Eclipse and on Gameserver so  I decided to undo the java update and remove the feature.  After I rolled back, It seems everything is fine, no problems on Eclipse, no errors on Gameserver, server load fine, client connect to server, char login with no problem but there is no handles, I can target any Npc ,  mob or myself, can use any command, skill or item and etc.

     

    How can I fix that? since I don't have errors, I don't know where and how to start looking for clues and try to fix it myself.

     

    I get messages like this on gameserver when I try to do something.

     

    No handler registered for admin command 'admin_vis'
    [Character: xxxxxxxxxx[xxxxxxxxx] - Account: xxxxxxxxx - IP: xxx.xxx.1.xxx] sent n
    ot handled RequestBypassToServer: [CustomLinks servernews1.html]
    Unmanaged Item handler: ManaPotion for Item Id: 728!

     

    If anyone can help me it will be greatly appreciated.

     

    Thank You very much.

     

  9. On 4/13/2018 at 2:52 AM, Nightw0lf said:

    the script compiler did you find this classes? you must change there the version

    then you must change the builder.xml, you have to change the eclipse compiler too and you need to change the jar i dont remember the jar name amazing... its the something-1.6.jar

    Thanks for replying.

     

    I did change the eclipse compiler, I did change the jar java-engine to 1.7.1,  on build.xml I change the part for java and add java 1.7 only thing I couldnt find is the script compiler maybe that's what's I'm missing. Where is it?

     

  10. On 4/10/2018 at 2:35 PM, Nightw0lf said:

    you try to cure a patient without knowing the illness

    you have to tell where did you find the pack or the packs name... else no more help can be given

     

    Sorry man but my pack is from L2jserver (old pack GS version 6445M  DP version 9641M ) and I have it on Eclipse and I do my own compile, is an older version since I did not want to upgrade the chronicle after Hi5.  I had fix a lot of bugs and added many features.  After I add this LuckyPig script I upgrade my java version and my server turned in a mess so I downgrade java a little, it still is newer than the one I have before, so I got some errors and I fixed most of it.

     

    Now I got no errors on Eclipse so I compile the build and started the server, server started with no errors, but when I logged a char, I note that no handles were started, so I can use chat, commands, can not target any npc or mob, etc.

    Weird thing is that I don't have ay errors on gameserver.

     

    Thank you for your help so far and if you don't want help no more its fine.

     

    On 4/10/2018 at 2:18 AM, SweeTs said:

    If you are using H5, handlers are inside datapack as far as I remember, so set proper Java version for datapack as well. Recompile everything(!) anew and switch files. Not only GS. Try that. 

     

    Thanks. I did change the java version on datapack also and it still not working

     

  11. On 4/8/2018 at 10:18 AM, SweeTs said:

    If he read the topic, not only first answer, he find out what to change and where :p

     

    I did and I fix all errors but now I have something very weird going on, Eclipse have no errors, no problems no warnings, Gameserver start without no error. But when I login to the server with my Gm or regular char, all commands (Gm and regular) does not work, I can't target no npc or mobs, no chat so I guest all handles did not start, The only change I made was change the AdminScan.js to .java but no errors on the java file or masterhandler.java.

     

    What did I do wrong and how to fix that?

     

    I have no clue where to start looking

  12. On 4/6/2018 at 1:32 PM, SweeTs said:

    Yup. Don't worry, you won't have to change anything. You will get some warnings about 'crappy code' eventually.

     

    Thank you for your help mate but I 'm going to use a different code that was easier for me to adapt, I'm not a expert on java but I can do  a few little things.  This code is much better but the other one  is working.

    Again thanks for the help.

     

     

    Ok after I updated java jre and Jsk to 1.8.0_162 I got this error on  gameserver:

     

    Annotation processing got disabled, since it requires a 1.6 compliant JVM

     

    How can I fix that, do I need to reinstall java and go back to java 7, because with 7 I had no problem?

    Do I inistall just jdk or both?

     

     

     

  13. 3 hours ago, Nightw0lf said:

    try java 1.8 i think thats a lambda (exists on 1.8 until now and 1.9)

    
    .sorted((object1, object2) ->

     

    
    .filter(Y::isItem).filter(obj ->

    that part looks like PHP + lambda from java, years now never seen anything like that..

     

     

    I updated to java 1.8, it fixed the  stream() but the  filter and sorted lines still no good.

    .filter(L2Object::isItem).filter(obj --> (obj.getId() == Inventory.ADENA_ID))
    	L2Object cannot be resolved to a variable
    	obj cannot be resolved to a variable
    	obj cannot be resolved
    
    
    .sorted((object1, object2) --> (int) Util.calculateDistance(object1, object2, false, false))
    	object1 cannot be resolved to a variable
    	object1 cannot be resolved to a variable
    	object2 cannot be resolved to a variable
    
    
    These are the errors I'm still getting

     

  14. My java is still  1.7, I just didn't update because I was afraid that if I update I would have to update other things to make the server work, and since it is a test server I was lazy to do it. But do you think if I just update java it will fix those errors?

    Thank you for your reply.

     

  15. nice job. I have one problem, on the java file I got an error on this part.

     

    final L2ItemInstance food = (L2ItemInstance) L2World.getInstance().getVisibleObjects(npc, 300)
    	.stream()
    	.filter(L2Object::isItem).filter(obj --> (obj.getId() == Inventory.ADENA_ID))
    	.sorted((object1, object2) --> (int) Util.calculateDistance(object1, object2, false, false))
    	.findFirst()
    	.orElse(null);

     

    Can anyone help me fix that?

     

    Thank you

     

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