Stripped ProjectAlchemy Source Code

12/09/2010 21:04 denominator#136
Lol helps if I am able to work to get money in the first place :P Besides the fact moneys value to me is burning on the fire to keep warm rofl. Grow weed, grow food, filter water and free life ;)
12/09/2010 21:09 pro4never#137
Quote:
Originally Posted by Whoopsiedoodle View Post
what's ya price? :bandit:
Depends what you wanted added/explained.
12/09/2010 21:13 demon17#138
nice P4N .. Just guess why we are here and try to finalize the bot functionality?:P We not have money . Simple reason :|

<Edit1>

For exemple I need a Source with :
-Bot Hunt Huge Range ( meaning Jump from monster to monster , Item to item )
-Non DC speedhack( Cyclone only)
-Hunt functionality full working ( Fast and safe -=no dc)
-Loot Rare ( DB , Met , .... Costumable)
!!!
And Keep Always Updated

How much is that what i need?:P



<Edit2>

Im not lazzy but i cant make that thongs to work
Now i have a propely working source ( not work for me .. stuck at login part to server)
12/09/2010 21:43 OELABOELA#139
Pro4Never, can you help me with something?

Code:
 /* Use item packet, WIKI! http://wiki.fusionorigins.com/index.php?title=CO_Packet_ItemUsage#Version_5100
         * 0 	ushort 	28
2 	ushort 	1009
4 	uint 	Item_ID
8 	uint 	Item_Location
12 	uint 	Item_UsageType
16 	uint 	Timer 
         * */


        public static void UseItem(Client C, uint ID)
        {
            try
            {
                byte[] Pack = new byte[28];
                WriteUInt16(28, 0, Pack);
                WriteUInt16(1009, 2, Pack);
                WriteUInt32(ID, 4, Pack);
                WriteUInt32(1, 8, Pack);
                WriteUInt32(4, 12, Pack);
                WriteUInt32(GetStamp(C), 16, Pack);
                WriteString("TQClient", 80, Pack);
                C.ToServerQueue.Enqueue(Pack);
            }
            catch { }
        }
Am i doing this right?
12/09/2010 22:19 Whoopsiedoodle#140
Quote:
Originally Posted by demon17 View Post

Today is my Bday
Happy birthday hope it was a good one :D

Quote:
Originally Posted by pro4never View Post
Depends what you wanted added/explained.
well...i dont want it done for me, cuz i like doin stuff myself (if i can), but really just tryin to figure out the basic hunt/movement stuff that's been goin on. With my ADD, it's hard to keep up...lul... My strong point is hands-on learning, but uh..yeah prices lol
12/09/2010 22:23 pro4never#141
Quote:
Originally Posted by OELABOELA View Post
Pro4Never, can you help me with something?

Code:
 /* Use item packet, WIKI! http://wiki.fusionorigins.com/index.php?title=CO_Packet_ItemUsage#Version_5100
         * 0 	ushort 	28
2 	ushort 	1009
4 	uint 	Item_ID
8 	uint 	Item_Location
12 	uint 	Item_UsageType
16 	uint 	Timer 
         * */


        public static void UseItem(Client C, uint ID)
        {
            try
            {
                byte[] Pack = new byte[28];
                WriteUInt16(28, 0, Pack);
                WriteUInt16(1009, 2, Pack);
                WriteUInt32(ID, 4, Pack);
                WriteUInt32(1, 8, Pack);
                WriteUInt32(4, 12, Pack);
                WriteUInt32(GetStamp(C), 16, Pack);
                WriteString("TQClient", 80, Pack);
                C.ToServerQueue.Enqueue(Pack);
            }
            catch { }
        }
Am i doing this right?
Inventory location is 0, not 1.

Other then that assuming packet structures haven't changed between patches (very possible) then that's a possibility.

Also keep in mind there is a subtype in there somewhere for usage. Not sure what is is. You are having 4 for use item.

What I'd do is a command to let you modify the packet on the fly so that you can try different types to find one that works.

IE: find a uid for a known static id (potion in inventory) from the client inventory dictionary and then try using it with different types. Find the one where it is used and you gain hp and that's how you would use a potion ^^

You also might want a method to return a potion from inventory that loops through till it finds a valid potion id to use. That way you can apply it to your auto potter.
12/09/2010 22:52 gabrola#142
Quote:
Originally Posted by OELABOELA View Post
Pro4Never, can you help me with something?

Code:
 /* Use item packet, WIKI! http://wiki.fusionorigins.com/index.php?title=CO_Packet_ItemUsage#Version_5100
         * 0 	ushort 	28
2 	ushort 	1009
4 	uint 	Item_ID
8 	uint 	Item_Location
12 	uint 	Item_UsageType
16 	uint 	Timer 
         * */


        public static void UseItem(Client C, uint ID)
        {
            try
            {
                byte[] Pack = new byte[28];
                WriteUInt16(28, 0, Pack);
                WriteUInt16(1009, 2, Pack);
                WriteUInt32(ID, 4, Pack);
                WriteUInt32(1, 8, Pack);
                WriteUInt32(4, 12, Pack);
                WriteUInt32(GetStamp(C), 16, Pack);
                WriteString("TQClient", 80, Pack);
                C.ToServerQueue.Enqueue(Pack);
            }
            catch { }
        }
Am i doing this right?
Nope it changed now it's
UInt16 80
UInt16 1009
UInt32 ID
UInt32 Location
UInt32 UsageType
UInt32 TimeStamp
byte[60] NullBytes

so it should be

Code:
        public static void UseItem(Client C, uint ID)
        {
            try
            {
                byte[] Pack = new byte[88];
                WriteUInt16(80, 0, Pack);
                WriteUInt16(1009, 2, Pack);
                WriteUInt32(ID, 4, Pack);
                WriteUInt32(0, 8, Pack);
                WriteUInt32(4, 12, Pack);
                WriteUInt32(GetStamp(C), 16, Pack);
                for(int i = 0; i < 60; i++)
                    Pack[20 + i] = 0;
                WriteString("TQClient", 80, Pack);
                C.ToServerQueue.Enqueue(Pack);
            }
            catch { }
        }
12/09/2010 23:01 Whoopsiedoodle#143
Going cross-eyed reading all the code...but I think I might be getting some ideas to try out in the morning after I study up some more. :D lol btw...i use a program called Free Text Pad to view/edit most of the source (double :D) only thing it has problems with is java files.
12/09/2010 23:05 pro4never#144
Quote:
Originally Posted by gabrola View Post
Nope it changed now it's
UInt16 80
UInt16 1009
UInt32 ID
UInt32 Location
UInt32 UsageType
UInt32 TimeStamp
byte[60] NullBytes

so it should be

Code:
        public static void UseItem(Client C, uint ID)
        {
            try
            {
                byte[] Pack = new byte[88];
                WriteUInt16(80, 0, Pack);
                WriteUInt16(1009, 2, Pack);
                WriteUInt32(ID, 4, Pack);
                WriteUInt32(0, 8, Pack);
                WriteUInt32(4, 12, Pack);
                WriteUInt32(GetStamp(C), 16, Pack);
                for(int i = 0; i < 60; i++)
                    Pack[20 + i] = 0;
                WriteString("TQClient", 80, Pack);
                C.ToServerQueue.Enqueue(Pack);
            }
            catch { }
        }
In my packet system there is no reason to skip or initialize bytes.

You only need to write bytes where they are non 0 filled.

You also don't need to write the seal, it's done as the packet is removed from queue and sent.
12/09/2010 23:19 gabrola#145
Quote:
Originally Posted by pro4never View Post
In my packet system there is no reason to skip or initialize bytes.

You only need to write bytes where they are non 0 filled.

You also don't need to write the seal, it's done as the packet is removed from queue and sent.
Oh, never looked at the source yet so I had no idea but at least he's got the basic idea ^^
12/09/2010 23:20 demon17#146
Quote:
Originally Posted by Whoopsiedoodle View Post
Happy birthday hope it was a good one :D
Thanx .. it was nice .


At the part of the cooding . Tq changet somthing after new pach?
Cuz the official changes was the server merges and xxx2 pach cuz they got problems with merging .. ( this is the official source = additional maintance + add new paches .. )
I think they wana realy clean the botters from sistem . :|

I hate TQ .
Cause:
-No DB at 110 ( non reborn ) Shity item ...
-Low Drop Rates ...
-DCfull evvents like arena ( Elite , Team)

^----Reasons why i wana make a working proxy ,, Own them before they own us .




<Edit1>

P4N
Can you tell me a thing , i mean is stupid thing but look:

1. I set up a data base using xampp(apachi , mysql) localhost/phpmyadmin
2. I add new DB, "alchemy" At SQL i add the content of SqL FIle and press [Go]
3. Succesful added
4. I oppen my Navicat . New MySqL . (alchemy , localhost, root ,-nopasword- )
5. I open the database and i see the table , is clear .
6. I get my IPV4 from cmd ( ipconfig ) and add it in :
Program.cs ( From source)
Settings.txt ( AlchemyProxy/Bin/Relase [ or Debought] /Setting.txt
and in C...O..../LoaderSett.txt in con folder

7. I start from exe (alchemy.exe) Bin folder Relase/Debought
8. I start my ConquerLoader.exe
9. Client starts , I enter the acc ID and Pass , press enter ... at the 1st half inch of loading bar freze ( loading acc server) ... and client freze and give me error or when i W8 got error message Canot connect to the server . please try again .


What is the problem ( I also tryed it with my IPV6 and hamachi .) I have Dinamic Ip ( changing at rooter / modem restart , At computer restart )
12/10/2010 00:03 denominator#147
Are you sure you are using the right ports in your loader? And also the login with the proxy is not stable so you may need to try a few times before it will log in. Port 5002 for old servers and port 5001 for new servers.

Seems something has changed perhaps exp wise because proxy crashes out and gives an error to do with exp? Regardless even the base without anything added also does the same thing.

Ok so apparently there is some server merge I wonder what was in that new patch?

Quote:
After the merge, the newly combined server will be awarded with 7 days of Double Exp!
12/10/2010 02:59 biancardi#148
Hi, my name is Leandro, im fairly new at C#. . . and im having some trouble. .

im tryin to set the proxy to Conquest Online (BR version of CO) . .
i did all the steps.. like changing the ips, the DB thing n stuff. .
but. . when i try to connect. . the CO client closes without a reason
and i get this message:
[Only registered and activated users can see links. Click Here To Register...]

the auth ip of my server is 187.17.71.196:9958 . .
i dont know if im having this problem cuz Conquest's version is different of CO's version. . so the encrypts or packets things r wrong . . .

maybe u guys give me some help. . cuz i already tried everything i could. . and keep getting this error

Thanks in advance![Only registered and activated users can see links. Click Here To Register...]
12/10/2010 03:36 denominator#149
Quote:
(BR version of CO)
That`s the problem. It needs to be English/American client.
12/10/2010 03:36 Whoopsiedoodle#150
Quote:
Originally Posted by biancardi View Post
Hi, my name is Leandro, im fairly new at C#. . . and im having some trouble. .

im tryin to set the proxy to Conquest Online (BR version of CO) . .
i did all the steps.. like changing the ips, the DB thing n stuff. .
but. . when i try to connect. . the CO client closes without a reason
and i get this message:
(Image link deleted by Quoter for size ;) )

the auth ip of my server is 187.17.71.196:9958 . .
i dont know if im having this problem cuz Conquest's version is different of CO's version. . so the encrypts or packets things r wrong . . .

maybe u guys give me some help. . cuz i already tried everything i could. . and keep getting this error

Thanks in advance!
Hmm tried installing an english version of conquer? lol wonder if that would work:bandit: