[Tut] WORKING, How to change things when you make character.
1. Find CreateCharacter.java , look in src>net>sf>rise/odinms>net>login>handler>createcharacter.java. If you need help finding a specific file just post here and i will find it for you with my amazing mac :D
2. Find this inside
Code:
MapleInventory etc = newchar.getInventory(MapleInventoryType.ETC);
etc.addItem(new Item(4161001, (byte) 0, (short) 1));
boolean charok = true;
int totstats = str + dex + _int + luk;
if (totstats != 25 || str < 4 || dex < 4 || _int < 4 || luk < 4) {
charok = false;
}
if (gender == 0) {
if (face != 20000 && face != 20001 && face != 20002) {
charok = false;
}
if (hair != 30000 && hair != 30020 && hair != 30030) {
charok = false;
}
if (top != 1040002 && top != 1040006 && top != 1040010) {
charok = false;
}
if (bottom != 1060006 && bottom != 1060002) {
charok = false;
}
} else if (gender == 1) {
if (face != 21000 && face != 21001 && face != 21002) {
charok = false;
}
if (hair != 31000 && hair != 31040 && hair != 31050) {
charok = false;
}
if (top != 1041002 && top != 1041006 && top != 1041010 && top != 1041011) {
charok = false;
}
if (bottom != 1061002 && bottom != 1061008) {
charok = false;
}
} else {
charok = false;
}
if (skinColor < 0 || skinColor > 3) {
charok = false;
}
if (weapon != 1302000 && weapon != 1322005 && weapon != 1312004) {
charok = false;
}
if (shoes != 1072001 && shoes != 1072005 && shoes != 1072037 && shoes != 1072038) {
charok = false;
}
if (hairColor != 0 && hairColor != 2 && hairColor != 3 && hairColor != 7) {
charok = false;
}
3. At the top you get to edit what the noob gets when they make there character, after that you edit the stat arangement, after that you edit the clothes and the style. for the hair id's go to bannedstory or look around the xmls. For the Item id's i think we all know what to do...x-x ok my work here is done.
4. Credits: to that guy who made the fake thread since he gave me the idea, Moogra because he needs a rep lol :3
Re: [Guide] WORKING, How to change things when you make character.
first....thx mate....HOPE it works....although I dont really understand
Re: [Guide] WORKING, How to change things when you make character.
Haha, thanks for giving me credit lol!
:) Lol.
Re: [Guide] WORKING, How to change things when you make character.
this is a really good guide
Re: [Guide] WORKING, How to change things when you make character.
Screenshots of this please?
Re: [Guide] WORKING, How to change things when you make character.
Re: [Guide] WORKING, How to change things when you make character.
It's called CreateCharHandler.java for me.
Maybe you should put that in your guide..? o-o
Just a suggestion.
Re: [Guide] WORKING, How to change things when you make character.
Darnit, i was actually working on this just as we speak. I was hoping to release it LMAO xD
Re: [Guide] WORKING, How to change things when you make character.
Re: [Guide] WORKING, How to change things when you make character.
Re: [Guide] WORKING, How to change things when you make character.
Gah, it doesn't work..
Here's my script.
I think it's because some of my hairs don't work..?
Code:
}
if (gender == 0) {
if (face != 20000 && face != 20001 && face != 20002 && face != 20003 && face != 20004 && face != 20005 && face != 20006 && face != 20007 && face != 20008 && face != 20009 && face != 20010 && face != 20011 && face != 20012 && face != 20013 && face != 20014 && face != 20015 && face != 20016 && face != 20017 && face != 20018) {
charok = false;
}
if (hair != 30000 && hair != 30010 && hair != 30020 && hair != 30030 && hair != 30040 && hair != 30050 && hair != 30060 && hair != 30070 && hair != 30080 && hair != 30090 && hair != 30100 && hair != 30110 && hair != 30120 && hair != 30130 && hair != 30140 && hair != 30150 && hair != 30160 && hair != 30170 && hair != 30180 && hair != 30190 && hair != 30200 && hair != 30210 && hair != 30220 && hair != 30230 && hair != 30240 && hair != 30250 && hair != 30260 && hair != 30270 && hair != 30280 && hair != 30290 && hair != 30300 && hair != 30310 && hair != 30320 && hair != 30330 && hair != 30340 && hair != 30350 && hair != 30360 && hair != 30370 && hair != 30380 && hair != 30390 && hair != 30400 && hair != 30410 && hair != 30420 && hair != 30430 && hair != 30440 && hair != 30450 && hair != 30460 && hair != 30470 && hair != 30480 && hair != 30490 && hair != 30500 && hair != 30510 && hair != 30520 && hair != 30530 && hair != 30540 && hair != 30550 && hair != 30560 && hair != 30570 && hair != 30580 && hair != 30590 && hair != 30600 && hair != 30610 && hair != 30620 && hair != 30630 && hair != 30640 && hair != 30650 && hair != 30660) {
charok = false;
}
if (top != 1040002 && top != 1040006 && top != 1040010) {
charok = false;
}
if (bottom != 1060006 && bottom != 1060002) {
charok = false;
}
} else if (gender == 1) {
if (face != 21000 && face != 21001 && face != 21002 && face != 21003 && face != 21004 && face != 21005 && face != 21006 && face != 21007 && face != 21008 && face != 21009 && face != 21010 && face != 21011 && face != 21012 && face != 21013 && face != 21014 && face != 21015 && face != 21016 && face != 21017 && face != 21018) {
charok = false;
}
if (hair != 31000 && hair != 31010 && hair != 31020 && hair != 31030 && hair != 31040 && hair != 31050 && hair != 31060 && hair != 31070 && hair != 31080 && hair != 31090 && hair != 31100 && hair != 31110 && hair != 31120 && hair != 31130 && hair != 31140 && hair != 31150 && hair != 31160 && hair != 31170 && hair != 31180 && hair != 31190 && hair != 31200 && hair != 31210 && hair != 31220 && hair != 31230 && hair != 31240 && hair != 31250 && hair != 31260 && hair != 31270 && hair != 31280 && hair != 31290 && hair != 31300 && hair != 31310 && hair != 31320 && hair != 31330 && hair != 31340 && hair != 31350 && hair != 31360 && hair != 31370 && hair != 31380 && hair != 31390 && hair != 31400 && hair != 31410 && hair != 31420 && hair != 31430 && hair != 31440 && hair != 31450 && hair != 31460 && hair != 31470 && hair != 31480 && hair != 31490 && hair != 31500 && hair != 31510 && hair != 31520 && hair != 31530 && hair != 31540 && hair != 31550 && hair != 31560 && hair != 31570 && hair != 31580 && hair != 31590 && hair != 31600 && hair != 31610 && hair != 31620 && hair != 31630 && hair != 31640 && hair != 31650) {
charok = false;
}
if (top != 1041002 && top != 1041006 && top != 1041010 && top != 1041011) {
charok = false;
}
if (bottom != 1061002 && bottom != 1061008) {
charok = false;
}
} else {
charok = false;
}
if (skinColor < 0 || skinColor > 3) {
charok = false;
}
if (weapon != 1302000 && weapon != 1322005 && weapon != 1312004) {
charok = false;
}
if (shoes != 1072001 && shoes != 1072005 && shoes != 1072037 && shoes != 1072038) {
charok = false;
}
if (hairColor != 0 && hairColor != 2 && hairColor != 3 && hairColor != 4 && hairColor != 5 && hairColor != 6 && hairColor != 7) {
charok = false;
}
if (charok && MapleCharacterUtil.canCreateChar(name, c.getWorld())) {
newchar.saveToDB(false);
c.getSession().write(MaplePacketCreator.addNewCharEntry(newchar, charok));
} else {
log.warn(MapleClient.getLogMessage(c, "Trying to create a character with a name: {}", name));
}
}
}
Re: [Guide] WORKING, How to change things when you make character.
Mine doesn't work either.
Something went wrong i guess.
Re: [Guide] WORKING, How to change things when you make character.
Quote:
Originally Posted by
DennisEatsFood
Haha, thanks for giving me credit lol!
:) Lol.
np. i always remember ;D i mean i had to get it from somewhere..
Re: [Guide] WORKING, How to change things when you make character.
Thanks For This :)
User-Friendly
Re: [Guide] WORKING, How to change things when you make character.
It works like this:
The reason you cant create a character with edited WZ files is because of this file.
Get an edited WZ and it works fine once you change it