Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2
You last visited: Today at 09:50

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP]ConquerSourceCode

Discussion on [HELP]ConquerSourceCode within the Conquer Online 2 forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2020
Posts: 57
Received Thanks: 9
[HELP]ConquerSourceCode

Hi ePvP, I'm looking in the source and i search #commands (gm / pm) and I don't see it ... after a time with the Ransack Agent program (search text in file) I find the commands (@scroll @dc @ etc ...)
FileName PacketHandler.cs
I pasted the order "@rev"
Code:
		           case "rev":
                                {
                                    client.Entity.Action = Wait.Game.Enums.ConquerAction.None;
                                    client.ReviveStamp = Time32.Now;
                                    client.Attackable = false;

                                    client.Entity.TransformationID = 0;
                                    client.Entity.RemoveFlag(Update.Flags.Dead);
                                    client.Entity.RemoveFlag(Update.Flags.Ghost);
                                    client.Entity.Hitpoints = client.Entity.MaxHitpoints;
                                    break;
                                }
but it doesn't work .. .. I said I am probably stupid and stupid put command bad "@rev" ... I still tried to change @ command (it works like @)
Code:
                           case "bring":
                                {
                                    foreach (var pClient in ServerBase.Kernel.GamePool.Values)
                                    {
                                        if (pClient.Entity.Name.ToLower().Contains(Data[1]) || Data[1].ToLower() == "all")
                                            if (Data[1].ToLower() == "all")
                                            {
                                                pClient.Entity.Teleport(client.Entity.MapID,
                                                    (ushort)Kernel.Random.Next(client.Entity.X - 5, client.Entity.X + 5),
                                                    (ushort)Kernel.Random.Next(client.Entity.Y - 5, client.Entity.Y + 5));
                                            }
                                            else
                                                pClient.Entity.Teleport(client.Entity.MapID, client.Entity.X, client.Entity.Y);

                                    }
                                    break;
                                }
i change in "@come"
Code:
                           case "come": //bring
                                {
                                    foreach (var pClient in ServerBase.Kernel.GamePool.Values)
                                    {
                                        if (pClient.Entity.Name.ToLower().Contains(Data[1]) || Data[1].ToLower() == "all")
                                            if (Data[1].ToLower() == "all")
                                            {
                                                pClient.Entity.Teleport(client.Entity.MapID,
                                                    (ushort)Kernel.Random.Next(client.Entity.X - 5, client.Entity.X + 5),
                                                    (ushort)Kernel.Random.Next(client.Entity.Y - 5, client.Entity.Y + 5));
                                            }
                                            else
                                                pClient.Entity.Teleport(client.Entity.MapID, client.Entity.X, client.Entity.Y);

                                    }
                                    break;
                                }
but "@come" no working why ??. anything answer help me

P.S I have windows xp and i use notepad++ (Visual studio is a new version but my windows not supported, if this is problem and you know anything program for xp. Please.
P.S.S To make server cs 1.6(amxmodx) or samp(pawno) file is compiler to conquer idk i am beginner..
Procq is offline  
Old 01/05/2020, 13:22   #2



 
Aimless Angel's Avatar
 
elite*gold: 1725
Join Date: Dec 2005
Posts: 39,170
Received Thanks: 16,159
#moved Main -> Conquer Online
Aimless Angel is offline  
Old 01/06/2020, 09:52   #3
 
elite*gold: 0
Join Date: Jan 2020
Posts: 57
Received Thanks: 9
Can help me??
Procq is offline  
Old 01/06/2020, 21:50   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
You can't copy and paste code between sources and expect them to work most of the time, just fyi. Besides that, you need to compile your source code using Visual Studio. It sounds like you should go through on C# before starting a Conquer server. Windows XP is dead as well; you should upgrade to Windows 10 for security and app compatibility.
Spirited is offline  
Thanks
1 User
Old 01/08/2020, 11:03   #5
 
elite*gold: 0
Join Date: Jan 2020
Posts: 57
Received Thanks: 9
Thx .. I solved it now, but I have the last problem ... I connect the source and the debugin serv with visual studio, but I do not connect to mysql ... I make changes in the file programs (gameip = xxxxx, root localhost) and i make mysql connection (succesfull conection and execute sql ...), but server say mysql was not connected ... before this error i have an error, it is first error"system.collections.generic.keynotfoundexcept ion, the key was not present in the dictionary "... ok I know" the key is not in the folder ... "but how to fix / eliminate this error ?.. connection to mysql is not a problem .. this "key" make to not connected my mysql db .. I know .. but I do not know what this key F ***** g .. I search on Google but ... do not understand .. can you help me? this is a last problem .. I promise you

P.s sorry for bad english but its not my first language.
p.s.s i want to learn is very hard with language and learn language c#..but i need one hand of help. is last
Procq is offline  
Old 01/08/2020, 19:12   #6
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by Procq View Post
Thx .. I solved it now, but I have the last problem ... I connect the source and the debugin serv with visual studio, but I do not connect to mysql ... I make changes in the file programs (gameip = xxxxx, root localhost) and i make mysql connection (succesfull conection and execute sql ...), but server say mysql was not connected ... before this error i have an error, it is first error"system.collections.generic.keynotfoundexcept ion, the key was not present in the dictionary "... ok I know" the key is not in the folder ... "but how to fix / eliminate this error ?.. connection to mysql is not a problem .. this "key" make to not connected my mysql db .. I know .. but I do not know what this key F ***** g .. I search on Google but ... do not understand .. can you help me? this is a last problem .. I promise you

P.s sorry for bad english but its not my first language.
p.s.s i want to learn is very hard with language and learn language c#..but i need one hand of help. is last
If you'd like help with the MySQL error, you can post it here. Idk what "the error" is unless you share it. Your English isn't that bad, to be honest.
Spirited is offline  
Old 01/08/2020, 19:39   #7
 
elite*gold: 0
Join Date: Jan 2020
Posts: 57
Received Thanks: 9
in my language is reverse words how not learn to school english...idk is ok or not )
ok.
error on source (cmd) Photo:

Program.cs


i post all file for see what you want
Procq is offline  
Old 01/08/2020, 21:15   #8
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Idk where you got that source code, but that's the worst code I've seen to date. I know they're loaded with problems, but I can't believe they've gotten that bad. I strongly encourage that you work with a recommended source from here... Otherwise, you'll have to debug it yourself to understand why it's not working. It may be a configuration error?
Spirited is offline  
Old 01/08/2020, 21:25   #9
 
elite*gold: 0
Join Date: Jan 2020
Posts: 57
Received Thanks: 9
yea..little coder say me is lack code ..who source recommend (no close the topic.. can anyone know)
Procq is offline  
Old 01/08/2020, 22:32   #10
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by Procq View Post
yea..little coder say me is lack code ..who source recommend (no close the topic.. can anyone know)
I know you've already seen this, but this is the list:
Spirited is offline  
Old 01/16/2020, 22:11   #11
 
donaistheboss's Avatar
 
elite*gold: 0
Join Date: Jan 2014
Posts: 96
Received Thanks: 2
check this if help you
donaistheboss is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[HELP]HELP HELP HELP[HELP]
09/23/2013 - Facebook - 3 Replies
GUYS ^^ THIS IS A HELP THREAD NOT REQUEST THREAD BUT YOU CAN CONSIDER IT AS REQUEST THREAD DOES ANYONE OF YOU KNOW THE AUTO SUBMIT PHP CODE? THANKS!
[HELP][HELP][HELP][HELP]!!
09/11/2009 - Soldier Front - 3 Replies
Microsoft Visual C++ Run time error! :(:( **HELP ME PLEASE!!***
help help help help help help
06/28/2009 - Say Hello - 0 Replies
how i can dowmload Mangos 6385 ??????????????????????????????????? please give me the limk i can't see that i know it is in www.elitepvpers.com/.../153716-release-mangos-relea ses-blackscorpian-win32-2-4-3-a.html - but give me link sent it to my email plz



All times are GMT +1. The time now is 09:50.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.