Official 5165 FAQ/Question thread

02/23/2011 19:31 snow118#1891
Then the reborn script is incomplete. So uploading it dont have much value
02/23/2011 20:07 Arco.#1892
Quote:
Originally Posted by snow118 View Post
Then the reborn script is incomplete. So uploading it dont have much value
So you'd rather go on the conquer website, get EVERY FUCKING class combination, and do that on on your own? Which judging by the way you value codes, you wouldn't be able to do, cause you can't code.
02/23/2011 20:10 .Beatz#1893
Well I for one would love to go onto the site and code the whole damn thing -.-

LOL!

Dude seriously Arco pretty much done a public service, all you need to do is fill in a few numbers and hey presto! you got a very nice reborn script

:facepalm:
02/24/2011 20:11 Arco.#1894
Quote:
Originally Posted by snow118 View Post
Hes not so kind anymore. I asked for help and he asked for money. I only wanted advise.
And I gave you advice, I told you I'd do the coding for money, cause you wanted me to do it for free cause you said; "I don't know how to do that stuff yet, I'm not experienced with coding."
02/25/2011 06:17 snow118#1895
Attacking on horses... Anyone know a fix for that?? Ive fixed attacking on horses usin xp skills. But i dont know how to do the rest...

My warehouses do not work or accept items. But vip does.... Anyway to fix this...

my last problem. I dont know how to make new socket system. but i haver had new threading done.... I need any little small ideas. Anything at all to make it as stable as possible.,.. Without a whole load of coding....

Like i am making codes smalleer. cp drops.. i have wrote 4 line of coding instead of pages of the rubbish... Removing whatever i can... Anyone have any advice on any of my problems here
03/11/2011 21:04 eltamy#1896
how to make the server restart automatic
03/12/2011 21:32 snow118#1897
Anyone who uses 5165 flatefile and needs help just add me on [Only registered and activated users can see links. Click Here To Register...]

Anyone who wants to help or join a server just add me on msn too. I have fixed 90 percent of the problems.
03/13/2011 10:18 mihatsu10#1898
when i dbl click play it goes into auto patch and has the error and when i click retry the same them bypass and it closes :/
03/14/2011 01:14 snow118#1899
Click conquer.exe not play

If conquer exe wont work. re-download client simples. and Use Conquer.exe !!!

- - - - - - - - - - - -

add me on msn [Only registered and activated users can see links. Click Here To Register...] anyone who needs help. Coders here wont help you. They want money
03/16/2011 17:59 Master.Rock#1900
thxxx :bandit:
03/19/2011 03:42 snow118#1901
[Only registered and activated users can see links. Click Here To Register...]

Fixed double logging... ILogs old account out and new one in. Which means its unable to rollback an cheat... Also NPCS load before character so you dont have to jump on an off screen.

A code Arco and Impulse failed to release.. Non of theres work. This is the only available double login fix. So hope u enjoy guys :) (Last Page)


I have a fix for every single bug on 5165 flatfile.... Add me on msn [Only registered and activated users can see links. Click Here To Register...] or post problems here. I can resolve them. Totally free. Like a human should do... All this about copy an paste.... An learn for yourself.. Leech... People need to be decent.
03/21/2011 02:48 Arco.#1902
Quote:
Originally Posted by snow118 View Post
All this about copy an paste.... An learn for yourself.. Leech... People need to be decent.
lol.
Spoken like a true leech.
03/23/2011 02:43 Arco.#1903
Quote:
Originally Posted by snow118 View Post
Code:
                    }
                    if (Cmd[0] == "/save")
                    {
                        Game.Character[] BaseCharacters = new Character[World.H_Chars.Count];
                        World.H_Chars.Values.CopyTo(BaseCharacters, 0);
                        try
                        {
                            foreach (Game.Character C in BaseCharacters)
                            {
                                try
                                {
                                    Database.SaveCharacter(C, C.MyClient.AuthInfo.Account);
                                }
                                catch { continue; }
                            }
                        }
                        catch { }
                        Database.SaveKOs();
                        Database.SaveEmpire();
                        Features.Guilds.SaveGuilds();
                        Features.SkillsClass.Save();
                        Console.WriteLine("Server all saved.");
Hey dipshit.
Why are you even copying to another array? There's no point at all. Just do a foreach in the original hashtable, and a save action for every entry. Another thing: Why two try catches? No point, the first try is gonna catch whatever errors you run into, so its pointless to have another one.
A better way to prevent rollbacks, is to save a variable EVERYTIME it is changed. For example, if you were using MySql, you can do this:

Accessor:

Save method:

Updates the variable in the database everytime its changed.
Stop being a dipshit.
03/23/2011 11:25 Syst3m_W1z4rd#1904
Quote:
Originally Posted by snow118 View Post
Leech? Arco.... Your release dont even work =] An this release is not on elitepvpers. Anyway guys. Another release here to save the whole server from your console, without closing the game. Another big help to prevent rollbacks. As i said guys. I will release any of my source codes. Just ask =]


In Database.cs find

Console.WriteLine("Database Save.");
Console.WriteLine("Click X to close the window.");
below it add this

Code:
                    }
                    if (Cmd[0] == "/save")
                    {
                        Game.Character[] BaseCharacters = new Character[World.H_Chars.Count];
                        World.H_Chars.Values.CopyTo(BaseCharacters, 0);
                        try
                        {
                            foreach (Game.Character C in BaseCharacters)
                            {
                                try
                                {
                                    Database.SaveCharacter(C, C.MyClient.AuthInfo.Account);
                                }
                                catch { continue; }
                            }
                        }
                        catch { }
                        Database.SaveKOs();
                        Database.SaveEmpire();
                        Features.Guilds.SaveGuilds();
                        Features.SkillsClass.Save();
                        Console.WriteLine("Server all saved.");


If you could understand english correctly, you would understand what i meant by this. As I am from England let me tell you. ''Copy an paste, Leech, Learn yourself.... Im tryin to say thats what you coders always say. Or the spoon fed line. Forums to help. Not to tell people to learn themselves. Some peoples brain capaticy cannot learn visual c #. So they need help. Not critisism from a guy who sits in all day at his computer.
That save is the worst I have seen.
Also you don't add a command after.

Why the f*** do you keep that you can press the X now.
If you coded it proper it should not even be there and you should be able to close your server by pressing the x anytime, without causing problems.

Your codes look like something from ConquerSX, because the codingstyle is both bad.
03/23/2011 18:43 Syst3m_W1z4rd#1905
Quote:
Originally Posted by snow118 View Post
The code works an helps prevent rollbacks. Arco whatever u say, maybe your a better coder, but I have more experience with 5165. And have had newestCo online with well over 100 people. Something you an others claim is imnpossible. exceptions an crashes. Try askin anyone who played conquer 3.0 or plays my new server ;) Both NewestCo

So guys feel free to listen to any of these guys. But i am currently running 5165 flatfile. I have removed every bug it had. Even the stamina bug, attacking on horses. The rollbacks and relogging. Believe me this code works. Use it. Before you close the server type on the cmd /save and then /exit

Rollbacks are mostly from accounts that are online when server is closed. Trust me ive worked with the source longer than any of the guys tryin to critisize me :) Add new threading and Tidy up character.cs. The socket system it uses is not all that bad. You do that... an remove the bugs it already has an exceptions. U can handle 200 quite comfortably. Ive stress tested.

Arco ill prove it anyday of the week [Only registered and activated users can see links. Click Here To Register...] x
The code is inefficient. Real servers doesn't need it, because they don't have rollbacks. Also you don't even know why the rollback is caused in Newestcoserver, do you?
Also I doubt you have removed every bug there is, because you probably don't know half of them, just by looking the way you're fixing the bugs, then it can't be fixed.
Also you don't even know how to make the sockets better, because you don't know what makes them bad. Do you even know how a socket system is working?
Nobody cares about your server, I have never heared about it IMO it's not populare enough.
You can't have experience with one source, if you're a real coder you can code the same things for any source, so that way Arco is a better coder than you, because he could code exactly the same as you did, but in the real way.