rej222 Posted May 20, 2010 Share 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 :) Quote Link to comment Share on other sites More sharing options...
evilgh0st Posted May 20, 2010 Share Posted May 20, 2010 Thx... i just modify to make set nobless by item :P Quote Link to comment Share on other sites More sharing options...
Versus Posted May 21, 2010 Share Posted May 21, 2010 That's really nice, glad to see some activity at OFF sections aswell. +1 karma. Quote Link to comment Share on other sites More sharing options...
sandeagle Posted June 9, 2010 Share Posted June 9, 2010 rly usefull guiad for noobies,i love it,thx rej222. u guyz rly did a great job.keep it up. Quote Link to comment Share on other sites More sharing options...
RainWalker Posted June 9, 2010 Share Posted June 9, 2010 nice share if i could u would have +1 from me too :) Quote Link to comment Share on other sites More sharing options...
sandeagle Posted June 9, 2010 Share 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. Quote Link to comment Share on other sites More sharing options...
rej222 Posted June 10, 2010 Author Share 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 Quote Link to comment Share on other sites More sharing options...
sandeagle Posted June 11, 2010 Share 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... Quote Link to comment Share on other sites More sharing options...
rej222 Posted June 11, 2010 Author Share Posted June 11, 2010 btw about change race its kinda hard in AI you will have to do that with DB as well. Quote Link to comment Share on other sites More sharing options...
sandeagle Posted June 12, 2010 Share 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? Quote Link to comment Share on other sites More sharing options...
rej222 Posted June 12, 2010 Author Share 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. Quote Link to comment Share on other sites More sharing options...
ertycito Posted June 13, 2010 Share Posted June 13, 2010 hey mr rey, you ask to reno for post his stuff like yours???, like angrax trap skilldata??, stupid noob. Quote Link to comment Share on other sites More sharing options...
Cookieeee Posted June 13, 2010 Share Posted June 13, 2010 nice share! Quote Link to comment Share on other sites More sharing options...
renobizarro Posted June 13, 2010 Share 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... Quote Link to comment Share on other sites More sharing options...
crisbr002 Posted July 7, 2010 Share 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.