Why i cant logon to map?
app.iniQuote:
Hi Requi, I tried your emulator but it says an error on MySQL, can you tell me because I get this?
If you click on ISH, the Emulator gets the Packet from the Client. Check which is it.Quote:
Hello,
my server has EMP, ISH and SMB
but only EMP works
because
else if (packetHeader.StartsWith("S"))
covers all
What should I do to run the SMB and ISH?
they all take the same suite of problemsQuote:
app.ini
Delete password.
Check if databasename is right.
If you click on ISH, the Emulator gets the Packet from the Client. Check which is it.
Then:
elseif(packetHeader.StartsWith("S"))
{
if(subHeader.StartsWith("EMP")) //Need to create variable subHeader which checks, what comes after the packetHeader.
and so on....
]
my problem fixedQuote:
There is the solution man.
There is:
if (packetSubHeader.StartsWith("EMP"))
{
.......
}
//then write this:
elseif(packetSubHeader.StartsWith("ISH"))
{
nearly same code for ISH like EMP
}
elseif(just like ISH and EMP))
{
...
}
Worked, but then will not let me attack the aliens, here I leave a picture, sorry for the inconvenience. I try to reboot and gives the same error, just change the final numbers:Quote:
app.ini
Delete password.
Check if databasename is right.
If you click on ISH, the Emulator gets the Packet from the Client. Check which is it.
Then:
elseif(packetHeader.StartsWith("S"))
{
if(subHeader.StartsWith("EMP")) //Need to create variable subHeader which checks, what comes after the packetHeader.
and so on....
]
The attack system is a whole fail in the newest version of azure.Quote:
Worked, but then will not let me attack the aliens, here I leave a picture, sorry for the inconvenience. I try to reboot and gives the same error, just change the final numbers:
From client u: 28
From client u: 34
From client or 7
I press CTRL or from the bar directly pressed UCB-100 ammo to attack, but not attack.Quote:
The attack system is a whole fail in the newest version of azure.
u|NUMBER stands for choosing a "item" in the quickslotbar.
And whats your exactly problem?
You need to recode a attack system (bullet part), because actually the system attack only count if you got UCB-100 ammo, them you need to check global ammoQuote:
I press CTRL or from the bar directly pressed UCB-100 ammo to attack, but not attack.
I use the default emulator azure, and when I press CTRL or when I select the UCB-100 ammo, if attacked, just very soft.
I am doing it like thisQuote:
I picked up some boxes to have UCB-100 and did not result, then use SAB ammo and still does not attack.
string[] bullet1 = Ship.bullet.Split(new Char[] { '|' });
// LCB-10(x1)|MCB-25(x2)|MCB-50(x3)|UCB-100(x4)|SAB-50(roba escudo)|RSB-75(x5)
uint LCB10 = Convert.ToUInt32(bullet1[0]);
uint MCB25 = Convert.ToUInt32(bullet1[1]);
uint MCB50 = Convert.ToUInt32(bullet1[2]);
uint UCB100 = Convert.ToUInt32(bullet1[3]);
uint SAB50 = Convert.ToUInt32(bullet1[4]);
uint RSB75 = Convert.ToUInt32(bullet1[5]);
uint totalbullet = LCB10 + MCB25 + MCB50 + UCB100 + SAB50 + RSB75;
if (this.destroyedClass)
{
return;
}
uint _userId = this.Ship.selectedUserId;
if (this.Ship.isAttacking == false || _userId == 0)
{
}
else if (totalbullet < 15)
{
this.Ship.isAttacking = false;
if (!AvisedB)
{
AvisedB = true;
this.Send("0|W|L|1");
}
}