[(Awesome)RELEASE] CoEmuv2.Nano(5095) Source Code

06/13/2009 00:16 n0mansland#721
Nope cause No. 1 I have no clue how to code andy's source and havent tooken the time to sit down and figure out and No. 2 I found Andy's source when I was getting good at coding LOTF soooo You're right alex... Even though it makes me feel really bad >.> though i am surprised some people could figure out andy's source cause it was made by him
06/13/2009 00:20 Kiyono#722
I got rid of the switches cause they made the code longer.
Code:
case 6000: //TwoFoldBlades
                                {
                                    Dictionary<int, int> Targets = new Dictionary<int, int>();
                                    int RemainingHP = AttackedMob.CurrentHP;
                                    int Level = AttackSkill.Level;
                                    double ExtPCT = 0;
                                    if (Level == 0)
                                        ExtPCT = 1.10;
                                    if (Level == 1)
                                        ExtPCT = 1.15;
                                    if (Level == 2)
                                        ExtPCT = 1.20;
                                    if (Level == 3)
                                        ExtPCT = 1.25;
                                    if (Level == 4)
                                        ExtPCT = 1.30;
                                    Damage = (int)Math.Floor((Calculation.Damage(Attacker, AttackedMob, 2, 0, 0) * 1.725) * ExtPCT);
                                    bool killed = Calculation.doMonster(AttackedMob, Damage, AType, CSocket);
                                    Targets.Add(AttackedMob.UID, Damage);
                                    ConquerPacket.ToLocal(ConquerPacket.MagicAttack(CSocket.Client.ID, AttackSkill.ID, AttackSkill.Level, Targets, AttackedMob.X, AttackedMob.Y), CSocket.Client.X, CSocket.Client.Y, (int)CSocket.Client.Map, 0, 0);
                                    Targets.Clear();
                                    break;
                                }
@alexbigfoot
I'm sure he can cause I can't code either.

//edit I still don't know if this is badly coded or not (well it probably is but w/e)
06/13/2009 01:31 LetterX#723
Quote:
Originally Posted by n0mansland View Post
Nope cause No. 1 I have no clue how to code andy's source and havent tooken the time to sit down and figure out and No. 2 I found Andy's source when I was getting good at coding LOTF soooo You're right alex... Even though it makes me feel really bad >.> though i am surprised some people could figure out andy's source cause it was made by him
So you're basically saying you coded LOTF because you are amazed people are able to code Andy's source, I mean, after all, it was coded by him and only him, so therefore only the owner knows how to code in it?
06/13/2009 01:31 Zeroxelli#724
How is it "Badly coded"..

Back when I was a kid, when a friend of mine (Daemon) was was teaching me PHP (First language, really.), he didn't give a damn what it was. If it worked, it worked efficiently, and was done in a smart manner, it was good code.
06/13/2009 01:34 Kiyono#725
Guess that's fine then.
06/13/2009 01:35 Zeroxelli#726
Good, don't put yourself down or you will fail inevitably.
06/13/2009 02:04 Kiyono#727
So I wasted an hour on ToxicFog and failed =/
G'night!
06/13/2009 02:09 n0mansland#728
Quote:
Originally Posted by LetterX View Post
So you're basically saying you coded LOTF because you are amazed people are able to code Andy's source, I mean, after all, it was coded by him and only him, so therefore only the owner knows how to code in it?
Lmao dude what are you talkin about. I used LOTF before CoEmu I just found out about this source a couple days ago. It's coded a lot different than LOTF. I'm not saying only he knows how to code it cause then it would be useless to release it not finished all the way. and I'm not saying he coded it bad cause its the best source out there yet. People who spend their time sitting and reading C# manuals definitely know how to code it cause by then they know how to code any game... I'm not that type of person to be patient enough to read like 50 guides about C#.

and look dude there's not many guides out there. There's not even an reborn npc yet. While in LOTF it's really easy to add a reborn NPC all im saying is his Source is harder to code
06/13/2009 02:26 lyaily#729
Quote:
Originally Posted by andyd123 View Post
The username/password you provided isn't correct, or cannot access the database.
try this it work with me


C = new MySqlConnection("Server=" + SERVER + ";Database='" + DATA_BASE + "';Username='" + USER_NAME + "';Password='" + PASSWORD + "'; Min Pool Size = 300; Max Pool Size = 900");
C.Open();
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
return null;
}
return C;
}
}
}
06/13/2009 08:28 alexbigfoot#730
Quote:
Lmao dude what are you talkin about. I used LOTF before CoEmu I just found out about this source a couple days ago. It's coded a lot different than LOTF. I'm not saying only he knows how to code it cause then it would be useless to release it not finished all the way. and I'm not saying he coded it bad cause its the best source out there yet. People who spend their time sitting and reading C# manuals definitely know how to code it cause by then they know how to code any game... I'm not that type of person to be patient enough to read like 50 guides about C#.
Lets see, CoEmu looks like a LOTF with packets updated and something missing all the time... so, dont worry if you`ll have lots of memory used(well i dont have any problems with it) cuz with soooo many timers by every char it will make your source work harder.

I`m not pacient enough to read like 50 guides about C#, I just go inside a new project and discover, or people tell me somethin I really didnt know yet.

Quote:
and look dude there's not many guides out there. There's not even an reborn npc yet. While in LOTF it's really easy to add a reborn NPC all im saying is his Source is harder to code
If its hard to add 'an reborn npc' then you should just run away. The way I start things is, i think what it should have, think about how can I do them and write them off.

Gonna add trade system today, and my special point :D, all gms/pms if they drop or trade some items to anyone they will being suspicious n free :D
06/13/2009 08:35 Zehava333#731
XP skills are not working. Are they not coded at all or did I goof something up with my source?
06/13/2009 11:07 Kiyono#732
Quote:
Originally Posted by Zehava333 View Post
XP skills are not working. Are they not coded at all or did I goof something up with my source?
Not coded.
06/13/2009 11:11 alexbigfoot#733
Quote:
Originally Posted by Kiyono View Post
Not coded.
not anymore on mine ^^
06/13/2009 15:27 danielachraf#734
Quote:
Originally Posted by Kiyono View Post
So I wasted an hour on ToxicFog and failed =/
G'night!
add me [Only registered and activated users can see links. Click Here To Register...] i will help you .. i have ToxicFog but i think i will fail on xp skills
06/13/2009 18:50 WHITELIONX#735
The reason why the guards are killing me is because I changed their names fromCoEmuGuard to Guard, There must be a way to do this without the guards killing people? I am not a coder and have absolutely no idea about programming and coding I just try to figure things out as I go along :D

It might not seem like much to a lot of people with experience but I managaed to get an npc to send me to GWA and am able to go to any map without my char just jumping on one spot lol.

I have ToxicFog even though it prolly doesn`t damage my char still throws out ToxicFog. I tend to copy and paste from what is already in the source once it is copied and pasted then I can start to play around with it and if it fucks up then np I change it back and try something else :D I KNOW what I do is not the correct way to do things but hey without any knowledge of programming etc it isn`t doing that bad lol.