Thread
:
Compiling AMXX Module
View Single Post
Tirant
Veteran Member
Join Date: Jul 2008
Location: Los Angeles, California
09-24-2015 , 23:18 Re: Compiling AMXX Module
#
25
Quote:
Originally Posted by
Nextra
Debugging a module issue can prove impossible without good repro code or a proper snippet. C++ modules can do basically anything to fuck things up, so if you really need good advice you should start giving us code.
My best guess would be that you are using
get_amxstring()
(
which uses static buffers
) for your forward parameters. This is dangerous because when plugin use natives from inside your callback, those natives
will
re-use those buffers for themselves. If this is the case here you should be using
get_amxstring_r()
to move the strings into your own buffers.
Thank you for your suggestion, that did the trick.
__________________
PM me if you're interested in buying the Credits addition for Base Builder
Battlefield Rebirth
[
66%
done
]
Call of Duty: MW2
[
100%
done
]
Base Builder
[
100%
done
]
Tirant
View Public Profile
Send a private message to Tirant
Visit Tirant's homepage!
Find More Posts by Tirant