Jump to content

Recommended Posts

Posted

it's normal to have this error when u doing the aint build?

 

[javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\network\GameClient.java:34: warning: Base64 is internal proprietary API and may be removed in a future release

    [javac] import lineage2.gameserver.network.loginservercon.gspackets.PlayerLogout;

    [javac]                        ^

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\model\entity\residence\Castle.java:659: warning: [unchecked] unchecked conversion

    [javac]        List<Fortress> list = _relatedFortresses.get(Fortress.DOMAIN);

    [javac]                                                    ^

    [javac]  required: List<Fortress>

    [javac]  found:    List

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\model\instances\TamedBeastInstance.java:88: warning: [rawtypes] found raw type: Entry

    [javac] private static final Map.Entry<NpcString, int[]>[] TAMED_DATA = new Map.Entry[6];

    [javac]                                                                       ^

    [javac]  missing type arguments for generic class Entry<K,V>

    [javac]  where K,V are type-variables:

    [javac]    K extends Object declared in interface Entry

    [javac]    V extends Object declared in interface Entry

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\utils\SecondaryPasswordAuth.java:265: warning: Base64 is internal proprietary API and may be removed in a future release

    [javac] return Base64.encode(hash);

    [javac]       ^

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\stats\funcs\FuncTemplate.java:80: warning: [rawtypes] found raw type: Class

    [javac] _constructor = _func.getConstructor(new Class[]

    [javac]                                         ^

    [javac]  missing type arguments for generic class Class<T>

    [javac]  where T is a type-variable:

    [javac]    T extends Object declared in class Class

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\GameServer.java:322: warning: [rawtypes] found raw type: SelectorThread

    [javac] _selectorThreads = new SelectorThread[Config.PORTS_GAME.length];

    [javac]                       ^

    [javac]  missing type arguments for generic class SelectorThread<T>

    [javac]  where T is a type-variable:

    [javac]    T extends MMOClient declared in class SelectorThread

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\GameServer.java:322: warning: [unchecked] unchecked conversion

    [javac] _selectorThreads = new SelectorThread[Config.PORTS_GAME.length];

    [javac]                   ^

    [javac]  required: SelectorThread<GameClient>[]

    [javac]  found:    SelectorThread[]

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\data\xml\holder\SkillAcquireHolder.java:700: warning: [cast] redundant cast to Entry<Integer,List<SkillLearn>>

    [javac] Map.Entry<Integer, List<SkillLearn>> e = (Map.Entry<Integer,List<SkillLearn>>) allClassSkills.next();

    [javac]                                         ^

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\data\xml\holder\SkillAcquireHolder.java:718: warning: [cast] redundant cast to Entry<Integer,List<SkillLearn>>

    [javac] Map.Entry<Integer, List<SkillLearn>> e = (Map.Entry<Integer,List<SkillLearn>>) allClassSkills.next();

    [javac]                                         ^

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\handler\admincommands\impl\AdminEffects.java:410: warning: [fallthrough] possible fall-through into case

    [javac] case admin_transform:

    [javac] ^

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\network\serverpackets\ExReceiveOlympiad.java:135: warning: [rawtypes] found raw type: ArrayList

    [javac] private final List<PlayerInfo>[] _players = new ArrayList[2];

    [javac]                                                 ^

    [javac]  missing type arguments for generic class ArrayList<E>

    [javac]  where E is a type-variable:

    [javac]    E extends Object declared in class ArrayList

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\tables\AugmentationData.java:174: warning: [rawtypes] found raw type: ArrayList

    [javac] private final List<?>[] _augStats = new ArrayList[4];

    [javac]                                         ^

    [javac]  missing type arguments for generic class ArrayList<E>

    [javac]  where E is a type-variable:

    [javac]    E extends Object declared in class ArrayList

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\tables\AugmentationData.java:178: warning: [rawtypes] found raw type: ArrayList

    [javac] private final List<?>[] _augAccStats = new ArrayList[4];

    [javac]                                           ^

    [javac]  missing type arguments for generic class ArrayList<E>

    [javac]  where E is a type-variable:

    [javac]    E extends Object declared in class ArrayList

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\tables\AugmentationData.java:182: warning: [rawtypes] found raw type: ArrayList

    [javac] private final List<?>[] _blueSkills = new ArrayList[10];

    [javac]                                           ^

    [javac]  missing type arguments for generic class ArrayList<E>

    [javac]  where E is a type-variable:

    [javac]    E extends Object declared in class ArrayList

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\tables\AugmentationData.java:186: warning: [rawtypes] found raw type: ArrayList

    [javac] private final List<?>[] _purpleSkills = new ArrayList[10];

    [javac]                                             ^

    [javac]  missing type arguments for generic class ArrayList<E>

    [javac]  where E is a type-variable:

    [javac]    E extends Object declared in class ArrayList

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\tables\AugmentationData.java:190: warning: [rawtypes] found raw type: ArrayList

    [javac] private final List<?>[] _redSkills = new ArrayList[10];

    [javac]                                         ^

    [javac]  missing type arguments for generic class ArrayList<E>

    [javac]  where E is a type-variable:

    [javac]    E extends Object declared in class ArrayList

    [javac] C:\Progetto l2\LineageGoD\java\lineage2\gameserver\tables\AugmentationData.java:194: warning: [rawtypes] found raw type: ArrayList

    [javac] private final List<?>[] _yellowSkills = new ArrayList[10];

    [javac]                                             ^

    [javac]  missing type arguments for generic class ArrayList<E>

    [javac]  where E is a type-variable:

    [javac]    E extends Object declared in class ArrayList

    [javac] 17 warnings

Posted

They aren't errors, they are WARNINGS and don't influence the compile & execution of gameserver, even WoW emulators have warnings but they're fully playable

 

so they can be easly fixed. if yes, please do fix them.

 

also, the latest revisions, where you added kartia instances, are waaaaay far from retail kartia....check this video and see the differences :

https://www.youtube.com/watch?v=42JvupvDWUA

 

also, many things should be fixed, like loads of russian text in the NPC's and Community board after you change class.

also, you should improve the performance of the pack generally, I have 8gb ram, running mysql on ssd (Java aswell) and the pack loads for me in like 50 seconds?...

Istead, some other packs loads in 15-30 seconds.

 

thnx.

Posted

We know that instances are our "weak point" but we're only 2 ppl as main developers + 1 good contributor, we need to find more people who play on official servers and good programming skills that can help us.

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.




  • Posts

    • sell adena l2rebon signature x1 - 1kk = 1 dollars l2reborn x10 - 500kk = 4 dollars E-Global x Lu4 - 1kk = 2 dollars BOHPTS - x20-x500 TOP PRICE DISCORD - GODDARDSHOP TELEGRAM - MMOPROMO Also on sale are Epic jewelry, Clothes at a very good price
    • Hello Sorry, my Discord is: ave7309
    • “Hello, I’d like to present a short description of the server. Everyone starts equally at max level 80. The server includes a custom buffer, custom class master, custom weapons and armors, custom zones, custom teleporter, custom raid bosses, and much more. I’ll leave a link in the description for those who want to see how everything looks inside. The server is only open on weekends, and you can find more news via the Facebook link.”   https://www.facebook.com/profile.php?id=61578869175323
    • 1. You where subscriber 3 years ago. 2. There is no current L2jMobius 2.8 Seven Signs version. Subcriber or not. 3. You have your answer from multiple forums that more items is more delay.  
    • 1. Optimize Packet Serialization Look in ItemList.java or wherever the inventory packet is constructed. Instead of building the packet with inefficient string concatenation or repeated allocations, use a preallocated buffer and avoid creating new objects for each item. Mobius sources are Java-based, so profiling with something like VisualVM or YourKit can help see where most time is spent. 2. Avoid Sending the Full List Each Time Modify the server to send only changed items (diff packets) when the inventory window opens. Some newer forks implement this as “lazy loading” or paged inventory so the client only loads e.g. 100 items at a time. 3. Limit the Inventory Size Per Page Instead of showing all 500 slots at once, split the inventory into pages/tabs (100 slots each). When the user switches a tab, send only that page’s items. This requires some client-side editing, but it’s the most user-friendly long-term fix. 4. Database & Cache Optimizations Ensure your items table is indexed by owner_id to make the query for player items fast. Cache item templates and static data so they are not reloaded every time the inventory is shown. ⚠️ Things to Keep in Mind Increasing slots from 80 → 500 does not just change a number — it multiplies the workload for packet building and UI rendering. You can’t fully avoid some extra cost with 500 items, but you can keep it under a few milliseconds if you optimize how and when the data is sent.    
  • 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