FORUM OBAVIJEST: Zapadni Balkan TV / ZBTV
Prijave za web coding battle
SA:MP zajednica Zapadni Balkan

Čet - 22.08.2019. - 20:37
Aktiviraj Nyx stil Aktiviraj Elastica stil
163
posjeta

Tema: [PROBLEM] - Optimizacije

0 Članova i 1 Gost pregledava ovu temu.
 Str: [1]   Dolje   « natrag naprijed »
*
Spol: Muški
Trening kamp: 16/20

Problem: Oko memorije na gamemode ( optimizacije )[
Detaljan opis problema: Da li je dobar gamemode, koristim i radim 3 godine bez bagova, ali želim da optimizacija bude bolja i kako sam danas izvrsio debug imao sam 61mb i gamemode je oko 70k - 80k bez mape koje čuvam kao include ii koje bilo najbolji normala na memorije gamemoda. Hvala
Deo skripte: Header size:          21676 bytes
Code size:          7314160 bytes
Data size:         53371964 bytes
Stack/heap size:     560000 bytes; estimated max. usage: unknown, due to recursion
Total requirements:61267800 bytes[ /code]
[b]Slika Problema (nije obavezno ukoliko je u pitanju error/warning)[/b]: [i]/[/i]

*
Spol: Ženski
"Nije lako kao što izgleda."
Trening kamp: 20/20

Pazi buraz, sve što budeš radio je "beskorisno" (ako želiš da mod bude optimizovan) ako nije dynalloc.
Znači y_malloc, PawnPlus, termenary statements...

Sada ako treba nešto da ti objasnim oko optimizacije, pošalji Discord i AnyDesk u PM ovde.
« Zadnja izmjena: Sri - 07.08.2019. - 14:14 Pinch »
My biggest issue too with so many people is that they think time is free,
you know, I mean. So when they see like a really talended artis,
they'll be like: "hey, listen, can you like do this for me? Like it's not gonna cost you anythin, You could just do it; You're good at it."
Like, no; Shut up.
They're good at it because they spent countless hours doing it and getting good at it.
So don't ask for things for free.

- San Andreas MP (Balkan) -/- Discord Server -
San Andreas MP (Balkan) je Discord zajednica koja daje sve od sebe da vrati SA-MP u ono što je bio i da poboljša doživljaj samog Balkanskog SA-MP Community-a!

*
Spol: Muški
Trening kamp: 16/20

Pazi buraz, sve što budeš radio je "beskorisno" (ako želiš da mod bude optimizovan) ako nije dynalloc.
Znači y_malloc, PawnPlus, termenary statements...

Sada ako treba nešto da ti objasnim oko optimizacije, pošalji Discord i AnyDesk u PM ovde.
Pa mozda malo objasnjenje оko optimizacije, jer o tome vecc imam neko znanje pa zasto bih zeleo malo objasnjenje.  :D

*
Spol: Ženski
"Nije lako kao što izgleda."
Trening kamp: 20/20

Y_Less' Server Includes: https://ysi.fandom.com/wiki/YSI_Wiki
PawnPlus ( IllidanS4 ): https://github.com/IllidanS4/PawnPlus/wiki
YSF ( Kurta999, IllidanS4 ): https://github.com/IllidanS4/YSF/wiki
My biggest issue too with so many people is that they think time is free,
you know, I mean. So when they see like a really talended artis,
they'll be like: "hey, listen, can you like do this for me? Like it's not gonna cost you anythin, You could just do it; You're good at it."
Like, no; Shut up.
They're good at it because they spent countless hours doing it and getting good at it.
So don't ask for things for free.

- San Andreas MP (Balkan) -/- Discord Server -
San Andreas MP (Balkan) je Discord zajednica koja daje sve od sebe da vrati SA-MP u ono što je bio i da poboljša doživljaj samog Balkanskog SA-MP Community-a!

***
Spol: Muški
Mlad zgodan seksi plodan xD
Trening kamp: 10/20

Prebacuj CreateObect > CreateDynamicObject | CreateObjectEx > CreateDynamicObjectEx
Takodje i Pawno nije bas dobro optimiziran, preporucujem ti Sublime Text 3, kao sto je @Pinch rekao, PawnPluss
Balkan Moon v1.0 by Foxy

Owner // Scripter Balkan Moon

u Potpisu Foxy.

Ne pipaj lava Foxy, radi na BM-u :D :D :D
ZBSAMP Respect For: XX | XX[/b]

* Server's
* Scripter on Power Gaming
* Scripter on Night Life
* Scripter on Arena Gaming
* Scripter off duty (Balkan Moon)

Messi u skriptanju hehe ;)
OLD Minecraft Developer & Player (2016-2018)

#FOXYSCRIPT[/b]
Super Moderator - XX| Moderator - 24.7.2019 - 7-8-9.8.2019

*
Spol: Ženski
"Nije lako kao što izgleda."
Trening kamp: 20/20

Prebacuj CreateObect > CreateDynamicObject | CreateObjectEx > CreateDynamicObjectEx
Takodje i Pawno nije bas dobro optimiziran, preporucujem ti Sublime Text 3, kao sto je @Pinch rekao, PawnPluss
CreateObjet > COD(EX) nije optimizacija koda.
My biggest issue too with so many people is that they think time is free,
you know, I mean. So when they see like a really talended artis,
they'll be like: "hey, listen, can you like do this for me? Like it's not gonna cost you anythin, You could just do it; You're good at it."
Like, no; Shut up.
They're good at it because they spent countless hours doing it and getting good at it.
So don't ask for things for free.

- San Andreas MP (Balkan) -/- Discord Server -
San Andreas MP (Balkan) je Discord zajednica koja daje sve od sebe da vrati SA-MP u ono što je bio i da poboljša doživljaj samog Balkanskog SA-MP Community-a!

*******
Spol: Muški
Can't wait
Trening kamp: 20/20

Prebacuj CreateObect > CreateDynamicObject | CreateObjectEx > CreateDynamicObjectEx
Takodje i Pawno nije bas dobro optimiziran, preporucujem ti Sublime Text 3, kao sto je @Pinch rekao, PawnPluss

totalno je nebitno u kom editoru radis, bio to pawno, sublime, vscode... sve se to svodi na jedan compiler, razlika je samo u obradi teksta.
scripting team -  03.02.2018

global moderator -  13.06.2018

co-administrator - 17.06.2019


*
Spol: Ženski
"Nije lako kao što izgleda."
Trening kamp: 20/20

Prebacuj CreateObect > CreateDynamicObject | CreateObjectEx > CreateDynamicObjectEx
Takodje i Pawno nije bas dobro optimiziran, preporucujem ti Sublime Text 3, kao sto je @Pinch rekao, PawnPluss

totalno je nebitno u kom editoru radis, bio to pawno, sublime, vscode... sve se to svodi na jedan compiler, razlika je samo u obradi teksta.
Nemoj tako, on je Messi u skriptanju.
My biggest issue too with so many people is that they think time is free,
you know, I mean. So when they see like a really talended artis,
they'll be like: "hey, listen, can you like do this for me? Like it's not gonna cost you anythin, You could just do it; You're good at it."
Like, no; Shut up.
They're good at it because they spent countless hours doing it and getting good at it.
So don't ask for things for free.

- San Andreas MP (Balkan) -/- Discord Server -
San Andreas MP (Balkan) je Discord zajednica koja daje sve od sebe da vrati SA-MP u ono što je bio i da poboljša doživljaj samog Balkanskog SA-MP Community-a!

 Str: [1]   Gore   « natrag naprijed »
 

© 2011 - 2019, SA:MP zajednica Zapadni Balkan. All rights reserved.