How to make character slow moving?

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Harley
Forum Regular
Posts: 311
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

How to make character slow moving?

Post by Harley » Tue Sep 25, 2018 12:17 pm

Hello my lovely POL community!
I don't know, am I returned to this thanklessly hobby, but..
How to make character slow moving? I'm interested in this situation and don't know how to realize it.
With best regards)

guialtran
Master Poster
Posts: 98
Joined: Wed Jul 30, 2008 12:42 pm

Re: How to make character slow moving?

Post by guialtran » Wed Oct 03, 2018 12:34 pm

the customer was prepared to walk with 2 speeds.
running with the legs
and running on a mount.

What do you mean slow?
@CronosKing

Harley
Forum Regular
Posts: 311
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: How to make character slow moving?

Post by Harley » Wed Oct 03, 2018 2:29 pm

I'm interesting in each ways.
I'm lookig to make spell, which make character slowly if it's possible.

guialtran
Master Poster
Posts: 98
Joined: Wed Jul 30, 2008 12:42 pm

Re: How to make character slow moving?

Post by guialtran » Wed Oct 03, 2018 3:25 pm

this feature does not exist, but it is possible to paralyze the player for a few moments, and do this repeatedly.
@CronosKing

Harley
Forum Regular
Posts: 311
Joined: Sat Mar 18, 2006 1:41 am
Location: Germany

Re: How to make character slow moving?

Post by Harley » Thu Oct 04, 2018 12:53 am

guialtran wrote:
Wed Oct 03, 2018 3:25 pm
this feature does not exist, but it is possible to paralyze the player for a few moments, and do this repeatedly.
Thank you, guialtran, I thought similar, but had a hope to realize it more comfortable..

guialtran
Master Poster
Posts: 98
Joined: Wed Jul 30, 2008 12:42 pm

Re: How to make character slow moving?

Post by guialtran » Thu Oct 04, 2018 9:31 am

you can make a layering system to paralyzed.
do you know how to do this?

this would be for you to use the paralysis feature to:
magic paralysis
stunned with a blow to the head
stuck with deities of spiders

usually the problem that happens is as follows, the person uses the feature of paralysis in one script and it ends up being removed by the other. which also uses the paralysis feature, the layering system allows one to not turn off the other.

the system layer is a block of code that will play with properties and will assume the character of the stoppage or not.

I do not have it done in my code :(

he uses this concept.
https://en.wikipedia.org/wiki/Mask_(computing)

maximum supported by the compiler. 0x7FFFFFFF = 1111111111111111111111111111111 :bacondance:
with only one property, you can create 31 types of paralyzes without getting in the way of each other.

in this way you can create the system that paralyzes the player without disturbing with other paralyzing systems. :deadhorse:
@CronosKing

RusseL
Forum Regular
Posts: 348
Joined: Fri Feb 20, 2009 8:30 pm

Re: How to make character slow moving?

Post by RusseL » Thu Oct 04, 2018 9:58 am

You can send client a packet, so client thinks he is with/-out mount

Code: Select all

   SendPacket(who, "BF0006002603"); // turns on boost
   SendPacket(who, "BF0006002600"); // turns off boost
but there are 2 problems
1. it is clientside, so modified client (or div. injections) can ignore or disable this packet.
2. if you have an anti-speedhack, you should probably fix it to avoid false positives.
Also you need to resend this packet after character logon.

There are actually three speed options
slow - mid - fast
https://docs.polserver.com/packets/inde ... acket=0xBF

Code: Select all

Subcommand 0x26: Mount Speed
BYTE[1] 0=normal,1=fast,2=slow, >2=Hybrid movement?

guialtran
Master Poster
Posts: 98
Joined: Wed Jul 30, 2008 12:42 pm

Re: How to make character slow moving?

Post by guialtran » Thu Oct 04, 2018 10:12 am

yes there is interference, so I do not recommend this :(
@CronosKing

Post Reply