PDA

View Full Version : Useless use of private variable in void context?


Chanus
12-17-2010, 01:53 PM
So, I got EQEmuLoginServer.exe to work by completely deleting everything and uninstalling/reinstalling MySQL and Perl. Yay. Now, when I get to server select, there's no server listed and EQEmuLoginServer.exe crashes.

I'm getting this error now:


[12.17. - 12:36:36] Useless use of private variable in void context
at plugins/formation_tools.pl line 364.


In this context:



[12.17. - 12:36:36] Starting Log: logs/eqemu_quest_zone_2288.log
[12.17. - 12:36:36] Tying perl output to eqemu logs
[12.17. - 12:36:36] Creating EQEmuIO=HASH(0x335f954)
[12.17. - 12:36:36] Creating EQEmuIO=HASH(0x33518b4)
[12.17. - 12:36:36] Loading perlemb plugins.
[12.17. - 12:36:36] Unable to read perl file 'plugin.pl'
[12.17. - 12:36:36] Useless use of private variable in void context
at plugins/formation_tools.pl line 364.
[12.17. - 12:36:36] Subroutine Cwd::fastcwd redefined at
E:/Perl/lib/Cwd.pm line 812.
[12.17. - 12:36:36] Subroutine Cwd::getcwd redefined at
E:/Perl/lib/Cwd.pm line 812.
[12.17. - 12:36:36] Subroutine Cwd::abs_path redefined at
E:/Perl/lib/Cwd.pm line 812.
[12.17. - 12:36:36] Subroutine CalcDestFromHeading redefined
at plugins/path_tools.pl line 222.
[12.17. - 12:36:36] Loading perl commands...
[12.17. - 12:36:36] Unable to read perl file 'commands.pl'
[12.17. - 12:37:49] Terminating on signal SIGHUP(1)


I go to line 364 in formation_tools.pl and it's the closed bracket of a for loop:


358: for ($RowNum; $RowNum < $Rows; $RowNum++)
359: {
360: #plugin::Debug("Row $RowNum");
361: my $NewZ = $MainNPC->FindGroundZ($NewX, $NewY, $MaxZDiff);
362: quest::spawn2($NPCID, 0, 0, $NewX, $NewY, $NewZ, $Heading);
363: $NewX = $NewX + $Distance;
364: }


wut?


Also, I'm seeing in eqemu_debug:


[12.17. - 12:36:32] [LAUNCHER__ERROR] You must specfify a launcher name
as the first argument to this program.


What the crap?

Halp!

Chanus
12-17-2010, 03:30 PM
I'm also getting an error from EQEmuLoginServer.exe at the Server Select screen:


HEAP CORRUPTION DETECTED: after Normal block (#582) at 0x009A4488.
CRT detected that the application wrote to memory after end of heap buffer


But if I click Ignore my server then appears and I can log in just fine. I get the same error as I'm logging out.