[Plugin] Streamer Plugin

Quote:
Originally Posted by ball
Посмотреть сообщение
Is there support for 0.3.DL version? Cause I got problems on switching virtual worlds and putting player in vehicle.

Код:
lVehicleID = CreateVehicle(411, lX, lY, lZ, lA);
SetVehicleVirtualWorld(lVehicleID, lWorldID);
SetPlayerVirtualWorld(lPlayerID, lWorldID);
SetPlayerInterior(lPlayerID, 0);
LinkVehicleToInterior(lVehicleID, 0);
PutPlayerInVehicle(lPlayerID, lVehicleID, 0);
On 0.3.DL doesn't work, on 0.3.7 works as it should.
Literally none of that should be affected by the streamer... What's it not doing, and what's going on?
Reply

Let's take code above for example, on version 0.3.7 it simply works, put me in vehicle, but on 0.3.DL function PutPlayerInVehicle returns 1, vehicle is created, but I can't see vehicle (virtual worlds are the same). When I change my virtual world by a command to 0 and go back to vehicle's world, it's fine, I see vehicles.

I think something is wrong with virtual worlds switching, because if I use default virtual world on version 0.3.DL (0), it works normally. On other worlds, situation repeats as posted above.
Reply

The problem is that everytime you change your virtual world your client checks if there are any models that you need to download for that virtual world. Nothing is streamed until OnPlayerFinishedDownloading is called. (even after it got called you need to add a slight delay to put the player in the vehicle...)

http://forum.sa-mp.com/showpost.php?...97&postcount=4

Has nothing to do with the streamer tho..
Reply

Oh, that saved my day, thanks.
Reply

2.8.1

About once a week, the server crashes with the following error.
Tried all the latest versions of the plugin but it was unsuccessful.

PHP код:
[13:59:33] [debugServer crashed due to an unknown error
[13:59:33] [debugNative backtrace:
[
13:59:33] [debug#0 f73ab180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[13:59:33] [debug#1 f73a3064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[13:59:33] [debug#2 f73a3d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[13:59:33] [debug#3 f73a5cdb in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[13:59:33] [debug#4 f73aa4d5 in ?? () from plugins/crashdetect.so
[13:59:33] [debug#5 f7705b20 in __kernel_rt_sigreturn () from linux-gate.so.1
[13:59:33] [debug#6 0809568a in ?? () from ./samp03svr
[13:59:33] [debug#7 080957cd in ?? () from ./samp03svr
[13:59:33] [debug#8 f654b1ae in ?? () from plugins/streamer.so
[13:59:33] [debug#9 080ebc70 in ?? () from ./samp03svr
[13:59:33] [debug#10 080af03c in ?? () from ./samp03svr
[13:59:33] [debug#11 080aa13a in ?? () from ./samp03svr
[13:59:33] [debug#12 f73eda63 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[13:59:33] [debugRegisters:
[
13:59:33] [debugEAX99f912d0 EBXf65b7620 ECXff88a908 EDX2c143900
[13:59:33] [debugESI00000000 EDI1032f6c0 EBPff88a848 ESPff88a840
[13:59:33] [debugEIP0809568a EFLAGS00010282
[13:59:33] [debugStack:
[
13:59:33] [debugESP+0000000009cb12d0 f65b7620 ff88a8a8 080957cd
[13:59:33] [debugESP+0000002000000000 00000000 00000000 f653604e
[13:59:33] [debugESP+0000004000000000 09cb12d0 f65a4ac8 f65b7620
[13:59:33] [debugESP+0000006099f912d0 1032f6c0 ff88a8d8 f654b1ae
[13:59:33] [debugESP+00000080113bbe10 f7406216 bddf0dee 1032f6b0
[13:59:33] [debugESP+000000a099f912d0 2c143900 ff88a908 0e77bc40
[13:59:33] [debugESP+000000c0081de210 00000001 000000bf 081da828
[13:59:33] [debugESP+000000e0081de210 0000000f f747c2b6 3c7c3b4f
[13:59:33] [debugESP+00000100081ce170 01e53e12 ff88aa88 080aa13a
[13:59:33] [debugESP+0000012000000000 00000000 00000006 00000010
[13:59:33] [debugESP+00000140f76d4ad8 f76cb43c f76ccb58 01000000
[13:59:33] [debugESP+00000160656d6167 65646f6d f7003531 f76d5414
[13:59:33] [debugESP+00000180f76d3e84 f76d3ef0 f76d3da0 f7405243
[13:59:33] [debugESP+000001a0080aa260 00000000 00000000 00000000
[13:59:33] [debugESP+000001c000000000 00000000 00000000 00000000
[13:59:33] [debugESP+000001e000000000 00000000 00000000 00000000
[13:59:33] [debugESP+0000020000000000 00000000 00000000 00000000
[13:59:33] [debugESP+0000022000000000 00000000 00000000 f74053fd
[13:59:33] [debugESP+0000024000000000 00000000 00000000 f73eda63
[13:59:33] [debugESP+0000026000000001 ff88ab24 ff88aac4 0818121c
[13:59:33] [debugESP+0000028000000000 16e1cb42 7a00af53 00000000
[13:59:33] [debugESP+000002a000000000 f771a6e0 f73ed979 f7727000
[13:59:33] [debugESP+000002c0080a9420 00000001 ff88ab24 08150720
[13:59:33] [debugESP+000002e000000001 ff88bf28 00000000 ff88bf34
[13:59:33] [debugESP+00000300ff88bf8e ff88bf96 ff88bfb0 ff88bfbf
[13:59:33] [debugESP+0000032000000021 f7705000 00000010 bfebfbff
[13:59:33] [debugESP+0000034000000003 08048034 00000004 00000020
[13:59:33] [debugESP+0000036000000008 00000000 00000009 0804b4c0
[13:59:33] [debugESP+000003800000000d 000001f4 0000000e 000001f4
[13:59:33] [debugESP+000003a00000001f ff88bfec 0000000f ff88ac0b
[13:59:33] [debugESP+000003c09e5e83da 9f8bf001 6954cdf1 00363836
[13:59:33] [debugESP+000003e000000000 00000000 00000000 00000000
[13:59:33] [debugLoaded modules:
[
13:59:33] [debug00000000 00187f43 samp03svr
[13:59:33] [debugf7705000 f7705c5a linux-gate.so.1
[13:59:33] [debugf76f3000 f76f581b /lib/i386-linux-gnu/i686/cmov/libdl.so.2
[13:59:33] [debugf76d7000 f76f1d2b /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[13:59:33] [debugf75e4000 f76ddcda /usr/lib/i386-linux-gnu/libstdc++.so.6
[13:59:33] [debugf759e000 f75e2b43 /lib/i386-linux-gnu/i686/cmov/libm.so.6
[13:59:33] [debugf7581000 f759d3c4 /lib/i386-linux-gnu/libgcc_s.so.1
[13:59:33] [debugf73d4000 f758922f /lib/i386-linux-gnu/i686/cmov/libc.so.6
[13:59:33] [debugf7706000 f7726d6c /lib/ld-linux.so.2
[13:59:33] [debugf738d000 f73cfac4 plugins/crashdetect.so
[13:59:33] [debugf737c000 f738b290 plugins/sscanf.so
[13:59:33] [debugf6fd8000 f7380ac7 plugins/mysql_static.so
[13:59:33] [debugf6fc6000 f6fcd09f /lib/i386-linux-gnu/i686/cmov/librt.so.1
[13:59:33] [debugf65b9000 f65c43ef /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2
[13:59:33] [debugf6514000 f65b9064 plugins/streamer.so
[13:59:33] [debugf6503000 f651174c plugins/encrypt.so
[13:59:33] [debugf60d6000 f62054f8 plugins/pawnraknet.so
[13:59:33] [debugf76f8000 f76fc97b /lib/i386-linux-gnu/i686/cmov/libnss_dns.so.2
[13:59:33] [debugbc5d2000 bc5ea2fb /lib/i386-linux-gnu/i686/cmov/libresolv.so.2 
translator. russia > eng. sorry.

2.8.1
This version of the plug-in for the whole period seemed to me very stable
Reply

PHP код:
CreateDynamicCP(Float:xFloat:yFloat:zFloat:sizeworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_CP_SDareaid = -1priority 0
Hello!

What the "priority" parameter corresponds to?
Reply

Quote:
Originally Posted by Zamek
Посмотреть сообщение
PHP код:
CreateDynamicCP(Float:xFloat:yFloat:zFloat:sizeworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_CP_SDareaid = -1priority 0
Hello!

What the "priority" parameter corresponds to?
Hey.
If you create 2 CP which first have priority set to 10 and the second priority is set to thans the first CP will be created before the second.
Reply

Will giving all interiors to another world be overruled by players who are caused by too many objects on the server?
Reply

well surely its a great plugin
Reply

When will there be a streamer of vehicles?
Reply

Quote:
Originally Posted by RiqueP
Посмотреть сообщение
When will there be a streamer of vehicles?
There is (and today it is visible on page 1 of Plugin Development)
https://sampforum.blast.hk/showthread.php?tid=580937
Reply

Quote:
Originally Posted by Sasino97
Посмотреть сообщение
There is (and today it is visible on page 1 of Plugin Development)
https://sampforum.blast.hk/showthread.php?tid=580937
yes, but unfortunately it has been discontinued
Reply

The v2.9.4 update gives me 82347893246 warnings on compile =/

Код:
YSI_Visual\y_commands/impl.inc(1444) : warning 219: local variable "id" shadows a variable at a preceding level

YSI_Visual\y_commands/impl.inc(158) : warning 219: local variable "a" shadows a variable at a preceding level

gmenu.inc(80) : warning 219: local variable "string" shadows a variable at a preceding level

sscanf.inc(336) : warning 219: local variable "string" shadows a variable at a preceding level

menustore.inc(728) : warning 219: local variable "id" shadows a variable at a preceding level

physics.inc(642) : warning 219: local variable "objectid" shadows a variable at a preceding level
Reply

Quote:
Originally Posted by Chaprnks
Посмотреть сообщение
The v2.9.4 update gives me 82347893246 warnings on compile =/

Код:
YSI_Visual\y_commands/impl.inc(1444) : warning 219: local variable "id" shadows a variable at a preceding level

YSI_Visual\y_commands/impl.inc(158) : warning 219: local variable "a" shadows a variable at a preceding level

gmenu.inc(80) : warning 219: local variable "string" shadows a variable at a preceding level

sscanf.inc(336) : warning 219: local variable "string" shadows a variable at a preceding level

menustore.inc(728) : warning 219: local variable "id" shadows a variable at a preceding level

physics.inc(642) : warning 219: local variable "objectid" shadows a variable at a preceding level
I have an similar problem.
Reply

Why do I need a plugin 'YSF', if I can make the AttachPlayerObjectToObject through the Pawn.RakNet?
Reply

Does anybody has problems with pickups created in specified worlds? Take this code as example

Код:
CMD:test(p)
{
	new Float:lX, Float:lY, Float:lZ;
	GetPlayerPos(p, lX, lY, lZ);
	CreateDynamicPickupEx(1240, 1, lX, lY, lZ, _, {30, 32});
	CreateDynamicPickupEx(1242, 1, lX, lY, lZ, _, {32, 30});
	CreateDynamic3DTextLabelEx("test", -1, lX, lY, lZ, 30.0, .worlds = {30, 32});
}

CMD:w1(p) SetPlayerVirtualWorld(p, 30);
CMD:w2(p) SetPlayerVirtualWorld(p, 32);
Labels are good, shown in both worlds, but pickups only in one. I test it on newest version (2.9.4). I have search common problem and found this topic -> https://sampforum.blast.hk/showthread.php?tid=575220 but no solution to this. Does anybody knows what might be wrong?

//EDIT

ziggi was faster -> https://github.com/samp-incognito/sa...gin/issues/316
Reply

Does anybody has problems with actors? I have some actors in different interiors and whenever I enter to thoose interiors some of the actors not visible. After I reset the server it's work fine, or other actors will be dissapear.
Reply

Is there a zone limit through CreateDynamicSphere?
Reply

Quote:
Originally Posted by Jasno
Посмотреть сообщение
Is there a zone limit through CreateDynamicSphere?
Nope, just the limit of your pc
Reply

https://github.com/samp-incognito/sa...gin/issues/324

I'm waiting for a response, thanks for those interested.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)