Official 5165 FAQ/Question thread

09/29/2011 04:56 marcbacor6666#1966
i cant really fix the expball experience i am using c# 5165 source. please help me. i entered this using visualC# public uint ExpBallExp
{
get
{
if (Level < 30)
return (uint)(15000 + Level * 430);
else if (Level < 50)
return (uint)(40000 + Level * 430);
else if (Level < 80)
return (uint)(30000 + Level * 500);
else if (Level < 80)
return (uint)(30000 + Level * 600);
else if (Level < 100)
return (uint)(30000 + Level * 700);
else if (Level < 110)
return (uint)(30000 + Level * 900);
else if (Level < 120)
return (uint)(30000 + Level * 1100);
else if (Level < 125)
return (uint)(30000 + Level * 1500);
else if (Level < 130)
return (uint)(30000 + Level * 1000);
else
return (uint)(30000 + Level * 1000);
}
}


But problem is nothing happed,, experience gain in expball still soo high.. i want it to make low.. i want expball gain experience low please. help me
10/04/2011 14:19 amr98#1967
i download client and then i get this error if anyone can help me please PM me :confused:
10/04/2011 17:22 F i n c h i#1968
Quote:
Originally Posted by amr98 View Post
i download client and then i get this error if anyone can help me please PM me :confused:
It looks like the .exe is damaged.
Re-download it.
10/04/2011 17:30 amr98#1969
Quote:
Originally Posted by F i n c h i View Post
It looks like the .exe is damaged.
Re-download it.
what u mean ? can i download any 5165 client or i need this 5165 client
10/04/2011 17:46 F i n c h i#1970
Quote:
Originally Posted by amr98 View Post
what u mean ? can i download any 5165 client or i need this 5165 client
Download the client again, delete that one cause it's damaged.
10/10/2011 17:44 TheNotoriousBIG#1971
Thanks alot. This was extremely helpful. I'm only 13 and so fascinated by coding and things like this! I got it to work in one try, just by your simple steps. I'm going to try some simple coding that you gave, and I'll see how it goes! I'll inform you if something goes wrong. Once again, thanks!

Thanks so much! I got my server up and running on the first try! People really need to just listen and follow instructions. Now setting up a server is freaking easy!
10/22/2011 15:33 snow118#1972
Code:
        }
        public unsafe void AddSend(COPacket Packet)
        {
            try
            {
                byte[] P = Packet.Get;
                fixed (byte* p = P)
                {
                   string TQServer = "TQServer";
                   for (int i = 0; i < 8; i++)
                     *(p + i + P.Length - 8) = Convert.ToByte(TQServer[i]);
               }
                 PacketGroup.Add(P);
               }
               catch { }
        }

My server was running an The program stopped responding on this line
*(p + i + P.Length - 8) = Convert.ToByte(TQServer[i]);

Any solutions how to fix it?
10/22/2011 16:18 Arco.#1973
Quote:
Originally Posted by snow118 View Post
Code:
        }
        public unsafe void AddSend(COPacket Packet)
        {
            try
            {
                byte[] P = Packet.Get;
                fixed (byte* p = P)
                {
                   string TQServer = "TQServer";
                   for (int i = 0; i < 8; i++)
                     *(p + i + P.Length - 8) = Convert.ToByte(TQServer[i]);
               }
                 PacketGroup.Add(P);
               }
               catch { }
        }

My server was running an The program stopped responding on this line
*(p + i + P.Length - 8) = Convert.ToByte(TQServer[i]);

Any solutions how to fix it?
It would help if you told us what the problem was -.-
10/24/2011 19:58 snow118#1974
I didnt catch the problem. But surely theres only a small number of things it could be.

*(p + i + P.Length - 8) = Convert.ToByte(TQServer[i]);

137 people were online at the time.
10/25/2011 04:26 Arco.#1975
Then theres no way we could help you.
For future reference, if you have a catch, make it somewhat like this

catch(Exception e){Console.WriteLine(e.ToString());}

So it'll catch the exception and write it to the console.
10/25/2011 06:48 snow118#1976
Yeah I done that.. Newestco Stops responding an crashes. Anyway. Another Problem is Magic attack will still hit people even when there out of range, like places like guild war? Any idea's of what I could do to fix that aswell.
10/25/2011 10:19 BaussHacker#1977
Quote:
Originally Posted by snow118 View Post
Yeah I done that.. Newestco Stops responding an crashes. Anyway. Another Problem is Magic attack will still hit people even when there out of range, like places like guild war? Any idea's of what I could do to fix that aswell.
Make a bool checking if the target is in range.
If it's not in range, then stop the attack lol.
10/26/2011 12:36 snow118#1978
*(p + i + P.Length - 8) = Convert.ToByte(TQServer[i]);

this line said something about invalid memory. or not enough memory. i cant remember but my memorys fine
10/26/2011 12:44 BaussHacker#1979
Quote:
Originally Posted by snow118 View Post
*(p + i + P.Length - 8) = Convert.ToByte(TQServer[i]);

this line said something about invalid memory. or not enough memory. i cant remember but my memorys fine
There is different types of memory, probably process memory.
10/26/2011 23:22 snow118#1980
[Only registered and activated users can see links. Click Here To Register...]


?