The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change-Speed Detectation
Author Message
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #1
Change-Speed Detectation
Script to check if a player is using Change-Speed.
Install guide inside the script and very easy to use.

To help you, the script calculate the probability but more than 4 tiles is irregular.
[Image: change_speed.png]

Version is 1.0 and still need some adjustments, please feed me back Smile

Download: http://forum.spherecommunity.net/sshare....wnload=286
(This post was last modified: 03-15-2014 05:28 AM by Staff_Stanic.)
03-15-2014 05:12 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 4 users Like Staff_Stanic's post
Awaken
Apprentice
*

Posts: 30
Likes Given: 10
Likes Received: 4 in 4 posts
Joined: Sep 2013
Reputation: 0



Post: #2
RE: Change-Speed Detectation
[Image: tumblr_m961tmUFcj1r3qnxf.gif]
03-15-2014 05:29 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Awaken's post
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #3
RE: Change-Speed Detectation
Thanks to you both, that script is awesome.

However, did you take a look in the packet 0xF0 (New Movement Request) ? http://ruosi.org/packetguide/index.xml#clientF0 This one works with Unix times (sent in each packet) wich makes things WAYS BETTER in time controling and seems more efficient to. I have to say that I don't know if this packet is reliable due to programs modifying times, system speeds, etc.
03-15-2014 08:03 AM
Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #4
RE: Change-Speed Detectation
(03-15-2014 08:03 AM)XuN Wrote:  Thanks to you both, that script is awesome.

However, did you take a look in the packet 0xF0 (New Movement Request) ? http://ruosi.org/packetguide/index.xml#clientF0 This one works with Unix times (sent in each packet) wich makes things WAYS BETTER in time controling and seems more efficient to. I have to say that I don't know if this packet is reliable due to programs modifying times, system speeds, etc.
I didn't know this packtet, but appear to be very good! Thanks!!

Edit: I was testing this packet, but dosen't work for the script because even if I check in each 1 tick the player just can walk 1 tile (the tiles in the 'Distance log' is 0 ever). We can walk 0.5 tile for example...
(This post was last modified: 03-15-2014 12:04 PM by Staff_Stanic.)
03-15-2014 09:12 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Feeh
Sphere Developer
*****

Posts: 156
Likes Given: 6
Likes Received: 40 in 29 posts
Joined: Sep 2012
Reputation: 4



Post: #5
RE: Change-Speed Detectation
I've tried to use the new F0 with no success. Modifying the unix would result in an internal check error, since the packet time and unix time does not match with the server time. It may be reliable but even OSI does not use it and I have no idea why (I've never seen this packet while connected on OSI).

This one Stanic uploaded can work pretty well but it is not finished. It depends on an external thread and since Sphere scripts does not support it, you have to do the same check using up to 15 0.1~0.4s timerf's for each player (the REAL check is done dynamically or with large tables logging each step time,sequence,key).

However, I'm struggling my head to optimize the basic algorithm for the default walk packet on Sphere.

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
03-16-2014 02:22 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Feeh's post
Maglorex
Apprentice
*

Posts: 5
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jul 2018
Reputation: 0



Post: #6
RE: Change-Speed Detectation
thanks
07-20-2018 08:11 AM
Find all posts by this user Like Post Quote this message in a reply
jexnico
Journeyman
*

Posts: 191
Likes Given: 114
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #7
RE: Change-Speed Detectation
very cool!
10-16-2018 01:29 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
lewless53
Apprentice
*

Posts: 12
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2020
Reputation: 0



Post: #8
RE: Change-Speed Detectation
Very cornn ty
04-01-2020 01:45 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)