Jump to content

caspa

Members
  • Posts

    499
  • Joined

  • Last visited

Everything posted by caspa

  1. thank you for replying but it didnt work the blind is still there.
  2. as the title suggest, is there anyway to create an item script that has an effect of nullifying blindness generated from the skill DEMON on Star Gladiator characters.
  3. Hello, i don't know where to post this problem since i dont know if the client side or the source side has the problem but has anybody encountered this type of problem? (please refer to the attached photo) whereas the dispbottom display unique character after the intended context.. like for example on the script is "dispbottom "You have leveled up!."; but whenever i talk to the npc and finish the quest the display on my screen would be "dispbottom "You have leveled up!."#$#@$@#!@@@##; and it gives random characters.. like if you talk to the npc again.. the random character after the sentence changes... if anybody has solution to this im willing to pay.... my client is 2012-04-10 i was using 2010-07-30 a while ago and i didnt have this kind of issue i used NEMO for the patched files on this RagexeRE.
  4. hello can anybody help me with this script? //--- Guardian Hunter 1.1.2 --------------------------------------// //----------------------------------------------------------------// // ttt 000000000 // ttt 000 000 // ttttttttt rrrrrrrrr 000 000 nnnnnnnnn // ttt rrr 000 000 nnn nnn // ttt rrr 000 000 nnn nnn // ttt rrr 000 000 nnn nnn // ttttt rrr 000000000 nnn nnn //----------------------------------------------------------------// //--- Changelogs: ------------------------------------------------// // 1.0.0 Release // 1.0.1 Fixed first monster spawn // 1.1.1 Added '@currentroom$' into monsterspawn to prevent // spawning mobs outside guardian rooms after fast relog // 1.1.1 Added 'x Guardians left' notification after every kill // 1.1.1 Changed '(0/1)' & '(1/1)' into '(Free)' & '(Full)' // 1.1.2 Added autowarp after death //----------------------------------------------------------------// //--- Main Script ------------------------------------------------// prontera,144,168,5 script Guardian Hunter 852,{ //Guardian Hunter Rooms setarray .hunterrooms$[0], "06guild_01", "06guild_02", "06guild_03", "06guild_04", "06guild_05"; //Guardian Hunter Monsters setarray .guardianmobs[0], 1286, 1285, 1287; //Reward for every kill (Zeny) set .guardianreward, 125000; mes "[^FF7700Guardian Hunter^000000]"; mes "Welcome ^0000ff"+strcharinfo(0)+"^000000,"; mes "How can i help you?"; next; switch(select("Select Rooms:View Top 10:Exit")) { case 1: mes "^FF7700[Guardian Hunter]^000000"; mes "Please select a room."; set .@guardianmenu$, ""; for(set .@i, 0; .@i < getarraysize(.hunterrooms$); set .@i, .@i + 1) { if (.@i) set .@guardianmenu$, .@guardianmenu$+":"; if (getd(".room_"+.@i)==1) { set .@guardianmenu$, .@guardianmenu$ + "Room "+(.@i+1)+ " ^FF0000(Full)^000000"; } else { set .@guardianmenu$, .@guardianmenu$ + "Room "+(.@i+1)+ " ^00BB00(Free)^000000"; } } set @selection,select(.@guardianmenu$)-1; if(getd(".room_"+@selection)==1) { next; mes "^FF7700[Guardian Hunter]^000000"; mes "I'm sorry, but this room is full."; close; } else { setd(".room_"+@selection), 1; set @currentroom$, .hunterrooms$[@selection]; set @monstercount, 1; killmonsterall .hunterrooms$[@selection]; monster .hunterrooms$[@selection],0,0,"--ja--",.guardianmobs[rand(0,(getarraysize(.guardianmobs)-1))],1; warp .hunterrooms$[@selection],0,0; end; } case 2: close2; dispbottom "[TOP 10]"; dispbottom "--------------------------------"; query_sql "SELECT `username`, `rounds` FROM `guardian_toplist` ORDER BY `rounds` DESC LIMIT 10", .@guardnames$, .@guardrounds; for(set .@i, 1; .@i < 11; set .@i, .@i+1) { dispbottom (.@guardnames$[.@i-1]=="")?"["+.@i+".] - empty":"["+.@i+".] - "+.@guardnames$[.@i-1]+" - "+.@guardrounds[.@i-1]+" rounds"; } end; case 3: mes "^FF7700[Guardian Hunter]^000000"; mes "Have a nice day."; close; } OnNPCKillEvent: for(set @i, 0; @i < getarraysize(.hunterrooms$); set @i, @i + 1) { if(strcharinfo(3)==.hunterrooms$[@i]) { set Zeny,Zeny+.guardianreward; if(mobcount(.hunterrooms$[@i],"all")==0) { set @guardianrounds, @guardianrounds + 1; dispbottom "[Guardian Hunter] : Round "+@guardianrounds+" finished."; sleep2 3000; dispbottom "[Guardian Hunter] : Next round starts!"; goto OnSpawnGuardians; } set @guardiankill, @guardiankill+1; dispbottom "[Guardian Hunter] : " + (@monstercount-@guardiankill) + " Guardian(s) left."; end; } } end; OnSpawnGuardians: set @monstercount, @monstercount + 1; set @guardiankill, 0; for(set @i, 0; @i < @monstercount; set @i,@i+1) { monster @currentroom$,0,0,"--ja--",.guardianmobs[rand(0,(getarraysize(.guardianmobs)-1))],1"; } end; OnPCDieEvent: for(set @i, 0; @i < getarraysize(.hunterrooms$); set @i, @i + 1) { if(strcharinfo(3)==.hunterrooms$[@i]) { query_sql "SELECT `rounds` FROM `guardian_toplist` WHERE `username`='"+strcharinfo(0)+"'", @myrounds; if(@guardianrounds>@myrounds) query_sql "REPLACE INTO `guardian_toplist` (`username`, `rounds`) VALUES ('"+strcharinfo(0)+"', "+@guardianrounds+")"; setd(".room_"+@i), 0; dispbottom "[Guardian Hunter] : You died and won "+@guardianrounds+" rounds!"; set @guardianrounds, 0; set @guardiankill, 0; killmonsterall .hunterrooms$[@i]; warp "SavePoint",0,0; } } end; OnPCLogoutEvent: getmapxy(@map$,@x,@y,0); for(set @i, 0; @i < getarraysize(.hunterrooms$); set @i, @i + 1) { if(@map$==.hunterrooms$[@i]) { query_sql "SELECT `rounds` FROM `guardian_toplist` WHERE `username`='"+strcharinfo(0)+"'", @myrounds; if(@guardianrounds>@myrounds) query_sql "REPLACE INTO `guardian_toplist` (`username`, `rounds`) VALUES ('"+strcharinfo(0)+"', "+@guardianrounds+")"; killmonsterall .hunterrooms$[@i]; setd(".room_"+@i), 0; } } end; OnInit: query_sql "CREATE TABLE IF NOT EXISTS `guardian_toplist` (`username` CHAR(50) NOT NULL, `rounds` INT NOT NULL, PRIMARY KEY (`username`))"; end; } 06guild_01 mapflag nocommand 06guild_02 mapflag nocommand 06guild_03 mapflag nocommand 06guild_04 mapflag nocommand 06guild_05 mapflag nocommand 06guild_01 mapflag nosave SavePoint 06guild_02 mapflag nosave SavePoint 06guild_03 mapflag nosave SavePoint 06guild_04 mapflag nosave SavePoint 06guild_05 mapflag nosave SavePoint 06guild_01 mapflag nomemo 06guild_02 mapflag nomemo 06guild_03 mapflag nomemo 06guild_04 mapflag nomemo 06guild_05 mapflag nomemo 06guild_01 mapflag noexp 06guild_02 mapflag noexp 06guild_03 mapflag noexp 06guild_04 mapflag noexp 06guild_05 mapflag noexp 06guild_01 mapflag noreturn 06guild_02 mapflag noreturn 06guild_03 mapflag noreturn 06guild_04 mapflag noreturn 06guild_05 mapflag noreturn 06guild_01 mapflag nodrop 06guild_02 mapflag nodrop 06guild_03 mapflag nodrop 06guild_04 mapflag nodrop 06guild_05 mapflag nodrop everytime i kill the monster it says NPCNAME::OnEVENT instead of 'ALL'
  5. Hi, guys i would like to ask has anybody encountered this type of problem. where the dispbottom function randomly gives special character even though it was not specified in the script. the most intriguing part is not all of them gives this kind of error. some dispbottom form other script doesnt have/give special character after the intended word. im using 04-10-2012a client as of now. but if i use the older 2010 clients the dispbottom is perfectly fine. and doesnt give this kind of error. (please refer to the attached file.)
  6. does anybody have any idea why there is a prev button on my storage? and where can i fix it?
  7. can somebody help me with this script? if( getcastledata( "payg_cas03",1 ) ) set .@gotwsize,query_sql( "SELECT `name`, `position` FROM `guild_member` WHERE `guild_id`= '"+ getcastledata( "payg_cas03",1 ) +"' ORDER BY `position` ASC", .@gotwname$, .@position$ ); //-------------------------------------------------------------------------------------------------------------------------------------------- for( set .@i,0; .@i < .@gotwsize; set .@i,.@i + 1 ) mes "^008cef"+(.@i+1)+".^000000 "+( .@position$[.@i] == 19 ? "Member" : "Leader" )+" "+ .@gotwname$[ .@i ] +" "+ ( getcharid( 0,.@gotwname$[ .@i ] ) ? "- ^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)
  8. is it the 2011 clients? or the 2012 clients? this is an old topic but was wondering if anybody can help me.
  9. - 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 .@i,0; .@i < .map_size; set .@i,.@i+1 ){ getmapxy( .@map$, .@x, .@y, 0, strcharinfo(0) ); if ( ( mobcount( .@map$,"poringmonster#18::On"+strcharinfo(0)+"") == 1 ) && ( strcharinfo(3) == .map$[.@i] ) ){ killmonster.@map$,"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...
  10. it doesn't work ? OnInit: setarray .map$,"pvp_y_1-2","pvpmapall1","classmap3","pvpmapall2"; set .map_size,getarraysize ( .map$ ); for( set .@i,0; .@i < .map_size; set .@i,.@i+1 ){ OnTimer5000: delwaitingroom; switch(.@i+1) { Case 1: waitingroom "Room 1 [ "+ getmapusers("pvp_y_1-2")+" ]", 0; goto Timer; end; break; Case 2: waitingroom "Room 2 [ "+ getmapusers("pvpmapall1")+" ]", 0; goto Timer; end; break; Case 3: waitingroom "Room 3 [ "+ getmapusers("classmap3")+" ]", 0; goto Timer; end; break; Case 4: waitingroom "Room 4 [ "+ getmapusers("pvpmapall2")+" ]", 0; goto Timer; end; break; Timer: initnpctimer; tried doing this and it doesnt work... JEsaaasss i swear to god if this script thing is as easy as medical terms.. LOL!
  11. 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
  12. is there anyway to make this sequence? like case 1 first then case 2 then case 3?
  13. it doesnt rotate the waitingroom dont rotate.. you need to click the npc first before the waitingroom change... this is the script converted prontera,155,181,5 script PVP Room 100,{ for ( set .@i,0; .@i < .size; set .@i,.@i+1) set .@menu$, .@menu$ + .name$[.@i] + "[ "+getmapusers(.map$[.@i])+" ]" + ":"; set .@i,select(.@menu$) - 1; warp .map$[.@i], 0, 0; end; OnInit: setarray .name$, "Title 1", "Title 2", "Title 3", "Title 4", "Title 5", "Title 6"; setarray .map$, "prontera", "izlude", "pvp_n_room", "pvp_y_1-2", "invek", "mellina"; set .size,getarraysize(.map$); initnpctimer; OnTimer5000: set .index,(.index % .size); delwaitingroom; waitingroom .name$[.index] + "[ "+getmapusers(.map$[.index])+" ]", 0; set .index,.index+1; end; }
  14. 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 the room no. also starts with 0... how do u make it starts with Room 1, 2, 3 and so forth...
  15. 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...
  16. 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 .@size, 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", .@name$ ); //----------------------------------------------------------------------------------------------------------------- for( set .@i,0; .@i < .@size; set .@i,.@i+1 ) { //--------------------------------------------------------------------------- set .@cid, getcharid(0,.@name$[.@i]); set .@did, getcharid(0,.@name$[.@i]); set .@item1, 21026; set .@count1, countitem(21026); set .@item2, 21027; set .@count2, countitem(21027); //--------------------------------------------------------------------------- query_sql("SELECT SUM(`amount`) FROM `inventory` WHERE `char_id` = "+.@cid+" AND `nameid` = "+.@item1,.@count1); query_sql("SELECT SUM(`amount`) FROM `inventory` WHERE `char_id` = "+.@did+" AND `nameid` = "+.@item2,.@count2); //--------------------------------------------------------------------------- mes "^0000ff"+( .@i+1 ) +".^000000 ^007700"+ .@name$[.@i] +" "+( .@count1 == 1 ? "(VIP)" : "" ) +""+( .@count2 == 1 ? "(VIP)" : "" ) +"^000000"; }
  17. 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
  18. 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 ( .@gid == 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(.@itemid) < .@itemreq) goto L_NoItem; mes .npcname$; mes " "; mes "^0000ff*Input New Guild Master*"; next; input .@player$; //--------------------- query_sql "SELECT `account_id`,`name` FROM `char` WHERE `name` = '"+escape_sql(.@player$)+"'", .@acc_id,.@player$; //--------------------. if ( .@acc_id == getcharid(3) ) { mes .npcname$; mes "^ff0000You cant enter your own name."; emotion e_swt; close; } else if ( !getcharid( 2,.@player$ ) ) { mes .npcname$; mes "^ff0000"+.@player$+" is not a member of your guild."; close; } if ( !isloggedin( .@acc_id,.@player$ ) ) { mes .npcname$; mes "^ff0000"+.@player$+" must be online."; close; } mes .npcname$; mes "Are you sure you want ^0000ff"+.@player$+"^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( .@gid,.@player$ ); delitem .@itemid, .@itemreq; announce "[Guild Manager] : The leader of ["+getguildname(.@gid)+" guild] has been pass to '"+.@player$+"'",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;
  19. where do i put this source code? i want to enable a command which whenever a player enters a woe castle map his mercenary would automatically be deleted. if(sd->bl.m == map_mapname2mapid("prtg_cas03")) { clif_displaymessage(fd, "Mercenaries are not allowed on this map."); merc_delete(sd->md, 3); or this? merc_delete(md, 0);? return 0; } please help ? i'm running a server and people are abusing mercenaries... guild with 30+ population are summoning mercenaries and using AzzyAI auto attacking in WOE which is making it more harder...
×
×
  • Create New...