[Help Thread] Please post your questions here.

04/25/2016 01:06 elbatouri#5656
Quote:
Originally Posted by Leqendary View Post
As far as I know you can't use an IP in the gameserver.opt file for the icon shiznit. Must use a URL.
Emm this i think its for the official upload server & the auth but
the config that i put its for the auth emu glandu @_@ so we need glandu or someone aleardy make it work @_@ some one call glandu xD
:D
04/25/2016 02:27 ThunderNikk#5657
If you use the auth emu you can still use the official upload server for your guild icons.

You do not need to use the mini icon server in the auth emu.
04/25/2016 21:25 fadydody#5658
hi all please i need help
i had create new map i create (NFM & FNC) and all the photos for map
but NFA i can't create one i search so much all program i found not good to greate new one
i find Programming for NFA By dream
this the programmig if anyone can create this program please help me and do this ^^
Drawing by clicking
private void checkBox3_CheckedChanged(object sender, EventArgs e)
{
if (checkBox3.Checked == true)
{
if (this.dataGridView4.Rows[0].Cells[0].Value == null)
{
num_nfa = 1;
}
else
{
num_nfa = Convert.ToInt32(this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[0].Value) + 1;
}
}
if (checkBox3.Checked == false)
{

for (int i = 0; i < dataGridView4.RowCount - 1; i++)
{
if (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[0].Value) == num_nfa)
{
this.dataGridView4.Rows[i].Cells[3].Value = count_nfa;
}
}
count_nfa = 0;

}
}


private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
{
if (checkBox3.Checked == true)
{
x1 = e.X;
y1 = e.Y;
dataGridView4.Rows.Add();
this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[0].Value = num_nfa;
this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[1].Value = x1;
this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[2].Value = 3072 - y1;
count_nfa += 1;
}
}


private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
{
if (checkBox3.Checked == true)
{
if (count_nfa > 1)
{
pictureBox1.Refresh();
}
}
}

private void pictureBox1_Paint(object sender, PaintEventArgs e)
{
if (onnfa == 1)
{
//nfa
int num = 0;
int xnfa = Convert.ToInt32(this.dataGridView4.Rows[0].Cells[1].Value.ToString());
int ynfa = Convert.ToInt32(this.dataGridView4.Rows[0].Cells[2].Value.ToString());
for (int i = 0; i < (dataGridView4.RowCount - 2); i++)
{
num = Convert.ToInt32(this.dataGridView4.Rows[i].Cells[0].Value.ToString());
if (num == (Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[0].Value.ToString())))
{
Graphics g = e.Graphics;
g.DrawLine(System.Drawing.Pens.Red, (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[2].Value.ToString())), (Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[2].Value.ToString())));
}
else
{
Graphics g = e.Graphics;
g.DrawLine(System.Drawing.Pens.Red, (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[2].Value.ToString())), xnfa, 3072 - ynfa);
g.DrawString(Convert.ToString(this.dataGridView4.R ows[i].Cells[0].Value.ToString()), new Font("Helvetica", 7), Brushes.Red, xnfa, 3072 - ynfa);
g.DrawLine(System.Drawing.Pens.Red, (Convert.ToInt32(this.dataGridView4.Rows[i+1].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i+1].Cells[2].Value.ToString())), (Convert.ToInt32(this.dataGridView4.Rows[i + 2].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i + 2].Cells[2].Value.ToString())));
xnfa = Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[1].Value.ToString());
ynfa = Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[2].Value.ToString());
}
}
Graphics p = e.Graphics;
p.DrawLine(System.Drawing.Pens.Red, (Convert.ToInt32(this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[2].Value.ToString())), xnfa, 3072 - ynfa);
p.DrawString(Convert.ToString(this.dataGridView4.R ows[dataGridView4.RowCount - 2].Cells[0].Value.ToString()), new Font("Helvetica", 7), Brushes.Red, xnfa, 3072 - ynfa);

//nfa
}
}

Drawing on the movement of the mouse


private void checkBox8_CheckedChanged(object sender, EventArgs e)
{
if (checkBox8.Checked == true)
{
if (this.dataGridView4.Rows[0].Cells[0].Value == null)
{
num_nfa = 1;
}
else
{
num_nfa = Convert.ToInt32(this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[0].Value) + 1;
}
}
if (checkBox8.Checked == false)
{

for (int i = 0; i < dataGridView4.RowCount - 1; i++)
{
if (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[0].Value) == num_nfa)
{
this.dataGridView4.Rows[i].Cells[3].Value = count_nfa;
}
}
count_nfa = 0;

}
}


private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
{
if (checkBox8.Checked == true)
{
doDraw = true;
}
}

private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
{
if (checkBox8.Checked == true)
{
doDraw = false;
}
}

private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
{
if (checkBox8.Checked == true)
{
if (doDraw)
{
x1 = e.X;
y1 = e.Y;
dataGridView4.Rows.Add();
this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[0].Value = num_nfa;
this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[1].Value = x1;
this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[2].Value = 3072 - y1;
count_nfa += 1;
if (count_nfa > 1)
{
pictureBox1.Refresh();
}
}
}
}


private void pictureBox1_Paint(object sender, PaintEventArgs e)
{
if (onnfa == 1)
{
//nfa
int num = 0;
int xnfa = Convert.ToInt32(this.dataGridView4.Rows[0].Cells[1].Value.ToString());
int ynfa = Convert.ToInt32(this.dataGridView4.Rows[0].Cells[2].Value.ToString());
for (int i = 0; i < (dataGridView4.RowCount - 2); i++)
{
num = Convert.ToInt32(this.dataGridView4.Rows[i].Cells[0].Value.ToString());
if (num == (Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[0].Value.ToString())))
{
Graphics g = e.Graphics;
g.DrawLine(System.Drawing.Pens.Red, (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[2].Value.ToString())), (Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[2].Value.ToString())));
}
else
{
Graphics g = e.Graphics;
g.DrawLine(System.Drawing.Pens.Red, (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i].Cells[2].Value.ToString())), xnfa, 3072 - ynfa);
g.DrawString(Convert.ToString(this.dataGridView4.R ows[i].Cells[0].Value.ToString()), new Font("Helvetica", 7), Brushes.Red, xnfa, 3072 - ynfa);
g.DrawLine(System.Drawing.Pens.Red, (Convert.ToInt32(this.dataGridView4.Rows[i+1].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i+1].Cells[2].Value.ToString())), (Convert.ToInt32(this.dataGridView4.Rows[i + 2].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[i + 2].Cells[2].Value.ToString())));
xnfa = Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[1].Value.ToString());
ynfa = Convert.ToInt32(this.dataGridView4.Rows[i + 1].Cells[2].Value.ToString());
}
}
Graphics p = e.Graphics;
p.DrawLine(System.Drawing.Pens.Red, (Convert.ToInt32(this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[1].Value.ToString())), 3072 - (Convert.ToInt32(this.dataGridView4.Rows[dataGridView4.RowCount - 2].Cells[2].Value.ToString())), xnfa, 3072 - ynfa);
p.DrawString(Convert.ToString(this.dataGridView4.R ows[dataGridView4.RowCount - 2].Cells[0].Value.ToString()), new Font("Helvetica", 7), Brushes.Red, xnfa, 3072 - ynfa);

//nfa
}
}


and it's photo for program
[Only registered and activated users can see links. Click Here To Register...]
thanks and Sorry for bad English
04/26/2016 06:20 Sherock#5659
how to create a new cash shop points ?
04/27/2016 13:59 Charliefoxtrott#5660
How to fix the "can't connect to patch server" problem in 5.2?

I got 5.2 server files and the 5.2 client.

When i type in username + password i get the error.

Auth-server is running, config looks like this:

Gameserver is running too, config looks like this:

SQL server 2008r2 is running, tcp/ip activated, ports are open. The computer who Hosts the server is disconnected from the internet and has no firewall active.
04/29/2016 12:33 Sherock#5661
i'm searching for method to call a function by players every 1 sec

there is one for every i hr ( on_time_based_event_reward() ) but i want every 1 sec
04/29/2016 12:33 Sherock#5662
i'm searching for method to call a function by players every 1 sec

there is one for every i hr ( on_time_based_event_reward() ) but i want every 1 sec
04/29/2016 12:45 Sherock#5663
how to call any function by each players automatically in every 1 sec

for EX. we have in 9.1 this function [on_time_based_event_reward()] but it for every 1 hr
04/29/2016 20:09 CHlNAMAN#5664
Sherock maybe ask this 7 more times? You can't do that as far as I know. You could fiddle around with the dbo.ScheduledCommands.
04/29/2016 21:57 Sherock#5665
Quote:
Originally Posted by Leqendary View Post
Sherock maybe ask this 7 more times? You can't do that as far as I know. You could fiddle around with the dbo.ScheduledCommands.
i had a problem with my network so sorry about that ....
there is big problem which is some player are using programs like ( mouse and keyboard recorder ) and they press [ v ( switching the weapons ) ] 1000 times in 1 sec and make lag
so i'm wandering if you have a solution
04/29/2016 22:50 ThunderNikk#5666
Quote:
Originally Posted by Sherock View Post
i had a problem with my network so sorry about that ....
there is big problem which is some player are using programs like ( mouse and keyboard recorder ) and they press [ v ( switching the weapons ) ] 1000 times in 1 sec and make lag
so i'm wandering if you have a solution
You should probably learn how to use your ban list.
04/30/2016 09:05 Sherock#5667
Quote:
Originally Posted by thndr View Post
You should probably learn how to use your ban list.
they make a 1000 account even IP ban dos not work with them :|
04/30/2016 14:07 ThunderNikk#5668
I think maybe you need to take a better look at your registration script then so they dont have 1000 accounts.

Or lock all of the accounts that are made from the same IP of the person responsible.
04/30/2016 15:29 Sherock#5669
Quote:
Originally Posted by thndr View Post
I think maybe you need to take a better look at your registration script then so they dont have 1000 accounts.

Or lock all of the accounts that are made from the same IP of the person responsible.
i really tried and in Arabian countries the IP is dynamic so it not works

about dbo.ScheduledCommand
you have any idea about type column ?
04/30/2016 15:53 ThunderNikk#5670
I haven't mentioned anything about an IP yet. You are the only one who mentioned IP bans.

I told you in the first reply to ban accounts. You replied IP bans dont work because they make 1000 accounts.

In my second reply I told you to ban all accounts made by the same IP of the person responsible. Again not an IP ban but an account ban list.

About the 1000 account creating. How about doing an email verification before an account becomes active? They can't possibly have 1000 emails can they? Your registration script must be allowing them to use fake email addresses?