It's a fine pack and everything works good,except registring accounts from the website.
When i go to template register it shows me this error:
Warning: main(classes/objects/Character.php) [function.main]: failed to open stream: No such file or directory in M:\www\acm\classes\AccountManager.php on line 39
Fatal error: main() [function.require]: Failed opening required 'classes/objects/Character.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in M:\www\acm\classes\AccountManager.php on line 39
I tried to figure it out by myself but i didnt manage it (as i am a newbie) :P .
I also searched in the forum but didnt come out with smt useful.
Remove the if part of the code:
if (template.isType("L2RaidBoss"))
{
spawn.setRespawnMinDelay(43200);
spawn.setRespawnMaxDelay(129600);
RaidBossSpawnManager.getInstance().addNewSpawn(spawn, 0, template.getBaseHpMax(), template.getBaseMpMax(), permanent);
}
else
{
SpawnTable.getInstance().addNewSpawn(spawn, permanent);
spawn.init();
}
if (!permanent)
{
spawn.stopRespawn();
}
activeChar.sendMessage("Created " + template.getName() + " on " + target.getObjectId());
Hello, i use L2jSunrise, and i want to know how i can edit these lines to have possibility to spawn more than 1 raid ( instance )?
if (RaidBossSpawnManager.getInstance().isDefined(spawn.getId()))
{
activeChar.sendMessage("You cannot spawn another instance of " + template.getName() + ".");
}
else
{
if (template.isType("L2RaidBoss"))
{
spawn.setRespawnMinDelay(43200);
spawn.setRespawnMaxDelay(129600);
RaidBossSpawnManager.getInstance().addNewSpawn(spawn, 0, template.getBaseHpMax(), template.getBaseMpMax(), permanent);
}
else
{
SpawnTable.getInstance().addNewSpawn(spawn, permanent);
spawn.init();
}
if (!permanent)
{
spawn.stopRespawn();
}
activeChar.sendMessage("Created " + template.getName() + " on " + target.getObjectId());
}
Question
mentor_
Hallo guys,
I recently downloaded this pack http://www.maxcheaters.com/forum/index.php?topic=17722.0
It's a fine pack and everything works good,except registring accounts from the website.
When i go to template register it shows me this error:
Warning: main(classes/objects/Character.php) [function.main]: failed to open stream: No such file or directory in M:\www\acm\classes\AccountManager.php on line 39
Fatal error: main() [function.require]: Failed opening required 'classes/objects/Character.php' (include_path='.;/usr/local/PHP/includes;/usr/local/PHP/pear') in M:\www\acm\classes\AccountManager.php on line 39
I tried to figure it out by myself but i didnt manage it (as i am a newbie) :P .
I also searched in the forum but didnt come out with smt useful.
Your help would mean a lot to me.
Thanks in advance.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts