Official 5165 FAQ/Question thread

01/04/2010 21:44 Gorjangorjan#481
and 1 more question why cows kill me with 1 hit?
01/04/2010 21:50 ~*NewDuuDe*~#482
Just go into the database and change their attack, lol.
01/04/2010 21:58 Arcо#483
Quote:
Originally Posted by ~*NewDuuDe*~ View Post
Just go into the database and change their attack, lol.

Lol not that simple since the chr files are encrypted.
01/04/2010 22:05 ~*NewDuuDe*~#484
Oh. As said before, i've never bothered to look into that piece of shit.
01/04/2010 22:05 cronoszeu#485
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
01/04/2010 22:09 Arcо#486
Quote:
Originally Posted by cronoszeu View Post
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

I don't think summonskills or any of the transformation skills are coded in.
I had to code them in on my own.
01/04/2010 22:12 cronoszeu#487
well I know 5% about code but I do know after i summon one guard they atack monsters :))

So if u give me a hint where to look will be nice

Regards
01/04/2010 22:23 Pitylee#488
Hey.

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 ::: 123
But still it can't login if I register from the web.

Any sugg.?

And does anyone know what's the epic webserver about?. This server could be mysql-based?:D
01/05/2010 02:54 [GM]#489
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
01/05/2010 03:04 pro4never#490
Quote:
Originally Posted by [GM] View Post
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
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)

Quote:
Originally Posted by cronoszeu View Post
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
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
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
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)

best of luck to you.
01/05/2010 04:02 Arcо#491
Quote:
Originally Posted by pro4never View Post
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
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
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)

best of luck to you.

Actually about the adding weapons, a lot of people are having trouble with it.
They have all the necessary files and correctly edit the ini files but the weapons/armor still comes up invisible.
01/05/2010 10:43 [GM]#492
Quote:
Originally Posted by Hepatitis C View Post

Actually about the adding weapons, a lot of people are having trouble with it.
They have all the necessary files and correctly edit the ini files but the weapons/armor still comes up invisible.


so should i forget about adding it and delete it or what?
01/05/2010 12:34 Pitylee#493
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
01/05/2010 18:03 .Ryu#494
Quote:
Originally Posted by Pitylee View Post
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
Well if your trying to use register put the Epic WebServer.exe in C:/OldCODB/Web Server and run it then in your browser put

Code:
http://youriphere:8080/reg.html
And register and you should be good :)
01/05/2010 18:18 eland#495
How do i log in? do i need to chance something in my Co or do i need to download something... i dont know how to open the game.
Edit:
nvm im just very dumb... i forgot to download the client xD omfg sorry