This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Bot Played Time Faker (v1.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-31-2014 , 12:41   Re: Bot Played Time Faker (v1.1)
Reply With Quote #51

You probably try to compile with the wrong Character Set (in the project option). Right now I don't support this (and there is most likely a memory leak), I think there is another module which does that.
__________________
Arkshine is offline
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 10-31-2014 , 12:47   Re: Bot Played Time Faker (v1.1)
Reply With Quote #52

Now Left with this !!
Unable to solve. Please help.
abhishek_deshkar is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-31-2014 , 12:54   Re: Bot Played Time Faker (v1.1)
Reply With Quote #53

This macro is defined in enginecallback.h ; this means your paths to HLSDK in your project options, are not totally correct.
__________________
Arkshine is offline
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 10-31-2014 , 13:01   Re: Bot Played Time Faker (v1.1)
Reply With Quote #54

Can u please upload metamod sdk and hlsdk zip that you use ? Please upload it here. I tried it but getting errors.
Thanks!
abhishek_deshkar is offline
baneado
Veteran Member
Join Date: Dec 2012
Location: amxmodx-es.com
Old 11-24-2014 , 15:47   Re: Bot Played Time Faker (v1.1)
Reply With Quote #55

Quote:
Originally Posted by baneado View Post
yes it's true, here you have the solution


Can someone recompile it for linux fixing the issue? Thanks.
still nobody?
baneado is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 11-25-2014 , 06:45   Re: Bot Played Time Faker (v1.1)
Reply With Quote #56

Quote:
Originally Posted by abhishek_deshkar View Post
Can u please upload metamod sdk and hlsdk zip that you use ? Please upload it here. I tried it but getting errors.
Thanks!
http://github.com/alliedmodders
__________________
WildCard65 is offline
Kittie
Junior Member
Join Date: Nov 2014
Old 12-13-2014 , 16:03   Re: Bot Played Time Faker (v1.1)
Reply With Quote #57

First of all, many thanks to Arkshine for this good module, nice work! :-)
I know that module is not supported now. So I decided to try fix them by myself. I was looking at my debug.log about several days and finded out that call stack log indicates the trouble in sendto() function. I review (as much as I can of cource) the source code of module. It seems that module contains memory leaks - it uses malloc() without corresponding free(). I decided to change malloc() to alloca(), which allocate memory on stack and automatically freed them at function returns. But it's not fix the main problem - server crashes about some hours of hard playing, and debug.log contains another errors (by the way sendto() errors dissaper) - deeply in Steam_RunCallbacks() in libsteam_api.so

Last edited by Kittie; 12-13-2014 at 16:04.
Kittie is offline
abhishek_deshkar
Senior Member
Join Date: Jun 2013
Location: Earth
Old 12-16-2014 , 06:06   Re: Bot Played Time Faker (v1.1)
Reply With Quote #58



This error is still coming Any fix ?

I have already set linker to windows.

Last edited by abhishek_deshkar; 12-16-2014 at 06:06.
abhishek_deshkar is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-16-2014 , 06:24   Re: Bot Played Time Faker (v1.1)
Reply With Quote #59

Quote:
Originally Posted by Kittie View Post
First of all, many thanks to Arkshine for this good module, nice work! :-)
I know that module is not supported now. So I decided to try fix them by myself. I was looking at my debug.log about several days and finded out that call stack log indicates the trouble in sendto() function. I review (as much as I can of cource) the source code of module. It seems that module contains memory leaks - it uses malloc() without corresponding free(). I decided to change malloc() to alloca(), which allocate memory on stack and automatically freed them at function returns. But it's not fix the main problem - server crashes about some hours of hard playing, and debug.log contains another errors (by the way sendto() errors dissaper) - deeply in Steam_RunCallbacks() in libsteam_api.so
I think someone has reported this before, probably because newMessage is not freed.
__________________
Arkshine is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 12-16-2014 , 22:30   Re: Bot Played Time Faker (v1.2)
Reply With Quote #60

Okay, here v1.2.

It fixes basically the memory leaked. Internally, I've fastly cleaned up code a bit.

Code source is now on GitHub: https://github.com/Arkshine/BotPlayedTimeFaker
And latest binaries: https://github.com/Arkshine/BotPlaye...eleases/latest

Note: I've tested it again, and this works fine for me under windows/linux.
__________________
Arkshine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode