Optidraw ?

Započeo eklipsa, Septembar 19, 2020, 21:18:55 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Error
Deo skripte: [pawn]#define OD_METHOD                  METHOD_BOX
#include                       < optidraw >
#include                    < modelsizes >[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): Trazim po netu kako da poboljšam učitavanje mapa i naletim na optidraw include, kazu da on dosta pomaze sa mapama, ali imam problem. Pogledajte samo koje errore dobijam.

C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\..\modelsizes.inc(8114) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\..\modelsizes.inc(8135) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(62) : error 021: symbol already defined: "MODELS_gColRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(2076) : error 021: symbol already defined: "MODELS_gColOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(4083) : error 021: symbol already defined: "MODELS_gColAABB"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8090) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8091) : error 021: symbol already defined: "GetColSphereRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8099) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8100) : error 021: symbol already defined: "GetColSphereOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8114) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8115) : error 021: symbol already defined: "GetModelBoundingBox"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8135) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8136) : error 021: symbol already defined: "GetModelColDimensions"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(62) : error 021: symbol already defined: "MODELS_gColRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(2076) : error 021: symbol already defined: "MODELS_gColOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(4083) : error 021: symbol already defined: "MODELS_gColAABB"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8090) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8091) : error 021: symbol already defined: "GetColSphereRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8099) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8100) : error 021: symbol already defined: "GetColSphereOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8114) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8115) : error 021: symbol already defined: "GetModelBoundingBox"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8135) : warning 219: local variable "objectmodel" shadows a variable at a preceding level
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8136) : error 021: symbol already defined: "GetModelColDimensions"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(39) : error 010: invalid function or declaration
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(39) : error 010: invalid function or declaration
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(44) : error 010: invalid function or declaration
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(47) : error 010: invalid function or declaration
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(47) : error 017: undefined symbol "objectid"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(49) : error 010: invalid function or declaration
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(50) : error 010: invalid function or declaration
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(56) : error 010: invalid function or declaration
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(76) : error 010: invalid function or declaration
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(78) : error 010: invalid function or declaration
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(81) : error 021: symbol already defined: "Streamer_ToggleItemStatic"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\optidraw_Data\od_impl.inc(85) : error 054: unmatched closing brace ("}")

Compilation aborted.

Pawn compiler 3.10.8 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.


Joy

*

Updatuj streamer (include i plugin) na poslednju 2.9.4 verziju i ako imas negdje u modu definisano "objectmodel" preimenuj ga.
Edit: Takodje bi trebalo optidraw da ti bude includan posle streamera ako nije.
Poslednja Izmena: Septembar 19, 2020, 21:30:31 POSLE PODNE od Joy

Citat: Joy poslato Septembar 19, 2020, 21:29:16 POSLE PODNE
Updatuj streamer (include i plugin) na poslednju 2.9.4 verziju i ako ima%u0161 negdje u modu definisano negdje "objectmodel" preimenuj ga.
Edit: Takodje bi trebalo optidraw da ti bude includan posle streamera ako nije.
Streamer mi je vec na 2.9.4 verziji, u modu nemam object model nigdje

Gledao sam na netu da treba ovako dodati u skriptu
#define OD_METHOD                METHOD_BOX
#include                         < optidraw >
#define                          objectmodel objectmodel2
#include                         < modelsizes >

Ali sada ove errore dobijam...
:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(62) : error 021: symbol already defined: "MODELS_gColRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(2076) : error 021: symbol already defined: "MODELS_gColOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(4083) : error 021: symbol already defined: "MODELS_gColAABB"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8091) : error 021: symbol already defined: "GetColSphereRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8100) : error 021: symbol already defined: "GetColSphereOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8115) : error 021: symbol already defined: "GetModelBoundingBox"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8136) : error 021: symbol already defined: "GetModelColDimensions"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(62) : error 021: symbol already defined: "MODELS_gColRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(2076) : error 021: symbol already defined: "MODELS_gColOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(4083) : error 021: symbol already defined: "MODELS_gColAABB"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8091) : error 021: symbol already defined: "GetColSphereRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8100) : error 021: symbol already defined: "GetColSphereOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8115) : error 021: symbol already defined: "GetModelBoundingBox"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8136) : error 021: symbol already defined: "GetModelColDimensions"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(62) : error 021: symbol already defined: "MODELS_gColRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(2076) : error 021: symbol already defined: "MODELS_gColOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(4083) : error 021: symbol already defined: "MODELS_gColAABB"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8090) : error 025: function heading differs from prototype
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8091) : error 021: symbol already defined: "GetColSphereRadius"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8099) : error 025: function heading differs from prototype
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8100) : error 021: symbol already defined: "GetColSphereOffset"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8114) : error 025: function heading differs from prototype
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8115) : error 021: symbol already defined: "GetModelBoundingBox"
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8135) : error 025: function heading differs from prototype
C:\Users\USER-PC\Desktop\FAJLOVI\MOD\pawno\include\modelsizes.inc(8136) : error 021: symbol already defined: "GetModelColDimensions"
Pawn compiler 3.10.8 Copyright (c) 1997-2006, ITB CompuPhase


25 Errors.