rej222 Posted May 20, 2010 Posted May 20, 2010 I didn't share the HTML's nor scripts just NASC code. Have fun! NASC //********************************************* //Code by Rey for Maxcheaters.com //2010-5-20 //********************************************* class 1 noble_maker : citizen { handler: EventHandler TALKED(talker){ myself::ShowPage(talker,"your_htm.htm"); } EventHandler MENU_SELECTED(talker,ask,reply) { if(ask == 541 && reply == 1 ) { if(talker.level >= 75 && talker.subjob_id != 0) { myself::GiveItem1(talker, @nobless_tiara ,1); myself::SetNobless(talker); myself::ShowPage(talker,"noble_success_your_htm.htm"); myself::SoundEffect(talker,"ItemSound.quest_finish"); } else { myself::ShowPage(talker,"nobless_no_your_htm.htm"); } } if(ask == 541 && reply == 2) { if(talker.level>75 && talker.subjob_id == 0) { myself::GiveItem1(talker, @mimirs_elixir, 1); myself::SetOneTimeQuestFlag( talker, @water_of_mimir, 1 ); myself::SoundEffect( talker, "ItemSound.quest_finish" ); myself::ShowPage(talker,"subclass_success_your_htm.htm"); } else { myself::ShowPage(talker,"subclass_no_your_htm.htm"); } } } } If you like it give a nice comment and karma :)
evilgh0st Posted May 20, 2010 Posted May 20, 2010 Thx... i just modify to make set nobless by item :P
Versus Posted May 21, 2010 Posted May 21, 2010 That's really nice, glad to see some activity at OFF sections aswell. +1 karma.
sandeagle Posted June 9, 2010 Posted June 9, 2010 rly usefull guiad for noobies,i love it,thx rej222. u guyz rly did a great job.keep it up.
RainWalker Posted June 9, 2010 Posted June 9, 2010 nice share if i could u would have +1 from me too :)
sandeagle Posted June 9, 2010 Posted June 9, 2010 hi,rej222,i want to create a npc,it could be change char class,include char Race...like Spellsinger->Elder.... one player could change 3 times and need some items to do this,i dont know how to do that?if u could give me some hints,i really appreciate.
rej222 Posted June 10, 2010 Author Posted June 10, 2010 EventHandler CLASS_CHANGE_REQUESTED(talker,occupation_name_id) { myself::ClassChange( talker, occupation_name_id ); myself::SoundEffect( talker, "ItemSound.quest_fanfare_2" ); myself::ShowPage( talker, fnAfterClassChange ); } check this out.. ill make one later when i have some spare time maybe occupation_name_id = class ID
sandeagle Posted June 11, 2010 Posted June 11, 2010 EventHandler CLASS_CHANGE_REQUESTED(talker,occupation_name_id) { myself::ClassChange( talker, occupation_name_id ); myself::SoundEffect( talker, "ItemSound.quest_fanfare_2" ); myself::ShowPage( talker, fnAfterClassChange ); } check this out.. ill make one later when i have some spare time maybe occupation_name_id = class ID god,rly tnx man...ill try to check it out...
rej222 Posted June 11, 2010 Author Posted June 11, 2010 btw about change race its kinda hard in AI you will have to do that with DB as well.
sandeagle Posted June 12, 2010 Posted June 12, 2010 btw about change race its kinda hard in AI you will have to do that with DB as well. i just want to change class,just restart game,all will be ok,right?
rej222 Posted June 12, 2010 Author Posted June 12, 2010 Well try it ^^ I think it should. Maybe he will keep some skills from the previous class but thats all as well.
ertycito Posted June 13, 2010 Posted June 13, 2010 hey mr rey, you ask to reno for post his stuff like yours???, like angrax trap skilldata??, stupid noob.
renobizarro Posted June 13, 2010 Posted June 13, 2010 dude u suck! u should at least give me credits for this, i made this code and u just changed the html names! :@ i think mxc will not see new AI shares from u...
crisbr002 Posted July 7, 2010 Posted July 7, 2010 because after I get the quest item to npc custom, the Magister Ladd does not accept when I click on quest?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now