karazu
Members-
Content Count
1115 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by karazu
-
Help on updating account_data through query_sql
karazu replied to Jedzkie's question in Script Support
done, thank you! -
IP checker. kick 5 accounts with same IP in same MAP
karazu replied to karazu's question in Script Requests
- 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? -
IP checker. kick 5 accounts with same IP in same MAP
karazu replied to karazu's question in Script Requests
no error in the map server, but its not working.. -
IP checker. kick 5 accounts with same IP in same MAP
karazu replied to karazu's question in Script Requests
- 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? -
IP checker. kick 5 accounts with same IP in same MAP
karazu replied to karazu's question in Script Requests
how is that? -
IP checker. kick 5 accounts with same IP in same MAP
karazu replied to karazu's question in Script Requests
So how to add new map? set .Map$,"payon"; this is how I add. set .Map$,"payon"prontera"; -
IP checker. kick 5 accounts with same IP in same MAP
karazu replied to karazu's question in Script Requests
thank you for that respond, i will test it later... -
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?
-
Vellum Katzbalger [0] [Two Handed] Item ID# 21002 (Velum_Katzbalger)
karazu posted a question in Script Support
[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? -
I see, hmm but i dont have an NPC named Versus, lol.. hmm
-
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
-
can anyone tell me how to locate or give me idea why did error came out?
-
wew, ask in rathena hehehe
-
item_db.txt is the one that iam using. so Its ok that I will copy paste it? wow thank you.
-
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?
-
@afk v 2.0 usable even in WOE/PVP is active in the area.
karazu replied to karazu's question in Plugin Support
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. -
up for this one. you can try to use bindatcmd Sorry man but i dont know how to do that.
- 152 replies
-
- afk atcommand
- @afk
-
(and 2 more)
Tagged with:
-
up for this one.
- 152 replies
-
- afk atcommand
- @afk
-
(and 2 more)
Tagged with:
-
Wow, I will try this out later. thank you very much
-
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.
-
How about if you put a case? Like level 2 buffs has additional buff level 3 has more buff etc..
-
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!
-
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?
-
can u add a timer on this please? like the player that is @afk will be kick out after 12 hours
- 152 replies
-
- afk atcommand
- @afk
-
(and 2 more)
Tagged with:
-
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/