Jump to content
  • 0

L2Off Gracia Final Rev83 Issues


Question

Posted

Hi everyone, thanks for taking the time to look at this.

 

First the stuff that works:

 

- I've installed the l2server_l2off_gracia_final_83 server files

- I've set up the MSSQL database

- cached is working correctly

- hAuthd is working correctly

 

I can start L2server correctly, but when I load npcdata.txt, I get a barrage of errors all saying this:

[.\ObjectDB.cpp][579] npc class count over (MAX=10000)

How come? My npcdata.txt is the original, untampered one. Am I doing something wrong, or did I miss something?

When I use a few different npcdata.txt files I've gathered, I'm able to pass this issue. But that causes a whole nother issue when I start the L2NPC server. I get so many errors, but mostly the same types. These are the issues:

superpointinfo.txt[4] : Undefined NPC[scribe_leandro]
superpointinfo.txt[5] : Undefined MOVE_TYPE[MoveSuperPoint_FollowRail]

and

Undefined precompiled name[bunch of names, mostly SEALs]

and

[.\PrecompiledHeaderDB.cpp][318] invalid skill_name_id[273612802] id[4175] level[2]
npc is using invalid skill name id. npc = [1025019], skill name id = [273612802]

I'm still able to run the L2NPC server reliably though, it just keeps hammering out those error messages. And it just can't be good, right?

 

Lastly, when I start L2Server and I get to Compute Clan Relation, I get a whole lot of these errors:

[d:\vss\globalbranch\branch\overseas\ct2_final_0121\program\server\l2server\Utils.h][255] Bit flag Index overflow

What can this be?

 

I appreciate any help I can get, this is really bugging me.

 

Thanks!

11 answers to this question

Recommended Posts

  • 0
Posted (edited)

Hi,

 

firstly DON'T USE UNPATCHED GRACIA FINAL. It's full of bugs - duplicating stackable items, duplicating adena, one packet to crash the server (RequestSkillEnchant with enchant type > 3), base stat (STR/DEX/CON/INT/WIT/MEN) stacking up to 99 through augmentation bug, lot of bugs with hide skill, trading untradable items via private store and lot of more :)

 

As for npc class count over (MAX=10000) - you need to increase max index. Every extender out there is able to do this. Your data is 100% NOT original because with original data it runs well.

 

As for Undefined NPC[scribe_leandro] - it's missing in npc_pch.txt

As for Undefined MOVE_TYPE[MoveSuperPoint_FollowRail] - it's missing in manual_pch.txt

As for Undefined precompiled name[bunch of names, mostly SEALs] - again something missing in _pch.txt files

 

As for Bit flag Index overflow - it's the max index again.

 

You should get some extender + some good data. One of possibilities is getting AdvExt64 Gracia Final (or Epilogue) demo (for free) and running the data with MyExt64 https://bitbucket.org/l2shrine/extender-public :)

Edited by eressea
  • 0
Posted (edited)

Thank you so much, that's exactly what I needed to hear.

 

Really appreciate it!

 

I was slowly going insane. Knowing the files aren't right gives me a second wind.

 

EDIT: Okay, I've got the new setup going now, with your extender. I'm still having trouble getting it to run though, but I'll look through your thread and see if I can find the cause of the issue. It crashes with the error: ItemDataChecker[1]: syntax error.

 

EDIT2: I managed to get the server going, as well as the NPC server now, thanks! I used the server files uploaded recently in your thread. The only issue I see now, are occasional errors in L2NPC. Is that common? I figure it's a geodata thing when it can't generate a random position

 

EDIT3: I can't seem to connect to the server from my client, even though I use 127.0.0.1 in the l2.ini. hAuthD gives me no messages at all. Any suggestions? I'm using the client from Shrine, I just changed the IP in the l2.ini. I'm looking so much forward to having a server that works so I can start modding.

Edited by DarkoDarko
  • 0
Posted

Thank you so much, that's exactly what I needed to hear.

 

Really appreciate it!

 

I was slowly going insane. Knowing the files aren't right gives me a second wind.

 

EDIT: Okay, I've got the new setup going now, with your extender. I'm still having trouble getting it to run though, but I'll look through your thread and see if I can find the cause of the issue. It crashes with the error: ItemDataChecker[1]: syntax error.

 

EDIT2: I managed to get the server going, as well as the NPC server now, thanks! I used the server files uploaded recently in your thread. The only issue I see now, are occasional errors in L2NPC. Is that common? I figure it's a geodata thing when it can't generate a random position

 

EDIT3: I can't seem to connect to the server from my client, even though I use 127.0.0.1 in the l2.ini. hAuthD gives me no messages at all. Any suggestions? I'm using the client from Shrine, I just changed the IP in the l2.ini. I'm looking so much forward to having a server that works so I can start modding.

for EDIT3 you can use this thing for testing...

place to system folder and rename l2.exe to l2.bin if not renamed already...

 

 

downloadurl.txt

  • 0
Posted

 

You should get some extender + some good data. One of possibilities is getting AdvExt64 Gracia Final (or Epilogue) demo (for free) and running the data with MyExt64 https://bitbucket.org/l2shrine/extender-public :)

 

Do You even try? It is impossible, AdvExt are not morons, they rebuild structure of project, renamed skills, switched exe with dll and more.

  • 0
Posted

Do You even try? It is impossible, AdvExt are not morons, they rebuild structure of project, renamed skills, switched exe with dll and more.

 

I'm almost sure it works if you remove TvT stuff (it works with AdvExt64 Epilogue data someone sent me - was not demo but the data should be the very same)

  • 0
Posted

I'm almost sure it works if you remove TvT stuff (it works with AdvExt64 Epilogue data someone sent me - was not demo but the data should be the very same)

Nothing is for sure. I checked Interlude demo - is different form full version, seems more like old Vanganath files.

In GF some from errors are patched throught dll, I found old L2Sublimity files, the only one who run without errors, custom dll,  but  extender is without sources, useless for me.

AdveExt GF + exe form euro pack + MyExt64 - after some tweaking, with yours suggestions,  only server runs without errors, but NPC server throw many errors blabling something about missing database npc index - most of them, more than 50%.

  • 0
Posted (edited)

Nothing is for sure. I checked Interlude demo - is different form full version, seems more like old Vanganath files.

In GF some from errors are patched throught dll, I found old L2Sublimity files, the only one who run without errors, custom dll,  but  extender is without sources, useless for me.

AdveExt GF + exe form euro pack + MyExt64 - after some tweaking, with yours suggestions,  only server runs without errors, but NPC server throw many errors blabling something about missing database npc index - most of them, more than 50%.

ure funny  rly...  if you change stuff  u must change also AI.OBJ

 

laters...

 

btw search  99nets files are somewhere they did C5  and other Gracia Final too

 

Edited by etherian
  • 0
Posted

ure funny  rly...  if you change stuff  u must change also AI.OBJ

 

 

Rly, this idea about ai.obj come from?

I never mentioned about mixing script folder, only switching exe and remove few lines with custom pvp stuff from pack

ai.obj is a part of scripts.

  • 0
Posted (edited)

Rly, this idea about ai.obj come from?

I never mentioned about mixing script folder, only switching exe and remove few lines with custom pvp stuff from pack

ai.obj is a part of scripts.

 

(but NPC server throw many errors blabling something about missing database npc index)

can you post error log pls...  othewise noone will be able to help u

blabing error  does not mean anything... be specific or do not w8 for magic help

 

ai.obj works with npc 

functions are handle by server

 

if u change something be sure to change everything related to it in order to get all running...

 

 

laters

Edited by etherian
  • 0
Posted (edited)

can you post error log pls... othewise noone will be able to help u

blabing error does not mean anything... be specific or do not w8 for magic help

laters

We've already discussed it via PM. The problem is you must use patched l2npc as well (vanilla l2npc does work only with gracia final; patched means it uses MyExt64.dll)

 

http://download.l2shrine.com/L2NPCMyExt64.exe

Edited by eressea
  • 0
Posted

We've already discussed it via PM. The problem is you must use patched l2npc as well (vanilla l2npc does work only with gracia final; patched means it uses MyExt64.dll)

 

http://download.l2shrine.com/L2NPCMyExt64.exe

k then mark solved haha

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • what pack you use  send me on discord for it
    • package custom.events.RandomZoneEvent; import java.io.File; import java.util.ArrayList; import java.util.List; import java.util.Random; import java.util.concurrent.ScheduledFuture; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.l2jmobius.commons.threads.ThreadPool; import org.l2jmobius.commons.time.SchedulingPattern; import org.l2jmobius.commons.time.TimeUtil; import org.l2jmobius.commons.util.IXmlReader; import org.l2jmobius.gameserver.managers.ZoneManager; import org.l2jmobius.gameserver.model.StatSet; import org.l2jmobius.gameserver.model.actor.Creature; import org.l2jmobius.gameserver.model.actor.Npc; import org.l2jmobius.gameserver.model.actor.Player; import org.l2jmobius.gameserver.model.quest.Event; import org.l2jmobius.gameserver.model.zone.ZoneId; import org.l2jmobius.gameserver.model.zone.ZoneType; import org.l2jmobius.gameserver.model.zone.type.RandomZone; import org.l2jmobius.gameserver.util.Broadcast; /** * Random Zone Event - Activates one random PvP zone temporarily. No modifica la clase de la zona: usa flags PvP en runtime. * @author Juan */ public class RandomZoneEvent extends Event { private static final String CONFIG_FILE = "data/scripts/custom/events/RandomZoneEvent/config.xml"; private static int EVENT_DURATION_MINUTES = 15; private static boolean _isActive = false; private ScheduledFuture<?> _eventTask = null; private final List<ZoneType> _availableZones = new ArrayList<>(); private ZoneType _activeZone = null; public RandomZoneEvent() { loadConfig(); loadZones(); registerZoneListeners(); } /** * Registra listeners a TODAS LAS ZONAS random */ private void registerZoneListeners() { for (ZoneType zone : _availableZones) { addEnterZoneId(zone.getId()); addExitZoneId(zone.getId()); LOGGER.info("[RandomZoneEvent] Registered listener for zone: " + zone.getName()); } } private void loadConfig() { new IXmlReader() { @Override public void load() { parseDatapackFile(CONFIG_FILE); } @Override public void parseDocument(Document doc, File file) { forEach(doc, "event", eventNode -> { final StatSet att = new StatSet(parseAttributes(eventNode)); final String name = att.getString("name"); for (Node node = eventNode.getFirstChild(); node != null; node = node.getNextSibling()) { if ("schedule".equals(node.getNodeName())) { final StatSet attributes = new StatSet(parseAttributes(node)); final String pattern = attributes.getString("pattern"); final SchedulingPattern schedulingPattern = new SchedulingPattern(pattern); final StatSet params = new StatSet(); params.set("Name", name); params.set("SchedulingPattern", pattern); final long delay = schedulingPattern.getDelayToNextFromNow(); getTimers().addTimer("Schedule_" + name, params, delay + 5000, null, null); LOGGER.info("[RandomZoneEvent] Event " + name + " scheduled at " + TimeUtil.getDateTimeString(System.currentTimeMillis() + delay)); } } }); } }.load(); } private void loadZones() { for (ZoneType zone : ZoneManager.getInstance().getAllZones(RandomZone.class)) { if ((zone.getName() != null) && zone.getName().toLowerCase().startsWith("random_zone")) { _availableZones.add(zone); LOGGER.info("[RandomZoneEvent] Loaded zone: " + zone.getName() + " (id=" + zone.getId() + ")"); } } LOGGER.info("[RandomZoneEvent] Total random zones loaded: " + _availableZones.size()); } @Override public void onTimerEvent(String event, StatSet params, Npc npc, Player player) { if (event.startsWith("Schedule_")) { eventStart(null); final SchedulingPattern schedulingPattern = new SchedulingPattern(params.getString("SchedulingPattern")); final long delay = schedulingPattern.getDelayToNextFromNow(); getTimers().addTimer(event, params, delay + 5000, null, null); LOGGER.info("[RandomZoneEvent] Rescheduled for " + TimeUtil.getDateTimeString(System.currentTimeMillis() + delay)); } } @Override public boolean eventStart(Player eventMaker) { if (_isActive) { if (eventMaker != null) { eventMaker.sendMessage("RandomZoneEvent already active."); } return false; } if (_availableZones.isEmpty()) { Broadcast.toAllOnlinePlayers("[RandomZoneEvent] No zones configured."); return false; } _isActive = true; Broadcast.toAllOnlinePlayers("⚔️ Random Zone Event has started!"); _eventTask = ThreadPool.schedule(this::activateRandomZone, 5_000); return true; } private void activateRandomZone() { _activeZone = _availableZones.get(new Random().nextInt(_availableZones.size())); _activeZone.setEnabled(true); Broadcast.toAllOnlinePlayers("🔥 Random Zone Event: " + _activeZone.getName() + " is now PvP for " + EVENT_DURATION_MINUTES + " minutes!"); _eventTask = ThreadPool.schedule(this::eventStop, EVENT_DURATION_MINUTES * 60 * 1000L); } @Override public boolean eventStop() { if (!_isActive) { return false; } _isActive = false; if (_eventTask != null) { _eventTask.cancel(true); _eventTask = null; } if (_activeZone != null) { _activeZone.setEnabled(false); Broadcast.toAllOnlinePlayers("🏁 Random Zone Event ended. " + _activeZone.getName() + " is back to normal."); _activeZone = null; } else { Broadcast.toAllOnlinePlayers("🏁 Random Zone Event ended."); } return true; } @Override public void onEnterZone(Creature creature, ZoneType zone) { if (!_isActive || (_activeZone == null)) { return; } if ((zone == _activeZone) && creature.isPlayable()) { creature.setInsideZone(ZoneId.PVP, true); if (creature.isPlayer()) { creature.sendMessage("Esta zona está en modo PvP temporalmente."); } } } @Override public void onExitZone(Creature creature, ZoneType zone) { if (!_isActive || (_activeZone == null)) { return; } if ((zone == _activeZone) && creature.isPlayable()) { creature.setInsideZone(ZoneId.PVP, false); if (creature.isPlayer()) { creature.sendMessage("Abandonaste la zona PvP temporal."); } } } @Override public boolean eventBypass(Player player, String bypass) { return true; } @Override public String onEvent(String event, Npc npc, Player player) { return super.onEvent(event, npc, player); } @Override public String onFirstTalk(Npc npc, Player player) { return null; } public static void main(String[] args) { new RandomZoneEvent(); } } i have this but its not working
    • ZonePvPSpawnBossRadio=0 ZonePvPSpawnBossBarakiel=0 at the Customs.ini in L2Server folder. Im prety sure this is it because i had the same problem with you in cruma 1 floor for example and i couldn't fix it but i fixed it finally by changing these 2 lines
  • 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