Jump to content

cahadeyelo

Members
  • Posts

    174
  • Joined

  • Last visited

Everything posted by cahadeyelo

  1. is there any resembling command to getinventorylist that checks the cart inventory instead of the inventory of the invoking player?
  2. i got this diff but i can't find other lines where to put the diffs specially on pc.c file noitemnoskill.patch
  3. i got this diff but i can't find other lines where to put the diffs specially on pc.c file noitemnoskill.patch
  4. it's all good sir...no errors found
  5. i copy your codes...now i have this errors
  6. while i'm rebuilding my server, i got this on the way
  7. wow sir...it works
  8. can someone guide me on how can i insert this updates to my existing phpmyadmin & MySQL Query Browser.
  9. it's perfect sir..thanks
  10. Can someone turn my script into payable triggered Poring Catcher Event. - script Poring Catcher Event -1,{ OnClock0010: OnClock0110: OnClock0210: OnClock0310: OnClock0410: OnClock0510: OnClock0610: OnClock0710: OnClock0810: OnClock0910: OnClock1010: OnClock1110: OnClock1210: OnClock1310: OnClock1410: OnClock1510: OnClock1610: OnClock1710: OnClock1810: OnClock1910: OnClock2010: OnClock2110: OnClock2210: OnClock2310: mapwarp "pvp_n_1-2.gat","prontera",155,182; announce "Poring Catcher Event starts in a minute.",0,0xFFA500; killmonsterall "pvp_n_1-2"; setmapflag "pvp_n_1-2",mf_noskill; setmapflag "pvp_n_1-2",mf_nocommand,2; sleep2 60000; set .Spawn,10; monster "pvp_n_1-2",0,0,"Poring",1002,.Spawn,"Poring Catcher Event::OnMobKilled"; monster "pvp_n_1-2",0,0,"Poning",1002,30,"Poring Catcher Event::OnMobLose"; monster "pvp_n_1-2",0,0,"Poirng",1002,10,"Poring Catcher Event::OnMobLose"; monster "pvp_n_1-2",0,0,"Porings",1002,10,"Poring Catcher Event::OnMobLose"; monster "pvp_n_1-2",0,0,"Porlng",1002,10,"Poring Catcher Event::OnMobLose"; monster "pvp_n_1-2",0,0,"Porring",1002,10,"Poring Catcher Event::OnMobLose"; monster "pvp_n_1-2",0,0,"Porong",1002,10,"Poring Catcher Event::OnMobLose"; monster "pvp_n_1-2",0,0,"Pirong",1002,10,"Poring Catcher Event::OnMobLose"; announce "Poring(s) have been spawned in pvp_n_1-2.",0,0xFFA500; initnpctimer; end; OnTimer60000: if(getmapusers("pvp_n_1-2") == 0){ announce "Poring Catcher Event has ended.",0,0xFFA500; killmonsterall "pvp_n_1-2"; stopnpctimer; end; } if(mobcount("pvp_n_1-2","Poring Catcher Event::OnMobKilled")== 1) { announce "There is "+.Spawn+" Poring left in pvp_n_1-2.",0,0xFFA500; initnpctimer; end; } announce "There are "+.Spawn+" Poring(s) left in pvp_n_1-2.",0,0xFFA500; initnpctimer; end; OnMobKilled: set .Spawn, .Spawn - 1; set #CASHPOINTS,#CASHPOINTS + 1; dispbottom "Gained : 1 Point(s). Total : "+ #CASHPOINTS +" RoK Point(s)."; warp "prontera",155,182; if (.Spawn) announce "[ "+strcharinfo(0)+" ] has killed a Poring. There's still "+.Spawn+" Poring(s) left.",bc_map,0xFFA500; else { announce "Poring Catcher Event has ended. All the Poring(s) has been killed.",0,0xFFA500; removemapflag "pvp_n_1-2",mf_noskill; removemapflag "pvp_n_1-2",mf_nocommand,2; stopnpctimer; } end; OnMobLose: warp "prontera",155,182; end; }
  11. how can i update my map cache?
  12. where can i get the accurate walkable prontera town for 2015 client that doesn't have misconfigured cells.
  13. can't say thank you enough to both of you sir Emistry & Nitrous.
  14. how can i fix this script that it'll only give the item #30004 to the first player that completed his/her 3 minutes of staying ingame after my server launching. - script SGH_POINTS -1,{ OnPCLoginEvent: addtimer 60000,"SGH_POINTS::OnSghGet"; end; OnSghGet: getmapxy( .@new$, .@x, .@y, 0 ); if( .@new$ == "new_1-1" ) { set SGH_MINUTE_P, SGH_MINUTE_P + 1; dispbottom "Gained : 1 Point(s). Total : "+SGH_MINUTE_P+" Minute(s)."; } if ( SGH_MINUTE_P == 3 ){ getitem 30004,1; $sghreward = 1; end; } addtimer 60000,"SGH_POINTS::OnSghGet"; end; OnInit: if ($sghreward = 1) end; }
  15. sir can you extend the src code you made and add the total castle count of a guild
  16. Just want to request a script or code that will help this script to give to the kriemhild guild leader owner the item ID# 7146's amount depends on how many castles they're owned. SIEGE_P: set @GID,getcharid(2); set .@GID, GetCastleData("prtg_cas01",1); set .Map$,"prtg_cas01"; if ( agitcheck() ){ message strcharinfo(0), "You can't get any guild profit if there's a war."; end; } if ( SIEGEPOINTS < 1 ){ message strcharinfo(0), "You don't have any Siege Point(s)."; end; } if ( MaxWeight <= Weight * 2 ){ message strcharinfo(0), "You can't get any profit if you're over weight."; end; } if ( @inventorylist_count > 95 ){ message strcharinfo(0), "Remove some of your inventory item(s) to get your profit."; end; } if( strcharinfo(0) == getguildmaster( getcastledata( .Map$,1 ) ) ){ getitem 7146,10; getitem 30004,SIEGEPOINTS*100; set SIEGEPOINTS,0; end; } }
  17. all your help and answers are purely reliable...thanks
  18. Can i request a script that restricting them to go inside the castle if the online guild members are below 7. - script woe_restriction -1,{ OnPCLoadMapEvent: query_sql "SELECT guild_lv FROM guild WHERE guild_id = "+getcharid(2), .@guild_lv; if( getmapflag(strcharinfo(3),mf_gvg_castle)){ if((BaseLevel < 175) || (getcharid(2) == 0) || (.@guild_lv < 43) ) { warp "prontera",155,182; dispbottom "[ Server ]: You doesn't have a guild or you don't have enough Base Level."; } } end; } aldeg_cas01 mapflag loadevent aldeg_cas02 mapflag loadevent aldeg_cas03 mapflag loadevent aldeg_cas04 mapflag loadevent aldeg_cas05 mapflag loadevent gefg_cas01 mapflag loadevent gefg_cas02 mapflag loadevent gefg_cas03 mapflag loadevent gefg_cas04 mapflag loadevent gefg_cas05 mapflag loadevent payg_cas01 mapflag loadevent payg_cas02 mapflag loadevent payg_cas03 mapflag loadevent payg_cas04 mapflag loadevent payg_cas05 mapflag loadevent prtg_cas01 mapflag loadevent prtg_cas02 mapflag loadevent prtg_cas03 mapflag loadevent prtg_cas04 mapflag loadevent prtg_cas05 mapflag loadevent schg_cas01 mapflag loadevent schg_cas02 mapflag loadevent schg_cas03 mapflag loadevent schg_cas04 mapflag loadevent schg_cas05 mapflag loadevent arug_cas01 mapflag loadevent arug_cas02 mapflag loadevent arug_cas03 mapflag loadevent arug_cas04 mapflag loadevent arug_cas05 mapflag loadevent nguild_alde mapflag loadevent nguild_gef mapflag loadevent nguild_pay mapflag loadevent nguild_prt mapflag loadevent
  19. i've created this custom shield 30562,Arcana_Valkyrie_Shield,Arcana Valkyrie Shield,4,,,1000,,5,,1,0xFFFFFFFF,63,2,32,,1,1,1,{},{},{} but some of royal guard skills don't work that needs a shield if i used my custom shield...why?
  20. great answer but what i'm looking for is a script not a manual thing
  21. is there a way to disable the respawn of emperium on other castles?
  22. here's the codes that i'm making right now if( strcharinfo(0) == getguildmaster( getcastledata( .Map$,1 ) ) ){ getitem 7146,1; i just want to give the guild leader of kriemhild the item 7146 x the total castles they owned...
  23. can you give a simple example of this coz i can't find the rathena wiki on the net
  24. how can i check the total castle count of a guild through codes?
  25. i replaced the || code to && and it works sir thanks...
×
×
  • Create New...