and 1 more question why cows kill me with 1 hit?
Quote:
Hepatitis C
Can you help me with guards ? like a reborn if summon a guard they never show but working like they are invisible or something :D
Oh and I saw archers get stamin even when they fly so u can get fly over and over and over :)
Regards
Looks like you didn't add all the required files... although usually that would cause the client to crash or receive an error, I know if does for missing mob mesh/textures.. :SQuote:
hi everybody i added BusterBlade to my server But its invisible here look
[Only registered and activated users can see links. Click Here To Register...]
What is the problem now? iam on 5165 Source
Simple enough to fix the stamina problem. Just do a check under where the source adds stamina to players to check if the skill is activated or not.Quote:
Hepatitis C
Can you help me with guards ? like a reborn if summon a guard they never show but working like they are invisible or something :D
Oh and I saw archers get stamin even when they fly so u can get fly over and over and over :)
Regards
#region Stamina
{
if (!CSocket.Client.Transformed && !CSocket.Client.Dead && !CSocket.Client.Flying)
{
if (DateTime.Now > CSocket.Client.UpStam.AddMilliseconds(300))
{
int sta = 2;
if (CSocket.Client.Action == 100)
sta = 4;
else if (CSocket.Client.Action == 250)
sta = 8;
sta = Math.Min(sta, 100 - CSocket.Client.CurrentStam);
CSocket.Client.UpStam = DateTime.Now;
if (CSocket.Client.CurrentStam < 100)
{
CSocket.Client.CurrentStam += sta;
CSocket.Send(Packets.ConquerPacket.Status(CSocket, 2, CSocket.Client.CurrentStam, Struct.StatusTypes.Stamina));
}
}
}
}
#endregion
Quote:
Looks like you didn't add all the required files... although usually that would cause the client to crash or receive an error, I know if does for missing mob mesh/textures.. :S
Try following the guide to add it again. You should be adding it to the source but also adding a few different files to the client (images for in inventory, on ground and the skin for the actual weapon, etc)
Simple enough to fix the stamina problem. Just do a check under where the source adds stamina to players to check if the skill is activated or not.
Eg from CoEmu
not going to be perfectly applied but gives you an idea of how to structure it. just do a check to see if the client is in a transformation or flying or any other reason you would want them to not gain stamina (such as vortex, certain map, etcetcetc)Code:#region Stamina { if (!CSocket.Client.Transformed && !CSocket.Client.Dead && !CSocket.Client.Flying) { if (DateTime.Now > CSocket.Client.UpStam.AddMilliseconds(300)) { int sta = 2; if (CSocket.Client.Action == 100) sta = 4; else if (CSocket.Client.Action == 250) sta = 8; sta = Math.Min(sta, 100 - CSocket.Client.CurrentStam); CSocket.Client.UpStam = DateTime.Now; if (CSocket.Client.CurrentStam < 100) { CSocket.Client.CurrentStam += sta; CSocket.Send(Packets.ConquerPacket.Status(CSocket, 2, CSocket.Client.CurrentStam, Struct.StatusTypes.Stamina)); } } } } #endregion
best of luck to you.
Quote:
Hey my helpful friends. :))
I have searched, and found a register page. But when I register a char from that, it can't log in. But when I register from the server it does. it looks the same, for example if I register a char named test with 123 password it looks the server-registered and the web-registered too like this: test.usr file with content: 123.
But still it can't login if I register from the web.
My first registered user's .usr file looks like this: " password[GM]username". And it logs. I don't know what's wrong with this:O.
And I read that this can use mysql database to store data. How?:O
http://youriphere:8080/reg.html