Portal SAMP
[Ajuda] Limite textdraw - Versão de Impressão

+- Portal SAMP (https://portalsamp.com)
+-- Fórum: SA-MP (https://portalsamp.com/forumdisplay.php?fid=5)
+--- Fórum: Área de suporte (https://portalsamp.com/forumdisplay.php?fid=6)
+--- Tópico: [Ajuda] Limite textdraw (/showthread.php?tid=2570)



Limite textdraw - Aranha - 14/07/2022

estou colocando algumas texdraw na gm so q agora deu limite

preciso de ajuda com #include <textdraw-streamer>
 
coloquei essa include para burlar limite de textdraw

depois q coloquei essa include minha gm nao carrega 

gm compila sem erros

os plugins carregam normal

Loaded 4 plugins.


server_log da esses erros

[10:48:19] Script[gamemodes/gmdc.amx]: Run time error 19: "File or function is not found"

[10:48:19] Number of vehicle models: 0

[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)
[10:50:22] [sampgdk:error] Too many callback arguments (at most 32 allowed)

Huh


RE: Limite textdraw - domingues93 - 14/07/2022

Tem que ver os logs completos!

@off
Se você ultrapassou o limite de 2048 textdraws globais e 256 per-player alguma coisa esta errada.
Tem que ver como esta criando e fazendo uso das mesmas.


RE: Limite textdraw - Dr Editor - 14/07/2022

Não é tão fácil estourar o limite e, mesmo que fosse o caso, simplesmente não iria aparecer as textdraws.
Isso sugere que o servidor tem algo errado e não a livraria.

Colocou o plugin na pasta "plugins"?
Compilou o servidor com a include na mesma versão do plugin?
Recebeu avisos após compilação? Se sim, quais?


RE: Limite textdraw - Aranha - 14/07/2022

sim as includes e plugins estao corretas

realmente acho q nao e isso nao sei oq fiz q a gm bugou
compila nao tem erros nem avisos
vou usar crashdetect pra ver se aparece algo de errado




----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[16:56:20] password = "" (string)
[16:56:20] filterscripts = "" (string)
[16:56:20]
[16:56:20] Server Plugins
[16:56:20] --------------
[16:56:20] Loading plugin: sscanf.so
[16:56:20]

[16:56:20] ===============================

[16:56:20] sscanf plugin loaded.

[16:56:20] Version: 2.8.2

[16:56:20] © 2012 Alex "Y_Less" Cole

[16:56:20] ===============================

[16:56:20] Loaded.
[16:56:20] Loading plugin: streamer.so
[16:56:20]

*** Streamer Plugin v2.9.5 by Incognito loaded ***

[16:56:20] Loaded.
[16:56:20] Loading plugin: sampvoice.so
[16:56:20] [sv:dbg:network:init] : module initializing...
[16:56:20] [dbg:raknet:init] : module initializing...
[16:56:20] [dbg:raknet:init] : module initialized
[16:56:20] [sv:dbg:network:init] : module initialized
[16:56:20] [sv:dbg:main:Load] : creating 8 work threads...
[16:56:20] -------------------------------------------
[16:56:20] ___ __ __ _
[16:56:20] / __| __ _ _ __ _ _\ \ / /__ (_) __ ___
[16:56:20] \__ \/ _` | ' \| '_ \ / _ \| |/ _/ -_)
[16:56:20] |___/\__,_|_|_|_| .__/\_/\___/|_|\__\___|
[16:56:20] |_|
[16:56:20] -------------------------------------------
[16:56:20] SampVoice by MOR loaded
[16:56:20] -------------------------------------------
[16:56:20] Loaded.
[16:56:20] Loading plugin: timerfix.so
[16:56:20] >> TimerFix v1.5 successfully loaded.
[16:56:20] Loaded.
[16:56:20] Loaded 4 plugins.

[16:56:20]
[16:56:20] Ban list
[16:56:20] --------
[16:56:20] Loaded: samp.ban
[16:56:20]
[16:56:20]
[16:56:20] Filterscripts
[16:56:20] ---------------
[16:56:20] Loaded 0 filterscripts.

[16:56:21] [sv:dbg:main:AmxLoad] : net game pointer (value:0x8a34dd0) received
[16:56:21] [sv:dbg:network:bind] : voice server running on port 40120
[16:56:21] *** fixes.inc warning: Server var `maxplayers` (100) < `MAX_PLAYERS` (500), wasting memory.
[16:56:21] ***
[16:56:21] *** Disable this message with:
[16:56:21] ***
[16:56:21] *** #define FIXES_GetMaxPlayersMsg 0
[16:56:21] ***
[16:56:21] Filterscript '../scriptfiles/callbackfix.amx' loaded.
[16:56:21] OnGameo
[16:56:22] ORGS CRIADAS: 18
[16:56:22]
----------------------------------
[16:56:22] Bem-vindo
[16:56:22] ----------------------------------

[16:56:22] Number of vehicle models: 51
[16:57:22] [connection] incoming connection: 177.10.125.15:24259 id: 0
[16:57:23] [join] Aranha has joined the server (0:177.10.125.15)


RE: Limite textdraw - willttoonn - 14/07/2022

Nas textdraws per-player você cria elas no momento em que utiliza-las e depois destrói elas, é um método de "streamer simples". Nas globais, revise o que você precisa manter lá, que não pode virar per-player.


RE: Limite textdraw - Aranha - 14/07/2022

achei o erro vlw pela ajuda turma
era erro de texdraw mesmo estava logando bugado