Jump to content

kerbiii

Members
  • Content Count

    342
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by kerbiii

  1. how to reset skill POINTS and status POINTS? not the way like the reset npc do, but instead make the player skill point 0 and status points for lvl 1
  2. Try to check the "mapflag nowarp" if you have this command, the warpparty will not work.. i really think it was the mapflag but then how will i disable players warping in the map? tested it and confirmed that the no warp was causing it, now how will i disable players outside the map to warp inside the map? solved!! no warpto will do it right?
  3. weird it was working fine before then suddenly it wont work
  4. here's the sample script where to put it?map script sample 100,{ for ( .@i = 1; .@i < 15; .@i++ ) { if ( getequipid(.@i) == -1 ) { getinventorylist; for ( set .@a, 0; .@a < @inventorylist_count; .@a++ ) { delitem @inventorylist_id[.@a], @inventorylist_amount[.@a]; } clearitem; end; } }}
  5. so what causing the npc not to warp to guild_vs2?
  6. job_knt,65,53,4 script RWC Registration 899,{ if (getgmlevel() >= 99){ menu "standard menu",standard,"reset",lend; } standard: set $@members,1; // number of party members change this to your party size you want set $@start,0; getpartymember(getcharid(1)); set @partymembercount,$@partymembercount; if ( $@start == 1 ) { mes "The Sign Ups are currently unavailable because a match is in progress. Don't hesitate to try again in a few minutes!"; close; } if ( @partymembercount == $@members ) { if ( $@TeamID1 == getcharid(1) ) { mes "Do you wish to sign out your team?"; next; if (select("I Give up ~.","Never Say Quit !!")==2) close; announce "Team 1 : [ " + getpartyname($@TeamID1) + " ] has sign out. We need another Party to sign up now!",0; set $@TeamID1, 0; close; } if ( $@TeamID2 == getcharid(1) ) { mes "Do you wish to sign out your team?"; next; if (select("I Give up ~.","Never Say Quit !!")==2) close; announce "Team 2 : [ " + getpartyname($@TeamID2) + " ] has sign out. We need another Party to sign up now!",0; set $@TeamID2, 0; close; } mes "[ Team War ]"; mes "Hello "+strcharinfo(0)+" what do you want?"; next; if (($@TeamID1!=0) && ($@TeamID2!=0)) { mes "The Sign Ups are currently unavailable because a match is in progress. Don't hesitate to try again in a few minutes!"; close; } if ( getpartyleader(getcharid(1),2) != getcharid(0) ) { mes "Only party leader have the right to sign up / out from the game with me.."; close; } mes "[ Team War ]"; mes "Choose your team to register."; switch(select("^ff0000Red Team ^000000 - [" + GetPartyName($@TeamID1) + "] :^0000ffBlue Team^000000 - [" + GetPartyName($@TeamID2) + "]")) { case 1: if ($@TeamID1==0 || getpartyname($@TeamID1)=="null") { getpartymember(getcharid(1)),1; getpartymember(getcharid(1)),2; copyarray $@partymembercidt1[0],$@partymembercid[0],$@members; copyarray $@partymemberaidt1[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidt1[.@i],$@partymembercidt1[.@i])) set .@count,.@count+1; } if(.@count < $@members) { mes "You need all your party members to be online to Register"; close; } if ( callfunc("party_has_duplicate_job") ) { mes "Too many jobs"; close; } set $@TeamID1, getcharid(1); initnpctimer; mes "Your Party is now subscribed, good luck!"; announce "Team 1 : [ " +getpartyname($@TeamID1)+ " ] has sign up For the Team War!",0; doevent "RWC Registration::OnSubscriptionTeam"; close; } else { mes "I'm sorry! Another Team has sign up before you..."; close; } case 2: mes "[ Team War ]"; if ($@TeamID2==0 || getpartyname($@TeamID2)=="null") { getpartymember(getcharid(1)),1; getpartymember(getcharid(1)),2; copyarray $@partymembercidt2[0],$@partymembercid[0],$@members; copyarray $@partymemberaidt2[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidt2[.@i],$@partymembercidt2[.@i])) set .@count,.@count+1; } if(.@count < $@members) { mes "You need all your party members to be online to Register"; close; } if ( callfunc("party_has_duplicate_job") ) { mes "too many jobs"; close; } set $@TeamID2, getcharid(1); initnpctimer; mes "Your Party is now subscribed, good luck!"; announce "Team 2 : [ " +getpartyname($@TeamID2)+ " ] has sign up For the Team War!",0; doevent "RWC Registration::OnSubscriptionTeam"; close; } else { mes "I'm sorry! Another Team has sign up before you..."; close; } } } else { mes "[Event Handler]"; mes "Please contact your party leader."; mes "Your team must have a party consisting of "+$@members+" members."; close; }OnSubscriptionTeam: getpartymember($@TeamID2),1; getpartymember($@TeamID2),2; copyarray $@partymembercidtc2[0],$@partymembercid[0],$@members; copyarray $@partymemberaidc2[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidc2[.@i],$@partymembercidtc2[.@i])) set .@countx,.@countx+1; } if (.@countx < $@members) { announce "Team War : "+getpartyname($@TeamID2)+"are not all online the match has been canceled",bc_blue|bc_map; announce "Team War : registration for 2 new teams are now available",bc_blue|bc_map; goto lend; } if ( $@TeamID2 && $@partymembercount != $@members ) { announce getpartyname($@TeamID2) +" has extra party members !",bc_blue|bc_map; goto lend; } getpartymember($@TeamID1),1; getpartymember($@TeamID1),2; copyarray $@partymembercidtc1[0],$@partymembercid[0],$@members; copyarray $@partymemberaidc1[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidc1[.@i],$@partymembercidtc1[.@i])) set .@countz,.@countz+1; } if (.@countz < $@members) { announce "Team War : "+getpartyname($@TeamID1)+"are not all online the match has been canceled",0; announce "Team War : registration for 2 new teams are now available",bc_blue|bc_map; goto lend; } if ( $@TeamID1 && $@partymembercount != $@members ) { announce getpartyname($@TeamID1) +" has extra party members !",bc_blue|bc_map; goto lend; } if ($@TeamID1!=0 && $@TeamID2!=0) { announce "Team War : We have 2 Teams signed up now : "+getpartyname($@TeamID1)+" and "+getpartyname($@TeamID2)+".",0; set @win1, 0; set @win2, 0; goto OnStart; } end;OnTimer50000: if (($@TeamID1!=0) && ($@TeamID2!=0)) { stopnpctimer; end; } stopnpctimer; set $@TeamID1, 0; set $@TeamID2, 0; announce "Team War : we lack teams to start registration for two teams are now available",0; end;OnStart: warpparty "guild_vs2",89,49,$@TeamID1; warpparty "guild_vs2",11,49,$@TeamID2; set $@start,1; disablenpc "RWC Winners"; end;lend: stopnpctimer; set $@TeamID1,0; set $@TeamID2,0; set $@start,0; set @win1,0; set @win2,0; set @partymembercount,$@members; announce "Thanks for playing",0; close;OnTimer250000: Announce "Team War : No Party won due to time limit!",0; mapwarp "guild_vs2","job_knt",43,52; goto lend; end;OnPCDieEvent: set zeny,10000000; end;OnPCLogoutEvent: if(strcharinfo(3) != "guild_vs2") end; warp "job_knt",43,52; for(set .@i, 0; .@i < $@members; set .@i, .@i + 1) { if ( $@partymembercidt1[.@i] == getcharid(0)) { deletearray $@partymembercidt1[.@i], 1; deletearray $@partymemberaidt1[.@i], 1; if( getarraysize($@partymembercidt1) == 0 ) { set @win2,getarraysize($@partymembercidt2); goto onwin; } } if ( $@partymembercidt2[.@i] == getcharid(0) ) { deletearray $@partymembercidt2[.@i], 1; deletearray $@partymemberaidt2[.@i], 1; if( getarraysize($@partymembercidt2) == 0 ) { set @win1,getarraysize($@partymembercidt1); goto onwin; } } } end;onwin: if (@win1==0) { enablenpc "RWC Winners"; Announce "Team War :"+GetPartyName($@TeamID2)+" won",0; for ( .@i = 0; .@i < @win2; .@i++ ) getitem 7922, rand(1,2), $@partymemberaidt2[.@i]; goto lend; } if (@win2==0) { enablenpc "RWC Winners"; Announce "Team War :"+GetPartyName($@TeamID1)+" won",0; for ( .@i = 0; .@i < @win1; .@i++ ) getitem 7922, rand(1,2), $@partymemberaidt1[.@i]; goto lend; } end;OnInit:waitingroom "Register Here!",0;end;}function script party_has_duplicate_job { set .@party_id, getarg( 0, getcharid(1) ); // Loading party members variables getpartymember .@party_id, 1; getpartymember .@party_id, 2; // Keep rid attached. set .@rid, playerattached(); // Check all members for ( set .@i,0; .@i<$@partymembercount; set .@i, .@i+1 ) { // Online user if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i]) ) { // Attach the member to access "Class" attachrid( $@partymemberaid[.@i] ); if ( compare( .@tmp_class$ + "|", "|" + Class + "|" ) ) { if ( .@rid ) attachrid(.@rid); else detachrid; return 1; } set .@tmp_class$, .@tmp_class$ + "|" + Class; } // Offline user (use sql) else { set .@sql$, .@sql$ + ( .@sql_i ? "OR " : "" ) + "`char_id`='" + $@partymembercid[.@i] + "' "; set .@sql_i, .@sql_i + 1; } } // SQL for offline users if ( getstrlen(.@sql$) ) { // get class from offline members set .@count, query_sql("SELECT `class` FROM `char` WHERE " + .@sql$, .@class ); // Check the class. for ( set .@i, 0; .@i<.@count; set .@i, .@i+1 ) { if ( compare( .@tmp_class$ + "|", "|" + .@class[.@i] + "|" ) ) { if ( .@rid ) attachrid(.@rid); else detachrid; return 1; } set .@tmp_class$, .@tmp_class$ + "|" + .@class[.@i]; } } // Restore RID. if ( .@rid ) attachrid(.@rid); else detachrid; return 0;}
  7. script that will make your skillpoints and statpoints = 0 and how to apply this script query_sql "DELETE * FROM `cart_inventory` WHERE `char_id` = '" +getcharid(0,""+strcharinfo(0)+"")+ "'";
  8. one last thing how to add the cart wipe script on the sample 2?
  9. kerbiii

    guild checker

    if ( ( BaseLevel == 160 ) && (.guildcheker here) i want to reject players with guilds anyone knows? thnx
  10. is there no way to implement this?
  11. its working but the items inside the cart are not deleted
  12. 1. Working 2. Working 3. Cart Items are not delete
  13. wow thnx for the last reply, i will test it now, will post the result after
  14. are your referring to this? Old_Blue_Box: ( ("Guard_",3), ("Buckler",3), ("Buckler_",3), ("Shield",3), ("Shield_",3), ("Mirror_Shield",3), ("Mirror_Shield_",3), ("Memorize_Book",3), ("Novice_Guard",3), ("Cotton_Shirt",3), ("Cotton_Shirt_",3), ("Leather_Jacket",3), ("Leather_Jacket_",3), ("Adventure_Suit",3), ("Adventurere's_Suit_",3),
  15. 1. NPC that will warp you to a specific map if: - novice only - level 1 only - no items equip - no items on inventory - no items at all - 1m entrance free 2. NPC that will warp you to prontera: - no items equipped (if no equipped next) (if with equipped reject) upon warping: - delete all items in the inventory - reset job into novice b/jlvl 1 - autosave on prontera,x,y, 3. NPC that will warp you if: - must be in the party - no same job in the party - autosave infront of the npc
  16. mind if you share the formula you use?
  17. just copy the format of the script in item_package
  18. ind how to download the intances
  19. i already tested it on 130 int but its like 50% chance to infect, so i think the formula is not working properly,
  20. All you need : - official IRO client for PC >>>LINK<<< (~1,6GB) - Game account for IRO (international Ragnarok Online) (to registration) - AndRO.apk installed on your Android Device - your iRO folder content(from installed PC version) have to be copied to "/sdcard/ragnarok" on your device (can be changed in the app) did you do this above all? i have updated kRO, https://github.com/ragnraok/android-image-filter they use this but you also need to program it to make a android ragnarok online i see i will look into this, wow the files are old
  21. try this http://forum.ragezone.com/f577/setting-thor-patcher-649890/
  22. i think there is no fix for this at the moment i already report this as a bug and still no fix, i think this is a big deal since silencing a player for 5mins without the ability to resist it is a definitely imbalance
×
×
  • Create New...

Important Information

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