Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 14:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



SendUseSkill

Discussion on SendUseSkill within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2021
Posts: 73
Received Thanks: 5
SendUseSkill

Edit : Fixed
macnn50 is offline  
Thanks
1 User
Old 05/19/2021, 22:51   #2
 
elite*gold: 0
Join Date: Sep 2020
Posts: 29
Received Thanks: 10
If you are calling a function containing things related to python from another thread client will crash after a while so you have to call these functions from main thread
sad666 is offline  
Thanks
1 User
Old 05/20/2021, 11:02   #3
 
elite*gold: 0
Join Date: Apr 2021
Posts: 73
Received Thanks: 5
Quote:
Originally Posted by sad666 View Post
If you are calling a function containing things related to python from another thread client will crash after a while so you have to call these functions from main thread
I don't call it with python, I directly access and use the clickskillclot function
macnn50 is offline  
Thanks
1 User
Old 05/20/2021, 14:26   #4
 
MrCrisp's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 721
Received Thanks: 178
Again, inline assembly?
You can just easily debug it with function pointers. Why don't people understand?
MrCrisp is offline  
Thanks
1 User
Old 05/20/2021, 19:37   #5
 
elite*gold: 0
Join Date: Sep 2020
Posts: 29
Received Thanks: 10
I mean you are using __UseSkill function right ? If you check this function source you can see it contains some python calls inside. I might be wrong but your client crashes due to this situation.
sad666 is offline  
Thanks
1 User
Old 05/20/2021, 21:35   #6
 
elite*gold: 0
Join Date: Apr 2021
Posts: 73
Received Thanks: 5
Quote:
Originally Posted by sad666 View Post
I mean you are using __UseSkill function right ? If you check this function source you can see it contains some python calls inside. I might be wrong but your client crashes due to this situation.
yes i saw it but what can i do? yes it calls python but we have to use it to suppress skill in the game?
macnn50 is offline  
Thanks
1 User
Old 05/20/2021, 22:09   #7
 
elite*gold: 0
Join Date: Sep 2020
Posts: 29
Received Thanks: 10
try to hook OnUpdate function and execute here instead of createthread. I hope someone knows a better way
sad666 is offline  
Thanks
1 User
Old 05/21/2021, 15:34   #8
 
MrCrisp's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 721
Received Thanks: 178
Quote:
Originally Posted by sad666 View Post
I mean you are using __UseSkill function right ? If you check this function source you can see it contains some python calls inside. I might be wrong but your client crashes due to this situation.
It doesn't matter if __UseSkill calls Python functions.

@
Why don't you use SendUseSkillPacket directly? Or send the packet on your own?
MrCrisp is offline  
Thanks
1 User
Old 05/21/2021, 22:39   #9
 
elite*gold: 0
Join Date: Sep 2020
Posts: 29
Received Thanks: 10
Quote:
Originally Posted by MrCrisp View Post
It doesn't matter if __UseSkill calls Python functions.

@
Why don't you use SendUseSkillPacket directly? Or send the packet on your own?
I was getting crash randomly when calling this functions from thread i created and using hook solved my problem. I tried to debug but it redirect me python dll
sad666 is offline  
Thanks
1 User
Old 05/29/2021, 19:49   #10
 
elite*gold: 0
Join Date: Apr 2021
Posts: 73
Received Thanks: 5
Quote:
Originally Posted by sad666 View Post
I was getting crash randomly when calling this functions from thread i created and using hook solved my problem. I tried to debug but it redirect me python dll
Can you explain how you solved this?
macnn50 is offline  
Reply




All times are GMT +2. The time now is 14:22.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.