| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 372 online users. » 0 Member(s) | 369 Guest(s) Bing, Google, Applebot
|
| Latest Threads |
Hobby War Server (Open to...
Forum: Advertisements
Last Post: blackwolf4278
7 hours ago
» Replies: 0
» Views: 13
|
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2026-02-08, 05:53 PM
» Replies: 12
» Views: 1,395
|
open.mp ready DayZ gamemo...
Forum: Gamemodes
Last Post: Bombo
2026-02-08, 07:50 AM
» Replies: 0
» Views: 89
|
samp-essentials
Forum: Libraries
Last Post: 1NS
2026-02-07, 12:51 PM
» Replies: 0
» Views: 67
|
problem dialog clan membe...
Forum: Pawn Scripting
Last Post: selmir.beha
2026-02-07, 05:13 AM
» Replies: 2
» Views: 150
|
Unban
Forum: Chat
Last Post: stryzo125
2026-02-06, 11:59 PM
» Replies: 2
» Views: 162
|
It has been a while
Forum: Chat
Last Post: Mauzen
2026-02-06, 08:36 PM
» Replies: 0
» Views: 54
|
HWID BAN
Forum: Questions and Suggestions
Last Post: stryzo125
2026-02-06, 03:27 PM
» Replies: 2
» Views: 1,922
|
Project: Las Venturas Rol...
Forum: Advertisements
Last Post: Kremzy
2026-02-02, 10:14 PM
» Replies: 0
» Views: 81
|
Looking for Players for N...
Forum: Advertisements
Last Post: AlmightyJeremy
2026-02-02, 07:04 PM
» Replies: 0
» Views: 65
|
|
|
| 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?
|
|
|
|
| Set Objects To Virtual World |
|
Posted by: dondo - 2021-05-29, 11:44 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
Dear community,
i think the question is clear. I want to set my 'spawn-ojects' to a virtual world so that you just see the objects when you select your skin.
Thanks!
|
|
|
|
|