SA-MP Forums Archive
SA-MP 0.3.7 R2-1 server update - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: News and Updates (https://sampforum.blast.hk/forumdisplay.php?fid=74)
+--- Thread: SA-MP 0.3.7 R2-1 server update (/showthread.php?tid=581259)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


Re: AW: Re: SA-MP 0.3.7 R2 server update - iZN - 12.07.2015

I haven\'t been following recent SA-MP 0.3.7 updates but it\'s nice to see there are pretty great addition done to it, well done.

Quote:
Originally Posted by Onfroi
View Post
Should Whirlpool be replaced with this?
no, it\'s not really needed. the hash method you\'re using is fine.

Quote:
Originally Posted by Mellnik
View Post
No, whirlpool is better.
any cryptographic hashing is better than having none


Re: SA-MP 0.3.7 R2 server update - FanonRiouDiou - 13.07.2015

Thanks Kalcor.


Re: SA-MP 0.3.7 R2 server update - HardWar - 13.07.2015

Good job.

So we don't need anymore DB_Escape for escaping strings, just use "%q" instead of "%s" when formatting the query?


Re: SA-MP 0.3.7 R2 server update - zSuYaNw - 13.07.2015

very nice update!!


Re: SA-MP 0.3.7 R2 server update - kapilb - 13.07.2015

Nice wow


Re: SA-MP 0.3.7 R2 server update - Xtream - 13.07.2015

Finally thank you!


Re: SA-MP 0.3.7 R2 server update - dominik523 - 13.07.2015

Quote:
Originally Posted by HardWar
Посмотреть сообщение
Good job.

So we don't need anymore DB_Escape for escaping strings, just use "%q" instead of "%s" when formatting the query?
Yes. Just like that.


Re: SA-MP 0.3.7 R2 server update - Younes44 - 13.07.2015

Good Job


Re: SA-MP 0.3.7 R2 server update - Sanady - 13.07.2015

Quote:
Originally Posted by SchurmanCQC
Посмотреть сообщение
yes, keep complaining. ungrateful.
I am sorry but we have reason why we are complaining, there is a tons of bugs that need to be fixed, which are for me more important then sVar or Hashing, like DRIFT_HUNTER says, we have many more stronger hash plugins now, I totally agree with DRIFT_HUNTER. When scripters report bug they don`t care about that, they add what developers want, without asking scripters what they need to run server perfectly.


Re: SA-MP 0.3.7 R2 server update - Admigo - 13.07.2015

Quote:
Originally Posted by Sanady
Посмотреть сообщение
I am sorry but we have reason why we are complaining, there is a tons of bugs that need to be fixed, which are for me more important then sVar or Hashing, like DRIFT_HUNTER says, we have many more stronger hash plugins now, I totally agree with DRIFT_HUNTER. When scripters report bug they don`t care about that, they add what developers want, without asking scripters what they need to run server perfectly.
I am happy with any updates that Kalcor releases but you are right. There should be more focus on fixing bugs. Like i reported the missing animation when a player trying to enter a locked vehicle as driver (SetVehicleParamEx).
https://sampforum.blast.hk/showthread.php?tid=560019


Re: SA-MP 0.3.7 R2 server update - Slice - 13.07.2015

Null values still cause crashes instead of simply empty strings.

pawn Код:
new buf[128];
    new DB:db = db_open("test.db");
    new DBResult:r = db_query(db, "SELECT null");
    db_get_field(r, 0, buf, sizeof(buf));
    db_free_result(r);
    db_close(db);



Re: SA-MP 0.3.7 R2 server update - Omirrow - 13.07.2015

Thank you!


Re: SA-MP 0.3.7 R2 server update - Vince - 13.07.2015

Quote:
Originally Posted by Slice
Посмотреть сообщение
Null values still cause crashes instead of simply empty strings.

pawn Код:
new buf[128];
    new DB:db = db_open("test.db");
    new DBResult:r = db_query(db, "SELECT null");
    db_get_field(r, 0, buf, sizeof(buf));
    db_free_result(r);
    db_close(db);
You should be able to catch that with ifnull(). NULL values aren't handled very well because Pawn doesn't know it. The MySQL plugin also has troubles with it and opts to return the string "NULL", which is both annoying if you're not expecting a string and hard to discern if you are.


Re: SA-MP 0.3.7 R2 server update - Slice - 13.07.2015

Quote:
Originally Posted by Vince
Посмотреть сообщение
You should be able to catch that with ifnull(). NULL values aren't handled very well because Pawn doesn't know it. The MySQL plugin also has troubles with it and opts to return the string "NULL", which is both annoying if you're not expecting a string and hard to discern if you are.
Well, SQLite Improved does some memory hacking to find the NULL value. It also adds db_field_is_null.

All Kalcor needs to do is check if the pointer to the result value is 0, then avoid reading it.


Re: SA-MP 0.3.7 R2 server update - DiDok - 13.07.2015

Are sanity checks (mainly for very unusual special characters) required for SHA256_PassHash or can it handle every possible character in password?


Re: SA-MP 0.3.7 R2 server update - Amit_B - 13.07.2015

Great, thanks!


Re: SA-MP 0.3.7 R2 server update - cm666 - 13.07.2015

What is conncookies ?


Re: SA-MP 0.3.7 R2 server update - Smith. - 13.07.2015

It has not been corrected

[20:02:20] [connection] 24.77.153.44:39815 requests connection cookie.
[20:02:20] [connection] 5.29.206.199:23253 requests connection cookie.
[20:02:20] [connection] 5.29.206.199:23253 requests connection cookie.
[20:02:20] [connection] 186.255.41.128:18282 requests connection cookie.
[20:02:20] [connection] 176.229.44.11:53242 requests connection cookie.
[20:02:20] [connection] 186.255.41.128:18282 requests connection cookie.
[20:02:20] [connection] 176.229.44.11:53242 requests connection cookie.
[20:02:20] [connection] 95.73.166.176:35853 requests connection cookie.
[20:02:20] [connection] 192.116.58.88:43647 requests connection cookie.
[20:02:20] [connection] 95.73.166.176:35853 requests connection cookie.
[20:02:20] [connection] 192.116.58.88:43647 requests connection cookie.
[20:02:20] [connection] 176.228.185.208:25585 requests connection cookie.
[20:02:20] [connection] 176.228.185.208:25585 requests connection cookie.
[20:02:20] [connection] 5.28.153.82:47836 requests connection cookie.
[20:02:20] [connection] 31.154.40.75:24424 requests connection cookie.
[20:02:20] [connection] 31.154.40.75:24424 requests connection cookie.
[20:02:20] [connection] 5.28.153.82:47836 requests connection cookie.
[20:02:20] [connection] 176.228.119.116:7208 requests connection cookie.
[20:02:20] [connection] 187.5.24.173:5453 requests connection cookie.
[20:02:20] [connection] 176.228.119.116:7208 requests connection cookie.
[20:02:20] [connection] 187.5.24.173:5453 requests connection cookie.
[20:02:20] [connection] 192.116.6.111:24308 requests connection cookie.
[20:02:20] [connection] 192.116.6.111:24308 requests connection cookie.
[20:02:20] [connection] 177.48.127.153:23463 requests connection cookie.
[20:02:20] [connection] 177.48.127.153:23463 requests connection cookie.
[20:02:20] [connection] 84.111.201.22:5483 requests connection cookie.
[20:02:20] [connection] 66.130.181.233:29071 requests connection cookie.
[20:02:20] [connection] 84.111.201.22:5483 requests connection cookie.
[20:02:20] [connection] 66.130.181.233:29071 requests connection cookie.
[20:02:20] [connection] 192.114.75.187:29762 requests connection cookie.
[20:02:20] [connection] 85.65.146.66:24586 requests connection cookie.
[20:02:20] [connection] 85.65.146.66:24586 requests connection cookie.
[20:02:20] [connection] 192.114.75.187:29762 requests connection cookie.
[20:02:20] [connection] 70.79.181.235:52083 requests connection cookie.
[20:02:20] [connection] 5.6.4.223:48876 requests connection cookie.
[20:02:20] [connection] 70.79.181.235:52083 requests connection cookie.


Re: SA-MP 0.3.7 R2 server update - dugi - 13.07.2015

Quote:
Originally Posted by Smith.
Посмотреть сообщение
It has not been corrected

[20:02:20] [connection] 24.77.153.44:39815 requests connection cookie.
Quote:

- Adds console variable 'cookielogging' to disable logging of connection cookies requested by newly connecting players.

You can use this to disable those messages.


Re: SA-MP 0.3.7 R2 server update - Smith. - 13.07.2015

even using cookielogging the player can not log in, the problem is the flood of ip and checking with tcpdump length is 6 4 length, all ip fake