NPC time

Page 2 of 2 FirstFirst 12
Results 16 to 29 of 29
  1. #16
    Member Beckupgaming is offline
    MemberRank
    Apr 2022 Join Date
    Buxtehude (DE)Location
    87Posts
    i have an Aion-Core-v4.7.5-master SRC, but without Geo inside XD weird, do you work with the source or only with a compiled one?

  2. #17
    Member selgro is offline
    MemberRank
    Sep 2019 Join Date
    65Posts
    Quote Originally Posted by Beckupgaming View Post
    i have an Aion-Core-v4.7.5-master SRC, but without Geo inside XD weird, do you work with the source or only with a compiled one?

    I'm working with the src file that I have how to fix, I'm just looking for what causes it to duplicate maps at startup.

  3. #18
    Member Beckupgaming is offline
    MemberRank
    Apr 2022 Join Date
    Buxtehude (DE)Location
    87Posts
    Quote Originally Posted by selgro View Post
    I'm working with the src file that I have how to fix, I'm just looking for what causes it to duplicate maps at startup.
    yeah hard to reproduce for me now XD If i duplicate the xml in my 3.9 src, i became only 1 Eltnen spawn, maybe an src error? Is this Problem from day 1 on your Server? Or do you change something inside the src for spawns?

    I only know the Problem from a wrong written temp spawn in xml or from the //time admincommand, or with //reload_spawn all

    Here is a test with //reload_spawn all and after this //time 3

    https://postimg.cc/hhBkv5VN

    And stop Server and delete the cache folder before startup is sometimes a good choice XD
    https://postimg.cc/WdTz78Ry

    Respawn at 04:00 makes some Problems from my reload and my time change:
    https://postimg.cc/jD1Vjqhh
    Last edited by Beckupgaming; 1 Week Ago at 08:33 AM.

  4. #19
    Member selgro is offline
    MemberRank
    Sep 2019 Join Date
    65Posts
    Quote Originally Posted by Beckupgaming View Post
    yeah hard to reproduce for me now XD If i duplicate the xml in my 3.9 src, i became only 1 Eltnen spawn, maybe an src error? Is this Problem from day 1 on your Server? Or do you change something inside the src for spawns?

    I only know the Problem from a wrong written temp spawn in xml or from the //time admincommand, or with //reload_spawn all

    Here is a test with //reload_spawn all and after this //time 3

    https://postimg.cc/hhBkv5VN

    And stop Server and delete the cache folder before startup is something a good choice XD
    https://postimg.cc/WdTz78Ry

    Respawn at 04:00 makes some Problems from my reload and my time change:
    https://postimg.cc/jD1Vjqhh
    This error has been present from the beginning.

  5. #20
    Member Beckupgaming is offline
    MemberRank
    Apr 2022 Join Date
    Buxtehude (DE)Location
    87Posts
    ok, this is weird XD I setup my 475 now for a test

    - - - Updated - - -

    08:54:22.777 INFO [main]: - Spawned 220020000 [1] : 7732
    08:54:22.873 INFO [main]: - Spawned 220020000 [2] : 7732
    08:54:22.966 INFO [main]: - Spawned 220020000 [3] : 7732
    08:54:23.061 INFO [main]: - Spawned 220020000 [4] : 7732
    08:54:23.152 INFO [main]: - Spawned 220020000 [5] : 7732
    08:54:23.248 INFO [main]: - Spawned 220020000 [6] : 7732

    yes lol, wtf XD there is something broken inside XD Same on my src XD

  6. #21
    Member selgro is offline
    MemberRank
    Sep 2019 Join Date
    65Posts
    Quote Originally Posted by Beckupgaming View Post
    ok, this is weird XD I setup my 475 now for a test

    - - - Updated - - -

    08:54:22.777 INFO [main]: - Spawned 220020000 [1] : 7732
    08:54:22.873 INFO [main]: - Spawned 220020000 [2] : 7732
    08:54:22.966 INFO [main]: - Spawned 220020000 [3] : 7732
    08:54:23.061 INFO [main]: - Spawned 220020000 [4] : 7732
    08:54:23.152 INFO [main]: - Spawned 220020000 [5] : 7732
    08:54:23.248 INFO [main]: - Spawned 220020000 [6] : 7732

    yes lol, wtf XD there is something broken inside XD Same on my src XD
    That's why I asked if anyone had experienced this before.

  7. #22
    Member Beckupgaming is offline
    MemberRank
    Apr 2022 Join Date
    Buxtehude (DE)Location
    87Posts
    09:05:56.327 INFO [main]: - Spawned 210010000 [1] : 1144
    09:05:56.583 INFO [main]: - Spawned 210020000 [1] : 6731
    09:05:56.653 INFO [main]: - Spawned 210030000 [1] : 2911
    09:05:56.901 INFO [main]: - Spawned 210040000 [1] : 8529

    after some Edit. Not tested, bcs i dont have an Client at the moment, but log looks good now

    - - - Updated - - -

    Go edit SpawnEngine.java in your SRC and test this pls:

    Code:
        private static void spawnBasedOnTemplate(WorldMapTemplate worldMapTemplate) {
            int maxTwin = worldMapTemplate.getTwinCount();
            final int mapId = worldMapTemplate.getMapId();
            int numberToSpawn = maxTwin > 0 ? maxTwin : 1;
    
            for (int instanceId = 1; instanceId <= numberToSpawn; instanceId++) {
                spawnInstance(mapId, instanceId, (byte) 0);
            }
            /*int twinSpawns = worldMapTemplate.getTwinCount();
            if (twinSpawns == 0) {
                twinSpawns = 1;
            }
            twinSpawns += worldMapTemplate.getBeginnerTwinCount();
            final int mapId = worldMapTemplate.getMapId();
    
            for (int instanceId = 1; instanceId <= twinSpawns; instanceId++) {
                spawnInstance(mapId, instanceId, (byte) 0);
            }*/
        }
    I cant test this, i have no Client and only a mobile Internet Connection XD So Download can take a while. I dont know why this Code Snippet is different with this twinSpawns += worldMapTemplate.getBeginnerTwinCount()

    But pls, dont trust me 100% XD Im a beginner in Java, i only paste in from my SRC now and this is working on startup XD I cant say what will happen if you enter the World XD

    Or look in your Config
    Code:
    public int getBeginnerTwinCount() {
            if (WorldConfig.WORLD_MAX_TWINS_BEGINNER == 0) {
                return beginnerTwinCount;
            } else if (WorldConfig.WORLD_MAX_TWINS_BEGINNER == -1) { // disabled
                return 0;
            }
            return Math.min(WorldConfig.WORLD_MAX_TWINS_BEGINNER, beginnerTwinCount);
        }
    But seems this is for the Beginner/Fasttrack Server, so all looks good normaly with spawn more xmls
    Last edited by Beckupgaming; 1 Week Ago at 09:29 AM.

  8. #23
    Member selgro is offline
    MemberRank
    Sep 2019 Join Date
    65Posts
    Quote Originally Posted by Beckupgaming View Post
    09:05:56.327 INFO [main]: - Spawned 210010000 [1] : 1144
    09:05:56.583 INFO [main]: - Spawned 210020000 [1] : 6731
    09:05:56.653 INFO [main]: - Spawned 210030000 [1] : 2911
    09:05:56.901 INFO [main]: - Spawned 210040000 [1] : 8529

    after some Edit. Not tested, bcs i dont have an Client at the moment, but log looks good now

    - - - Updated - - -

    Go edit SpawnEngine.java in your SRC and test this pls:

    Code:
        private static void spawnBasedOnTemplate(WorldMapTemplate worldMapTemplate) {
            int maxTwin = worldMapTemplate.getTwinCount();
            final int mapId = worldMapTemplate.getMapId();
            int numberToSpawn = maxTwin > 0 ? maxTwin : 1;
    
            for (int instanceId = 1; instanceId <= numberToSpawn; instanceId++) {
                spawnInstance(mapId, instanceId, (byte) 0);
            }
            /*int twinSpawns = worldMapTemplate.getTwinCount();
            if (twinSpawns == 0) {
                twinSpawns = 1;
            }
            twinSpawns += worldMapTemplate.getBeginnerTwinCount();
            final int mapId = worldMapTemplate.getMapId();
    
            for (int instanceId = 1; instanceId <= twinSpawns; instanceId++) {
                spawnInstance(mapId, instanceId, (byte) 0);
            }*/
        }
    I cant test this, i have no Client and only a mobile Internet Connection XD So Download can take a while. I dont know why this Code Snippet is different with this twinSpawns += worldMapTemplate.getBeginnerTwinCount()

    But pls, dont trust me 100% XD Im a beginner in Java, i only paste in from my SRC now and this is working on startup XD I cant say what will happen if you enter the World XD

    Or look in your Config
    Code:
    public int getBeginnerTwinCount() {
            if (WorldConfig.WORLD_MAX_TWINS_BEGINNER == 0) {
                return beginnerTwinCount;
            } else if (WorldConfig.WORLD_MAX_TWINS_BEGINNER == -1) { // disabled
                return 0;
            }
            return Math.min(WorldConfig.WORLD_MAX_TWINS_BEGINNER, beginnerTwinCount);
        }
    But seems this is for the Beginner/Fasttrack Server, so all looks good normaly with spawn more xmls
    Thanks a lot, it works fine now :)




  9. #24
    Member Beckupgaming is offline
    MemberRank
    Apr 2022 Join Date
    Buxtehude (DE)Location
    87Posts
    Quote Originally Posted by selgro View Post
    Thanks a lot, it works fine now :)



    Yeah but normally these setting is for the Fast Track Server, ive found an 4.7.5 on my NAS Xd im testing now

    - - - Updated - - -

    https://postimg.cc/BLSWmJxW

    Its an Config Error or so, i dont know, working good for me now on 4.7.5

    Edit in World config:
    Code:
    # Max number of beginners twin count. If set to 0, values from world_maps.xml are used
    # Default: -1 - disabled
    gameserver.world.max.twincount.beginner = -1
    Set to -1 and disable this and set the SRC Code you have changed back to old method and done

  10. #25
    Member selgro is offline
    MemberRank
    Sep 2019 Join Date
    65Posts
    Quote Originally Posted by Beckupgaming View Post
    Yeah but normally these setting is for the Fast Track Server, ive found an 4.7.5 on my NAS Xd im testing now

    - - - Updated - - -

    https://postimg.cc/BLSWmJxW

    Its an Config Error or so, i dont know, working good for me now on 4.7.5

    Edit in World config:
    Code:
    # Max number of beginners twin count. If set to 0, values from world_maps.xml are used
    # Default: -1 - disabled
    gameserver.world.max.twincount.beginner = -1
    Set to -1 and disable this and set the SRC Code you have changed back to old method and done

    Ok, it works, but there is a problem with the npc resp with a given poże, some should disappear and the expensive ones should show up, and this is not the case.

  11. #26
    Member Beckupgaming is offline
    MemberRank
    Apr 2022 Join Date
    Buxtehude (DE)Location
    87Posts
    some npcs have 4-21 and the other 21-4 hour to spawn, what is wrong now?
    For me this was working on this Server at 21h

    Code:
      <!-- Raging Obscura -->
      <spawn npc_id="211844" respawn_time="295">
       <temporary_spawn/>
       <spot x="1489.83" y="485.057" z="358.647" h="33">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1414.14" y="390.328" z="366.229" h="65" random_walk="10">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1404.38" y="404.856" z="366.524" h="35" random_walk="10">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1432.46" y="442.987" z="363.842" h="55" random_walk="8">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1493.92" y="454.717" z="361.965" h="56">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1402.76" y="428.864" z="365.047" h="45" random_walk="8">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1437.8" y="455.636" z="362.623" h="11" random_walk="8">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1499.81" y="423.346" z="364.25" h="97">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1527.13" y="465.534" z="360.488" h="109" random_walk="10">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1451.72" y="378.271" z="365.716" h="46">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1520.05" y="439.187" z="360.923" h="6" random_walk="10">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1414.91" y="447.708" z="364.211" h="83" random_walk="16">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1473.96" y="390.129" z="367.112" h="85">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
       <spot x="1476.62" y="486.294" z="360.511" h="40" random_walk="10">
        <temporary_spawn spawn_time="21.*.*" despawn_time="4.*.*"/>
       </spot>
      </spawn>
    And then use this, is better, for the other Method you need edit the temp spawn inside the SRC to let all location despawn at the same time


    Maybe you can copy something out of my spawns/npcs Folder, comes from my 3.9 Server:
    https://www.mediafire.com/file/n8evu...Up_v1.rar/file
    Last edited by Beckupgaming; 1 Week Ago at 11:00 AM.

  12. #27
    "One day at a time" Robyson is offline
    [VIP] MemberRank
    Sep 2013 Join Date
    TzionLocation
    1,857Posts
    Quote Originally Posted by selgro View Post
    4.7.5 Emu
    Many fixes need to be done in 4.7.5 Emu,
    a good challenge for those who want to learn more,
    because it goes far beyond simple 3.5 files

    Good luck!!

    - - - Updated - - -

    Some fixes need to be made to npc_walker.

  13. #28
    Member Beckupgaming is offline
    MemberRank
    Apr 2022 Join Date
    Buxtehude (DE)Location
    87Posts
    i wonder now how to connect to the Fasttrack Server XD Must i start a secon gameserver with ID 2 for this? But then it shows on Server Selection, changing ingame was not possible for me on the 4.7.5 Server XD

  14. #29
    "One day at a time" Robyson is offline
    [VIP] MemberRank
    Sep 2013 Join Date
    TzionLocation
    1,857Posts
    Quote Originally Posted by Beckupgaming View Post
    i wonder now how to connect to the Fasttrack Server XD Must i start a secon gameserver with ID 2 for this? But then it shows on Server Selection, changing ingame was not possible for me on the 4.7.5 Server XD
    For this version i don't remember, but in 4.6 AionGer it works
    and in my 5.8 too, i think or i don't remember



Page 2 of 2 FirstFirst 12

Advertisement