Jump to content

donkeyg

Members
  • Posts

    1,060
  • Joined

  • Last visited

1 Follower

Profile Information

  • Gender
    Male
  • Location
    beside u

Recent Profile Visitors

4,548 profile views

donkeyg's Achievements

Poring

Poring (1/15)

1

Reputation

  1. Hi man! are you fine?

  2. as the code shown // Forbidden Items Database // Defines restrictions on equipment, items, and cards in map types and zones. // // Structure of Database: // ItemID,Flag // // Legend for 'Flag' field (bitmask): // 1 - restricted in normal maps // 2 - restricted in PVP // 4 - restricted in GVG // 8 - restricted in Battlegrounds // Examples: // 1201,1 // Knife can't be worn on normal maps // 608,4 // Yggdrasil Seed can't be consumed in both GvG and WoE Castles // 4174,6 // Deviling Card has no effect in every PVP or GVG map, and during WoE // 501,32 // Red Potion can't be consumed on maps marked as 'restricted zone 1'// 519,322 // Milk can't be consumed in PVP and maps marked as 'restricted zone 2' or 'restricted zone 4' (256+64+2) May i ask if i want to disable abyssmal kngiht card in GVG/PVP so i need to type like this? 1482,6 then how do i add prt_in as PVP map? i wan to restrct them usnig the item in "prt_in" as well
  3. can u help me check... im still can wear the both items into prtg_cas03 without been kick from the system.. here is my script - script Limited Items -1,{ function LimitItems; function CheckItems; OnInit: // GM Level to Bypass set .GMLevel,80; // Check Every X Seconds set .Seconds,5; // Apply on Which Maps and what Zone No. setarray .DisableMap$, // "<mapname>","<zone number>", "prtg_cas03","0"; for( set .i,0; .i < getarraysize( .DisableMap$ ); set .i,.i + 2 ) setmapflag .DisableMap$[.i],mf_loadevent; end; OnPCLoadMapEvent: //if( getgmlevel() >= .GMLevel ) end; set @Exceed,0; for( set [email protected],0; [email protected] < getarraysize( .DisableMap$ ); set [email protected],[email protected] + 2 ) if( strcharinfo(3) == .DisableMap$[[email protected]] ) LimitItems( atoi( .DisableMap$[[email protected]+1] ) ); end; function LimitItems { switch( getarg(0) ){ // Case <zone>: CheckItems( <Item>,<Amount>,<Item>,<Amount>,.....,<Item>,<Amount> ); break; Case 0: CheckItems( 4302,1,4174,1 ); break; default: debugmes "[NPC : "+strnpcinfo(0)+"] - Invalid Zone:"+getarg(0); break; } return; } function CheckItems { for( set [email protected],0; getarg( [email protected],0 ); set [email protected],[email protected] + 2 ){ for( set [email protected],0; [email protected] <= 10; set [email protected],[email protected] + 1 ) for( set [email protected],0; [email protected] <= getequipcardcnt( [email protected] ); set [email protected],[email protected] + 1 ) if( getequipcardid( [email protected],[email protected] ) == getarg([email protected]) ) set [email protected],[email protected] + 1; set [email protected],[email protected] + countitem( getarg([email protected]) ); if( [email protected] > getarg([email protected]+1) ){ set @Exceed,1; mes "[ ^FF0000Limit : ^0000FF"+getarg([email protected]+1)+"^000000 ] "+getitemname( getarg([email protected]) ); } } if( @Exceed ){ mes "Please ensure all the Items above didnt reach the Limit as stated above."; close2; warp "SavePoint",0,0; deltimer strnpcinfo(0)+"::OnPCLoadMapEvent"; }else{ addtimer ( .Seconds * 1000 ),strnpcinfo(0)+"::OnPCLoadMapEvent"; end; } return; } }
  4. p[]p[][p][p it seems the script doesnt work.. i can bring Devilnig / taogunka cards to payon town in the same time.. - script Limited Items -1,{ function LimitItems; function CheckItems; OnInit: // GM Level to Bypass set .GMLevel,3; // Check Every X Seconds set .Seconds,5; // Apply on Which Maps and what Zone No. setarray .DisableMap$, // "<mapname>","<zone number>", // "pvp_n_1-5","0", // "yggdrasil01","1", "yggdrasil02","2", "payon","3", "guild_vs4","4", "pvp_y_5-2","5"; // Initialize Mapflags for( set .i,0; .i < getarraysize( .DisableMap$ ); set .i,.i + 2 ) setmapflag .DisableMap$[.i],mf_loadevent; end; OnPCLoadMapEvent: if( getgmlevel() >= .GMLevel ) end; set @Exceed,0; for( set [email protected],0; [email protected] < getarraysize( .DisableMap$ ); set [email protected],[email protected] + 2 ) if( strcharinfo(3) == .DisableMap$[[email protected]] ) LimitItems( atoi( .DisableMap$[[email protected]+1] ) ); end; function LimitItems { switch( getarg(0) ){ // Case <zone>: return CheckItems( <Item>,<Amount>,<Item>,<Amount>,.....,<Item>,<Amount> ); Case 2: return CheckItems( 4302,0 ); Case 3: return CheckItems( 4302,0,4174,0 ); Case 4: return CheckItems( 4302,0 ); Case 5: return CheckItems( 4302,0 ); // Case 3: return CheckItems( 607,5,608,1,4002,1,5022,1 ); // Case 4: return CheckItems( 607,1,608,15,5022,2,7227,10 ); default: debugmes "[NPC : "+strnpcinfo(0)+"] - Invalid Zone : "+getarg(0); break; } return; } function CheckItems { for( set [email protected],0; getarg( [email protected],0 ); set [email protected],[email protected] + 2 ){ // set [email protected],1; for( set [email protected],0; [email protected] <= 10; set [email protected],[email protected] + 1 ) for( set [email protected],0; [email protected] <= getequipcardcnt( [email protected] ); set [email protected],[email protected] + 1 ) if( getequipcardid( [email protected],[email protected] ) == getarg([email protected]) ) set [email protected],[email protected] + 1; set [email protected],[email protected] + countitem( getarg([email protected]) ); if( [email protected] > getarg([email protected]+1) ){ set @Exceed,1; mes "[ ^FF0000Limit : ^0000FF"+getarg([email protected]+1)+"^000000 ] "+getitemname( getarg([email protected]) ); } } if( @Exceed ){ mes "Please ensure all the Items above didnt reach the Limit as stated above."; close2; warp "prontera",0,0; deltimer strnpcinfo(0)+"::OnPCLoadMapEvent"; }else{ addtimer ( .Seconds * 1000 ),strnpcinfo(0)+"::OnPCLoadMapEvent"; end; } return; } } } this is my script..
  5. donkeyg

    woe

    thx. may i know hwere is the location the runes spawns?? i cant find it in the script
  6. donkeyg

    woe

    Hi this is the traditional War from xileRO anyone has this cool idea script?
  7. nono.. sorry .. what i was asking is how do i make MAXIMUM they can bring 1 MVP card only into the room? Example: a user will get kick from the room if they are using 1 Tao gunka + 1 Golden thief bug card. (Players are allow to bring only ONE card Either Tao Gunka or Golden Thief bug card into the room. They cant bring BOTH cards into the room) t I want to make it MAXIMUM 1 MVP card can bring in only..
  8. Tested.... still get kick even i got 1 tao gunka card ONLY.. i wan to make it cant bring 2 tao gunka.. maximum 1 tao gnuka.... but why cant?? - script Limited Items -1,{ function LimitItems; function CheckItems; OnInit: // GM Level to Bypass set .GMLevel,3; // Check Every X Seconds set .Seconds,5; // Apply on Which Maps and what Zone No. setarray .DisableMap$, // "<mapname>","<zone number>", // "pvp_n_1-5","0", // "yggdrasil01","1", "guild_vs2","2", "payon","3", "guild_vs4","4", "pvp_y_5-2","5"; // Initialize Mapflags for( set .i,0; .i < getarraysize( .DisableMap$ ); set .i,.i + 2 ) setmapflag .DisableMap$[.i],mf_loadevent; end; OnPCLoadMapEvent: if( getgmlevel() >= .GMLevel ) end; set @Exceed,0; for( set [email protected],0; [email protected] < getarraysize( .DisableMap$ ); set [email protected],[email protected] + 2 ) if( strcharinfo(3) == .DisableMap$[[email protected]] ) LimitItems( atoi( .DisableMap$[[email protected]+1] ) ); end; function LimitItems { switch( getarg(0) ){ // Case <zone>: return CheckItems( <Item>,<Amount>,<Item>,<Amount>,.....,<Item>,<Amount> ); Case 2: return CheckItems( 4302,0 ); Case 3: return CheckItems( 4302,0 ); Case 4: return CheckItems( 4302,0 ); Case 5: return CheckItems( 4302,0 ); // Case 3: return CheckItems( 607,5,608,1,4002,1,5022,1 ); // Case 4: return CheckItems( 607,1,608,15,5022,2,7227,10 ); default: debugmes "[NPC : "+strnpcinfo(0)+"] - Invalid Zone : "+getarg(0); break; } return; } function CheckItems { for( set [email protected],0; getarg( [email protected],0 ); set [email protected],[email protected] + 2 ){ set [email protected],1; for( set [email protected],0; [email protected] <= 10; set [email protected],[email protected] + 1 ) for( set [email protected],0; [email protected] <= getequipcardcnt( [email protected] ); set [email protected],[email protected] + 1 ) if( getequipcardid( [email protected],[email protected] ) == getarg([email protected]) ) set [email protected],[email protected] + 1; set [email protected],[email protected] + countitem( getarg([email protected]) ); if( [email protected] > getarg([email protected]+1) ){ set @Exceed,1; mes "[ ^FF0000Limit : ^0000FF"+getarg([email protected]+1)+"^000000 ] "+getitemname( getarg([email protected]) ); } } if( @Exceed ){ mes "Please ensure all the Items above didnt reach the Limit as stated above."; close2; warp "prontera",0,0; deltimer strnpcinfo(0)+"::OnPCLoadMapEvent"; }else{ addtimer ( .Seconds * 1000 ),strnpcinfo(0)+"::OnPCLoadMapEvent"; end; } return; } } } thi sis my script
  9. ___ ok, but how do i make immune ? attack should miss if user has 100% resist of element i want to make if user has 100% water resist.. he wont get damage from water elements it should be miss yes exactly what i am asking in pre-renewal.. but seeems like no 1 can fix it
  10. how do i make only allow maximjum 1 MVP card in a map ? (Means u cant bring more than 2 MVP cards into the map) MAP: Guild_vs2
  11. does demi human reststance cards stacked with water/fire/earth/wind resistances?
  12. Case 0: return CheckItems( 607,0,608,0,2742,0,2541,0,4241,0,610,0,607,0,608,0,4174,0,4047,0,4054,0,4169,0,4236,0,4359,0,4425,0,4372,0,4147,0,4145,0,4168,0,4386,0,4142,0,4134,0,4137,0,4123,0,4330,0,4441,0,4324,0,4408,0,4128,0,4363,0,4365,0,4430,0,4263,0,4403,0,4318,0,4419,0,4376,0,4357,0,4276,0,4146,0,4132,0,4131,0,4143,0,4135,0,4144,0,4148,0,4121,0,4342,0,4367,0,4302,0,4305,0,4407,0,4374,0,4361,0,4352,0 ); Case 1: return CheckItems( 13017,0,1230,0,4236,0,4359,0,4425,0,4372,0,4147,0,4145,0,4168,0,4386,0,4142,0,4134,0,4137,0,4123,0,4330,0,4441,0,4324,0,4408,0,4128,0,4363,0,4365,0,4430,0 ); this is my function script... assume when u go in to a place that restrict those item above th elist... u will be auto warped out back to prontera... so what am i requesting is can i make it able to use but not MORE THAN 2 cards allowed in the place?
  13. anyone know hwo the pre renewal 100% resistance reduction works?
  14. what i meant was the first time i tried to talk to the npc.. it doesnt even add my weight... and i try it till 10 times.. they npc said i am done.. but i check my weight doesnt increase at all....
×
×
  • Create New...

Important Information

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