|
You last visited: Today at 02:57
Advertisement
Private Server Info and Support Thread
Discussion on Private Server Info and Support Thread within the DarkOrbit forum part of the Browsergames category.
12/15/2013, 10:24
|
#256
|
elite*gold: 1
Join Date: Jun 2012
Posts: 5,819
Received Thanks: 3,200
|
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
|
#257
|
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 74
|
I search but not find 
where parameter pirate log ?
|
|
|
12/16/2013, 16:53
|
#258
|
elite*gold: 1
Join Date: Aug 2010
Posts: 1,330
Received Thanks: 1,724
|
It's an certain packet with parameters not an parameter of the init if you are asking for that.
|
|
|
12/16/2013, 18:25
|
#259
|
elite*gold: 0
Join Date: Aug 2010
Posts: 92
Received Thanks: 129
|
Quote:
Originally Posted by nckrnckr
I search but not find 
where parameter pirate log ?
|
try "0|A|BK|1500"
|
|
|
12/16/2013, 19:01
|
#260
|
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 74
|
Quote:
Originally Posted by asterixxx1995
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
|
#261
|
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
|

Random random = new Random();
int price = random.Next(0,5000);
So hard ? I thought you learned c# ...
|
|
|
12/16/2013, 22:18
|
#262
|
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 74
|
Quote:
Originally Posted by omitma

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
|
#263
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,043
Received Thanks: 8,252
|
Quote:
Originally Posted by nckrnckr
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
|
#264
|
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 74
|
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;
}
------------------------------------------------
I also could not find this parameter
|
|
|
12/17/2013, 20:18
|
#265
|
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 74
|
Quote:
Originally Posted by omitma
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...
------------------------------------------------
|
|
|
12/17/2013, 20:37
|
#266
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,043
Received Thanks: 8,252
|
Quote:
Originally Posted by nckrnckr
You don't know anything  pity...
------------------------------------------------
|
Quote:
Originally Posted by omitma
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
|
#267
|
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 74
|
Quote:
Originally Posted by Requi
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
|
#268
|
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
|
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
|
#269
|
elite*gold: 3570
Join Date: Dec 2012
Posts: 13,043
Received Thanks: 8,252
|
Quote:
Originally Posted by nckrnckr
I do not deny that copies
but omitma insulting me
|
Are we in the kindergarten here? Please act mature.
Quote:
Originally Posted by omitma
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
|
#270
|
elite*gold: 0
Join Date: Dec 2012
Posts: 584
Received Thanks: 74
|
Quote:
Originally Posted by Waka Toa
|
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
|
|
|
Similar Threads
|
Private private server :P READ FOR MORE INFO
12/01/2010 - SRO Private Server - 12 Replies
hey guys im wondering if there is anyway to make a real private server like ZSZC or SWSRO or MYSRO but to where i can only play and level a character and as if it was a real private server. but just for me, not like an emulator where im already lvl 90 or 120 or whatever. i mean one where i set the rates and i level. if not then ok u can close this. but i was just wondering.
|
All times are GMT +1. The time now is 03:00.
|
|