I see your trying to learn and I fully respect that, and what the person above you said was incorrect. You can learn C++ by someone else but it is not very easy. You are behind a computer and its hard to communitcate because you can not fully express yourself.
I suggest you look up guides on youtube, start off with BASIC C++. Maybe even Visual Basics. There are a million online books and guides for FREE out there. It is very easy to just follow guides that are professionally devloped by people with expiriance. The way I learned how to code Java Applications was; I looked at other scripts and got every bits of information out of it. For example I coded MapleStory private server NPC's, and this is EXACTLY how I learned;
I saw a script which said something like this:
Code:
if (player.getMesos >= 1000) {
cm.sendOk("Alright it looks like to me you have 1000 Mesos. Ill take you to (MAP)");
cm.gainMesos(-1000);
cm.warp(MAP ID);
} else {
cm.sendOk("It seems to me that you do not have 1000 Mesos.");
cm.dispose();
}
Now from the script above I could clearly tell what some of the parts did, and so I messed around and change the meso rate. Then changed the map ID, then some of the text and after along period of time I spend working on random scripts, one day finally I could code this(I can do much better, this is just a script I had saved & I also now code full repacks internally and externally):
Code:
/*
Server Quest NPC
Made by: Tricks
*/
function start() {
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if(mode == -1) {
cm.dispose();
} else {
if(mode == 1) {
status++;
}
if (status == 0) {
cm.sendNext("Hey #h!#, got a minute?");
} else if (status == 1) {
if (cm.getPlayer().getLevel() == 0 ) {
cm.sendOk("ErrorCode2, you are level 0 or 255.");// errorcode7
cm.dispose();
} else if (cm.getPlayer().getLevel() > 99) {
cm.sendSimple("ErrorCode3");//selections are already done #L4 and #L5 errorcode3
cm.dispose();
} else if (cm.getPlayer().getLevel() > 29) {
cm.sendSimple("Hey this is no joke, the city of #bOrbis#k is in danger because of the ancient monster called #bZakum#k. I want you to kill Zakum, can you do that? \r\n#L0# Zakum? Sounds easy. Ill do it. \r\n#L1#ZAKUM? ARE YOU CRAZY!?");
} else {
cm.dispose();
}
} else if (status == 2) {
if (selection == 0) {
cm.sendSimple("Okay so all you have to do is kill #bZakum#k and then return to me with any type of #bZakum Helm#k. Can you do that? \r\n#L2#Sure in fact, I have the items.\r\n#L3#Uhh.. Ill try my best to kill Zakum");
} else if (selection == 1) {
cm.sendOk("Yeah I understand what you mean.");
cm.dispose();
} else if (selection == 4) {
cm.sendOk("");
} else if (selection == 5) {
cm.sendOk("Dude... seriously? You fail!");
cm.dispose();
} else {
cm.dispose();
}
} else if (status == 3) {
if (selection == 2) {
if (cm.itemQuantity() == 1 || cm.itemQuantity() == 1 || cm.itemQuantity() == 1) {
cm.sendOk("Wow!! Thanks alot! You're the best!! Oh I almost forgot, as I promised: #b100,000 EXP#k and #b1,000,000 Mesos!#k");
cm.gainItem(4000000, -50);
cm.gainMeso(1000000);
cm.gainItem(4000016, -50)
cm.gainExp(100000);
cm.gainItem(4000019, -50);
cm.dispose();
} else {
cm.sendOk("You dont have a #bZakum Helm#k.");
cm.dispose();
}
} else if (selection == 3) {
cm.sendOk("Alright... and please try to hurry, #bOrbis#k is in danger.");
cm.dispose();
}
}
}
}
You can use the SCRIPT above but please give me credit.
Basiclly what Im trying to tell you is that, its very easy to learn how to code. It just gets annoying and takes time. I still suggest you learning from a book, its simply less annoying.
Once you've learned how to create something, you devlope farther and explore many more things. Make sure you mess around with things, its very important that you find diffrent ways of doing diffrent things.
So go to a bookstore tonight, buy yourself some C++ or visualbasics books, and learn how to code some basic things. Then search for online guides how to Memory Edit.
I am very sorry for my poor english, please dont mind I am new to the U.S.A.
- Tricks