Jump to content

crixxz

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by crixxz

  1. sleep2 1000 * 60;

    change into

    sleep2 1000;

    then you know it is checking every second

    i try it sir, but nothing happen, i try with 5 second and reloadscript, with other char login str 250. its work when relogin.

    -	script	kdjhfksjf	-1,{
    OnPCLoginEvent:
    	while (1) {
    		for ( .@i = 13; .@i <= 18; .@i++ ) {
    			if ( readparam( .@i ) > 249 ) {
    				mes "You have overstat ...";
    				sleep2 1000;
    				atcommand "@block "+ strcharinfo(0);
    				end;
    			}
    		}
    		sleep2 5000;
    	}
    	end; // shouldn't reach
    }
    
  2. initnpctimer is use to run a timer on npc side

    if you want to run on player, you can try attachnpctimer

    but honestly .. for some reason I don't like using npctimer ... I prefer sleep

     

    -	script	kdjhfksjf	-1,{
    OnPCLoginEvent:
    	while (1) {
    		for ( .@i = 13; .@i <= 18; .@i++ ) {
    			if ( readparam( .@i ) > 255 ) {
    				mes "You have overstat ...";
    				sleep2 1000;
    				atcommand "@block "+ strcharinfo(0);
    				end;
    			}
    		}
    		sleep2 1000 * 60;
    	}
    	end; // shouldn't reach
    }

    thanks for the answer sir  /no1

     i try this script, but this script not recheck every 1 minute ( sleep2 1000 * 60 it mean 1 minute sir..? ) this script only checking at firts login.

    how make this auto check every 1 minute sir..?

     

    thanks /ok

  3. Hello, i got auto banned over status from http://rathena.org/board/topic/70252-anti-cheat-stats/?p=134514

    - script Sample -1,{
    OnPCLoginEvent:
    for( set .@i,13; .@i <=18; set .@i,.@i + 1 )
    if( readparam(.@i) > 255 )
      set .@OverStat,.@OverStat + 1;
    if( .@OverStat ){
    mes "You have Over Stats...Cheating..will be blocked.";
    sleep2 5000;
    atcommand "@block "+strcharinfo(0);
    }
    end;
    }
    

    how to change on login checker to every minute check.

    I try like this but not work, nubie here /heh

    -	script	autoban	-1,{
    OnPCLoginEvent:
    attachnpctimer ""+strcharinfo(0)+"";
    initnpctimer;
    end;
    OnTimer10000:
    for( set .@i,13; .@i <=18; set .@i,.@i + 1 )
    if( readparam(.@i) > 249 )
      set .@OverStat,.@OverStat + 1;
    if( .@OverStat ){
    mes "You have Over Stats...Cheating..will be blocked.";
    sleep2 5000;
    atcommand "@block "+strcharinfo(0);
    }
    end;
    }
    

    thanks advanced /ok

  4. hallo permisi, mengapa skill Siren's Voice tidak berfungsi sama sekali kepada player..?

    skill itu hanya berfungsi kepada monster saja.
    akan tetapi bila saya merubah durationnya di skill_cast_db.txt, misalnya duration level 5 skill Siren's Voice adalah 27000 dan saya rubah menjadi 270000 skill ini bekerja dengan baik kepada player.

     

    thanks advance /no1

  5. hello, i need help with minstrel skill Siren's Voice Not Working,
    i try edit in skill_cast_db.txt default level 5 Siren's Voice duration is 27000 and i change to 270000 and it's work.

    why the default duration not work /panic

    my server run in pre-renewal r11660

    thanks before /no1

     

     

    bump..., my Siren's Voice not working with player target, it only work on mob /oops

  6. -	script	login_reward	-1,{
    OnPCLoginEvent:
    	.@pow = 1 << 10;
    	.@todays = gettime(8);
    	if ( #login_reward % .@pow == .@todays ) end;
    	.@count = .reward_day;
    	#login_reward = ( #login_reward &~ ( #login_reward % .@pow ) ) + .@todays + .@pow;
    	.@count_day = ( #login_reward >> 10 ) % .@pow;
    	if ( .@count_day % 7  == 0 ) {
    		.@count += .reward_week;
    		.@weekly_message$ = ( .@cond_ofthemonth ? ", " : " and " ) + .reward_week +" golds for being online a week";
    	}
    	if ( .@count_day % 31 == 0 ) {
    		.@count += .reward_month;
    		.@montly_message$ = " and " + .reward_month +" golds for being online a month";
    	}
    	getitem 969, .@count;
    	dispbottom "Here your daily reward ! You got "+ .reward_day +" golds"+ .@weekly_message$ + .@montly_message$ +".";
    	end;
    OnInit:
    	.reward_day = 2;// reward of the day : amount of gold
    	.reward_week = 10;// reward of the week : amount of gold
    	.reward_month = 35;// reward of the month : amount of gold
    	end;
    }
    

    i got this script from http://rathena.org/board/topic/88005-how-to-make-this-account-based/?p=225329

    this script get directly reward after login.

    how to add 1 hour after login, just got a daily reward..?

    thanks advance /no1

  7. Hello I need help about costume

     

    I successfully modified the source and Costume is running normally but I noticed one time that when i wore Costume and then wore another costume on the same slot the previous costume should be removed right? But on mine the Previous and the new equipped costume still remains.

     

    PS. The previous costume item worn are still there but it was still being worn but not seenable. 

    I have experienced like that, the problem is wrong name in accessoryid.lua/lub or accname.lua/lub

×
×
  • Create New...