EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   commands.pl (https://www.eqemulator.org/forums/showthread.php?t=17056)

mrea 11-18-2004 09:47 AM

commands.pl
 
Didn't really know where to post this.. but I need to know where to find commands.pl? Did multiple searches (including google) but no luck. Thanks ahead of time.

Cisyouc 11-18-2004 10:16 AM

You make one.

Example of one:
Code:

sub commands_init
{
  command_add("killself", "- Kills yourself.", 0);
}
sub killself
{
  $client->Kill();
}


Xorith 11-18-2004 10:27 AM

Why does it tell me "$client" isn't a valid variable? :P

mrea 11-18-2004 10:41 AM

If i did that it wouldn't be anything different than what a perl server would have been before the addition of this right?

Cisyouc 11-18-2004 02:03 PM

Quote:

Originally Posted by Xorith
Why does it tell me "$client" isn't a valid variable? :P

Because you are using a precompile which doesnt have XS Classes defined?

Xorith 11-18-2004 02:13 PM

I'm compiling from the CVS on a Linux box actually.

I simply did this in my Source/zone:

mv makefile makefile.bak
cp makefile.perl makefile

Then I did my make.

Cisyouc 11-18-2004 02:40 PM

Line 50 in features.h:
Code:

//#define EMBPERL_XS_CLASS
Uncomment it, compile.


All times are GMT -4. The time now is 06:41 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.