| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 439 online users. » 0 Member(s) | 437 Guest(s) Bing, Google
|
| Latest Threads |
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
Yesterday, 01:43 AM
» Replies: 3
» Views: 644
|
Zona América del Sur DM+ ...
Forum: Advertisements
Last Post: kevinberriosflores
2025-12-05, 10:59 PM
» Replies: 0
» Views: 28
|
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-12-05, 02:06 PM
» Replies: 0
» Views: 48
|
The size of the output am...
Forum: Questions and Suggestions
Last Post: scandalfive
2025-12-01, 07:07 PM
» Replies: 0
» Views: 75
|
Garsiono's, Ricardo's, Tr...
Forum: Advertisements
Last Post: drwnrbbt
2025-12-01, 10:15 AM
» Replies: 0
» Views: 68
|
After School Roleplay [ R...
Forum: Advertisements
Last Post: cosminupgaming
2025-11-29, 09:39 PM
» Replies: 1
» Views: 320
|
Voltage Roleplay [English...
Forum: Advertisements
Last Post: JamesC
2025-11-29, 09:27 PM
» Replies: 0
» Views: 68
|
Vice WRLD Freeroam/RP
Forum: Advertisements
Last Post: pdjumailiev
2025-11-24, 11:30 AM
» Replies: 0
» Views: 129
|
Wanting to Start a RP Ser...
Forum: Chat
Last Post: Wein
2025-11-24, 09:07 AM
» Replies: 1
» Views: 277
|
Help me for creating a fr...
Forum: General Discussions
Last Post: [Rs]VeNoM
2025-11-23, 07:33 AM
» Replies: 0
» Views: 111
|
|
|
[Sorted out] Update attached objects |
|
Posted by: Otakeiro - 2021-06-02, 02:48 AM - Forum: Pawn Scripting
- Replies (4)
|
 |
Pretendo fazer uma StroboLights para ve?culos, vou usar luzes para o prot?tipo.
?Eu uso o Streamer para criar objetos din?micos e anex?-los, mas ... como atualizar a posi??o dos objetos anexados sem destru?-los e recri?-los?
?por exemplo, haveria alguma maneira de fazer um "UpdateAttachedDynamicObjectPos"?
|
|
|
|
| Array elements within a function aren't able to change? |
|
Posted by: klausfelix - 2021-06-01, 05:00 PM - Forum: Programming
- No Replies
|
 |
[color=var(--highlight-color)]a = np.array([0,2,4,2,0,2,3,2,3,2,0])
plt.figure(figsize=(10,7))
plt.plot(a,label='a')
def raycrit(a,thresh):
? ? min_ind = argrelextrema(a, np.less)
? ? max_ind = argrelextrema(a, np.greater)
? ? maxima = a[max_ind]
? ? minima = a[min_ind]
? ? if min_ind[0][0] > max_ind[0][0]:
? ? ? ? for i in range(0,len(minima)):
? ? ? ? ? ? if maxima[i] > thresh and maxima[i] > thresh:
? ? ? ? ? ? ? ? if minima[i] > maxima[i]/2 and minima[i] > maxima[i]/2:
? ? ? ? ? ? ? ? ? ? minima[i] = thresh
? ? a[min_ind] = minima
? ? return a
? ? ? ?
b = raycrit(a,2.5)[/color]
In the above code excerpt, I am trying to find local minima surrounded by local maxima that are more than half the height of the highest local maximum that neighbours it. And while this put into text might be confusing, I think reading the code helps understand what I'm trying to reach for. The problem arises with the fact that?
minima[i] = thresh
?stays unchanged even when the condition is triggered. Here the result should be [0,2,4,2,0,2,3,2.5,3,2,0] but remains [0,2,4,2,0,2,3,2,3,2,0] and I am quite confused as to why...
|
|
|
|
Touge Track |
|
Posted by: GCheredre - 2021-05-31, 02:27 AM - Forum: Maps
- Replies (2)
|
 |
There it is...a Touge track on the sky that's 3 minutes of downhill (and a bit of uphill) that can soothe your JDM, Eurobeatish, Drifting and Racing needs:
You may forgive my poor recording quality and poor editting skills but the track is legit and it's good enough for any racing / freeroam / drift server:
[Video: https://youtu.be/54qq3cCWr2w]
You're free to use it on your projects as long as you credit me for it and ofc let me know where it's being used so I can play on it some time ;)
Just leaving here some special thanks here to Crayder and Pottus for their TXD Workshop tool (you guys are awesome) and have at it:
https://file.io/rWsoA1RSd9jG
(If this link ever stop working feel free to contact me through discord or mail)
|
|
|
|
| Problems with servers after updating YSI to latest version |
|
Posted by: GospodinX - 2021-05-30, 07:14 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi guys
I have some problems after I'm update my YSI to 5.5.301 (latest version)
My server stop to work one time per day
Code: [20:02:05] Long callback execution detected (hang or performance issue)
[20:02:05] AMX backtrace:
[20:02:05] #0 0003f478 in Alloc:INI_GetKey (Alloc:cur=97, key[]=@01c274e8 "AUKcij", &Alloc:prev=@02cf1a5c 97) at C:\Users\GX\Desktop\Server\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc:372
[20:02:05] #1 0003f844 in bool:INI_AddToBuffer (INI:file=0, key[]=@01c274e8 "AUKcij", value[]=@00000110 "16550000", semis=0) at C:\Users\GX\Desktop\Server\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc:415
[20:02:05] #2 00043208 in bool:INI_WriteInt (INI:file=0, name[]=@01c274e8 "AUKcij", data=16550000) at C:\Users\GX\Desktop\Server\pawno\include\YSI_Storage\y_ini\y_ini_impl.inc:1269
[20:02:05] #3 00721e78 in SacuvajPodesavanja () at C:\Users\GX\Desktop\Server\gamemodes\be.pwn:65854
[20:02:05] #4 007ab7f4 in Call_Zero () at C:\Users\GX\Desktop\Server\gamemodes\be.pwn:75812
[20:02:05] #5 007ab638 in public MinutTimer () at C:\Users\GX\Desktop\Server\gamemodes\be.pwn:75799
My server won't crash but players can't enter until I restart the server. Always when I get problems my crash detect log had something from ysi (long callback detected) and there always was:
Alloc:INI_GetKey,bool:INI_AddToBuffer ,INI_HandleEntry etc.
I've not had any problems with my server/YSI before updating to the latest version.
|
|
|
|
| [Streamer] [Solved] Dynamic objects don't appear up close |
|
Posted by: Radical - 2021-05-30, 03:40 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
https://pasteboard.co/K4j0DCO.png
https://pasteboard.co/K4j1oBD.png
Some of code objects:
Code: tmpobjid = CreateDynamicObject(19376, 666.860229, 2532.298583, -90.541076, 0.000000, 90.000000, 0.000000,-1, 13, -1, 300.0, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 14387, "dr_gsnew", "la_flair1", 0x00000000);
tmpobjid = CreateDynamicObject(19376, 656.362854, 2541.928710, -90.541076, 0.000000, 90.000000, 0.000000,-1, 13, -1, 300.0, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 14387, "dr_gsnew", "la_flair1", 0x00000000);
tmpobjid = CreateDynamicObject(19376, 656.361816, 2532.298339, -85.407066, 0.000000, 90.000000, 0.000000,-1, 13, -1, 300.0, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 14708, "labig1int2", "ab_mottleGrey", 0x00000000);
tmpobjid = CreateDynamicObject(19377, 651.220458, 2541.876708, -90.456871, 0.000000, 0.000000, 0.000000,-1, 13, -1, 300.0, 300.00);
This problem is only in this map.
I don't know what the problem is.
EDIT:?https://www.burgershot.gg/showthread.php?tid=2065&pid=11339#pid11339
|
|
|
|
| Mumbai Gaming Roleplay |
|
Posted by: Mr Sims - 2021-05-30, 06:55 AM - Forum: Gamemodes
- No Replies
|
 |
Felt like I might aswell release this.
This is a edited version of Old School Roleplay to an old managements requirements. He took full credit of the script so I will now release it under that fact.
The script contains;
MDC System
Land System
Furniture System
Custom Interiors
Dynamic Factions/Families.
MySQL to save all information
Near to none errors
I believe max level for admin is around 9999 or 99999. Unsure as I haven't touched the script within 2-3 months.
Download?<- If the download gets taken down, please DM me and I will reupload it!
|
|
|
|
| Server is closing |
|
Posted by: robertjwx - 2021-05-29, 03:12 PM - Forum: Support
- Replies (5)
|
 |
I was using that samp server hosts (heavyhost) with 50 slots and my server never closes.
This week i paid a VPS put it online with 300 slots and now my server closes randomlly, the host still normal, only the samp03svr closes
What it can be?
The logs before crashes don't looks tell a lot:
Code: [21:09:33] [debug] #0 001c02b8 in public AtualizarRoubos () in SP.amx
[21:09:39] Kicking ***.***.**.** because they didn't logon to the game.
[21:10:05] [debug] Long callback execution detected (hang or performance issue)
[21:10:05] [debug] AMX backtrace:
[21:10:05] [debug] #0 001c15e0 in public DesaparecerWeaponDrop () in SP.amx
[21:17:37] [debug] Long callback execution detected (hang or performance issue)
[21:17:37] [debug] AMX backtrace:
[21:17:37] [debug] #0 001c0354 in public AtualizarRoubos () in SP.amx
But there isn't much about this funciton:
Code: #define MAX_BIZZ 5000
enum bizinfos
{
? ? bizzID,
? ? bizzName[30],
? ? bizzType,
? ? Float:bizzX,
? ? Float:bizzY,
? ? Float:bizzZ,
? ? bizzOWNER,
? ? bizzBank,
? ? bizzProducts
}
new BizzInfo[MAX_BIZZ][bizinfos];
public AtualizarRoubos() {
? ? // atualizar roubos
? ? for(new bizzid = 1; bizzid < sizeof(BizzInfo); bizzid) {
? ? ? ? BizzInfo[bizzid][rexaustedrobbery] -= 5;
? ? ? ? if(BizzInfo[bizzid][rexaustedrobbery] < 0) BizzInfo[bizzid][rexaustedrobbery] = 0;
? ? }
}
Something like this could close my server?
What should i do?
|
|
|
|
|