SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: BroZeus
Forum: Scripting Help 03/10/2019, 11:48 AM
Replies: 19
Views: 1,063
Posted By BroZeus
Re: This FlashBang effect

The name of the next callback to be called in SetTimer() function in DescayFlashRadar1() and DescayFlashRadar2() is wrong.
Also, you have arguments in these functions, to pass arguments you must...
Forum: Scripting Help 03/10/2019, 11:32 AM
Replies: 8
Views: 325
Posted By BroZeus
Re: Six random numbers which are not equal to each other

Another way to do it is to pick random numbers from consecutive ranges, for example, pick the first random number from the range 0-9, second from 10-19 and so on.
Of course, it won't have that level...
Forum: Scripting Help 28/05/2018, 01:33 AM
Replies: 5
Views: 346
Posted By BroZeus
Re: Not adding space on MYSQL

That's not how its supposed to be done at all, don't store HTML directly in the database, store the killerID and playerID in the database and then select those IDs and generate HTML using the backend...
Forum: Everything and Nothing 02/05/2018, 05:39 AM
Replies: 6
Views: 1,299
Posted By BroZeus
Re: Some advice for an "old school" PHP-MySQL dev wanting to go on with new web stuff.

I recently made a UCP on top of react and nodejs which has server-side rendering too, you can check it out here (http://forum.sa-mp.com/showthread.php?t=651720). As Southclaw said you can use...
Forum: Everything and Nothing 11/04/2018, 01:38 PM
Replies: 45
Views: 3,805
Posted By BroZeus
Re: A Good Budget Build?

Go for i3 8100, its prize almost the same as the processor you have chosen, at least online. Although motherboard may be a bit costlier.
Going for i3 7th/8th gen is better imo since it gives you...
Forum: Tools and Files 07/04/2018, 06:24 PM
Replies: 17
Views: 7,046
Posted By BroZeus
Re: node.ucp - A full-fledged isomorphic UCP [nodejs + reactjs]

After few days of uptime, its ram usage is at 36mb and CPU usage is less than 1% on the server that the demo is currently on, however, RAM usage seems to be more when the app is running in Windows.
...
Forum: Tools and Files 31/03/2018, 01:50 AM
Replies: 17
Views: 7,046
Posted By BroZeus
Re: node.ucp - A full-fledged isomorphic UCP [nodejs + reactjs]

The authenticating process is now shifted to server-side, no more of that `initialzing awesomeness` splash screen.
Due to authenticating process being shifted to server-side, protected routes are...
Forum: Tools and Files 29/03/2018, 12:25 PM
Replies: 17
Views: 7,046
Posted By BroZeus
Re: node.ucp - A full-fledged isomorphic UCP [nodejs + reactjs]

I tested it with NoScript the issue was that the UCP domain was not on the trusted site so it blocks the cookie authenticating call to API and hence the splash screen on the start never disappears....
Forum: Tools and Files 29/03/2018, 11:51 AM
Replies: 17
Views: 7,046
Posted By BroZeus
Re: node.ucp - A full-fledged isomorphic UCP [nodejs + reactjs]

I didn't think that anyone at this time and age would have javascript disabled, my main purpose was to target crawl bots with isomorphism. If however, there are people out there who still does this,...
Forum: Tools and Files 29/03/2018, 11:39 AM
Replies: 17
Views: 7,046
Posted By BroZeus
Re: node.ucp - A full-fledged isomorphic UCP [nodejs + reactjs]

It is isomorphic and the content along with data is rendered on the server-side. If you right-click on the page and click on view page source option you will actually see that it is indeed rendered...
Forum: Tools and Files 26/03/2018, 10:58 AM
Replies: 17
Views: 7,046
Posted By BroZeus
node.ucp - A full-fledged isomorphic UCP [nodejs + reactjs]

node.ucp


https://i.imgur.com/BEbdNkN.jpg

This is a full-fledged isomorphic (https://en.wikipedia.org/wiki/Isomorphic_JavaScript) javascript control panel written on top of nodejs...
Forum: Scripting Help 17/03/2018, 05:36 AM
Replies: 28
Views: 1,287
Posted By BroZeus
Re: PHP wont header ! redirect.

header redirect method doesn't work if something has already been sent to the output stream, make sure there is no echo statement or HTML code above the header() line, also make sure that there is no...
Forum: Scripting Help 08/03/2018, 10:41 PM
Replies: 8
Views: 585
Posted By BroZeus
Re: HTTP: Heap underflow

The URL is missing the domain-name/IP part.
Forum: Scripting Help 08/03/2018, 10:10 PM
Replies: 11
Views: 697
Posted By BroZeus
Re: mysql table

Break the query into more parts, you didn't break the query in that code. You need to use strcat() more than once, look at my last reply for example.
Forum: Scripting Help 08/03/2018, 10:01 PM
Replies: 11
Views: 697
Posted By BroZeus
Re: mysql table

The query is too long. You can break the query into multiple parts and join them using strcat() like this:

new query[600] = "CREATE TABLE IF NOT EXISTS `players` (`id` int(11) NOT NULL...
Forum: Scripting Help 08/03/2018, 09:47 PM
Replies: 11
Views: 697
Posted By BroZeus
Re: mysql table

You need to place a backslash(\) at end of each line included in the string in pawno. So the code becomes this:

mysql_tquery(g_SQL, "CREATE TABLE IF NOT EXISTS `players` (`id` int(11) NOT NULL...
Forum: Scripting Help 22/01/2018, 01:52 PM
Replies: 1
Views: 343
Posted By BroZeus
Re: Query syntax

In MySQL IF statements cannot exist outside stored procedure (https://dev.mysql.com/doc/connector-net/en/connector-net-tutorials-stored-procedures.html). A better solution for doing this would be to...
Forum: Scripting Help 01/01/2018, 10:48 AM
Replies: 12
UCP
Views: 1,441
Posted By BroZeus
Re: UCP

HTML is not a programming language, its a markup language (https://en.wikipedia.org/wiki/Markup_language), you cannot make UCP based on that alone. You will need to learn a backend language like PHP,...
Forum: Everything and Nothing 24/12/2017, 08:34 AM
Replies: 17
Views: 1,698
Posted By BroZeus
Re: My PC dedicated Video memory problem

You can generally change the amount of memory reserved for your GPU through your BIOS in case of Intel's integrated graphics, in my old PC the default memory was 64mb but I changed it to 128mb using...
Forum: Server Support 11/12/2017, 10:05 AM
Replies: 22
Views: 4,951
Posted By BroZeus
Re: CentOS 7 running MariaDB won't run lib

Try using the static version of the plugin which can be found here: https://github.com/pBlueG/SA-MP-MySQL/releases/download/R41-4/mysql-R41-4-Debian-static.tar.gz
It comes pre-compiled with MySQL...
Forum: Tools and Files 11/12/2017, 06:51 AM
Replies: 4
Views: 4,046
Posted By BroZeus
Re: All vehicles images - high resolution

Since background for each image is different it would not be possible to do it with scripts, you will need to edit each image using photoshop.
Forum: Tools and Files 08/12/2017, 01:53 PM
Replies: 4
Views: 4,046
Posted By BroZeus
All vehicles images - high resolution

As all vehicles images are not available in one place with their name as IDs used in SA-MP so I decided to make this.
Basically, all the images here are pulled off from...
Forum: Everything and Nothing 30/11/2017, 03:06 PM
Replies: 3
Views: 542
Posted By BroZeus
Re: Another Graphics Processing Method?

That (http://www.codersnotes.com/notes/euclideon-explained/) sums it up.
Forum: Everything and Nothing 04/11/2017, 06:33 PM
Replies: 49
Views: 5,019
Posted By BroZeus
Re: Looking for some testers for LOLFan, a speedfan alternative

Well, that clears it up.

The problem of blank overview tab when opening application with LOLFan.config file still persists though. If I delete that file and reopen the application it all works...
Forum: Everything and Nothing 04/11/2017, 05:54 AM
Replies: 49
Views: 5,019
Posted By BroZeus
Re: Looking for some testers for LOLFan, a speedfan alternative

Its showing two fields named "Temperature" in my case:
https://i.gyazo.com/0c8c56f3c0657c2792392f2b85812966.png
---

When I exit the application it creates a LOLFan.config file and if I reopen...
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 08:37 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.