pajodex

Members
  • Content count

    74
  • Avg. Content Per Day

    2
  • Joined

  • Last visited

  • Days Won

    1

pajodex last won the day on January 9

pajodex had the most liked content!

Community Reputation

3 Neutral

About pajodex

  • Rank
    Santa Poring

Profile Information

  • Gender
    Male
  • Location
    PH
  1. Secret's Updated Misc NEMO Patches

    There is a problem at patching to custom aura set. Client crashes if patch is applied. Thanks
  2. MVP Card trader

    @GodKnows Jhomz Hi, I was able to do it my self. Working fine I guess? Can you check it for optimization? I will still clean this up in a while prontera,140,160,4 script Black Market NPC 10044,{ mes "[^995050Black Market NPC^000000]"; mes "Hi, "+strcharinfo(0)+"!"; mes "What can I do for you?"; next; switch(select(" > Information: > Trade in cards: > Leave")) { // : > Point shop (^0055FF"+getd(.Points$)+"^000000) case 1: mes "[^995050Black Market NPC^000000]"; mes "Do you find that you've got"; mes "useless cards lying around?"; mes "I'll be glad to take them off"; mes "your hands!"; next; mes "[^995050Black Market NPC^000000]"; mes "I'll give you ^0055FF"+.Points[0]+" Point"+((.Points[0] == 1)?"":"s")+"^000000 for each"; mes "card you give me, and"; mes "^0055FF"+.Points[1]+" Points^000000 for MVP cards."; mes "You can trade those points"; mes "for items later on."; mes "How does that sound?"; emotion e_cash; close; case 2: mes "[^995050Black Market NPC^000000]"; mes "Select the cards you"; mes "want to trade in."; if (.Level) { mes " "; mes "They must be dropped"; mes "by monsters of level"; mes .Level+" and above."; } deletearray @sold_nameid[0],getarraysize(@sold_nameid); callshop "card_shop",2; npcshopattach "card_shop"; end; // case 3: // mes "[^995050Black Market NPC^000000]"; // mes "You have ^0055FF"+getd(.Points$)+"^000000 Point"+((getd(.Points$) == 1)?".":"s."); // callshop "card_shop",1; // npcshopattach "card_shop"; // end; case 3: mes "[^995050Black Market NPC^000000]"; mes "*yawn*"; mes "See you later!"; emotion e_yawn; close; } OnSellItem: mes "Cards to sell:"; mes "-----------------------------------"; for(set [email protected],0; [email protected]<getarraysize(@sold_nameid); set [email protected],[email protected]+1) if (@sold_nameid[[email protected]] > 4000 && @sold_nameid[[email protected]] < 4700 | @sold_nameid[[email protected]] > 33000 && @sold_nameid[[email protected]] < 33006) { if (.Level) { query_sql("SELECT `LV` FROM `mob_db` WHERE `DropCardid` = "[email protected]_nameid[[email protected]],[email protected]); if ([email protected] < .Level) { dispbottom getitemname(@sold_nameid[[email protected]])+" is under the minimum level."; continue; } } set [email protected]_id[getarraysize([email protected]_id)], @sold_nameid[[email protected]]; set [email protected]_amt[getarraysize([email protected]_amt)], @sold_quantity[[email protected]]; set [email protected], compare(.class2$,""[email protected]_nameid[[email protected]]); set [email protected], compare(.class3$,""[email protected]_nameid[[email protected]]); set [email protected], compare(.class4$,""[email protected]_nameid[[email protected]]); mes (([email protected] || [email protected] || [email protected])?" ^FF0000":" ^777777")[email protected]_quantity[[email protected]]+"x "+getitemname(@sold_nameid[[email protected]])+"^000000"; if([email protected]) { [email protected]=1; } else if([email protected]) { [email protected]=2; } else if([email protected]) { [email protected]=3; } else { [email protected]=0; mes "DONT SELL ME CRAP I WILL TEAR THIS DOWN!"; close2; end; } set [email protected]_total, [email protected]_total+ ( @sold_quantity[[email protected]]* .Points[[email protected]] ); } deletearray @sold_nameid[0], getarraysize(@sold_nameid); deletearray @sold_quantity[0], getarraysize(@sold_quantity); if ([email protected]_id) { mes " ^777777(none)^000000"; emotion e_swt; close; } //mes " "; mes "-----------------------------------"; mes "---------- Total: ^0055FF"[email protected]_total+" pt.^000000 -------"; next; if(select(" > ^0055FFComplete trade...^000000: > ^777777Cancel^000000") == 2) { mes "[^995050Black Market NPC^000000]"; mes "Oh, okay..."; emotion e_hmm; close; } for(set [email protected],0; [email protected]<getarraysize([email protected]_id); set [email protected],[email protected]+1) delitem [email protected]_id[[email protected]],[email protected]_amt[[email protected]]; //setd .Points$, getd(.Points$)[email protected]_total; getitem 501, getd(.Points$)[email protected]_total; mes "[^995050Black Market NPC^000000]"; mes "All done!"; emotion e_ho; close; OnBuyItem: for(set [email protected],0; [email protected]<getarraysize(@bought_nameid); set [email protected],[email protected]+1) for(set [email protected],0; [email protected]<getarraysize(.Shop); set [email protected],[email protected]+2) if (@bought_nameid[[email protected]] == .Shop[[email protected]]) { set [email protected], [email protected]+(.Shop[[email protected]+1]*@bought_quantity[[email protected]]); break; } if ([email protected] > getd(.Points$)) { mes "[^995050Black Market NPC^000000]"; mes "You don't have enough Points."; emotion e_omg; } else { mes "Items purchased:"; mes "-----------------------------------"; for(set [email protected],0; [email protected]<getarraysize(@bought_nameid); set [email protected],[email protected]+1) { getitem @bought_nameid[[email protected]], @bought_quantity[[email protected]]; mes " ^777777"[email protected]_quantity[[email protected]]+"x "+getitemname(@bought_nameid[[email protected]])+"^000000"; } mes " "; mes "---------- Total: ^0055FF"[email protected]+" pt.^000000 -------"; setd .Points$, getd(.Points$)[email protected]; emotion e_cash; } deletearray @bought_nameid[0], getarraysize(@bought_nameid); deletearray @bought_quantity[0], getarraysize(@bought_quantity); close; OnInit: set .Level,0; // Minimum monster level to trade corresponding cards. set .Points$,"#TESTPOINTS"; // Variable to store points. setarray .Shop[0], // Card Shop items: <ID>,<point cost> 5027,10, 18505,10, 5176,10, 5305,20; //setarray .Points[0],5,100; // Points per <normal card>,<MVP card> setarray .Points[0],0,rand(5,11),rand(1,3),rand(8,20); // Points per <Class 1>,<Class 2>,<Class 3>,<Class 4> set .class2$, "4441,4408,4263,4168,4430,4342,4318,4407,4399,4302,4560,4561,4562,4563,4564,4565,4566,4324,4386,4276,4334,4174"; set .class3$, "4121,4123,4128,4131,4132,4134,4135,4137,4142,4143,4144,4145,4146,4147,4148,"+ "4236,4305,4330,4357,4359,4361,4363,4365,4403"; set .class4$, "33000,33001,33002,33003,33004,33005,33006"; npcshopdelitem "card_shop",909; for(set [email protected],0; [email protected]<getarraysize(.Shop); set [email protected],[email protected]+2) npcshopadditem "card_shop",.Shop[[email protected]],.Shop[[email protected]+1]; end; } - shop card_shop -1,909:-1
  3. MVP Card trader

    Thanks! Its a big help! I'm having trouble with it for a while now.
  4. MVP Card trader

    Hi, thank you but you missed this part: class 1 cards : npc wont give any iem and will say "I wont accept trash" class 2 cards : npc will give item (501) for random amount 1 -3 class 3 cards : npc will give item (501) for random amount 3-5 class 4 cards : npc will give item (501) for random amount 5-10 I'm currently using the v1.1
  5. MVP Card trader

    Hi, I'm having problem in modifying Euphy's Card Trader NPC Download: Card Trader v1.1 I want to modify it to this: instead of points, npc will give an item (ex: 501) class 1 cards : npc wont give any iem and will say "I wont accept trash" class 2 cards : npc will give item (501) for random amount 1 -3 class 3 cards : npc will give item (501) for random amount 3-5 class 4 cards : npc will give item (501) for random amount 5-10 I can carry out other modifications. Thanks
  6. Item Description Problem

    Do the 2nd option I gave you. PS: Your really not going to 'replace' your grf. It's basically fixing your problem. Try doing everything step by step and don't forget to make back ups.
  7. Custom aura limit

    Hi, I just wanna ask if custom aura limit in nemo patch is unstable? Cuz it crashes my client everytime I diff it. I'm using 2017-05-17 client Thanks in advance
  8. New Soul Linker Effect

    Hi, I'm not really sure but try adding 2 in this part sc_timer_next2(45000+tick,status_change_timer,bl->id, data);
  9. Item Description Problem

    Hi, let me explain further what @BrOgBr meant: Before proceeding to these steps, make sure you already know how to use GRF Builder, Client hexing, and Notepad. 1. Extract your main.grf to a folder where you can easily find. 2. go to that extracted grf folder and find data/idnum2itemdesctable.txt and rename it to idnum2itemdesctable_backup.txt (this is for back up purposes incase you need this again) 3. copy the new idnum2itemdesctable.txt from here idnum2itemdesctable.rar (extract this first) 4. paste it inside your extracted grf folder. it should appear that you have idnum2itemdesctable.txt and idnum2itemdesctable_backup.txt inside the folder. 5. a. If your client is hexed to read data folder first, you can copy > past the extracted grf data folder directly to your client files to test if it is working. b. If not, you have to make a new main grf and replace your old one. Make sure you make back ups too. ~ done Another step is to simply use GRF Builder. 1. Open your main grf 2. go to data folder, look for idnum2itemdesctable.txt and rename it to idnum2itemdesctable_backup.txt 3. add a new idnum2itemdesctable.txt from idnum2itemdesctable.rar (extract this first) 4. save your main grf.
  10. correct use of getd

    try this explode([email protected]$,getd("[email protected]"+"enchantgroup"+(atoi(getarg(1))+1)+"$"),[(rand(1,getarraysize(getd("[email protected]"+"enchantgroup"+(atoi(getarg(1))+1)+"$")))-1)]);
  11. correct use of getd

    Hi, You could try searching at trunk/doc/script_command.txt --------------------------------------- *getd("<variable name>") Returns a reference to a variable, the name can be constructed dynamically. Refer to 'setd' for usage. This can also be used to set an array dynamically: setarray getd(".array[0]"), 1, 2, 3, 4, 5; Examples: set getd("$varRefence"), 1; set @i, getd("$" + "pikachu"); ---------------------------------------
  12. how to remove mvps maps in warper?

    Sweet! Thanks working now! @sader1992 maybe you can post this on script release or something, so ppl who wants this modification can see this. Better yet, apply this at current trunk rev
  13. how to remove mvps maps in warper?

    My bad.. change that part to this: set [email protected]_block,@warp_block;
  14. how to remove mvps maps in warper?

    Check line 91. Set. @warp then Add ; at the end
  15. Weapon refine break rate

    I understand that. But if that is the case, then it is nearly impossible to adjust the breaking chance alone. If I increase the success rate, ppl might not use the refiner ever again