Sporo se ucitavaju objekti?

Započeo Kenjac06, Mart 31, 2020, 23:43:11 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): Sporo se ucitavaju objekti
Dio skripte: [ pawn ]//[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]//[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): https://imgur.com/gallery/gf6joD1


Citat: Galardo poslato Mart 31, 2020, 23:45:55 POSLE PODNE
https://github.com/algorhitmically/optidraw

Hvala za ovo.Jeli ovu ubacim samo tamo gdej je server jeli moram da rasporedim p pluginsima i inc.

Jos sam pocetnik pa neznam mnogo :) :) :)


Citat: Kenjac06 poslato Mart 31, 2020, 23:51:58 POSLE PODNE
Hvala za ovo.Jeli ovu ubacim samo tamo gdej je server jeli moram da rasporedim p pluginsima i inc.

Jos sam pocetnik pa neznam mnogo :) :) :)
imas objasnjeno na githubu...

ubacis te include-ove u pawn folder kao i sve ostale includove.
zatim u skripti dodas
[pawn]#define OD_METHOD              METHOD_BOX
#include                                    < optidraw >
#include                     < modelsizes >[/pawn]

ovo dodaj ispo streamer-a i provjeri da li imas zadnju verziju streamera...

Citat: Galardo poslato Mart 31, 2020, 23:54:42 POSLE PODNE
imas objasnjeno na githubu...

ubacis te include-ove u pawn folder kao i sve ostale includove.
zatim u skripti dodas
[pawn]#define OD_METHOD              METHOD_BOX
#include                                    < optidraw >
#include                     < modelsizes >[/pawn]

ovo dodaj ispo streamer-a i provjeri da li imas zadnju verziju streamera...

Stavio sam ovo

[pawn]#include                                                <streamer>
          #include                                                              <optidraw>[/pawn]

Sta sada.

Moras i #define OD_METHOD METHOD_BOX prije tih includova,a onda samo compile-aj...

Citat: Galardo poslato April 01, 2020, 00:06:48 PRE PODNE
Moras i #define OD_METHOD METHOD_BOX prije tih includova,a onda samo compile-aj...

Izvini druze sto te smaram gde da ih definisem da otvorim novu liniju pa da ih definisem neznam.

ajmo reci da imas npr ovako
[pawn]
#include    <a_samp>
#include     <streamer>
#include    <sscanf2>[/pawn]

to dodaj ispod streamera,dakle

[pawn]#include    <a_samp>
#include    <streamer>
#define OD_METHOD    METHOD_BOX
#include    < optidraw >
#include    < modelsizes >
#include     <sscanf2>
[/pawn]

Vidi koi eror imam

C:\Users\PC\Desktop\Busin FEMELY\Milan\Street Evolution by Kenjac\Street Evolution by Kenjac\Street Evolution by Kenjac\pawno\include\od_entry.inc(54) : fatal error 111: user error: Optidraw: modelsizes doesn't have required functions or it's not loaded

ovako izgleda

[pawn]//==============================================================================-> INCLUDE

#include                                                 <a_samp>
#include                                               <a_objects>
#include                                                <streamer>
#define OD_METHOD              METHOD_BOX
#include                                                          < optidraw >
#include                                               < modelsizes >
#include                                                 <sscanf2>
#include                                               <YSI\y_ini>
#include                                            <YSI\y_iterate>
#include                                             <YSI\y_timers>
#include                                                   <utils>
#include                                                   <zcmd>
#include                                                 <newsamp>
#include                                               <progress2>
#include                                              <mapandreas>
#include                                              <mSelection>
#include                                           <GetVehicleColor>
#include                                                   <dini>
#include                                            <inventoryMenu>
#include                                              "MAPE.pwn"

#pragma                                           unused ReturnUser
[/pawn]




Vidi sta mi iskace

[pawn][00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ERROR: (modelsizes-SQL): Cannot find "modelsizes.db".
[00:32:55] ==================================================
[00:32:55]    * OptiDraw v1.0.1 loaded successfully.
[00:32:55]    * By algorhitmically - [03.05.2020.]
[00:32:55]    * Current method: BOX
[00:32:55] ==================================================
[00:32:55] Street Evolution RolePlay | www.se-rpg.com
[00:32:55] Uspesno je ucitan mod..
[00:32:55] Verzija: x[SE] v0.1 by Kenjac
[00:32:55] Number of vehicle models: 34
[00:32:55] --- Server Shutting Down.
[00:33:23] [/pawn]

Gde sam pogresio.

i ovo

[pawn]
[00:37:40]  ===============================

[00:37:40]      sscanf plugin unloaded.   

[00:37:40]  ===============================

[00:37:40]

*** Streamer Plugin v2.9.4 by Incognito unloaded ***[/pawn]