Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/27/14 in Posts

  1. - script WoE_IP_Kick -1,{ OnInit: setmapflag "prtg_cas01", mf_loadevent; setmapflag "prtg_cas02", mf_loadevent; setmapflag "prtg_cas03", mf_loadevent; set .map_list$, "prtg_cas01 | prtg_cas02 | prtg_cas03"; set .whitelist$, "127.0.0.1 | xx.xx.xx.xx"; end; // Trigger when a player enters a map with "loadevent" mapflag. OnPCLoadMapEvent: // Only run for map in the list. if ( compare( .map_list$,strcharinfo(3) ) == 0 ) end; set .@my_ip$, getcharip(); if ( compare( .whitelist$,.@my_ip$ ) ) .@right = 2; else .@right = 1; // Get list of name online with attached character's IP address. set .@size, query_sql("SELECT `char`.`name` FROM `login` join `char` on `char`.account_id = login.account_id WHERE online = 1 and `last_ip` = '"+ .@my_ip$ +"' and `char`.`account_id` != "+ getcharid(3), .@name$ ); // Passed check if only the attached player is returned. if ( .@size < .@right ) end; setd ".@count_"+ strcharinfo(3), 1; // Check all online characters using the IP address if they are on a Battlegrounds map. for( ; .@i<.@size; set .@i,.@i+1) { getmapxy .@map$, .@x, .@y, 0, .@name$[.@i]; if ( compare( .map_list$,.@map$ ) ) { setd ".@count_"+ .@map$, getd( ".@count_"+ .@map$ ) +1; setd ".@name_"+ .@map$ +"$", getd( ".@name_"+ .@map$ +"$" ) + .@name$[.@i] + ( ( getd( ".@name_"+ .@map$ +"$" ) == "" && .@right == 2 ) ? "," : "" ); if ( getd( ".@count_"+ .@map$ ) == .@right +1 ) { message strcharinfo(0),"Characters "+ getd( ".@name_"+ .@map$ +"$" ) +" already present in a map with your IP. Kicking...."; sleep2 2000; atcommand "@kick "+ strcharinfo(0); end; } } } // Passed check. end; }
    1 point
  2. Is the explanation in the document still not further? @_@
    1 point
  3. Class: Equippable upper-types. Uses the following bitmasks: 1: Normal classes (no Baby/Transcendent/Third classes) 2: Transcedent classes (no Transcedent-Third classes) 4: Baby classes (no Third-Baby classes) 8: Third classes (no Transcedent-Third or Third-Baby classes) 16: Transcedent-Third classes 32: Third-Baby classes ^From the rAthena/doc folder You add all the value together that you want to use. All = 63; Non-3rd = 7; Only 3rd = 56
    1 point
  4. Edit the item ID's for the required item to use the skill here.. https://github.com/rathena/rathena/blob/master/db/re/skill_require_db.txt#L679
    1 point
  5. Isnt the mask for Every type 63?
    1 point
  6. What do you mean? this? card#,Ranger Card,Ranger Card,6,20,,10,,,,,,,,769,,,,,{ bonus bDelayRate,-30; },{},{}
    1 point
  7. @miczster : Soon soon, promise Name : Phracon Categorie : Ragnarok Online File Size: 88 KB Author: Gravity Download : Item - Phracon [ToZorMan].zip Link : www.green-peach.net ----------------------------------------------------------------- Name : Old_Enriched_Oridecon Categorie : Ragnarok Online File Size: 95 KB Author: Gravity Download : Item - Old_Enriched_Oridecon [ToZorMan].zip Link : www.green-peach.net ----------------------------------------------------------------- Name : Old_Enriched_Elunium Categorie : Ragnarok Online File Size: 99 KB Author: Gravity Download : Item - Old_Enriched_Elunium [ToZorMan].zip Link : www.green-peach.net ----------------------------------------------------------------- Name : Carnium Categorie : Ragnarok Online File Size: 80 KB Author: Gravity Download : Item - Carnium [ToZorMan].zip Link : www.green-peach.net ----------------------------------------------------------------- Name : Bradium Categorie : Ragnarok Online File Size: 109 KB Author: Gravity Download : Item - Bradium [ToZorMan].zip Link : www.green-peach.net
    1 point
  8. Name : Emveretarcon Categorie : Ragnarok Online File Size: 98 KB Author: Gravity Download : Item - Emveretarcon [ToZorMan].zip Link : www.green-peach.net ----------------------------------------------------------------- Name : Quiver Categorie : Ragnarok Online File Size: 142 KB Author: Gravity Download : Item - Quiver [ToZorMan].zip Link : www.green-peach.net ----------------------------------------------------------------- Name : Purification_Stone Categorie : Ragnarok Online File Size: 77 KB Author: Gravity Download : Item - Purification_Stone [ToZorMan].zip Link : www.green-peach.net ----------------------------------------------------------------- Name : Oridecon Categorie : Ragnarok Online File Size: 112 KB Author: Gravity Download : Item - Oridecon [ToZorMan].zip Link : www.green-peach.net ----------------------------------------------------------------- Name : Elunium Categorie : Ragnarok Online File Size: 87 KB Author: Gravity Download : Item - Elunium [ToZorMan].zip Link : www.green-peach.net
    1 point
  9. Yes plsssssssss and give me something else plssss like a milk! Geez this request is too difficult for me, I don't even know what is a "Paty". Well really! first post : empty request. If you don't put more effort to say what you want no one will help you
    1 point
  10. Hello Shade! The source code sometimes is easier to work with binary. To make you understand better, I have an example for you: Let's say that a player's Max HP is 10000, in binary it's 100111000100. Then we want to make it to 25%, so we just shift it right, twice, so: 100111000100 will becomes 1001110001 which is 2500. And 2500 is 25% of 10000 right? But then again, you may ask, "Why do I have to shift it twice? (>>2)" Well it's because 2500/10000=0.25 (25% from 10000) --> 1 / 0.25 = 4 --> 4 is 2^2 It would work too just like what you have said earlier "max_hp*1/4". But, what if your player's Max HP is 9999? A --> Decimal calculation: 9999*1/4 = 2499.75 B --> Binary calculation: 10011100001111 -> 100111000011 = 2499 Since our rA engine doesn't work with floating numbers, then it'll take another steps to omits the decimals from calculation A, but what happened with calculation B? It automatically omits the decimals isn't it? That's why I said that working with binary is easier... But in this case what you want is "status->max_hp/10" since you want 10% of the Max HP ^^
    1 point
×
×
  • Create New...