SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 320
Search took 0.01 seconds.
Search: Posts Made By: Proxus
Forum: Server Support 07/12/2019, 08:13 AM
Replies: 6
Views: 191
Posted By Proxus
Re: ┐How to set my ip to samp.hostname.com:7777?

Depends where you buy it from.
For one, you can't choose the subdomain of your choice so lack of freedom (obviously)
And more importantly, if you get a large amount of traffic, they can just...
Forum: Server Support 04/12/2019, 03:31 PM
Replies: 6
Views: 191
Posted By Proxus
Re: ┐How to set my ip to samp.hostname.com:7777?

I'm pretty sure a DNS would be the best way to do this. For example, there are websites like no-ip that offer DNS services. Remember, free ones are worse!
Forum: Scripting Help 03/12/2019, 05:17 PM
Replies: 34
Views: 538
Posted By Proxus
Re: Online time money

That would probably be because in your foreach code, you're using the m identifier instead of i. Change the i to an m.
Forum: Scripting Help 03/12/2019, 04:53 PM
Replies: 34
Views: 538
Posted By Proxus
Re: Online time money

That's not what I asked. I was requesting some further snippets of the surrounding code to gain a better idea of what may be causing it. Also, please don't bump your posts after only a few minutes...
Forum: Scripting Help 03/12/2019, 04:25 PM
Replies: 34
Views: 538
Posted By Proxus
Re: Online time money

Odd, can you show some code above the snippet you provided?
Forum: Scripting Help 03/12/2019, 04:14 PM
Replies: 34
Views: 538
Posted By Proxus
Re: Online time money

Also, make sure you've forwarded the function.
When using a public, make sure to forward it. :)

Add this anywhere above your public function:
forward CountOnlineTime();
Forum: Scripting Help 30/11/2019, 07:39 AM
Replies: 4
Views: 92
Posted By Proxus
Re: How to connect a gamemode to phpbb forum ?

I'm pretty sure they have a database to store that data (possibly in PhpMyAdmin, depending on what you use, you can find tutorials for accessing and using that)

Why would you unhash the password?...
Forum: General 29/11/2019, 08:06 AM
Replies: 46
Sticky: Discord Server
Views: 9,759
Posted By Proxus
Re: Discord Server

It's still active, yes.
Forum: Scripting Help 28/11/2019, 03:42 PM
Replies: 1
Views: 83
Posted By Proxus
Re: How to fix this mysql anyone knows

What's the errors you get?

I'd advise adding the following code to your GM:
mysql_log(ALL);

With this, please post your mysql log (server dir/logs/plugins)
It would also help if you posted...
Forum: Scripting Help 25/11/2019, 06:07 PM
Replies: 2
Views: 74
Posted By Proxus
Forum: Scripting Help 25/11/2019, 05:41 PM
Replies: 2
Views: 74
Posted By Proxus
Problem with MySQL not finding column

Hey, I have a problem with checking my ban table. It is meant to get a few values from the ban table and display it in a dialog. However, it doesn't get ANY of the values and just outputs the same...
Forum: News and Updates 22/11/2019, 07:54 PM
Replies: 96
Views: 20,185
Posted By Proxus
Re: SA-MP 0.3.7 R4 client update (strongly recommended)

Glad to see there's something being released at least.



There's not really an easy way to do that, only to get server owners to persuade their players.
Forum: General 19/11/2019, 06:28 PM
Replies: 1
Views: 171
Posted By Proxus
Re: Quick question

I believe 0.3DL was discontinued by Kalcor and thus, it was removed from the downloads page on the website. That's what I've heard, and I'm pretty sure it's sadly true. However, Kalcor is working on...
Forum: Server Support 16/11/2019, 02:11 PM
Replies: 13
Views: 619
Posted By Proxus
Re: How don't screw up project

Look on the forum, there are a handful of exceptional scripters (especially in the Scripting Help sections, etc)
You can ask for scripters here: https://forum.sa-mp.com/showthread.php?t=447813
Forum: Server Support 15/11/2019, 04:15 PM
Replies: 13
Views: 619
Posted By Proxus
Re: How don't screw up project

It's recommended to have scripting knowledge when making a server, however, that won't always be the case for everyone. I'd recommend checking the forums for gamemodes/scripts related to your script....
Forum: Server Support 14/11/2019, 06:45 AM
Replies: 6
Views: 554
Posted By Proxus
Re: 03.dl links?

I'm pretty sure 0.3DL was removed so you can't download it from the site now.
Forum: Scripting Help 10/11/2019, 05:35 PM
Replies: 4
Views: 157
Posted By Proxus
Re: A bit help again

Texture Studio could be of some help:
https://github.com/Pottus/Texture-Studio
Forum: Scripting Help 09/11/2019, 10:35 AM
Replies: 21
Views: 385
Posted By Proxus
Re: Hashing problem

Oh nice, thanks for the tips!
Forum: Scripting Help 09/11/2019, 08:28 AM
Replies: 21
Views: 385
Posted By Proxus
Re: Hashing problem

I've fixed it now, thanks for the help. I'll rep you when I can.

The issue for anyone who (may) experience the same problem is:
make sure you check your password size in your player data array....
Forum: Scripting Help 08/11/2019, 03:57 PM
Replies: 21
Views: 385
Posted By Proxus
Re: Hashing problem

Ran it on an empty gamemode, and it printed the right value to the console.

Here are the results of the debug:
cache is valid cache_save
cache_save() succeed.
cache is valid - dialog response
Forum: Scripting Help 07/11/2019, 07:50 PM
Replies: 21
Views: 385
Posted By Proxus
Re: Hashing problem

I kinda understand this but I can't think of how to put it into code. I should recycle the code you used above and use test functions to then print the value of the cache_set_active function if I...
Forum: Scripting Help 07/11/2019, 07:35 PM
Replies: 21
Views: 385
Posted By Proxus
Re: Hashing problem

Okay I get the second half of that. However, what do you mean by the first half, "let it reach the password comparison". I assume you mean something like:

if (strcmp(hashpass,...
Forum: Scripting Help 07/11/2019, 07:02 PM
Replies: 21
Views: 385
Posted By Proxus
Re: Hashing problem

All logs: https://pastebin.com/HgSrHCHL (censored one line due to the hashed password being shown, people might try and decode it, you never know :rolleyes:)
Forum: Scripting Help 07/11/2019, 06:20 PM
Replies: 21
Views: 385
Posted By Proxus
Re: Hashing problem

I assumed you wanted to see when the cache_delete functions are used so:
cache_delete is used:
if (strcmp(hashpass, pData[playerid][Password]) == 0)
{...
Forum: Scripting Help 07/11/2019, 03:42 PM
Replies: 21
Views: 385
Posted By Proxus
Re: Hashing problem

Okay, thanks. I did set username to unique, so I guess I don't need that. The table is `users`, not `name`

As for Calisthenics, I added it to my function:
if(cache_num_rows() > 0)
{
...
Showing results 1 to 25 of 320

 

All times are GMT. The time now is 02:38 AM.


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