Searching hook..

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Searching hook..

Post by BELL »

for this:
Image
))
Luth
Former Developer
Posts: 200
Joined: Mon Jan 30, 2006 8:10 am

Re: Searching hook..

Post by Luth »

If you mean you're searching for a hook to let you send your own stats, there's a statHook.src in the Distro.

Packet 0x11
{
Length variable
SendFunction sendStats:HandleSendStats
}
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: Searching hook..

Post by BELL »

Luth wrote:If you mean you're searching for a hook to let you send your own stats, there's a statHook.src in the Distro.

Packet 0x11
{
Length variable
SendFunction sendStats:HandleSendStats
}
statcap, pets, luck, weigth, maxweight and another?
sorry, 96 distro
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Re: Searching hook..

Post by Yukiko »

Bell,

You might consider moving up to the 0.97 Core only because there is no active development on 0.06 Distro and by moving to 0.97 Core you can implement some of the 0.97 Distro scripts maybe.

Sorry for being off-topic.
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: Searching hook..

Post by BELL »

Yukiko,
I ask not to apologise, you are absolutely right. But those scripts that at me are already absolutely not similar on Distro 96, and at thought on their carrying over on 97 at me hair rise on end. It is possible Though to try certainly - I yet did not try. Thanks!
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Re: Searching hook..

Post by Yukiko »

Yes, I understand. My hair didn't stand on end but I did lose a lot of hair from pulling so hard on it.
*smiles*

I assume you are working with either 0.95 Distro converted to 0.96 or else maybe Zulu or World of Dreams converted. I want to let you know that it is possible to integrate some of the 0.97 Distro into other script system without too much trouble. For example, I love the new gumps for the .go and .info commands so I did integrate those into my POL 0.95 Distro based shard. There is a lot of things I had to "kluge" in to make them work until I can fully get away from SKILL_IDs to ATTRIBUTE_IDs but some of the other things might be easier. In particular the packethook Luth referenced may not be too hard. I have never worked on packethooks so I really don't know.

Anyway, good luck.
BELL
Journeyman Poster
Posts: 68
Joined: Tue Apr 22, 2008 6:09 am

Re: Searching hook..

Post by BELL »

I have begun one year ago with 096 Distro, downloaded from here, with this site. At that time already there was 097 kernel and Distro 97, but much there did not work. If I knew that anyhow прийдется all to alter, I would begin with 097, but already late:). But all the same прийдется to pass on 97, anyhow. Sooner or later. And it is better to attend to it now... I Will go to search for the information:)
Post Reply