Jump to content

Aegiskore

Members
  • Content Count

    12
  • Joined

  • Last visited

Posts posted by Aegiskore


  1. No Trans or 3rd Job..  I was thinking to charge some Zeny or items to those who doesn't want to do the job change quest.

     

    Novice to first Job --> will charge zeny or items

    First to Second Job --> Will charge zeny or items


  2. thanks.. i will try it.   :)

     

    EDIT:

     

    make it like this.. works fine, thanks

     

     

    -	script	trans_restrict	-1,{OnPCLoadMapEvent:	if(strcharinfo(3)!="prtg_cas01") end;	if(Class>=4001 && Class<=4049 ) && ( agitcheck() || agitcheck2() ) {	mes "[ ^0000FF Castle Guardian's^000000  ]";	mes "Hello "+strcharinfo(0)+", ";	mes "You are now Allow to Join this WOE.";	close2;	warp "Save",0,0;	}	end;}prtg_cas01	mapflag	loadevent 

     


  3. HI guys,

     

    I got this script from Emistry and it worked very fine. restricting trans job in WoE Castle.

     

    However, can we do like Trans class cannot enter the castle During WoE times only and during NoN woe they can enter the castle.

     

    Appreciate your help on this, thanks!!

    -	script	trans_restrict	-1,{OnPCLoadMapEvent:	if(strcharinfo(3)!="prtg_cas01") end;	if(Class>=4001 && Class<=4049 ){	mes "[ ^0000FF Castle Guardian's^000000  ]";	mes "Hello "+strcharinfo(0)+", ";	mes "You are not Allowed to Join this WOE.";	close2;	warp "Save",0,0;	}	end;}prtg_cas01	mapflag	loadevent 

     


  4. hi Guys,

     

    Just want to know if its possible to limit account IP login in all maps except prontera?

     

    Example:

    If 4 accounts will login in different maps (except pront) the 5th account will be kick-out

     

    or/and if 4 accounts will login in different maps and the 5th account will not be kick-out if he login in prontera

     

    and vice-versa.

     

    basically, I want the server to restrict IP log-in to 4 accounts only, except prontera which will be free of IP limit.

     

    appreciate you help and inputs


  5.  

    try this

    -	script	Only4perIP	-1,{OnPCLoginEvent:if( query_sql("SELECT name FROM `char` LEFT JOIN login ON `char`.account_id = `login`.account_id WHERE `login`.last_ip='"+getcharip()+"' AND `char`.online=1 AND `char`.char_id!="+getcharid(0)+" AND `char`.account_id NOT IN (SELECT account_id FROM `autotrade_merchants`)",.@name$) >4 ) {	announce "Sorry, only 4 accounts per IP can be logged in at a time.", bc_self;        sleep 1000;        atcommand "@kick "+strcharinfo(0);}end;}

     

    this works well, thanks :)


  6. Hi,

     

    I found this script in RA, just want to know if this will also work in Herc.

     

    Basically, I want to limit 4 accounts only per IP but that doesn't include the @autotraders.

     

    -	script	Only4perIP	-1,{OnPCLoginEvent:	if (getgmlevel() >= 99) end;	set .@myname$, strcharinfo(0);	if (query_sql("SELECT `char`.`name` FROM `char` LEFT JOIN login ON `char`.account_id=login.account_id WHERE login.last_ip='"+getcharip()+"' AND `char`.online=1 AND `char`.char_id!="+getcharid(0), .@name$) >= 4) {		for (set .@i,0; .@i<getarraysize(.@name$); set .@i,.@i+1) {			if (checkvending(.@name$[.@i]) != 2)				set .@sameip, .@sameip +1;		}		if (.@sameip >= 4) {			announce "Sorry, only 4 accounts per IP can be logged in at a time.", bc_self;			sleep 1000;			atcommand "@kick " + .@myname$;		}	}	end;}

     

×
×
  • Create New...

Important Information

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