Jump to content

maynard

Members
  • Posts

    159
  • Joined

  • Last visited

Everything posted by maynard

  1. maynard

    save point

    A NPC that save his respawn point but random. sample: prontera 50 50 prontera 60 60 prontera 70 70 prontera 80 80 prontera 90 90 He will respawn randomly in that 5 save point when been killed and return to save point. edit>>> A npc that save the player respawn point random......the player will respawn in that 5 location randomly.
  2. Sir problem solve, i use this src mod http://rathena.org/board/topic/56318-solved-modify-warp-go-delay/ you may close it now. thank you very much.
  3. I re input many times and now I finally make it work, sorry my bad. Dont know what happen i just rebuild it in in compiling instead of build only.now it works in @go commands the delay. how can i make it also work in @warp? Its ok now, all have been working great now. @warp @go is working perfectly now. Thanks to all who help. The mod is good, the problem is in my side.it works in eathena also.
  4. No sir, Im using eathena SVN 14993.This is always the error in my mapserv then it will crash. All I want is they cant use @warp/@go for atleast 5 seconds when hit by player. I also tried this http://rathena.org/w..._delay_when_hit but same error that I get.I hope you can help me.Thanks sir. [error] delete_timer_error: funtion mismatch 0053AC20<connect_check_clear> !=0051FFF8<pc_endautobonus> [error] delete_timer_error: funtion mismatch 0053AC20<connect_check_clear> !=0051FFF8<pc_endautobonus>
  5. my mapserv crash... [error] delete_timer_error: function mismatch 0053AC20<connect_check_clear> !=0051FFF8<pc_endautobonus> [error] delete_timer_error: function mismatch 0053AC20<connect_check_clear> !=0051FFF8<pc_endautobonus> I follow it carefully and do it twice, still got that error.I compile and there's no error while compiling. same as this 1 http://rathena.org/board/topic/56318-solved-modify-warp-go-delay/
  6. Solved, sorry for the late reply.Thanks everyone.
  7. requesting @warp @go delay when in battle or being hit by player. my SVN 14993, I tried some but it gives me error like the one that Jaypee src mod in the support section. Its ok if I can use warp without delay if being hit by monster.. I just want to prevent player to warp when in combat.Thanks By the way im not using Rathena,
  8. help please, my mapserv crash... [error] delete_timer_error: funtion mismatch 0053AC20<connect_check_clear> !=0051FFF8<pc_endautobonus> [error] delete_timer_error: funtion mismatch 0053AC20<connect_check_clear> !=0051FFF8<pc_endautobonus>
  9. hahaha, its been answered, thank you very much. I did that and came here but you already answered it. I was going to closed this. Thanks again sir. my bad for not trying too much. Closed this now. Problem solved.
  10. how to duplicate the monster in morroc? - script Damage_Test -1,{ OnInit: monster "prontera",155,159,"Damage Test",3011,1,strnpcinfo(0)+"::OnInit"; end; }
  11. How to edit the percentage? I want it 100% success rate in creating. this is made by Goddameit //Author:Goddameit //Web:http://goo.gl/m1dHu //ver:2011/11/14-18:52 prontera,157,187,4 script BOT Master 100,{ function itemheall { if(Sp>=5) return 1; if(!getarg(0)) return 0; itemheal 0,getarg(0); specialeffect2 14; return 1; } function autorecover { if(getarg(1)) { if(Sp>=5) return 1; if(!countitem(set(.@p,autorecover(getarg(0),0)))) return 0; delitem .@p,1; switch(getarg(0)) { case 1: return rand(40,60); case 2: return rand(15,30); } } switch(getarg(0)) { case 1: return 505; case 2: return 510; } return 0; } function need { function getitemid { function do { return getarg(getarg(0),0); } return do(getarg(0),970,7135,7136,7137,7138,7133,501,503,504, 505,545,546,547,12118,12119,12120,12121,605, 606,7142,678,12114,12115,12116,12117,7132); } function weig { if(getiteminfo(getarg(0),6)+weight>MaxWeight) { dispbottom "Too heavy!!"; callsub OnCleann; end; } return getarg(0); } if(getarg(0)==1) mes "Below is what you need to prepare,if not enough or sp < 5,it will auto end this function."; if(getarg(0)!=99) { for(set .@i,1;getarg(.@i,0);set .@i,.@i+2) if(getarg(0)==1){ mes (getitemname(getarg(.@i))!="null"?"^000088["+getitemname(getarg(.@i))+"("+getarg(.@i)+")]x["+getarg(.@i+1)+"]^000000":""); } else if(getarg(0)==0) { if(getitemname(getarg(.@i))!="null") if(countitem(getarg(.@i))<getarg(.@i+1)||!itemheall(autorecover(@autorecover,1))) callsub OnCleann; } else if(getarg(0)==97) { if(getarg(.@i)) delitem getarg(.@i),getarg(.@i+1); }else{ getitem weig(getitemid(@automaketype)),1; dispbottom "Success!!"; break; } return @automaketype; }else return getarg(1+getarg(1)); } function nRate { function ssme { if(getskilllv(getarg(0))) return; mes "["+getarg(1)+"] is necessary."; callsub OnCleann; close; } switch(getarg(0)) { case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: ssme(228,"Prepare Potion"); ssme(227,"Potion Research"); return ((getskilllv(228)*300+getskilllv(227)*100+JobLevel*20+readparam(bDex)*10+readparam(bLuk)*10+readparam(bInt)*5+need(99,@automaketype))/10); case 21: ssme(407,"Create Deadly Poison"); return 500; case 22: case 23: case 24: case 25: ssme(1007,"Create Elemental Converter"); return 500; case 26: return 600; } mes "You can't make this."; callsub OnCleann; close; } callsub OnTalk,10,1; end; OnCleann: set @automaketype,set(@automakedelay,set(@automakemd5,set(@autorecover,0))); return;[/font] [font=Arial, Verdana, Tahoma,]OnTalk: mes "Do you want to turn on(off) auto-prescribe?"; if(select("[On]","[Off]")==2||@automaketype) { mes "{[OFF]}"; callsub OnCleann; close; } next; mes "Do you want to set auto-using item to recover your sp?"; if(select("[No]","[Yes]")==2) { next; if(!countitem(autorecover(set(@autorecover,select(.selectc$)),0))) { mes "Sorry,you don't have this item."; callsub OnCleann; close; } mes "Complete.When your sp is lower thant 5,will auto recover."; } next; mes "Choose what you want to creat?"; next; callsub OnSelect,set(@automaketype,select(.selectr$)),1; close2; set @automakemd5,.automakemd5; addtimer set(@automakedelay,getarg(0)),strnpcinfo(0)+"::OnDo"; end; OnSelect: switch(getarg(0)) { case 1: if(need(getarg(1),905,5,7033,5,1092,1,713,1,7134,1)) break; end; case 2: if(need(getarg(1),970,1,1059,1,713,1,7134,1)) break; end; case 3: if(need(getarg(1),929,1,713,1,7134,1)) break; end; case 4: if(need(getarg(1),1032,2,713,1,7134,1)) break; end; case 5: if(need(getarg(1),1051,1,1050,1,713,1,7134,10)) break; end; case 6: if(need(getarg(1),970,1,950,1,713,1,1044,1,7134,1)) break; end; case 7: if(need(getarg(1),7134,1,507,1,1093,1)) break; end; case 8: if(need(getarg(1),7134,1,508,1,1093,1)) break; end; case 9: if(need(getarg(1),7134,1,509,1,1093,1)) break; end; case 10: if(need(getarg(1),7134,1,510,1,911,1,1093,1)) break; end; case 11: if(need(getarg(1),1092,1,501,1,952,1,7134,1)) break; end; case 12: if(need(getarg(1),1092,1,503,1,1017,1,7134,1)) break; end; case 13: if(need(getarg(1),1092,1,504,1,1061,1,7134,1)) break; end; case 14: if(need(getarg(1),716,1,1093,1,1012,2,7134,1)) break; end; case 15: if(need(getarg(1),717,1,1093,1,950,3,7134,1)) break; end; case 16: if(need(getarg(1),715,1,1093,1,7126,2,7134,1)) break; end; case 17: if(need(getarg(1),717,1,1093,1,1057,3,7134,1)) break; end; case 18: if(need(getarg(1),708,1,713,1,970,1,7134,1)) break; end; case 19: if(need(getarg(1),518,1,713,1,704,1,7134,1)) break; end; case 20: if(need(getarg(1),7140,1,7141,1,7143,1,7134,1)) break; end; case 21: if(need(getarg(1),7033,1,972,1,952,1,939,1,937,1,713,1,657,1)) break; end; case 22: if(need(getarg(1),7433,1,904,3)) break; end; case 23: if(need(getarg(1),7433,1,946,3)) break; end; case 24: if(need(getarg(1),7433,1,947,3)) break; end; case 25: if(need(getarg(1),7433,1,1013,3)) break; end; case 26: if(need(getarg(1),950,1,970,1,713,1,1044,1)) break; end; } return;[/font] [font=Arial, Verdana, Tahoma,]OnDo: if(@automakemd5!=.automakemd5) { callsub OnCleann; end; }[/font] [font=Arial, Verdana, Tahoma,]callsub OnSelect,@automaketype,0;[/font] [font=Arial, Verdana, Tahoma,]if(rand(1,1000)<nRate(@automaketype)) { callsub OnSelect,@automaketype,98; specialeffect2 305; }else specialeffect2 306; callsub OnSelect,@automaketype,97; heal 0,-5; addtimer @automakedelay,strnpcinfo(0)+"::OnDo"; end;[/font] [font=Arial, Verdana, Tahoma,]OnInit: set .automakemd5,gettimetick(2); set .selectr$,""; while(set(.@p,getitemid(set(.@i,.@i+1)))) set .selectr$,.selectr$+(.@i==1?"":":")+getitemname(.@p); set .selectc$,""; while(set(.@p,autorecover(set(.@j,.@j+1),0))) set .selectc$,.selectc$+(.@j==1?"":":")+getitemname(.@p); end; }
  12. please help me how to disable creating a guild. I change the item requirement in guild.c and recompile but they still able to make a guild.I change this: if( battle_config.guild_emperium_check && pc_search_inventory(sd,714) == -1 ) {// item required clif_guild_created(sd,3); return 0;
  13. [player]killed a mushroom. Left 0 mushroom now. its is zero even there's a 5 mushroom that respawn.And I killed 1 it announce zero left then I killed the other 4 but it still announce 0 left.
  14. mapannounce .Map$,"["+strcharinfo(0)+"] killed a Mushroom, Left "+( mobcount( strcharinfo(3),strnpcinfo(0)+"::OnMobKill" )+" Mushroom now..!",0; I got error in line 75, parse_simpleexpr: unmatch ')'
  15. its working now sir, thank you for the fast fix... it broadcast the name of the player who kill the mushroom and I get the prize.. Sir it is possible if there's a another broadcast, example: 5 mushroom, I kill 1 and it broadcast my name, after that it will broadcast again that there's another 4 remaining mushroom. and so on.Its a nice script. thank you to the maker of this script and to all who support.
  16. after i kill the mushroom, I didnt get the prize, there's a mapserv error npc_event : event not found [find the mushroom::onmobkilled] //Created by Mysterious //Topic: http://eathena.net/board/topic/53564-find-the-mushroom/#entry55172 //Please do not take this script as your own. prontera,149,205,4 script Find the Mushroom 1084,{ mes "[ Find The Mushroom ]"; if(getgmlevel() < 50) { if(.Event==0) mes "There is no Find the Mushroom event."; else { mes "There is a Find the Mushroom event on now!"; mes "Location: "+ .Map$; mes "Prize: " + getitemname($ItemID); mes "Number of Mushrooms: " + .Mushrooms; } close; } mes "Hello "+strcharinfo(0)+"! Please customize this event:"; Main: next; mes "[ Find The Mushroom ]"; switch(select("Item [" + getitemname($ItemID) + "]:Start Event:End Event")) { case 1: mes "Which item would you like the Mushroom to drop?"; mes "Please input the item ID:"; input $ItemID; goto Main; case 2: mes "Starting the event now..."; set .Event,1; close2; goto OnStart; case 3: mes "Ending the event now..."; if(.Event) announce ""+strcharinfo(0)+" ended Find the Mushroom Event!",bc_all; killmonster .Map$,"All"; set .Event,0; close; } OnMinute51: //CHANGE THIS TO THE MINUTE YOU WOULD LIKE THIS EVENT TO LOAD! OnMinute20: OnStart: announce "Find the Mushroom : It's time to play Find the Mushroom!",0; sleep2 1000; set $@ran, rand(1,11); if ($@ran == 11) set .Map$,"splendide"; if ($@ran == 10) set .Map$,"hugel"; if ($@ran == 9) set .Map$,"yuno"; if ($@ran == 8) set .Map$,"comodo"; if ($@ran == 7) set .Map$,"xmas"; if ($@ran == 6) set .Map$,"aldebaran"; if ($@ran == 5) set .Map$,"izlude"; if ($@ran == 4) set .Map$,"payon"; if ($@ran == 3) set .Map$,"geffen"; if ($@ran == 2) set .Map$,"morocc"; if ($@ran == 1) set .Map$,"prontera"; sleep2 1000; set $@ran2, rand(1,5); if ($@ran2 == 5) set .Mushrooms,"5"; if ($@ran2 == 4) set .Mushrooms,"4"; if ($@ran2 == 3) set .Mushrooms,"3"; if ($@ran2 == 2) set .Mushrooms,"2"; if ($@ran2 == 1) set .Mushrooms,"1"; announce "Find the Mushroom : The Mushroom has spawned in "+ .Map$ +"!",0; sleep2 10000; announce "Find the Mushroom : " + .Mushrooms + " Mushrooms have spawned in "+ .Map$ +"!",0; sleep2 10000; monster .Map$,0,0,"Don't kill me please!",1084,.Mushrooms,"Find the Mushroom::OnMobKilled"; end; OnMobKilled: mapannounce .Map$,"We've got a winner: " + strcharinfo(0) + " Congrats!",0; set zeny,zeny+1000000; getitem $ItemID,1; set .Event,0; end; }
  17. how to change color this part only? [ "+getguildname( getcastledata( .Map$,1 ) )+" ]
  18. its seems it doesn't work with me, no error in mapserv, it doesnt broadcast. will this work if i have another npc with - script Sample -1,{ ? I got npc with -1 sprite.
  19. Sir I would like to request a NPC that announce in every 30 minutes.It will announce random messages.the castle is kriemhild. [winningguild]=color red [announcement]=color yellow or Blue sample: [owner of kriemhild] + [announcement blah blah blah blah]
  20. Thank you, there's no error in the mapserv, I re input the skill and buffs and that solved my problem.DONE
  21. I found a bug,If you click it the first time it will show you the menu and its working properly but if you click it the 2nd time it will show you the zeny but there's no menu.you can;t type or do anything, to resolve this you have to warp tru alt-m. This is only happen to the winning guild. If im just ordinary player who don't belong to the winning guild it works properly no matter how many times I click.
  22. sir thank you very much.its working great. i remove the line# 23 because it give me error but after removing that, its working perfectly. once again a nice job well done.A little more NPC script and my goal is complete.
  23. Requesting a healer+buffer with pay. 10k for heal/agi/bless 100,000k for heal/agi/bless/windwalk/assumptio. This is owned by the winning guild "kriemhild".The payment will go to the winning guild. Only the guild leader can get the zeny.thank you.
×
×
  • Create New...