[Ajuda] Veнculos sumindo
#1

Olб,

No meu servidor hб cerca de 50 veнculos criados, porйm quando o player entra em um interior e sai, todos os veнculos somem, e sу retorna com o GMX (detalhe: some apenas para aquele player).
No console, mostra o "number of vehicle models: 0", mas hб sim veнculos dentro do servidor.

OS: Ubuntu 14.04.5 32bits LTS.

Log:
PHP код:
SA-MP Dedicated Server
----------------------
v0.3.DL-R1, (C)2005-2018 SA-MP Team
[17:03:07] 
[
17:03:07] Server Plugins
[17:03:07] --------------
[
17:03:07]  Loading plugin: Whirlpool.so
[17:03:07]  
[
17:03:07]  ==================
[
17:03:07]  
[
17:03:07]   Whirlpool loaded
[17:03:07]  
[
17:03:07]  ==================
[
17:03:07]  
[
17:03:07]   Loaded.
[
17:03:07]  Loading plugin: crashdetect.so
[17:03:07]   CrashDetect v4.18 is OK.
[
17:03:07]   Loaded.
[
17:03:07]  Loading plugin: mysql.so
[17:03:07]  >> plugin.mysql: R39-3 successfully loaded.
[
17:03:07]   Loaded.
[
17:03:07]  Loading plugin: sscanf.so
[17:03:07] 
[
17:03:07]  ===============================
[
17:03:07]       sscanf plugin loaded.     
[
17:03:07]          Version:  2.8.1        
[17:03:07]    (c) 2012 Alex "******" Cole  
[17:03:07]  ===============================
[
17:03:07]   Loaded.
[
17:03:07]  Loading plugin: streamer.so
[17:03:07] 
*** 
Streamer Plugin v2.9.3 by Incognito loaded ***
[
17:03:07]   Loaded.
[
17:03:07]  Loading plugin: nativechecker.so
[17:03:07]   Loaded.
[
17:03:07]  Loaded 6 plugins.
[
17:03:07] 
[
17:03:07] Filterscripts
[17:03:07] ---------------
[
17:03:07]   Loading filterscript 'gl_realtime.amx'...
[
17:03:07]   Loaded 1 filterscripts.
[
17:03:07]  
[
17:03:07]  
[
17:03:07]  
[
17:03:07]  ======================================= 
[
17:03:07]  |                                     | 
[
17:03:07]  |        YSI version 3.09.0684        | 
[
17:03:07]  |        By Alex "******" Cole        | 
[
17:03:07]  |                                     | 
[
17:03:07]  ======================================= 
[
17:03:07]  
[
17:03:07] [SQL] Connection to "XXX.XXX.XXX.XXX" passed!
[
17:03:07] Number of vehicle models: 0 
Reply
#2

Quando o jogador sair do interior use:

PHP код:
SetPlayerInterior(playerid, 0); 
ou:

PHP код:
SetPlayerVirtualWorld(playerid, 0); 
Reply
#3

Quote:
Originally Posted by LeViNS
Посмотреть сообщение
Quando o jogador sair do interior use:

PHP код:
SetPlayerInterior(playerid, 0); 
ou:

PHP код:
SetPlayerVirtualWorld(playerid, 0); 
Jб coloquei isso em todos os lugares. Usei o comando de trocar o VW e setei para 0 apуs sair do interior e os veнculos nгo voltaram.
Reply
#4

Adicional:
Quando o servidor й desligado e o crashdetect estб ativo, o seguinte й retornado:
PHP код:
[18:06:32] plugin.mysql: Unloading plugin...
[
18:06:33] [debug] Server crashed due to an unknown error
[18:06:33] [debug] Native backtrace:
[
18:06:33] [debug] #0 b742a240 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[18:06:33] [debug] #1 b74220f4 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[18:06:33] [debug] #2 b7422df4 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[18:06:33] [debug] #3 b7424d6b in _ZN11CrashDetect7OnCrashERKN2os7ContextE () from plugins/crashdetect.so
[18:06:33] [debug] #4 b7429595 in ?? () from plugins/crashdetect.so
[18:06:33] [debug] #5 b7784600 in ?? ()
[18:06:33] [debug] #6 b73d2c4b in _ZN12CMySQLHandleD1Ev () from plugins/mysql.so
[18:06:33] [debug] #7 b73d2fe9 in _ZN12CMySQLHandle7DestroyEv () from plugins/mysql.so
[18:06:33] [debug] #8 b73d30f3 in _ZN12CMySQLHandle8ClearAllEv () from plugins/mysql.so 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)