Jump to content

Capuche

Developer
  • Posts

    2,407
  • Joined

  • Last visited

  • Days Won

    49

Everything posted by Capuche

  1. to mes "You dont have enough Bank Notes to complete this transaction."; ... ... mes "You cannot exchange this number of Bank Notes because you will exceed the maximum amount of zeny you can hold."; Otherwise this script seems to work
  2. This ? OnMinute<minute>: mora,137,171,3 script Facts Event 917,{ end; OnMinute20: OnMinute40: OnMinute00: ...
  3. To expand the area for heal centered on the NPC, change dicastes01,197,183,4 script Come here#sanctuary 742,2,2,{ to dicastes01,197,183,4 script Come here#sanctuary 742,7,7,{ like Emistry said
  4. Well it refine any equipment +X to +10 immediatly when you talk to the NPC. You need (10 - X ) TCG Card to do it.
  5. 100% sure... +10... need 1 TCG Card per refine... players can choose equipment. prt_in,57,55,5 script lkjhgf 63,{ //- setarray [email protected][0], 10, 10, 10, 10, 10, 10; setarray [email protected], 7227; //- mes "[blacksmith]"; mes "I'm the Blacksmith."; mes "I can refine all kinds of weapons, armor and equipment, so let me"; mes "know what you want me to refine."; next; setarray [email protected]$[1], "^0000ffHead^000000","^0000ffBody^000000","^FF0000Left hand^000000","^FF0000Right hand^000000","^0000ffRobe^000000","^0000ffShoes^000000","Accessory 1","Accessory 2","^0000ffHead 2^000000","^0000ffHead 3^000000"; for( set [email protected], 1; [email protected] <= getarraysize([email protected]$); set [email protected], [email protected]+1 ) { if( getequipisequiped([email protected]) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected]) + "]"; set [email protected]$, [email protected]$+ ":"; } set [email protected], select( [email protected]$ ); if( !getequipisequiped([email protected]) ) { mes "[blacksmith]"; mes "You're not wearing"; mes "anything there that"; mes "I can refine."; emotion 6; close; } //Check if the item is refinable... if( !getequipisenableref([email protected]) ) { mes "[blacksmith]"; mes "I don't think I can"; mes "refine this item at all..."; close; } //Check if the item is identified... (Don't know why this is in here... but kept it anyway) if( !getequipisidentify([email protected]) ) { mes "[blacksmith]"; mes "You can't refine this"; mes "if you haven't appraised"; mes "it first. Make sure your"; mes "stuff is identified before"; mes "I can refine it."; close; } //Check to see if the items is already +10 if( getequiprefinerycnt([email protected]) >= 10 ) { mes "[blacksmith]"; mes "I can't refine this"; mes "any more. This is as"; mes "refined as it gets!"; close; } set [email protected], getequipid([email protected]); // save id of the item set [email protected], getequipweaponlv([email protected]); if( ( [email protected] = select( "+10, please.", "I've changed my mind..." )-1 ) > 0 ) { next; mes "[blacksmith]"; mes "You said so... So be it."; close; } [email protected] = [email protected][[email protected]] - getequiprefinerycnt([email protected]); set [email protected], getequiprefinerycnt([email protected]); //save refinery count mes "[blacksmith]"; mes "To refine this I need"; mes "^FF0000"[email protected]+" "+getitemname( [email protected] )+"^000000"; mes "Do you really wish to continue?"; next; if( select( "Yes:No" ) == 2 ) { mes "[blacksmith]"; mes "Yeah..."; mes "There's no need to"; mes "rush. Take your time."; close; } if( countitem([email protected]) < [email protected] ) { mes "[blacksmith]"; mes "You don't seem to have"; mes "enough ^000000"+getitemname( [email protected] )+"^000000..."; mes "Go get some more. I'll be"; mes "here all day if you need me."; close; } if(getequipisequiped([email protected]) == 0) { // hacker has removed the item (not changed, why?) mes "[blacksmith]"; mes "Look here... you don't have any Items on..."; close; } if(getequiprefinerycnt([email protected]) != [email protected] || getequipid([email protected]) != [email protected]) { // hacker has changed the item mes "[blacksmith]"; emotion e_an; mes "Wait a second..."; mes "Do you think I'm stupid?!"; mes "You switched the item while I wasn't looking! Get out of here!"; close; } mes "[blacksmith]"; delitem [email protected], [email protected]; for( [email protected] = 0; [email protected] < [email protected]; [email protected]++ ) successrefitem [email protected]; emotion e_heh; if( !([email protected] = rand(2)) ) { mes "[blacksmith]"; mes "Perfect!"; mes "Heh heh!"; mes "Once again,"; mes "flawless work"; mes "from the master~"; } else if( [email protected] == 1 ) { mes "[blacksmith]"; mes "Success...!"; mes "Yet again, my amazing"; mes "talent truly dazzles"; mes "and shines today."; } else { mes "[blacksmith]"; mes "Heh heh!"; mes "I'm all done."; mes "No doubt, my work is"; mes "to your satisfaction."; mes "Sheer, utter perfection~"; } close; }
  6. Biolab quests are in trunk/npc/quests/quests_lighthalzen.txt I don't read your mind - if you don't say what you want to do...
  7. In your reset NPC add if ( ( Class == 24 && statpoints ) || ( Class == 25 && statpointsnj ) ) set StatusPoint, StatusPoint + 52; after resetstatus;
  8. Add statuspoint for ninja and gunslinger class - with condition - in the reset stats NPC.
  9. Emistry means inside Anubis's script // Please VOTE UP my post if I helped. // Script By: Anubis - script WoE_NoCommand -1,{ OnInit: setarray .woe_cas$,"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05"; // Add more maps here. for ( set [email protected], 0; [email protected] < getarraysize(.woe_cas$); set [email protected], [email protected] +1 ) setmapflag .woe_cas$[[email protected]], mf_nocommand; end; } GM high level can bypass mapflag nocommand. Be sure you tested with player's account.
  10. // Shop NPCs -- supplying no argument displays entire menu. // callfunc "qshop"{,<shop ID>{,<shop ID>{,...}}}; //============================================================ prontera,164,203,6 script Quest Shop#1 998,{ callfunc "qshop"; OnPCLoadMapEvent: if( strcharinfo(3) == strnpcinfo(4) ) showevent 1,1; end; } prontera mapflag loadevent
  11. replace ... countitem(753) < 1 ) || countitem(743) < 1 || countitem(529) < 100 || countitem(530) < 100 ) goto NOIT; by ... countitem(753) < 1 || countitem(743) < 1 || countitem(529) < 100 || countitem(530) < 100 ) goto NOIT; bracket error. Then the script seem working.
  12. Renewal version 2790,Bradium_Brooch,Bradium Brooch,5,20,,200,,0,,1,0xFFFFFFFF,2,2,136,,0,0,0,{ bonus bAgi,1; bonus bFlee,4; if(readparam(bAgi)==120) bonus bCritical,4; },{},{} Pre-renewal version 2790,Bradium_Brooch,Bradium Brooch,5,20,,200,,0,,1,0xFFFFFFFE,2,2,136,,60,0,0,{ bonus bFlee,4; bonus bAspdRate,2; bonus bAgi,1; },{},{} So it depends on the version you use (check your version) and bonus bAspdRate,2; increase aspeed a little.
  13. getitem 8053,1; Do not exist. quiz_02,52,183 Invalid coordinates.
  14. In trunk/db/re/skill_db.txt //id,range,hit,inf,element,nk,splash,max,list_num,castcancel,cast_defence_rate,inf2,maxcount,skill_type,blow_count,name,description ... // 05 element (0 - neutral, 1 - water, 2 - earth, 3 - fire, 4 - wind, 5 - poison, // 6 - holy, 7 - dark, 8 - ghost, 9 - undead, -1 - use weapon element // -2 - use endowed element, -3 - use random element.) 0 = force neutral so replace 2317,1,6,2,-1,0x2,5,5,1,yes,0,0,0,none,3:4:5:6:7, LG_OVERBRAND,Over Brand //CHECK I know the splash is needed somehow for the strange AoE it gives. by 2317,1,6,2,0,0x2,5,5,1,yes,0,0,0,none,3:4:5:6:7, LG_OVERBRAND,Over Brand //CHECK I know the splash is needed somehow for the strange AoE it gives.
  15. 4359,B_Eremes_Card,Assassin Cross Card,6,20,,10,,,,,,,,2,,,,,{ if( isequippedcnt(4359,4361,4363,4367,4365,4399)<3 ) bonus3 bAutoSpell,"ASC_EDP",2,30; },{},{} 4361,B_Harword_Card,Whitesmith Card,6,20,,10,,,,,,,,2,,,,,{ if( isequippedcnt(4359,4361,4363,4367,4365,4399)<3 ) { bonus3 bAutoSpell,"WS_OVERTHRUSTMAX",1,30; bonus3 bAutoSpell,"MC_MAMMONITE",5,60; bonus bBreakWeaponRate,10; } },{},{} 4363,B_Magaleta_Card,High Priest Card,6,20,,10,,,,,,,,136,,,,,{ if( isequippedcnt(4359,4361,4363,4367,4365,4399)<3 ) { bonus5 bAutoSpellWhenHit,"MG_SAFETYWALL",5,20,BF_WEAPON|BF_MAGIC,0; } },{},{} 4367,B_Shecil_Card,Sniper Card,6,20,,10,,,,,,,,2,,,,,{ if( isequippedcnt(4359,4361,4363,4367,4365,4399)<3 ) bonus bHit,250; },{},{} 4365,B_Katrinn_Card,High Wizard Card,6,20,,10,,,,,,,,769,,,,,{ if( isequippedcnt(4359,4361,4363,4367,4365,4399)<3 ) bonus bIntravision,0; },{},{ heal 0,-2000; } 4399,Thanatos_Card,Memory of Thanatos Card,6,20,,10,,,,,,,,2,,,,,{ if( isequippedcnt(4359,4361,4363,4367,4365,4399)<3 ) { bonus bDefRatioAtkRace,RC_Boss; bonus bDefRatioAtkRace,RC_NonBoss; bonus bSPDrainValue,-1; bonus bDef,-30; bonus bFlee,-30; } },{},{} *isequippedcnt(<card id>{,<card id>{,<card id>{,<card id>}}}) This function is similar to 'isequipped', but instead of 1 or 0, it will return the number of cards in the list given that were found on the invoking character. if (isequippedcnt(4001,4005,4033,4196)=4) mes "Finally got all four poring cards?";
  16. Why don't you used a NPC script ? - script atcmd_autotrade -1,{ OnInit: bindatcmd("autotrade","atcmd_autotrade::Onautotrade"); bindatcmd("at","atcmd_autotrade::Onautotrade"); end; Onautotrade: if( strcharinfo(3) == "prontera" ) { message strcharinfo(0),"Not allowed here."; end; } atcommand "@autotrade"; end; } Remove your source modification about autotrade. Edit: Forget it. See that.
  17. 4096 isn't in the right place. You put it in 'refinable' instead of 'Loc'. 26000,_archangelwings, Arch Angel Wings,5,100000,,1000,,5,,1,0xFFFFFFFE,2,2,4096,,1,0,1000,{ bonus bAllStats,3; },{},{}
  18. // Restricted zones - they're configured by 'restricted <number>' mapflag // 32 - restricted in zone 1 // 64 - restricted in zone 2 // 128 - restricted in zone 3 // 256 - restricted in zone 4 // 512 - restricted in zone 5 // 1024 - restricted in zone 6 // 2048 - restricted in zone 7 //Zone 1 - Aldebaran Turbo Track 601,32 //Fly Wing turbo_n_1 mapflag restricted 1 Wrong number in your mapflag. Mode 32 restrict items in zone 1. Zone 32 doesn't exist.
  19. Item costum example: // ID,AegisName,Name,Type,Buy,Sell,Weight,ATK,DEF,Range,Slots,Job,Upper,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script } 19513,Chicken_Bill,Chicken Bill,5,0,,0,,0,,0,0xFFFFFFFF,7,2,4096,,1,0,699,{},{},{} Re-post if you don't see your error now.
  20. prontera,150,150,5 script ijko 666,{ //- Delay (seconds) [email protected] = 1800: //- ID item(s) setarray [email protected][0], 601; //- How much each setarray [email protected][0], 1; if( getarraysize( [email protected] ) != getarraysize( [email protected] ) ) { mes "An error has occured."; close; } // dispbottom #Giftchoidk_$; mes "Gift"; mes "Blablabla.... blablabla. Blo !"; next; explode([email protected]_$, #Giftchoidk_$, "|"); if( gettime(8) != atoi([email protected]_$[0]) ) { [email protected]_$[0] = gettime(8); [email protected]_$[2] = 1; } else { if( atoi([email protected]_$[2]) > 4 ) { mes "Gift"; mes "Enough for today."; close; } if( ( [email protected] = atoi([email protected]_$[1]) - gettimetick(2) ) > 0 ) { mes "Gift"; mes "Not yet. You must wait "+ ([email protected]/60) +" minute(s)."; close; } [email protected]_$[2] = atoi([email protected]_$[2]) + 1; } [email protected]_$[1] = gettimetick(2) + [email protected]; set #Giftchoidk_$, implode([email protected]_$,"|"); mes "For you " +(Sex ? "sexy boy":"babe")+ "."; for( [email protected] = 0; [email protected] < getarraysize( [email protected] ); [email protected]++ ) getitem [email protected][[email protected]], [email protected][[email protected]]; close; } 5 Gifts for 1 account, every 30 minutes everyday. Players must click on the npc. Edit: optimized.
  21. if(getmapusers("hc_pront") == 0) { disablenpc "Disguise NPC"; set $guessactive, 0; end; } It's not the map of your event. Your problem is coz of this. OnGMStop: if ($guessactive) { set $guessactive, 0; announce "A Gamemaster has stopped the Disguise Event",0; set $DisguiseRound, 0; mapwarp "hc_pront","hc_pront",202,171; setnpcdisplay "Disguise NPC",794; disablenpc "Disguise NPC"; disablenpc "guesswarp"; } end; Wrong mapwarp. It's the same map. You used a lot of global permanant variable... Well, why didn't you use this release ? trunk/npc/custom/events/disguise.txt
  22. http://subversion.assembla.com/svn/ClientSide/Translation_Project/renewal%20data/msgstringtable.txt Put it in your data folder.
  23. Skill tab name are located in msgstringtable.txt (client side) -- Nov. Job 1 is too long, you can't see misc tab.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.