Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
Why should pre-loading be inside of a plugin? I do agree some things may be faster with C++, but preloading animation libraries? Come on, we have gotten along just fine for years doing it through PAWN.
Posts: 185
Threads: 43
Joined: Jul 2014
Reputation:
0
Kurta, there are many people who want to test the version 0.3.7. I am one of them, and we need your plugin to test properly. Please, get your YSF version to 0.3.7 soon!
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
Fixed, tonight i'll release it as R12-2.
Posts: 368
Threads: 24
Joined: Feb 2012
i still have problems with detecing player objects being shot, even in R12-2.
Tried with the code you posted in streamer plugin thread also.
Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if(IsPlayerConnected(playerid))
{
if(hittype == BULLET_HIT_TYPE_PLAYER_OBJECT)
{
print("Detected Player Object");
new streamerid = Streamer_GetItemStreamerID(playerid, STREAMER_TYPE_OBJECT, hitid);
if(IsValidDynamicObject(streamerid))
{
CallLocalFunction("OnPlayerShootDynamicObject", "dddfff", playerid, weaponid, streamerid, fX, fY, fZ);
}
}
}
return 1;
}
Additional info: Server version: 0.3z R4, debian 6 x32, YSF built on Built on: Apr 7 2015 at 00:50:48.
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
Use compiled version git not updated yet to that where its fixed
Posts: 368
Threads: 24
Joined: Feb 2012
Quote:
Originally Posted by kurta999
Use compiled version git not updated yet to that where its fixed
|
I dont know how to compile on debian :/
Does anyone have compiled R12-2 compiled who can share?
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
I'm planning to implement Y_Less's timerfix plugin into YSF; What do you think guys?
(Of course, I would test it before on my live linux server)
Posts: 1,801
Threads: 27
Joined: Mar 2009
Reputation:
0
I am personally using timerfix plugin by Dan, and I preffer to use that, because it got many additional functions. I don't think it would be a good idea to have something like that implemented in YSF (especially that I think you don't want to make it that advanced, with per-player timers, and many functions to get the timers details).
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
Okey, you're true. Then I won't implement.
Posts: 864
Threads: 57
Joined: Jan 2013
Reputation:
0
Compile your mode with -d3, load crashdetect by Zeex and crash it again. The dump will display more useful informations and you'd even be able to fix it by yourself.
Posts: 10
Threads: 0
Joined: Dec 2013
Reputation:
0
OnPlayerShootDynamicObject dosen't work with YSF included. ( both up to date )
also
[sampgdk:warning] Index mismatch for OnServerMessage (-10081 != -10080)
Posts: 67
Threads: 9
Joined: Feb 2015
Reputation:
0
Could you add a callback which allows us to modify incoming packets ?