crash due to server not sending info about master's homunculus
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 1.5k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Openkore version git
what-will-become-2.1 ctime:2025_08_02
XKore Mode
XKore 3
RO Server Name
ROla
Link to RO server
Result
Openkore crashes when you use any "homun" command due to the server not sending any info on the homunculus, so Kore thinks the slave is dead thus removing from slave manager.
Relevant Log Output
OpenKore version what-will-become-2.1
@ai_seq = NPC route
Network state = 5
Network handler = Network::XKoreProxy
Revision: ctime:2025_08_02
Loaded plugins:
plugins/eventMacro/eventMacro.pl (eventMacro; description: allows usage of eventMacros)
plugins/item_weight_recorder/item_weight_recorder.pl (item_weight_recorder; description: item_weight_recorder plugin)
plugins/LatamChecksum/LatamChecksum.pl (LatamChecksum; description: Latam checksum for xKore 3)
plugins/LATAMTranslate/LATAMTranslate.pl (LATAMTranslate; description: Fixes issues with localized strings.)
plugins/macro/macro.pl (macro; description: allows usage of macros)
plugins/map/map.pl (map; description: map)
plugins/mapNormalizer/mapNormalizer.pl (mapNormalizer; description: Normalizes map names like izlude_a => izlude)
plugins/mobName/mobName.pl (mobName; description: Replaces monster names using mob_db.txt)
plugins/npcName/npcName.pl (npcName; description: Tradução de NPCs)
plugins/otp/otp.pl (otp; description: Handles OTP requests by generating TOTP)
plugins/profiles/profiles.pl (profiles; description: Profiles Selector)
plugins/raiseSkill/raiseSkill.pl (raiseSkill; description: adiciona pontos de habilidade automaticamente)
plugins/raiseStat/raiseStat.pl (raiseStat; description: adiciona pontos de atributo automaticamente)
plugins/reconnect/reconnect.pl (reconnect; description: v1.0)
plugins/xConf/xConf.pl (xConf; description: commands for change items_control, mon_control, pickupitems, priority)
Error message:
Can't call method "isa" on an undefined value at src/Commands.pm line 2924.
Stack trace:
Can't call method "isa" on an undefined value at src/Commands.pm line 2924.
at src/Commands.pm line 2924
Commands::cmdSlave('homun', 'feed Vanilmirth') called at src/Commands.pm line 892
Commands::run('homun feed Vanilmirth') called at src/functions.pl line 1112
main::parseInput('homun feed Vanilmirth') called at src/functions.pl line 63
main::mainLoop() called at src/Interface.pm line 75
Interface::mainLoop('Interface::Console::Win32=HASH(0x3984c5c)') called at openkore.pl line 97
main::__start() called at start.pl line 136
Interrompido nestá linha:
* if ($slave->isa("AI::Slave::Homunculus") && $slave->{homunculus_info}{vaporized}) {
my $skill = new Skill(handle => 'AM_CALLHOMUN');
Expected Result
homun feed
Erro: Nenhum slave detectado.
Desconectando-se (172.65.166.8:22019)...desconectado
Checksum disabled on server disconnect.
Este programa encontrou um problema inesperado. Isto aconteceu provavelmente por causa de uma atualização recente do
servidor, um bug no programa ou em um dos plugins. Pedimos desculpas. Você pode pedir suporte no IRC ou nos fóruns.
Um relatório detalhado foi salvado no errors.txt na pasta raiz. Antes de reportar um bug, por favor experimente a
última versão no GIT. Se você já está utilizando a última versão no GIT, pesquise nos fóruns primeiro para ver se seu
problema já tem uma solução ou se já foi reportado. Se você realmente acredita que entrou um bug no programa, por favor
inclua o errors.txt no seu bug report (https://github.com/openkore/openkore/issues), ou não seremos capazes de ajudar!
A mensagem de erro é:
Can't call method "isa" on an undefined value at src/Commands.pm line 2924.
How to Reproduce
Stated in description.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/Commands.pm line 2924 and trace the homun command path shown in the stack trace, reproducing it in XKore 3 against ROla. Check how the missing homunculus information is handled before the isa call. Done means homun commands no longer crash when the server provides no master-homunculus data and the expected no-slave response is shown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100