Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
michael jacksons walking behavior
Author Message
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #1
michael jacksons walking behavior
Hey people.. i have a small question.. sometimes players and npcs have this a bit annoying behavior with walking animation and sound effect but actually the are stood still... is it possible to fix this? is this on client side? or maybe an ini setting i have missed.

if i have not make my self clear, you see the char as if they were walking (animation and sound) but they are just standing there.

hope someone gets what i mean xDD

thank you very much.
(This post was last modified: 09-01-2014 05:58 AM by kn4tseb.)
09-01-2014 04:59 AM
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: #2
RE: michael jacksons walking behavior
It is a client problem, if you look close, it will only happen with chars holding a lightsource item. There is nothing we can do to fix it.
The server only says to the client "hey, move this char in this direction" and the client will animate the char as requested by the server

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
(This post was last modified: 09-01-2014 05:20 AM by Feeh.)
09-01-2014 05:19 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Feeh's post
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: michael jacksons walking behavior
is this happening in night time right?

i fixed in this way

PHP Code:
[EVENTS e_Human_Environ]

ON=@EnvironChange
    
if <flags>&statf_war 
        
return 0
    
endif
    if !<
sector.isdark> || (<flags>&statf_nightsight)
        if <
findlayer(layer_hand2)>
            if <
findlayer(layer_hand2).type> == t_light_lit
                findlayer
(layer_hand2).bounce
                tag
.nomovetill=
                
//serv.b dfgdfgdfgdfg
            
endif
        endif
        return 
0
    
endif
    
// already have a lit light ?
    
if <findlayer(layer_hand2)>
        if <
findlayer(layer_hand2).type> == t_light_lit
            tag
.nomovetill=<eval <serv.time>+18000>
            return 
0
        
endif
    endif
    
// try to use a torch or light source if i have one. (and it's dark)
    
if <findtype.t_light_out>
        
findtype.t_light_out.equip
        findtype
.t_light_out.use
        
tag.nomovetill=<eval <serv.time>+18000>
    endif
    return 

(This post was last modified: 09-01-2014 05:23 AM by Rizz.)
09-01-2014 05:23 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 2 users Like Rizz's post
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #4
RE: michael jacksons walking behavior
yes, nighttime and i see.... client side.. gonna try your script rizz, thank you very much both ^^
09-01-2014 05:59 AM
Find all posts by this user Like Post Quote this message in a reply
matex
Sphere Developer
*****

Posts: 11
Likes Given: 0
Likes Received: 3 in 3 posts
Joined: Mar 2014
Reputation: 0



Post: #5
RE: michael jacksons walking behavior
It is possible to fix this if you want to change the client assembly at runtime.
Some shards do this via DLL injection.

If you are interested i could supply you with an example sourcecode.
(This post was last modified: 09-12-2014 04:08 AM by matex.)
09-12-2014 04:07 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes matex's post
Feeh
Sphere Developer
*****

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



Post: #6
RE: michael jacksons walking behavior
(09-12-2014 04:07 AM)matex Wrote:  If you are interested i could supply you with an example sourcecode.

I'd like to see it. I have some experience on DLL injection and I want to see how it can be fixed

Feeh/Epila - Nightly releases / SphereWiki / Github Issues / Sphere's GitHub
09-12-2014 05:10 AM
Find all posts by this user Like Post Quote this message in a reply
kn4tseb
Master
**

Posts: 392
Likes Given: 45
Likes Received: 10 in 10 posts
Joined: May 2014
Reputation: 0



Post: #7
RE: michael jacksons walking behavior
i have no experience on that, but i know people who do, would be great if somehow it could be shared Smile
(This post was last modified: 09-12-2014 05:20 AM by kn4tseb.)
09-12-2014 05:19 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)