Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 02:44

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

Advertisement



IEditor source code [fully working]

Discussion on IEditor source code [fully working] within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
IEditor source code [fully working]

some pix




you can find all values and edit manually or find all values and edit automatically
this is the engine with bit more options for edits , you can add way more awesome stuff to it
accurate , decent and unique engine , however it could be done way better
you may do whatever you want with this project but you should always remember my credits

this is an educational project and just for sake of learning more , so please if you think codes are awful then nicely comment with what you think it's awful and better alternatives to get it done and not just being mean for the sake of pleasing your ego :P

have a wonderful day ^^
find it in attachments

just a little more information : this was made basically to convert all hex values to dec values to remove the effect of reflecting sources
but it's not limited to that usage , i could not find another application that does the same thing to search for unknown hex values with unknown lengths and convert all of them , engine could be done in pretty much easier way but that would have limited that app for changing hex values to dec and not just any similar strings or values which begin and end with similar/common/limited in number chars
Attached Files
File Type: rar IEditor.rar (76.2 KB, 34 views)
go for it is offline  
Thanks
1 User
Old 03/19/2013, 15:06   #2
 
elite*gold: 0
Join Date: Nov 2009
Posts: 342
Received Thanks: 17
i'd lie if i told you this prog isn't useful
keep up ya sa7bi
|xabi| is offline  
Old 03/19/2013, 17:18   #3
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
Consider regular expressions over "starts/ends with."

Regular expressions are a standard means of writing search patterns. Regex matches are implemented in a variety of modern programming languages (Java, C#, etc.) and there are libraries for other languages (C++, etc.). They are extremely powerful in searching for specific kinds of data.

Learn more about regex syntax (language independent for the most part, implementations vary):

C# implements regexes very cleanly:

The regex you need is something like "0x(\d)+" to match only things starting with 0x then 1 or more digits following.
_tao4229_ is offline  
Thanks
1 User
Old 03/19/2013, 18:57   #4
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
@|xabi| that was made after your request so you should find it useful :P thanks bud

@_tao4229_ thanks for showing me that libs but that was fun coding this engine and find it as accurate as this library engine (give them a try)
yes it should be as easy as using lib with something like @"\b\0x+" "\b" or w/e it's syntax , i don't even know if it's option to search for variable ends and begins but that could be done with someway or another ex.
beings 0x ends ' '
beings 0x ends ';' and so on , but anyway if i were to use any of them ill use mine as it's functional and i had fun coding it
i appreciated the link of lib but that was all for educational purpose
go for it is offline  
Old 03/19/2013, 19:53   #5
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Regex is not a library. It's an expression used to manipulate strings. (Note that is not entirely correct, but seems like you didn't even get what it's about so I'll just let it be as that)

You can use it to search, replace, remove, validate etc.
Super Aids is offline  
Old 03/19/2013, 20:12   #6
 
elite*gold: 0
Join Date: Sep 2012
Posts: 775
Received Thanks: 329
Quote:
Originally Posted by Super Aids View Post
Regex is not a library. It's an expression used to manipulate strings. (Note that is not entirely correct, but seems like you didn't even get what it's about so I'll just let it be as that)

You can use it to search, replace, remove, validate etc.
well tbh i didn't read much at msdn , but does i sounds competing to regex or even need it o-0 ? prolly you are missing the point
i took couple of hrs just to learn doing something with programming with zero intention to use it to get better at programming
i do that pretty much all the time , code classes and methods to do stuff which could be done with other methods or even which is unique and once i get it to work in couple of hrs i move on to the next project

when i asked for recommendation on codes i meant a different way to achieve something or maybe a bad logic which could be done way better than that but not the whole thing
but anyway thanks for the info and yup regex is pretty good one
go for it is offline  
Old 03/20/2013, 21:07   #7
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
They gave you what you asked for, a different (better, more industry standard) way of accomplishing the same thing.

The code you are using for searching/replacing is simply not as good a method as using regex to accomplish the same tasks. That's why they provided you with the links for future consideration.

Regex lets you match specific patterns very easily and is geared towards exactly what you're trying to do (searching and replacing). A little reading on it would prove very beneficial not only to this current project of yours but also anything you might code down the line.
pro4never is offline  
Old 03/20/2013, 21:11   #8
 
elite*gold: 0
Join Date: Jan 2013
Posts: 40
Received Thanks: 29
Regex is so slow (or at least most implementations of it are) and ugly
ShittyMod is offline  
Reply


Similar Threads Similar Threads
IEditor preview/discussion
03/19/2013 - CO2 Programming - 15 Replies
i've been for most likely 5 hrs working on an algorithm for detecting unknown values/strings with unknown length and position by using advanced engine to search for chars that this strings/values begin/end with features im working on may take the rest of the day but nothing is actually new for me , all i want to do was the engine to get better at programming here is a preview please vote on the poll for what you think and if it worth to complete it and release it with source code this...
Epic bot working home edited source code
11/04/2011 - Runescape - 1 Replies
hello, I was one of the scripter making powerbot so now here iam i updated the source code of epic bot if anyone needs this bot you can download from sharecash this is neccesary cause iam not giving away my work i need a bit money download: removed// greethings, MeMeNt0



All times are GMT +1. The time now is 02:46.


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.