Private Server Info and Support Thread

12/15/2013 10:24 'Heaven.#256
Quote:
Prepared statements are resilient against SQL injection, because parameter values, which are transmitted later using a different protocol, need not be correctly escaped. If the original statement template is not derived from external input, SQL injection cannot occur.
(Wikipedia)
12/16/2013 16:06 nckrnckr#257
[Only registered and activated users can see links. Click Here To Register...]

I search but not find :)
where parameter pirate log ?
12/16/2013 16:53 Sήøwy#258
It's an certain packet with parameters not an parameter of the init if you are asking for that.
12/16/2013 18:25 asterixxx1995#259
Quote:
Originally Posted by nckrnckr View Post
[Only registered and activated users can see links. Click Here To Register...]

I search but not find :)
where parameter pirate log ?
try "0|A|BK|1500"
12/16/2013 19:01 nckrnckr#260
Quote:
Originally Posted by asterixxx1995 View Post
try "0|A|BK|1500"
very thanks :)
---------------------
I bonus boxes want to give a random prize
How can I make it?
12/16/2013 19:55 th0rex#261
:facepalm:
Random random = new Random();
int price = random.Next(0,5000);

So hard ? I thought you learned c# ...
12/16/2013 22:18 nckrnckr#262
Quote:
Originally Posted by omitma View Post
:facepalm:
Random random = new Random();
int price = random.Next(0,5000);

So hard ? I thought you learned c# ...
This code does not work :S
12/16/2013 22:21 Requi#263
Quote:
Originally Posted by nckrnckr View Post
This code does not work :S
How did you implement it?
This is how to create a random value from 0 to 5000
12/17/2013 18:57 nckrnckr#264
ok, code "caseswitch" I was able to run with :)
working :)

example:
Code:
int caseSwitch = 1;
switch (caseSwitch)
{
    case 1:
        Console.WriteLine("Case 1");
        break;
    case 2:
        Console.WriteLine("Case 2");
        break;
    default:
        Console.WriteLine("Default case");
        break;
}
------------------------------------------------
[Only registered and activated users can see links. Click Here To Register...]

I also could not find this parameter
12/17/2013 20:18 nckrnckr#265
Quote:
Originally Posted by omitma View Post
Wtf ? What should this code do ? And another Question : What is your IQ ????? -100 ?


Rly ? Sure it's working. Case 2, with this example, will never be reached. Same with default. If you're still trying to do it pseudo random then good luck.
You don't know anything :) pity...

------------------------------------------------
[Only registered and activated users can see links. Click Here To Register...]
12/17/2013 20:37 Requi#266
Quote:
Originally Posted by nckrnckr View Post
You don't know anything :) pity...

------------------------------------------------
[Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by omitma View Post
HAHAHA I don't know anything ? Yo kk. At least im searching packets at my own.
And with this code
Code:
int i = 0;
switch(i){
   case 0:
        doyourshit(); // Will be executed. But why a switch ? You could just use doyourshit();
        break;
   case 1:
       dosomeothershit(); //Will never be executed. GG WP
       break;
   default:
       break; // Will never be executed. GG WP
}
you are showing that you cant code.
And aswell you are too stupid to copy this code:
Random random = new Random();
int i = random.Next(0,5000);
And you're saying i don't know anything... Nice troll... Nothing more to say about that.

Btw : We will see which server is better, faster and more secure ;) (And does not use azure base lol)
Please calm down and discuss such things in PM.

@nckrnckr
Don't say, that someone can't code. I've seen some of your work and mostly it's copy.
Look at your own, before pronounce something like this
12/17/2013 20:57 nckrnckr#267
Quote:
Originally Posted by Requi View Post
Please calm down and discuss such things in PM.

@nckrnckr
Don't say, that someone can't code. I've seen some of your work and mostly it's copy.
Look at your own, before pronounce something like this
I do not deny that copies
but omitma insulting me
12/17/2013 21:00 th0rex#268
Oh Yeah. If you Feel insulted i wouldnt say that i dont know anything. Thats insulting aswell and then you can't complain about it anymore.

Anyone got the packet for Setting a mapmarker ? Mine is Not working...
12/17/2013 21:27 Requi#269
Quote:
Originally Posted by nckrnckr View Post
I do not deny that copies
but omitma insulting me
Are we in the kindergarten here? Please act mature.
Quote:
Originally Posted by omitma View Post
Oh Yeah. If you Feel insulted i wouldnt say that i dont know anything. Thats insulting aswell and then you can't complain about it anymore.
Insulting is not the right way. If you think so, then please in skype. But not here.
12/17/2013 21:50 nckrnckr#270
Quote:
Originally Posted by Waka Toa View Post
:handsdown: :handsdown: :handsdown: :handsdown: :handsdown:

thanks how to make work?


code doesnt work for me :rtfm: :rtfm: :rtfm: helpp plzz skype me


for me no random bonusbox on map fixx pls
I did not use that code
he just examples

real code :
Code:
this.Users[userId].Send("0|h");
                    await Task.Delay(500);
                    Random random = new Random();
                    int price = random.Next(0, 20);                   
                    if (this.Users.ContainsKey(userId) && bonusBox.ContainsKey(boxId))
                    {
                        switch (boxId)
                        {
                            case 1:
                            packet
                                break;
                            case 2:
                            packet
                                break;
                            case 3:
                            packet