Jump to content
  • 0

265 Quest npc help me guys


Question

Posted

I want to make quest 265/120 for Aksydun

The problem is When i get exp..the 255/100 become 256+ and so on i want it to stop at 255/100 because the lvl 265 will require a Quest for exmple normal exp lvl 255/100 if you do the quest it will be come 265/120 so that the quest will valid not in normal LVLING HELP ME GUYS PLEASE

max exp.txt is 255/100

#define MAX_LVL 265

/no1

/no1

24 answers to this question

Recommended Posts

Posted

you can try something like this..

OnNPCKillEvent:
if( !QuestDone && BaseLevel == 255 ){
set BaseExp,0;
}
end;

make sure your server dont have multiple level disabled...and if possible....limit the exp gain not to reach 100% or more...

after they done the quest....do this

set QuestDone,1;

Posted (edited)

My problem like this i reach lvl 255/100 i will do quest of 265/120 but when i do the requirement for 265/120 i gain level my 255/100 bcome 256....so on the thing is level should stop at 255/100 even i gain experience from monster it will just become 265 after i finish the quest of 265/120 like in aero if u are familiar with it thank you emistry for reply

Got error sir Emistry please help me

http://pastebin.com/TQkdGgdC check here

Edited by o GM Mark o
Posted (edited)

prontera,155,181,5 script Rebirth 2035,{

if ( BaseLevel < 255 ){
mes "Only Character with Level 255 ~ 265 can do this.";
close;
}

OnNPCKillEvent:
if( !QuestDone && BaseLevel == 255 ){
set BaseExp,0;
}
end;

if ( Rebirth == 0 ) goto RebirthOne;
if ( Rebirth == 5 ) {
mes "You cant rebirth more already.";
close;
}

RebirthOne:
if ( countitem(7227) < 1000 || countitem(7835) < 2 ){
mes "You need 1000 TCG  and 2 Dusk Glow to rebirth.";
close;
}
delitem 7227,1000;
delitem 7835,2;
set BaseLevel,1;
set Rebirth,1;
set @amount,Rebirth*100;
set StatusPoint,StatusPoint+@amount;
dispbottom "You have been rebiirth.";
announce "["+strcharinfo(0)+"] has become a 265 Level Character.",bc_blue|bc_all;
end;

}

Every kill of monster the NPC will say "You need 1000 TCG and 2 Dusk Glow to rebirth.";

ow sorry i for got to use code box :)

Edited by Emistry
Please use [CODEBOX] for long contents.
Posted

Thank You emistry it work

My problem like this i reach lvl 255/100 i will do quest of 265/120 but when i do the requirement for 265/120 i gain level my 255/100 bcome 256....so on the thing is level should stop at 255/100 even i gain experience from monster it will just become 265 after i finish the quest of 265/120 like in aero if u are familiar with it thank you emistry for reply

Map.h

#define MAX LVL 265

Exp.txt max

Baselvl.255

Joblvl.100

Posted

mentioned in previous post....

make sure your server dont have multiple level disabled...and if possible....limit the exp gain not to reach 100% or more...

Posted

make sure your server dont have multiple level disabled...and if possible....limit the exp gain not to reach 100% or more...

Hmm Can you check this @emistry

Exp.txt

http://pastebin.com/35GjiyEX

map.h

MAX 265

http://pastebin.com/NEFasjBy

i will do quest of 265/120 but when i do the requirement for 265/120 i gain level my 255/100 bcome 256....so on the thing is level should stop at 255/100 even i gain experience from monster it will just become 265 after i finish the quest of 265/120 like in aero if u are familiar with it thank you emistry for reply

Posted

i dont think that's a good way for you to do it even if it work.......either you disable EXP gain after player reach the level through edit the source..or method above...or whatever....

the part that define max level wont help you in this case....that just define the max level ....nothing else .....

Posted

I can't believe people are still trying to copy this quest after all these years... ._.

@TS: Better to add very, very large experience requirements from 256-265 (under 2^31, of course), as inconsistencies in exp.txt/MAX_LEVEL are not intended to happen.

@Emistry: It'd be much more efficient to use OnPCBaseLvUpEvent as it triggers a lot less often.

Posted

well..i think OnPCBaseLvUpEvent is not enough..as it only trigger when player leveling...

they can still get exp from players after uplevel...

but doing this is using npc script..are not really a good way......

Posted

I think src has something to do with it dont you think? BTW Thx Emistry

@Emistry I will try again your 265 quest this is wht happen

set StatusPoint,7837;

i add 150 for Status points Exactly it work

265q2.jpg

But this is my problem Still 255/100

265q1.jpg

Posted

Yup my Max lvl 265 and My problem When i kill monsters to get the requirements This is my problem "i gain level my 255/100 become 256....so on the thing is level should stop at 255/100 even i gain experience from monster it will just become 265 after i finish the quest of 265/120" /ok

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...