[Plugin] Streamer Plugin

You can't protect your maps from being stolen.
Reply

Well, if You're good mapper, or You have good maps on server, let them stole Your maps. They are jealous on You, Your server and maps. Every normal person will know who stoled maps from who.
Reply

Quote:
Originally Posted by Crayder
Посмотреть сообщение
Actually this plugin already has protections against those hacks. However, there are ways around it that we just can't cover.
It was removed in the latest versions for performance and because there's no way to prevent it anymore.
Reply

[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


Can you help me pleasE?
Reply

Server.cfg?
Reply

echo Executing Server Config...
lanmode 0
rcon_password change
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 gamemode 1
filterscripts ls_elevator ls_mall ls_beachside
plugins crashdetect.dll streamer.dll sscanf.dll nativchecker.dll
announce 0
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
rcon 0
language English
Reply

Did you tried without .dll in plugins line?
Reply

Yes..
Reply

Hello.
Just wondering, has anybody had any issues with CreateDynamicObjectEx in version 2.8? It doesn't seem to work anymore, at least for the following case:
Код:
new vwArray[24] = {1550, 1551, 1552, 1553, 1554, 1555, 1557, 1558, 1559, 1560, 1561, 1562, 1563, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573, 1574};

CreateDynamicObjectEx(987, 145.90131, 2538.23022, 15.59840,   0.00000, 0.00000, 180.00000, _, _, vwArray);
However, after I convert it to
Код:
CreateDynamicObject(987, 145.90131, 2538.23022, 15.59840,   0.00000, 0.00000, 180.00000);
the object spawns.

Any tips?

Before you ask: Yes, I did update my include and plugin (.so, linux server).
Код:
Loading plugin: streamer.so

*** Streamer Plugin v2.8 by Incognito loaded ***
Reply

Check the returned value of CreateDynamicObjectEx, if it isn't alright (0 or probably INVALID_OBJECT_ID) then it is indeed a problem of the function (which I doubt will happen).

Also, make sure that the player is in one of the specified virtual worlds !

EDIT: After checking Streamer's source, I noticed something: https://github.com/samp-incognito/sa...tended.cpp#L53 :
Код:
Utility::convertArrayToContainer(amx, params[10], params[15], object->worlds);
params[15] shouldn't be params[14], according to the include parameters order ? I think it's streamer's problem.
Reply

Thanks for the quick reply.

Indeed, it seems to be a small mistake in the code there. All the size indexes are offset by 1.

Well...glad I could help =)


///Update: The 2.8.1 version fixes the issue with CreateDynamicObjectEx.
Reply

streamer.dll is out of date :P
//edit: since the last update objects do not show up properly
Reply

In 1.8.1 all my objects are constantly show up and disappear again.
Reply

https://github.com/samp-incognito/sa...lugin/releases

streamer-plugin-2.8.1.zip

Only streamer.so updated, streamer.dll not.

streamer.so version: 2.8.1
streamer.dll version: 2.8
Reply

Streamer 2.8.1 is broken, refrain from upgrading :P
Reply

Can you can place night lighting map without placing lightbulbs?
Reply

Thanks, the correct version has been uploaded.

Objects are working fine for me. Make sure you're setting the new "priority" parameter correctly.
Reply

There is a problem with the new version (on Windows).

The objects disappear for a second and then are shown back. It happens when I moving fast on them but not if I walk over them.
I downgraded to version 2.8 out of curiosity and everything is fine.

PS: I use only the first 7 parameters, the rest are the default.
Reply

Incognito help me, no hablo english pero espero me puedan traducir el mensaje, quiero saber si se le puede colocar iluminaciтn a mis mapas que he construido por que de noche se ven muy oscuros y necesito que esten iluminados de noche
Reply

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
There is a problem with the new version (on Windows).

The objects disappear for a second and then are shown back. It happens when I moving fast on them but not if I walk over them.
I downgraded to version 2.8 out of curiosity and everything is fine.

PS: I use only the first 7 parameters, the rest are the default.
Indeed, without any modifications to any object, it seems that some objects (attached or not) disappear when the player is moving too fast in version 2.8.1. My guess is that it has to do with some sort of draw/stream distance, maybe increasing that value will fix it temporarily as a workaround until the issue is fixed.
Reply


Forum Jump:


Users browsing this thread: 17 Guest(s)