Jump to content

karazu

Members
  • Content Count

    1115
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by karazu

  1. - script dualclientkicker -1,{OnPCLoadMapEvent: set .@charmap$, strcharinfo(3); if(!compare(.tmp$,.@charmap$)) end; set .@len, query_sql("SELECT DISTINCT `account_id` FROM `char` WHERE `account_id` IN (SELECT `account_id` FROM `login` WHERE `last_ip` = (SELECT `last_ip` FROM `login` WHERE `account_id`="+getcharid(3)+")) AND `online` <> 0;",.@a); if(.@len-1) { for(set(.@d,0);.@d<.@len;set(.@d,.@d+1)) { getmapxy(.@map$,.@x,.@y,0,rid2name(.@a[.@d])); if(.@charmap$==.@map$&&rid2name(.@a[.@d])!=strcharinfo(0)) { dispbottom "Duel accounts not allowed in WOE."; warp "geffen",0,0; } } } end; OnInit: setarray .maps$ , "aldeg_cas01", "gefg_cas01", "payg_cas01", "prtg_cas01"; set .lens , getarraysize(.maps$) ; for(set(.a,0);.a<.lens;set(.a,.a+1)) { setmapflag .maps$[.a], mf_loadevent ; set .tmp$ ,.tmp$+.maps$[.a]+","; }} I think this script limits only up to 2, how about I will make atleast 5 characters per map with same IP?
  2. no error in the map server, but its not working..
  3. - script Sample -1,{OnPCLoadMapEvent:if( strcharinfo(3) == .Map$ ){query_sql( "SELECT `last_ip` FROM `login` WHERE account_id="+getcharid(3)+"",.@IP );query_sql( "SELECT `account_id` FROM `login` WHERE last_ip="+.@IP+"",.@Accountlist );for( set .@i,0; .@i < getarraysize( .@Accountlist ); set .@i,.@i + 1 ) if( isloggedin( .@Accountlist[.@i] ) ) set .@DetectedOnline,.@DetectedOnline + 1; if( .@DetectedOnline > .Limit ){ mes "We detected there is "+.@DetectedOnline+" Users with same IP Logged in."; mes "Please log off these unused account."; close2; warp "prontera",155,181; }}end;OnInit:// How many User with Same IP can logged in and stay at the specific mapset .Limit,2;// What map will be restrictedsetarray .Map$,"payon","prontera"; for ( .@x = 0; .@x < getarraysize(.Map$); .@x++ ) setmapflag .Map$[.@x],mf_loadevent;end;} Is this correct?
  4. So how to add new map? set .Map$,"payon"; this is how I add. set .Map$,"payon"prontera";
  5. thank you for that respond, i will test it later...
  6. I saw a post like this before but I cannot find it anymore. If you can find i can u link me? or can u just make a script for me please? EDIT: - script Sample -1,{OnPCLoadMapEvent:if( strcharinfo(3) == .Map$ ){query_sql( "SELECT `last_ip` FROM `login` WHERE account_id="+getcharid(3)+"",.@IP );query_sql( "SELECT `account_id` FROM `login` WHERE last_ip="+.@IP+"",.@Accountlist );for( set .@i,0; .@i < getarraysize( .@Accountlist ); set .@i,.@i + 1 ) if( isloggedin( .@Accountlist[.@i] ) ) set .@DetectedOnline,.@DetectedOnline + 1; if( .@DetectedOnline > .Limit ){ mes "We detected there is "+.@DetectedOnline+" Users with same IP Logged in."; mes "Please log off these unused account."; close2; warp "prontera",155,181; }}end;OnInit:// How many User with Same IP can logged in and stay at the specific mapset .Limit,2;// What map will be restrictedset .Map$,"payon";setmapflag .Map$,mf_loadevent;end;} http://rathena.org/board/topic/58835-request-ip-check/ found this script in RA can anyone make this work please?
  7. [iRO Description] *Stats during WoE & PVP Decreases target's HP by 8% per hit. (This effect does not work with skills) Class : Two-handed Sword Attack Strength : 100 Weapon Level : 4 Required Level : 95 Jobs: Swordman Class but the script in the databse is ​{ bonus2 bSPVanishRate,10000,8; },{},{} its supposed to be HP right?
  8. I see, hmm but i dont have an NPC named Versus, lol.. hmm
  9. just make a copy of ur System/iteminfo.lub then just put it again after the update. EDIT: or u can keep a copy of the whole System Folder and then put it again after the update
  10. can anyone tell me how to locate or give me idea why did error came out?
  11. wew, ask in rathena hehehe
  12. item_db.txt is the one that iam using. so Its ok that I will copy paste it? wow thank you.
  13. I am not really familiar with pull request hehe. and about adding them in the database emm like copy pasting it, do i need to change something in it? are the effect settings still works in hercules while it is based in rathena?
  14. delete if(map->list[sd->bl.m].flag.pvp || map->list[sd->bl.m].flag.gvg){ clif->message(fd, "You may not use the @afk maps PVP or GVG."); return false;} No what i mean is Expiration, like when they use @afk, after 12 hours of being afk they will be kicked out.
  15. up for this one. you can try to use bindatcmd Sorry man but i dont know how to do that.
  16. Wow, I will try this out later. thank you very much
  17. No what i mean is a menu like if you talk to the NPC HE will ask you what level of buff you u want.> Level 1 Bless and Agi only Level 2 With +10 foods Level 3 with +20 foods Ofcourse in every level the NPC will ask you more TCG like at level 1 1 TCG level 2 TCG and soon.
  18. How about if you put a case? Like level 2 buffs has additional buff level 3 has more buff etc..
  19. Hello can someone give me a buffer with pay? like 1 TCG to avail the service? IF possible can u add a case like if level 1 buff he will only pay 1 TCG but if level 2 buff he will pay 2TCG Thank you!
  20. Hello I want to convert Dota Heroes to Ragnarok 1 Via Granny, The problem is I dont know where is the location of those files in the Wc3 folder... anyone knows?
  21. can u add a timer on this please? like the player that is @afk will be kick out after 12 hours
  22. Somebody just posted it in Rathena. hope it will be added on to us tooo. http://rathena.org/board/topic/89898-port-malaya-new-cards-11/
×
×
  • Create New...

Important Information

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