Jump to content

Emistry

Forum Moderator
  • Posts

    10013
  • Joined

  • Days Won

    395

Everything posted by Emistry

  1. try this prontera,155,181,5 script Sample 757,{ mes "Go kill Evil Clone ?"; if( select( "Yes:No" ) == 2 ) close; warp "guild-vs5",0,0; end; OnPCLoadMapEvent: if( strcharinfo(3) == "guild_vs5" ){ for( set .@i,0; .@i < 3; set .@i,.@i + 1 ){ clone "guild_vs5",0,0,strnpcinfo(0)+"::OnCloneDie",getcharid(0); } } end; OnPCLogoutEvent: OnPCDieEvent: OnCloneDie: if( strcharinfo(3) == "guild_vs5" ){ killmonster "guild_vs5","All"; mapwarp "guild_vs5","prontera",0,0; } end; }
  2. how about spend some time in reading WIKI first ?? Hexing#Custom_Window_Title
  3. just same like what i show at above... bonus bAllStats,( 5 / isequippedcnt(4399); bonus bMaxHPrate,( 5 / isequippedcnt(4399); bonus bMatkRate,( 10 / isequippedcnt(4399); bonus bAtkRate,( 10 / isequippedcnt(4399); bonus bDef,( -15 / isequippedcnt(4399); bonus bFlee,( -15 / isequippedcnt(4399);
  4. how about merge all into 1 NPC ? prontera,155,181,5 script Sample 757,{ function RequiredItems; setarray .MonthReward[0], 5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008, 5009, 5010, 5011, 5012; mes "Would you like to make 1 ^FF0000"+getitemname( .MonthReward[ gettime(6) - 1 ] )+"^000000 for the "+( gettime(6) )+"th Month of this year ?"; next; if( select( "Yes:No" ) == 2 ) close; switch( gettime(6) ){ // RequiredItems( ItemID,Amount,ItemID,Amount,............ ); Case 1: RequiredItems( 501,1,502,2,503,3,504,4,505,5,506,6 ); break; Case 2: RequiredItems( 501,1,502,2,503,3,504,4,505,5,506,6 ); break; Case 3: RequiredItems( 501,1,502,2,503,3,504,4,505,5,506,6 ); break; Case 4: RequiredItems( 501,1,502,2,503,3,504,4,505,5,506,6 ); break; // Until December...add to your like.... } mes "Gained ^FF0000"+getitemname( .MonthReward[ gettime(6) - 1 ] )+"^000000 for this month."; getitem .MonthReward[ gettime(6) - 1 ],1; close; function RequiredItems { mes "[ ^0000FF Required Items ^000000 ]"; mes "^FFFFFF________________________________^000000"; for( set .@i,0; getarg( .@i,0 ); set .@i,.@i + 2 ){ mes (( countitem( getarg( .@i ) ) < getarg( .@i + 1 ) )?"^FF0000":"^00FF00" )+"[ "+countitem( getarg( .@i ) )+" / "+getarg( .@i + 1 )+" ] ^0000FF "+getitemname( getarg( .@i ) )+"^000000"; if( countitem( getarg( .@i ) ) < getarg( .@i + 1 ) ) set .@InComplete,.@InComplete + 1; } mes "^FFFFFF________________________________^000000"; if( .@InComplete ){ mes "[ ^FF0000InComplete^000000 ] ^FF0000"+.@InComplete+"^000000 Items "; close; } next; if( select("^FF0000Continue^000000:Cancel") == 2 ) close; for( set .@i,0; getarg( .@i,0 ); set .@i,.@i + 2 ) delitem getarg( .@i ),getarg( .@i + 1 ); return; } } Edit the Item Required here. // RequiredItems( ItemID,Amount,ItemID,Amount,............ ); Case 1: RequiredItems( 501,1,502,2,503,3,504,4,505,5,506,6 ); break; Item List for each Month : setarray .MonthReward[0], 5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008, 5009, 5010, 5011, 5012;
  5. well,...both getmapxy and strcharinfo(3) has it own uses... For example... getmapxy 1. usually used by alot users to determine the mapname.. 2. when you want the script to work in certain cells of the map because it can return the coordinate of your current char located 3. Use to search someone ( Player / NPC) across the server strcharinfo(3) this command only work in return you a mapname.. it wont work when you want the script only work in certain cell unless you add in other cell checking.. So, for me i would use strcharinfo(3)..xD because it is shorter and easier to remember ....hahaha
  6. Emistry

    Help Me

    tried edit here ? conf/battle/status.conf // Adjustment for the natural rate of resistance from status changes. // If 50, status defense is halved, and you need twice as much stats to block // them (eg: 200 vit to completely block stun) pc_status_def_rate: 100
  7. hmm ?? i dont get what you are trying to accomplish ?? the script i post above should have working fine... why duplicate so many switch for warping ??? since you are using random auto selection...why not just group it together into the switch-case ?? anyway...if you want it to disable during the Agit is not On.. then try add this if( !agitcheck() && !agitcheck2() ){ mes "WOE is not ON..."; close; }
  8. just...same code as above...just make sure the number or value is below 0....
  9. you mean no matter the player insert how many card ( same card ) into the equipment ... but he/she will only obtain the effect of 1 card ??? like this ? bonus bDelayRate,( -30 / isequippedcnt(4403) );
  10. edit your manner.txt which is inside your data folder or Grf....
  11. well...actually it is possible when you use SQL Server prontera,155,181,5 script Sample 757,{ // Set the Castle Map Name or put Main Guild ID here set .@GuildID,getcastledata("prtg_cas03",1); query_sql( "SELECT `alliance_id` FROM `guild_alliance` WHERE `guild_id` = "+.@GuildID+"",.@Allie ); if( getcharid(2) == .@GuildID ) set .@Allowed,1; for( set .@i,0; .@i < getarraysize( .@Allie ); set .@i,.@i + 1 ) if( getcharid(2) == .@Allie[.@i] ) set .@Allowed,1; if( !.@Allowed ){ mes "This NPC is reserved for Guild "+getguildname( .@GuildID )+" and it's Allies."; }else{ mes "Where can i warp you to ?"; next; switch( select( "Warp 1", "Warp 2", "Warp 3", "Warp 4" )){ Case 1: warp "prontera",155,180; end; Case 2: warp "prontera",155,180; end; Case 3: warp "prontera",155,180; end; Case 4: warp "prontera",155,180; end; } } close; } Just edit this Part ( Map Name ) // Set the Castle Map Name or put Main Guild ID here set .@GuildID,getcastledata("prtg_cas03",1); currently this script only work with 1 Castle Map.. if you wan make more..then copy it in a new text file 1 NPC = 1 Guild
  12. try write the npc Name like this #blablabla since the word / name after the "#" is count as Hidden name of an NPC For example : prontera,155,181,5 script #Sample 111,{ and wrong section.
  13. LOL...how come when i post..it doesnt Work... when Gepard post..it work... >.<
  14. Emistry

    DoTA Runes

    erm...why not using the one in post#14 ?? it work fine as i tried several times... if you want another NPC for it.. then just copy whole text file...and paste in a new text file...and rename the NPC... for the buff...just add it..
  15. just edit the script abit... change what to be delete into what to gain.. change what to gain into what to delete prontera,155,181,5 script Sample 757,{ getitem 7227,#CASHPOINTS; dispbottom "You have gained "+#CASHPOINTS+" POD."; set #CASHPOINTS,0; end; }
  16. if cant paste it...then upload it here..or any file hosting website.... but if i was right...pastebin should be enough to fit your script. as i able to paste a very very very very very long script last time...O.O
  17. ya mediafire is good...xD i guess the bad is just mediafire cant upload the file up to GB right ? ^^
  18. for me...it doesnt effect..coz i like RO1 and not RO2 hahah
  19. did you restart your server after you edit the changes for the party level exp sharing gap ?
×
×
  • Create New...