Stripped ProjectAlchemy Source Code

01/15/2011 14:33 denominator#661
Again anybody know why my water is not turning to waterelf automatically? Seems if I put the waterelf code to ninja or trojan etc it works?
01/15/2011 17:34 [GM]#662
Quote:
Originally Posted by denominator View Post
Again anybody know why my water is not turning to waterelf automatically? Seems if I put the waterelf code to ninja or trojan etc it works?
i made the same for monk, but it doesn't cast oblivion
01/15/2011 18:10 denominator#663
[GM] you did use the five numbers for monk instead of just four numbers right?

Code:
public static bool Monk(Client Client)
        {
            return (Client.Job > 59 && Client.Job < 65);
        }
Code:
if (Monk(Client))
                            {
                                Client.XpSkill = 10390;
                                Client.XpAttackSpeed = 300;
                                Client.ActionSpeed = 100;
                                Client.XpJumpSpeed = 800;
                                Client.JumpSpeed = 400;
                                Client.XpLootSpeed = 300;
                            }
Works fine?
01/15/2011 18:24 [GM]#664
Quote:
Originally Posted by denominator View Post
[GM] you did use the five numbers for monk instead of just four numbers right?

Code:
public static bool Monk(Client Client)
        {
            return (Client.Job > 59 && Client.Job < 65);
        }
Code:
if (Monk(Client))
                            {
                                Client.XpSkill = 10390;
                                Client.XpAttackSpeed = 300;
                                Client.ActionSpeed = 100;
                                Client.XpJumpSpeed = 800;
                                Client.JumpSpeed = 400;
                                Client.XpLootSpeed = 300;
                            }
Works fine?
the only difference is, i use
PHP Code:
public static bool Monk(Client Client)
        {
            return (
Client.Job 60 && Client.Job 65);
        } 
instead of
PHP Code:
public static bool Monk(Client Client)
        {
            return (
Client.Job 59 && Client.Job 65);
        } 
01/15/2011 18:30 denominator#665
You NEED 59 not 60 >.< Look at Trojan or Warrior and compare the first number with conquers ini It always starts as 1 number lower than the actual job number. I don`t know why but it just does :P To many things for taoist including wood, metal, fire and water so I`m not 100% sure about water I had it working before but deleted it because of mining >.<

Code:
101,Taoist,Taoist,faction_Taoist01Pic,faction_Taoist02Pic
112,MetalTaoist,MetalTaoist,faction_Taoist01Pic,faction_Taoist02Pic
113,MetalWizard,MetalWizard,faction_Taoist01Pic,faction_Taoist02Pic
114,MetalMaster,MetalMaster,faction_Taoist01Pic,faction_Taoist02Pic
115,MetalSaint,MetalSaint,faction_Taoist01Pic,faction_Taoist02Pic
122,WoodTaoist,WoodTaoist,faction_Taoist01Pic,faction_Taoist02Pic
123,WoodWizard,WoodWizard,faction_Taoist01Pic,faction_Taoist02Pic
124,WoodMaster,WoodMaster,faction_Taoist01Pic,faction_Taoist02Pic
125,WoodSaint,WoodSaint,faction_Taoist01Pic,faction_Taoist02Pic
132,WaterTaoist,WaterTaoist,faction_Taoist01Pic,faction_Taoist02Pic
133,WaterWizard,WaterWizard,faction_Taoist01Pic,faction_Taoist02Pic
134,WaterMaster,WaterMaster,faction_Taoist01Pic,faction_Taoist02Pic
135,WaterSaint,WaterSaint,faction_Taoist01Pic,faction_Taoist02Pic
142,FireTaoist,FireTaoist,faction_Taoist01Pic,faction_Taoist02Pic
143,FireWizard,FireWizard,faction_Taoist01Pic,faction_Taoist02Pic
144,FireMaster,FireMaster,faction_Taoist01Pic,faction_Taoist02Pic
145,FireSaint,FireSaint,faction_Taoist01Pic,faction_Taoist02Pic
152,EarthTaoist,EarthTaoist,faction_Taoist01Pic,faction_Taoist02Pic
153,EarthWizard,EarthWizard,faction_Taoist01Pic,faction_Taoist02Pic
154,EarthMaster,EarthMaster,faction_Taoist01Pic,faction_Taoist02Pic
155,EarthSaint,EarthSaint,faction_Taoist01Pic,faction_Taoist02Pic
190,InternTaoist,InternTaoist,faction_Taoist01Pic,faction_Taoist02Pic
191,Taosit,Taosit,faction_Taoist01Pic,faction_Taoist02Pic
192,GeneralTaoist,GeneralTaoist,faction_Taoist01Pic,faction_Taoist02Pic
193,Wizard,Wizard,faction_Taoist01Pic,faction_Taoist02Pic
194,Master,Master,faction_Taoist01Pic,faction_Taoist02Pic
195,Saint,Saint,faction_Taoist01Pic,faction_Taoist02Pic
Lol to many taos I am trying all numbers but failing so far *SIGH*
01/15/2011 18:50 Warlax#666
Quote:
Originally Posted by denominator View Post
Any reason as to why my waterelf is not autoactivating o.0? It did at one stage but now it doesn`t?


Code:
public static bool Water(Client Client)
        {
            return (Client.Job > 130 && Client.Job < 135);
        }
Code:
if (Water(Client))
                            {
                                Client.XpSkill = 1280;
                                Client.XpAttackSpeed = 150;
                                Client.ActionSpeed = 100;
                                Client.XpLootSpeed = 300;
                            }
Tested with superman and that still activates >.<

WaterElf works using my ninja though o.0? I`m sure I got job numbers or name wrong because it`s the correct skill number and I looked in the ini but I am exhausted so I might be putting something wrong :(
try 132 <= jobid <=135
01/15/2011 18:52 denominator#667
Yup trying that now and it was probably what I had before lol.


Nope still fails >.<

I`ve tried 99, 100, 101, 132, 131, 132 and still nothing? My char is a watersaint so it should still work because of the 135 part which he is job 135 being a watersaint lol.

Code:
public static bool Warrior(Client Client)
        {
            return (Client.Job > 16 && Client.Job < 26);
        }
        public static bool Trojan(Client Client)
        {
            return (Client.Job > 9 && Client.Job < 16);
        }
        public static bool Archer(Client Client)
        {
            return( Client.Job > 39 && Client.Job < 46);
        }
        public static bool Water(Client Client)
        {
            return (Client.Job > 131 && Client.Job < 135);
        }
        public static bool Monk(Client Client)
        {
            return (Client.Job > 59 && Client.Job < 65);
        }
        public static bool Ninja(Client Client)
        {
            return (Client.Job > 49 && Client.Job < 56);
        }
        #endregion
Code:
if (Archer(Client))
                            { Client.HuntMode = HuntMode.Scatter; Client.SkillId = 8001; }
                            if (Ninja(Client))
                            {
                                Client.XpSkill = 6011;
                                Client.XpAttackSpeed = 300;
                                Client.ActionSpeed = 100;
                                Client.XpJumpSpeed = 800;
                                Client.JumpSpeed = 400;
                                Client.XpLootSpeed = 300;
                            }
                            if (Monk(Client))
                            {
                                Client.XpSkill = 10390;
                                Client.XpAttackSpeed = 300;
                                Client.ActionSpeed = 100;
                                Client.XpJumpSpeed = 800;
                                Client.JumpSpeed = 400;
                                Client.XpLootSpeed = 300;
                            }
                            if (Water(Client))
                            {
                                Client.XpSkill = 1280;
                                Client.XpAttackSpeed = 150;
                                Client.ActionSpeed = 100;
                                Client.XpLootSpeed = 300;
                            }
                            if (Warrior(Client))
                            {
                                Client.XpSkill = 1025;
                                Client.XpJumpSpeed = 300;
                                Client.XpAttackSpeed = 150;
                                Client.ActionSpeed = 100;
                                Client.XpLootSpeed = 300;
                            }
                            if (Trojan(Client))
                            {
                                Client.XpJumpSpeed = 200;
                                Client.XpSkill = 1110;
                                Client.XpAttackSpeed = 150;
                                Client.ActionSpeed = 90;
                                Client.XpLootSpeed = 300;
                            }
                            break;
That`s the code altogether but it seems as though water is the only thing not working >.< Like I say I had it working at one stage but for whatever reason I can`t get it to work again so I assume it`s the job number rather than anything else. I just can`t remember how I got it working in the first place? Maybe I need Taoist rather than Water but meh I`m taking a bath so it can wait until I have finished lol.

Still trying and still failing >.<
01/16/2011 04:33 Omdiw#668
Maybe stupid question, but how to run it?
I worked in c++ before, so programming wont be problem (just need to refresh few things in my mind lol).
As far I just changed ip to hamachi one and set ports in loader (didn't change ports in source) so i guess it should work, but mhm... Logging into account server... > Logging into the game server (proxy says for a sec that one player is online) then Error: Disconnected with game server. Please login the game again!
And here is a qustion it's just problem with auth server? I mean handling connections problem or something like that? And the "solution" for it is keep trying? lol
Or its something else... ?

Firewalls are off for test and it didnt help.
Server Element(EU)>Water. (if it's matter)

And last thing is I would like to learn more about conquer and proxy but can't if I can't even run it... lol
And yes, I did read almost all posts here and in different thread ([AlchemyProxy] Basic botting functionality). Any help?

#Edit.
Tested it more and with account server I dont have any problems it recognise if I hit correct pass or not... So the problem is only with game server.
01/16/2011 05:54 denominator#669
Doesn`t always log in first time and can sometimes take up to ten minutes depending on your net or computer. Sometimes it will log on almost immediately and other times it takes ages. Just keep trying to log in.
01/16/2011 08:13 jakegwapo#670
ANYONE CAN HELP ME HOW TO DOWNLOAD THIS PROGRAM AND THIS IS FREE BOT..TNX
01/16/2011 13:08 OELABOELA#671
Quote:
Originally Posted by jakegwapo View Post
ANYONE CAN HELP ME HOW TO DOWNLOAD THIS PROGRAM AND THIS IS FREE BOT..TNX
CAPS AINT HELPING YOU TO GET IT WORKING.
01/16/2011 14:24 gorgone#672
Quote:
Originally Posted by denominator View Post
Again anybody know why my water is not turning to waterelf automatically? Seems if I put the waterelf code to ninja or trojan etc it works?
mate controls if u move or give packets too fast at server ? ex. 2 jump too fast or take ground items and jump without sleep ?

when happen to me i put a breakpoint on BT or QT methods in Clients (are the main cycles of bot and client cheak in clients.cs)

f10 step to step and watch exceptions or errors .. :)
01/16/2011 18:27 Warlax#673
Quote:
Originally Posted by denominator View Post
Yup trying that now and it was probably what I had before lol.


Nope still fails >.<

I`ve tried 99, 100, 101, 132, 131, 132 and still nothing? My char is a watersaint so it should still work because of the 135 part which he is job 135 being a watersaint lol.

Code:
public static bool Warrior(Client Client)
        {
            return (Client.Job > 16 && Client.Job < 26);
        }
        public static bool Trojan(Client Client)
        {
            return (Client.Job > 9 && Client.Job < 16);
        }
        public static bool Archer(Client Client)
        {
            return( Client.Job > 39 && Client.Job < 46);
        }
        public static bool Water(Client Client)
        {
            return (Client.Job > 131 && Client.Job < 135);
        }
        public static bool Monk(Client Client)
        {
            return (Client.Job > 59 && Client.Job < 65);
        }
        public static bool Ninja(Client Client)
        {
            return (Client.Job > 49 && Client.Job < 56);
        }
        #endregion
Code:
if (Archer(Client))
                            { Client.HuntMode = HuntMode.Scatter; Client.SkillId = 8001; }
                            if (Ninja(Client))
                            {
                                Client.XpSkill = 6011;
                                Client.XpAttackSpeed = 300;
                                Client.ActionSpeed = 100;
                                Client.XpJumpSpeed = 800;
                                Client.JumpSpeed = 400;
                                Client.XpLootSpeed = 300;
                            }
                            if (Monk(Client))
                            {
                                Client.XpSkill = 10390;
                                Client.XpAttackSpeed = 300;
                                Client.ActionSpeed = 100;
                                Client.XpJumpSpeed = 800;
                                Client.JumpSpeed = 400;
                                Client.XpLootSpeed = 300;
                            }
                            if (Water(Client))
                            {
                                Client.XpSkill = 1280;
                                Client.XpAttackSpeed = 150;
                                Client.ActionSpeed = 100;
                                Client.XpLootSpeed = 300;
                            }
                            if (Warrior(Client))
                            {
                                Client.XpSkill = 1025;
                                Client.XpJumpSpeed = 300;
                                Client.XpAttackSpeed = 150;
                                Client.ActionSpeed = 100;
                                Client.XpLootSpeed = 300;
                            }
                            if (Trojan(Client))
                            {
                                Client.XpJumpSpeed = 200;
                                Client.XpSkill = 1110;
                                Client.XpAttackSpeed = 150;
                                Client.ActionSpeed = 90;
                                Client.XpLootSpeed = 300;
                            }
                            break;
That`s the code altogether but it seems as though water is the only thing not working >.< Like I say I had it working at one stage but for whatever reason I can`t get it to work again so I assume it`s the job number rather than anything else. I just can`t remember how I got it working in the first place? Maybe I need Taoist rather than Water but meh I`m taking a bath so it can wait until I have finished lol.

Still trying and still failing >.<
lol i said <= not <. if u wanna use < then change that 135 to 136 :P
01/16/2011 20:34 [GM]#674
i got a weird problem
when i activate Monk's Xp Skill, and type the /hunt command, the client freeze and the console says "Process is terminated due to StackOverflowException"
01/16/2011 22:41 argon69#675
Quote:
Originally Posted by [GM] View Post
i got a weird problem
when i activate Monk's Xp Skill, and type the /hunt command, the client freeze and the console says "Process is terminated due to StackOverflowException"
It could be recursion without proper termination point. Do you call same function within the function? Or could be called in circular way?