Search Results
A new patch version, pawn-test 2.0.1, has come out. It fixes an off-by-one memory error in functions that use memcpy() and strlen() at the same time. The patch version can be downloaded from the Git...
684
Again, I would like to quote myself: Quote: Originally Posted by Reynolds Moreover, each test should test a single, separable and verifiable segment of code. The function you've writte...
684
This is normally a bad idea. A unit test should do only one thing and shouldn't contain more than one assertion, also they should be able to run in any order. Moreover, each test should test a single,...
684
Actually, no. One of the key powers of pawn-test is that it supports xUnit-style testing. You can create test suites, add test cases to it, dynamically skip testing, there's even macros for floating-...
684
pawn-test pawn-test is a simple automated testing framework for PAWN code. The framework provides a number of functions for setting up and managing test suites and test cases. It was designed to be c...
684
Hello, I use this code to generate a random checkpoint from an SQL table: Код: RandomGenerateCP(playerid) { new result[150], Float:x, Float:y, Float:z, streetname[50]; mysql_query( "SELECT * FR...
93,606
Hello, I use this code to generate a random checkpoint from an SQL table: Код: RandomGenerateCP(playerid) { new result[150], Float:x, Float:y, Float:z, streetname[50]; mysql_query( "SELECT * FR...
80
Alright, thanks for the confirmation. I am looking forward to the next release even more. Regarding this bug: I was writing a code which would have (at least in theory) solved the issue with cars lag...
23,667
Quote: Originally Posted by Kar Anyone have the picture of what it can do and the actual script? It is used to make graphs (x/y graphs).
1,674
I totally understand that merely disabling multiple queries won't make my system secure, I just wasn't sure why there was an error given for a seemingly valid query.
95,965
I am trying to perform an SQL injection using this plugin on my own server (solely for pentest purposes) and I have a question. I have a command whose input is deliberately unescaped and I am trying t...
95,965
If you read the topic carefully enough, you'd know it is an example code and not the actual script. Don't be condescending if you don't even know what you are talking about.
1,674
Indeed it is true, I am using SQL for a long time now until now I have had no problems with doing that. Currently, my main issue is the following: I have an NPC dialog system which stores questions in...
59
Hi! I can't really phrase my question better without being too specific. I want to have a general answer to my question. Suppose I had an SQL field with the following data: Код: name: asd value: ...
59
I'm feelin' lucky! That update would solve many problems I've been having with real-time NPC plugins. Will it be possible to change the NPC's angular velocity in the future to improve vehicle turns? (...
23,667
I made something which kind of does that. Now I am only having issues with high slopes (such as highway turnoffs). I am thinking of setting the car's quats to the atan of x and y differences so that t...
23,667
Hey, Mauzen! Do you know how I could make the vehicles a bit less jiggery when following node paths? I wrote a script which makes an NPC recording from the NPC's current pos to a pos in LV (using Game...
23,667
Quote: Does all ******* links work like copyrighted music? I would suppose music which is copyrighted in the country the server is hosted in would not play.
2,957
That is cool, but the case bit doesn't work properly, only when converting from upper to lower, or vice versa. The number 1 (ASCII: 49) does have a "case bit" even though it is a number. If, however, ...
71,127
That would not work though, ASCII characters aren't entirelly upper & lower case characters. 65-90 are the uppercase letters and 97 through 122 are the lower cars ones.
71,127