|
You last visited: Today at 01:58
Advertisement
Y u no work?
Discussion on Y u no work? within the CO2 Programming forum part of the Conquer Online 2 category.
05/09/2012, 12:14
|
#16
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
As I said in previous threads I am still learning or at least trying to learn and yes believe it or not the "new COClient" part did make me think and I have been trying all sorts of **** all through the night, 11:10am here and no I didn't sleep last night >.<
It's not for the want of trying and Googling all night long and that's usually what I do before coming here just to get mocked.
|
|
|
05/09/2012, 12:21
|
#17
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Before you try to make a proxy or whatever you're trying to do, then at least learn how the client -> server & server -> client works conquer-wise. Not only connection, but also packetstructures and datahandling, but at last before even trying to attempt this learn C# itself. Doesn't seems like you even know any OOP, since you created a new instance of the client and then just killing it, instead having the clients stored in a collection like a dictionary and then call the specific client you wish to.
|
|
|
05/09/2012, 12:26
|
#18
|
elite*gold: 20
Join Date: Aug 2007
Posts: 1,749
Received Thanks: 2,199
|
Quote:
Originally Posted by I don't have a username
Before you try to make a proxy or whatever you're trying to do, then at least learn how the client -> server & server -> client works conquer-wise. Not only connection, but also packetstructures and datahandling, but at last before even trying to attempt this learn C# itself. Doesn't seems like you even know any OOP, since you created a new instance of the client and then just killing it, instead having the clients stored in a collection like a dictionary and then call the specific client you wish to.
|
He's using my hooking framework, but yeah, he really needs to follow your advice
|
|
|
05/09/2012, 12:26
|
#19
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
Or a list?
Code:
List<COClient> clients = new List<COClient>();
|
|
|
05/09/2012, 12:43
|
#20
|
elite*gold: 0
Join Date: Dec 2011
Posts: 1,537
Received Thanks: 785
|
Quote:
Originally Posted by denominator
Or a list?
Code:
List<COClient> clients = new List<COClient>();
|
Use a dictionary, because you'll have a key to access a client then. With a list it would be harder to find the client you'd need. Much easier if you're just using a dictionary and giving the clients a unique id.
|
|
|
05/09/2012, 13:02
|
#21
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
Meh **** it I'll just pay to bot because so far for all the hours I've read I'm still no wiser >.<
Please close the thread it was a pointless venture.
|
|
|
05/09/2012, 13:54
|
#22
|
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
|
in the source your working on you supposed to have a List/Dictionary of Players whom are online , for instance in my source I have a Dic that holds the online players called "OnlineHeros" , you should have the same so what you wanna do is a loop getting players from the Dic and disconnect/killthem or whatever , you don't make new player or the other solutions you posted before!! and it would look like this
Code:
foreach(var hero in OnlineHeros){
hero.Disconnect();
}
that should do the trick!!
|
|
|
05/09/2012, 13:58
|
#23
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
Thank you Mr_PoP but I'm just going to give up, I have tried for a very very long time to understand C# and I just can't seem to learn it. I need to find a college or something to learn because I need people with me because I always have hundreds of questions about the simplest things so it's not worth my while just wasting time and effort trying to learn online.
I have not added all of the stuff that most of the coders have added I was just trying to do some simple stuff to get an understanding, I don't have the baseaddress or nameoffset either so the username thing isn't happening. I know how to keep the RecvPacketLoopAddress updated because it was explained easily by Belth but as for coding in general I am at a loss and I will just stick to website building with PHP/HTML because it is far far far easier than C# lol.
I will just pay to bot.
|
|
|
05/09/2012, 14:07
|
#24
|
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
|
Quote:
Originally Posted by denominator
Thank you Mr_PoP but I'm just going to give up, I have tried for a very very long time to understand C# and I just can't seem to learn it. I need to find a college or something to learn because I need people with me because I always have hundreds of questions about the simplest things so it's not worth my while just wasting time and effort trying to learn online.
I have not added all of the stuff that most of the coders have added I was just trying to do some simple stuff to get an understanding, I don't have the baseaddress or nameoffset either so the username thing isn't happening. I know how to keep the RecvPacketLoopAddress updated because it was explained easily by Belth but as for coding in general I am at a loss and I will just stick to website building with PHP/HTML because it is far far far easier than C# lol.
I will just pay to bot.
|
giving up and relying on other ppl is the reason why you FAIL!!!
you shouldn't give up learning or you will never learn a THING
taking long time learning ONE THING , actually it makes you learn other stuff while your trying to figure that ONE THING , so it's not a waste of time , in your case they can't really help you since you should know if you made NEW that's mean new and it has nothing to do with old players in your source so forcing to kill a new will result nothing , and this is the basics you should know it by now, my point is keep trying until you success otherwise never try to learn !!!
|
|
|
05/09/2012, 14:18
|
#25
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
Yes I understand and C# is the ONLY thing I have ever given up on. I don't usually fail but I just don't understand it I am useless with math so I really need to just give up. I have been trying to learn for about five or more years now and I am still struggling.
I don't like using console and everybody here does use console lol. I have been reading dotnetperls.com under the windows section which is GUI but when I try to apply Conquer stuff to it I can't get things to work, I have successfully added stuff from the old AlchemyProxy, I have a version of the hookingtest which is GUI/console hybrid but I failed at that also >.<
|
|
|
05/09/2012, 14:32
|
#26
|
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
|
Quote:
Originally Posted by denominator
Yes I understand and C# is the ONLY thing I have ever given up on. I don't usually fail but I just don't understand it I am useless with math so I really need to just give up. I have been trying to learn for about five or more years now and I am still struggling.
I don't like using console and everybody here does use console lol. I have been reading dotnetperls.com under the windows section which is GUI but when I try to apply Conquer stuff to it I can't get things to work, I have successfully added stuff from the old AlchemyProxy, I have a version of the hookingtest which is GUI/console hybrid but I failed at that also >.<
|
you wanna learn Console then you do GUI , and hating it that does not mean you shouldn't learn how to deal with it , moreover Console and GUI use the same syntax and same stuff , so if you console it's easy to deal with GUI!
|
|
|
05/09/2012, 14:39
|
#27
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
Ok I decided to start looking at Homeandlearn website and so far it makes things really really easy to understand. I will just keep reading that until I manage to understand it. I will get stuck on the numbers part again though lol.
|
|
|
05/09/2012, 15:36
|
#28
|
elite*gold: 20
Join Date: Mar 2006
Posts: 1,491
Received Thanks: 536
|
Quote:
Originally Posted by denominator
Yes I understand and C# is the ONLY thing I have ever given up on. I don't usually fail but I just don't understand it I am useless with math so I really need to just give up. I have been trying to learn for about five or more years now and I am still struggling.
I don't like using console and everybody here does use console lol. I have been reading dotnetperls.com under the windows section which is GUI but when I try to apply Conquer stuff to it I can't get things to work, I have successfully added stuff from the old AlchemyProxy, I have a version of the hookingtest which is GUI/console hybrid but I failed at that also >.<
|
Try C++ if you're going to give up on C#. While it may be "harder", it is more straightforward being a lower level language. What you see is what it does. Unless you intentionally make use of a complex library, there are rarely hidden actions within a few lines of code. If you can manage C++, learning C# is very easy as you've already learned to do all the hard work. C# ultimately takes less lines to do the same thing being a higher level language. Also, I'd argue there are more resources for learning C++ than C# seeing as how it's been around for decades longer.
If you need a hand, feel free to hit me up on msn or skype (both in my profile). As long as you're willing to learn (and can think for yourself) I don't mind helping, but I'm no teacher. I might be able to help you learn concepts, but I can't teach you them. (mostly applies to learning C++. I may know C#, but I'm less adept at it)
|
|
|
05/09/2012, 15:48
|
#29
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
I love the idea of someone giving up on C# because they dont understand it and cant do maths, and taking up C++ instead. You must be joking if you think thats ever going to work out.
|
|
|
05/09/2012, 15:56
|
#30
|
elite*gold: 0
Join Date: Aug 2010
Posts: 951
Received Thanks: 76
|
Simple question, if I take time out to read and learn this would I be able to achieve what I am trying to do? I'm assuming probably so albeit needing to study olly and CE a bit more as well.
|
|
|
 |
|
Similar Threads
|
how to make register.php work and client work at the same time
07/04/2014 - Dekaron Private Server - 11 Replies
Prior to my tut I am assuming you already checked this steps:
1. Followed Warmongers Ultimate Dekaron Server Setup
2. That you had succesfully downloaded and implement Silkbotters web registration php's and installed XAMPP server
3. That you already edited all the .ini in your htdocs folder with localhost IP 127.0.0.1, (yup, including Login server config.ini)
NOW this is what I learned:
1. When you setup your system DSN which you named "account" with log-in and password = account, at the...
|
how to make DSEEG work with dragonica (THQ/ICE) work for vista 32 bit users
10/16/2010 - Dragonica - 4 Replies
ok after 3 hours of messing around with dragonica i found a way to make it work with DSEEG for those who got the memory edit error
firstly within the 1 minture the game is open with dseeg remove all hotkeys and delete all bot settings and click save
leave the patcher.exe filepath as it is, select THQ and close everything, make sure that you set DSEEG to run as admin from the compatibility tab in properties.
now delete engine.ini from both c: drive and the dragonica release folder
...
|
[Release] ReXIGNation (Anti-Xigncode+CRC Bypass) spam here work/no work
07/19/2010 - Dekaron - 9 Replies
F>Y>I the bypass still work for me reinstall the game and run the bypasss with Cheat engine only, no winhex or any other way will make you DC right away when log in, am a vista user and i testes 3 different way and only CE work now hope this help u guy :mofo:
|
All times are GMT +1. The time now is 01:59.
|
|