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); |
[13:59:33] [debug] Server crashed due to an unknown error
[13:59:33] [debug] Native 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] [debug] Registers:
[13:59:33] [debug] EAX: 99f912d0 EBX: f65b7620 ECX: ff88a908 EDX: 2c143900
[13:59:33] [debug] ESI: 00000000 EDI: 1032f6c0 EBP: ff88a848 ESP: ff88a840
[13:59:33] [debug] EIP: 0809568a EFLAGS: 00010282
[13:59:33] [debug] Stack:
[13:59:33] [debug] ESP+00000000: 09cb12d0 f65b7620 ff88a8a8 080957cd
[13:59:33] [debug] ESP+00000020: 00000000 00000000 00000000 f653604e
[13:59:33] [debug] ESP+00000040: 00000000 09cb12d0 f65a4ac8 f65b7620
[13:59:33] [debug] ESP+00000060: 99f912d0 1032f6c0 ff88a8d8 f654b1ae
[13:59:33] [debug] ESP+00000080: 113bbe10 f7406216 bddf0dee 1032f6b0
[13:59:33] [debug] ESP+000000a0: 99f912d0 2c143900 ff88a908 0e77bc40
[13:59:33] [debug] ESP+000000c0: 081de210 00000001 000000bf 081da828
[13:59:33] [debug] ESP+000000e0: 081de210 0000000f f747c2b6 3c7c3b4f
[13:59:33] [debug] ESP+00000100: 081ce170 01e53e12 ff88aa88 080aa13a
[13:59:33] [debug] ESP+00000120: 00000000 00000000 00000006 00000010
[13:59:33] [debug] ESP+00000140: f76d4ad8 f76cb43c f76ccb58 01000000
[13:59:33] [debug] ESP+00000160: 656d6167 65646f6d f7003531 f76d5414
[13:59:33] [debug] ESP+00000180: f76d3e84 f76d3ef0 f76d3da0 f7405243
[13:59:33] [debug] ESP+000001a0: 080aa260 00000000 00000000 00000000
[13:59:33] [debug] ESP+000001c0: 00000000 00000000 00000000 00000000
[13:59:33] [debug] ESP+000001e0: 00000000 00000000 00000000 00000000
[13:59:33] [debug] ESP+00000200: 00000000 00000000 00000000 00000000
[13:59:33] [debug] ESP+00000220: 00000000 00000000 00000000 f74053fd
[13:59:33] [debug] ESP+00000240: 00000000 00000000 00000000 f73eda63
[13:59:33] [debug] ESP+00000260: 00000001 ff88ab24 ff88aac4 0818121c
[13:59:33] [debug] ESP+00000280: 00000000 16e1cb42 7a00af53 00000000
[13:59:33] [debug] ESP+000002a0: 00000000 f771a6e0 f73ed979 f7727000
[13:59:33] [debug] ESP+000002c0: 080a9420 00000001 ff88ab24 08150720
[13:59:33] [debug] ESP+000002e0: 00000001 ff88bf28 00000000 ff88bf34
[13:59:33] [debug] ESP+00000300: ff88bf8e ff88bf96 ff88bfb0 ff88bfbf
[13:59:33] [debug] ESP+00000320: 00000021 f7705000 00000010 bfebfbff
[13:59:33] [debug] ESP+00000340: 00000003 08048034 00000004 00000020
[13:59:33] [debug] ESP+00000360: 00000008 00000000 00000009 0804b4c0
[13:59:33] [debug] ESP+00000380: 0000000d 000001f4 0000000e 000001f4
[13:59:33] [debug] ESP+000003a0: 0000001f ff88bfec 0000000f ff88ac0b
[13:59:33] [debug] ESP+000003c0: 9e5e83da 9f8bf001 6954cdf1 00363836
[13:59:33] [debug] ESP+000003e0: 00000000 00000000 00000000 00000000
[13:59:33] [debug] Loaded modules:
[13:59:33] [debug] 00000000 - 00187f43 samp03svr
[13:59:33] [debug] f7705000 - f7705c5a linux-gate.so.1
[13:59:33] [debug] f76f3000 - f76f581b /lib/i386-linux-gnu/i686/cmov/libdl.so.2
[13:59:33] [debug] f76d7000 - f76f1d2b /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
[13:59:33] [debug] f75e4000 - f76ddcda /usr/lib/i386-linux-gnu/libstdc++.so.6
[13:59:33] [debug] f759e000 - f75e2b43 /lib/i386-linux-gnu/i686/cmov/libm.so.6
[13:59:33] [debug] f7581000 - f759d3c4 /lib/i386-linux-gnu/libgcc_s.so.1
[13:59:33] [debug] f73d4000 - f758922f /lib/i386-linux-gnu/i686/cmov/libc.so.6
[13:59:33] [debug] f7706000 - f7726d6c /lib/ld-linux.so.2
[13:59:33] [debug] f738d000 - f73cfac4 plugins/crashdetect.so
[13:59:33] [debug] f737c000 - f738b290 plugins/sscanf.so
[13:59:33] [debug] f6fd8000 - f7380ac7 plugins/mysql_static.so
[13:59:33] [debug] f6fc6000 - f6fcd09f /lib/i386-linux-gnu/i686/cmov/librt.so.1
[13:59:33] [debug] f65b9000 - f65c43ef /lib/i386-linux-gnu/i686/cmov/libnss_files.so.2
[13:59:33] [debug] f6514000 - f65b9064 plugins/streamer.so
[13:59:33] [debug] f6503000 - f651174c plugins/encrypt.so
[13:59:33] [debug] f60d6000 - f62054f8 plugins/pawnraknet.so
[13:59:33] [debug] f76f8000 - f76fc97b /lib/i386-linux-gnu/i686/cmov/libnss_dns.so.2
[13:59:33] [debug] bc5d2000 - bc5ea2fb /lib/i386-linux-gnu/i686/cmov/libresolv.so.2
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_CP_SD, areaid = -1, priority = 0)
PHP код:
What the "priority" parameter corresponds to? |
There is (and today it is visible on page 1 of Plugin Development)
https://sampforum.blast.hk/showthread.php?tid=580937 |
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
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 |
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);