SA-MP 0.3.7 R2-1 server update
#41

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
Reply
#42

Thanks Kalcor.
Reply
#43

Good job.

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

very nice update!!
Reply
#45

Nice wow
Reply
#46

Finally thank you!
Reply
#47

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.
Reply
#48

Good Job
Reply
#49

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.
Reply
#50

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
Reply
#51

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);
Reply
#52

Thank you!
Reply
#53

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.
Reply
#54

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.
Reply
#55

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

Great, thanks!
Reply
#57

What is conncookies ?
Reply
#58

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.
Reply
#59

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.
Reply
#60

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)