SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 11/11/2017, 06:56 PM   #5691
Xeon™
Banned
 
Join Date: Jul 2017
Location: Earth
Posts: 498
Reputation: 96
Default Re: Streamer Plugin

Quote:
Originally Posted by [Twixx] View Post
For some reason none of the object functions seem to work on 0.3.8 with this plugin.
tested it, its works fine.
Xeon™ is offline   Reply With Quote
Old 11/11/2017, 07:17 PM   #5692
Belengher
Big Clucker
 
Join Date: May 2015
Posts: 194
Reputation: 0
Default Re: Streamer Plugin

How solve this?

Quote:
[19:55:50] [debug] Server crashed due to an unknown error
[19:55:50] [debug] Native backtrace:
[19:55:50] [debug] #0 f7484e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[19:55:50] [debug] #1 f747dbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[19:55:50] [debug] #2 f747edbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[19:55:50] [debug] #3 f747f226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[19:55:50] [debug] #4 f7484adc in ?? () from plugins/crashdetect.so
[19:55:50] [debug] #5 f779f410 in ?? ()
[19:55:50] [debug] #6 f779f425 in ?? ()
[19:55:50] [debug] #7 f74d2941 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #8 f74d5d72 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #9 f750ee15 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #10 f7518f01 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #11 f751935a in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #12 f751a6e5 in ?? () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #13 f751d81d in cfree () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #14 f76a54bf in _ZdlPv () from /usr/lib/i386-linux-gnu/libstdc++.so.6
[19:55:50] [debug] #15 080e2239 in ?? () from samp03svr
[19:55:50] [debug] #16 f73ea7a3 in ?? () from plugins/streamer.so
[19:55:50] [debug] #17 f74466a5 in ?? () from plugins/streamer.so
[19:55:50] [debug] #18 f7448b0a in ?? () from plugins/streamer.so
[19:55:50] [debug] #19 f7449127 in ?? () from plugins/streamer.so
[19:55:50] [debug] #20 f7415cc5 in ProcessTick () from plugins/streamer.so
[19:55:50] [debug] #21 080d1ce2 in ?? () from samp03svr
[19:55:50] [debug] #22 080aef6c in ?? () from samp03svr
[19:55:50] [debug] #23 080aa13a in ?? () from samp03svr
[19:55:50] [debug] #24 f74bee46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[19:55:50] [debug] #25 0804b4e1 in ?? () from samp03svr
Belengher is offline   Reply With Quote
Old 13/11/2017, 05:09 PM   #5693
Baboon
High-roller
 
Baboon's Avatar
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 1,593
Reputation: 315
Default Re: Streamer Plugin

It needs to be updated for 0.3.8.

AttachDynamicObjectToObject for example doesn't work.
It's either this plugin, or YSF that's causing trouble.

Please get this worked out asap
__________________
Baboon is offline   Reply With Quote
Old 13/11/2017, 07:07 PM   #5694
SimonItaly
Huge Clucker
 
SimonItaly's Avatar
 
Join Date: Mar 2010
Location: Italy
Posts: 252
Reputation: 85
Default Re: Streamer Plugin

AttachDynamicObjectToObject should depend from AttachPlayerObjectToObject from YSF, so you'll have to wait for it to be updated.

Quote:
Originally Posted by kurta999 View Post
It's not abandobed yet, i'll update it sometime when in work I'll have free time. I don't have a working dev pc at home with internet, it's not so easy to update it
Also, memory hacking plugins have a hard time during RC phases, because of changing addresses.
SimonItaly is offline   Reply With Quote
Old 13/11/2017, 07:22 PM   #5695
Baboon
High-roller
 
Baboon's Avatar
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 1,593
Reputation: 315
Default Re: Streamer Plugin

Quote:
Originally Posted by SimonItaly View Post
AttachDynamicObjectToObject should depend from AttachPlayerObjectToObject from YSF, so you'll have to wait for it to be updated.



Also, memory hacking plugins have a hard time during RC phases, because of changing addresses.
I know, however, with 0.3.8. it's quite necessary to have everything working that is object related. It's holding me back finishing my lil project. And I'm sure there are quite some others having the same problem.

Not trying to sound rude here, am really appreciating the work that's been done.
__________________
Baboon is offline   Reply With Quote
Old 14/11/2017, 11:02 AM   #5696
BGTrucker
Huge Clucker
 
BGTrucker's Avatar
 
Join Date: Aug 2011
Location: Bulgaria
Posts: 399
Reputation: 15
Default Re: Streamer Plugin

0.3.8 is still RC(Release Candidate),aka its not the final 0.3.8 version
__________________
BGTrucker is offline   Reply With Quote
Old 25/11/2017, 03:16 PM   #5697
DleyDeR
Little Clucker
 
DleyDeR's Avatar
 
Join Date: May 2017
Location: SA-MP
Posts: 35
Reputation: 6
Default Re: Streamer Plugin

In 2.9.2 streamer version SA-MP callback OnPlayerGiveDamageActor does not execute.
It's 100% bug, because in 2.8.2 version callback OnPlayerGiveDamageActor work correct.
DleyDeR is offline   Reply With Quote
Old 26/11/2017, 03:50 AM   #5698
Zeth
Gangsta
 
Zeth's Avatar
 
Join Date: Feb 2017
Location: Titan
Posts: 503
Reputation: 114
Default Re: Streamer Plugin

Quote:
Originally Posted by DleyDeR View Post
In 2.9.2 streamer version SA-MP callback OnPlayerGiveDamageActor does not execute.
It's 100% bug, because in 2.8.2 version callback OnPlayerGiveDamageActor work correct.
It's OnPlayerGiveDamageDynamicActor and the actor creation must be using CreateDynamicActor
Refer to the github wiki page
__________________
server.one-rp.com
Zeth is offline   Reply With Quote
Old 26/11/2017, 01:29 PM   #5699
DleyDeR
Little Clucker
 
DleyDeR's Avatar
 
Join Date: May 2017
Location: SA-MP
Posts: 35
Reputation: 6
Default Re: Streamer Plugin

You don't understand. Streamer v2.9.2 cause bug with OnPlayerGiveDamageActor not OnPlayerGiveDamageDynamicActor. I using CreateActor not CreateDynamicActor.
DleyDeR is offline   Reply With Quote
Old 26/11/2017, 04:58 PM   #5700
IstuntmanI
High-roller
 
IstuntmanI's Avatar
 
Join Date: Mar 2009
Location: Romania
Posts: 1,862
Reputation: 373
Default Re: Streamer Plugin

Quote:
Originally Posted by Belengher View Post
How solve this?
May be related: https://github.com/samp-incognito/sa...gin/issues/205

-----------

Quote:
Originally Posted by DleyDeR View Post
You don't understand. Streamer v2.9.2 cause bug with OnPlayerGiveDamageActor not OnPlayerGiveDamageDynamicActor. I using CreateActor not CreateDynamicActor.
You are right, I just tested this:
PHP Code:
#include <a_samp>
#include <streamer>

new gString128 ];
new 
gActors];

main( )
{
    
gActors] = CreateActor00.00.05.00.0 );
    
SetActorInvulnerablegActors], false );

    
gActors] = CreateDynamicActor00.02.05.00.0 );
    
SetDynamicActorInvulnerablegActors], false );
}

public 
OnPlayerGiveDamageDynamicActorplayeridSTREAMER_TAG_ACTOR actoridFloat:amountweaponidbodypart )
{
    
formatgString128"OnPlayerGiveDamageDYNAMICActor: playerid=%d, damaged_actorid=%d, amount=%.2f, weaponid=%d, bodypart=%d"playeridactoridamountweaponidbodypart );
    
SendClientMessageplayerid, -1gString );
    return 
0;
}

public 
OnPlayerGiveDamageActorplayeriddamaged_actoridFloat:amountweaponidbodypart )
{
    
formatgString128"OnPlayerGiveDamageActor: playerid=%d, damaged_actorid=%d, amount=%.2f, weaponid=%d, bodypart=%d"playeriddamaged_actoridamountweaponidbodypart );
    
SendClientMessageplayerid, -1gString );
    return 
0;

When damaging a regular actor OnPlayerGiveDamageActor isn't called (not fine), neither is OnPlayerGiveDamageDynamicActor (fine).
When damaging a dynamic actor only OnPlayerGiveDamageDynamicActor gets called (fine).

This will be fixed here: https://github.com/samp-incognito/sa...lugin/pull/249. Thanks for reporting.
__________________


IstuntmanI is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Checkpoint / Area sub-streamer for incognito's streamer plugin Pottus Includes 11 21/03/2014 06:31 PM
Need 3dtextlabel Streamer And Gangzone Streamer !! Please Help . Not streamer plugin . jame42 Scripting Help 4 30/05/2012 07:33 AM
Streamer plugin 0.3d rt-2 Plugin Development 7 05/12/2011 06:17 PM
Streamer Plugin Help! ColdXX Everything and Nothing 2 21/08/2010 10:28 PM
Streamer Plugin! ColdXX Help Archive 10 18/07/2010 12:47 PM


All times are GMT. The time now is 05:55 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.