• Content Count

  • Avg. Content Per Day

  • Joined

  • Last visited

Community Reputation

2 Neutral


About caspa

  • Rank

Profile Information

  • Gender

Recent Profile Visitors

2,996 profile views
  1. can somebody help me with this script? if( getcastledata( "payg_cas03",1 ) ) set [email protected],query_sql( "SELECT `name`, `position` FROM `guild_member` WHERE `guild_id`= '"+ getcastledata( "payg_cas03",1 ) +"' ORDER BY `position` ASC", [email protected]$, [email protected]$ ); //-------------------------------------------------------------------------------------------------------------------------------------------- for( set [email protected],0; [email protected] < [email protected]; set [email protected],[email protected] + 1 ) mes "^008cef"+([email protected]+1)+".^000000 "+( [email protected]$[[email protected]] == 19 ? "Member" : "Leader" )+" "+ [email protected]$[ [email protected] ] +" "+ ( getcharid( 0,[email protected]$[ [email protected] ] ) ? "- ^009900[ON]^000000" : "- ^ff0000[OFF]^000000" )+""; i want to identify the names if its the leader of the members... but i'm having this error.. (refer to image attached)
  2. caspa

    Skill ETC tab

    is it the 2011 clients? or the 2012 clients?
  3. - script no_mons_woe -1,{ end; OnInIt: setarray .map$,"payg_cas03","prtg_cas03","pvp_n_room"; set .map_size,getarraysize ( .map$ ); initnpctimer; end; OnPCLoadMapEvent: OnTimer3000: for ( set [email protected],0; [email protected] < .map_size; set [email protected],[email protected]+1 ){ getmapxy( [email protected]$, [email protected], [email protected], 0, strcharinfo(0) ); if ( ( mobcount( [email protected]$,"poringmonster#18::On"+strcharinfo(0)+"") == 1 ) && ( strcharinfo(3) == .map$[[email protected]] ) ){ [email protected]$,"poringmonster#18::On"+strcharinfo(0)+""; initnpctimer; end; } else { initnpctimer; end; } } } hi i would like to request a script whereas when you enter the woe castle and pvp room it would detect the ,"poringmonster#18::On"+strcharinfo(0)+""; and if you have it along with you it would kill the monster... the script above basically provide information of what i'm trying to achieve... thank you for your help...
  4. i think the switch(rand1,3) is making it random.... when you put Room 1 instead of the maps mentioned above.. it would look like this room 1 room 3 room 4 room 1 room 2 room 4 instead of room 1 room 2 room 3 room 4 and then 1 again room 2
  5. is there anyway to make this sequence? like case 1 first then case 2 then case 3?
  6. this is the right one however i have problems during rotation... there is only 3 maps identifies but its rotating +2 maps beyond that PvP Room 0 [ 1 user ] pvp room 1 [ 1 user ] pvp room 2 [ 3 user ] pvp room 3 [-1 user ] pvp room 5 [-1user] then if you put 4 maps.. it then becoms up to 6 rotation.. LOL
  7. does anybody know where can i find that pvp warper where it has a rotating waitingroom? like waitingroom = [ PvP Map 1 [ 12 user ] ] then after that delwaitingroom then [ PvP Map 2 [ 1 User ] ] then it show another map again...
  8. hi this is part of the script that lets you see and display all online characters on the server right now what i'm trying to do is if a character has a VIP ticket there would be a "(VIP)" next to his name.. so far i have done this... however is there a much more efficient? mes "[ Control Panel ]"; mes "^ff0000Online Users^000000 :"; //---------------------------------------------------------------------------------------------------------------- set [email protected], query_sql( "SELECT `name` FROM `char` WHERE `online` = 1 AND `account_id` NOT IN ( SELECT `account_id` FROM `login` WHERE `level` > 0 ) ORDER BY `name` DESC LIMIT 128", [email protected]$ ); //----------------------------------------------------------------------------------------------------------------- for( set [email protected],0; [email protected] < [email protected]; set [email protected],[email protected]+1 ) { //--------------------------------------------------------------------------- set [email protected], getcharid(0,[email protected]$[[email protected]]); set [email protected], getcharid(0,[email protected]$[[email protected]]); set [email protected], 21026; set [email protected], countitem(21026); set [email protected], 21027; set [email protected], countitem(21027); //--------------------------------------------------------------------------- query_sql("SELECT SUM(`amount`) FROM `inventory` WHERE `char_id` = "[email protected]+" AND `nameid` = "[email protected],[email protected]); query_sql("SELECT SUM(`amount`) FROM `inventory` WHERE `char_id` = "[email protected]+" AND `nameid` = "[email protected],[email protected]); //--------------------------------------------------------------------------- mes "^0000ff"+( [email protected]+1 ) +".^000000 ^007700"+ [email protected]$[[email protected]] +" "+( [email protected] == 1 ? "(VIP)" : "" ) +""+( [email protected] == 1 ? "(VIP)" : "" ) +"^000000"; }
  9. hi guys, i just wanna know what client date misc skill is being put on another skill tree tab and not fused together with the 2nd skill tree tab.. is it a client side? or is it a patch on SVN that u can apply? even its a lower date client like 07-30-2010
  10. can anybody tell me what i did wrong on the script? even though i type the correct name that's part of my guild it say's "hes not part of the guild" and even though the character i'm supposed to pass it on is online.. it say's the character is not online! can someone tell me WTF is going on? i'm lossing my mind LOL change_gm: if( agitcheck() ) { mes .npcname$; mes "You can't change the Guild Master while WoE is active! Come back later."; close; } mes .npcname$; mes "Do you want to change the"; mes "leader of your Guild?"; next; menu"Yes",c_gleader,"No",n_gleader; n_gleader: close; c_gleader: if ( [email protected] == 0 ) goto L_NoGuild; mes .npcname$; mes "I require ^0000ff100 Bank Cards^000000 for"; mes "the labor."; mes " "; mes "Do you have it?"; next; menu "Yes",y_bank,"No",n_bank; n_bank: close; y_bank: if(countitem([email protected]) < [email protected]) goto L_NoItem; mes .npcname$; mes " "; mes "^0000ff*Input New Guild Master*"; next; input [email protected]$; //--------------------- query_sql "SELECT `account_id`,`name` FROM `char` WHERE `name` = '"+escape_sql([email protected]$)+"'", [email protected]_id,[email protected]$; //--------------------. if ( [email protected]_id == getcharid(3) ) { mes .npcname$; mes "^ff0000You cant enter your own name."; emotion e_swt; close; } else if ( !getcharid( 2,[email protected]$ ) ) { mes .npcname$; mes "^ff0000"[email protected]$+" is not a member of your guild."; close; } if ( !isloggedin( [email protected]_id,[email protected]$ ) ) { mes .npcname$; mes "^ff0000"[email protected]$+" must be online."; close; } mes .npcname$; mes "Are you sure you want ^0000ff"[email protected]$+"^000000 to be the next Guild Master of ^ff0000"+ getguildname(getcharid(2))+"^000000?"; next; menu "Yes",y_newgm,"No",n_newgm; n_newgm: close; y_newgm: guildchangegm( [email protected],[email protected]$ ); delitem [email protected], [email protected]; announce "[Guild Manager] : The leader of ["+getguildname([email protected])+" guild] has been pass to '"[email protected]$+"'",0,0xFF6347; mes .npcname$; mes "Guild Master has been successfully changed."; mes " "; mes "Now, please ^ff0000RELOG^000000 to update the database."; close2; atcommand "@kick "+strcharinfo(0); end; L_NoItem: mes .npcname$; mes "^ff0000You do not have the required item."; close; L_NoGuild: mes .npcname$; mes "^ff0000You are not in a guild."; close;