$client->getx();
Im wondering if anyone else is having problems with this or the similar commands... Im very new to perl but know other languages.
I'm Running: 11-9-04 precomiled release 60dr2, active perl 5.8.4.810, mysql 4.0.22 , PEQ_Kunark Inside of /quest/default.pl im trying to get the players current location $client->getX(); $client->gety(); $client->getz(); so i can use that as an anchor to randomly spawn mobs around it ..currently im gettting a perl runtime error: cant call method "getX" on an undefined something or another , not at my computer at the moment... Any help with this issue would be greatly appreciated. Subere |
use $client->GetX() instead of $client->getX()
It makes a difference when coding in C++, i would assume its the same for perl integration. |
I'm sorry for not paying attention to what i was typing
$client->GetX(); is what i have been using im pretty sure. I will have to check once i get home. Any other possibilities? |
the precompiled versions do not include XS classes right now, so none of the $...->...() methods work in them. I dont see any other way to get that information right now either.
for now, if you want it, you need to build your own. I hope to turn on XS classes by default, once im sure it builds consistently on windows. |
i found the ifdef statement in the code about 10 minutes before you posted it... good deal... thanks for the hand, and keep up the good work..
Subere |
All times are GMT -4. The time now is 11:52 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.