Jump to content

rans

Members
  • Posts

    429
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by rans

  1. Why not just create a hidden function that will check the players' equipment every X minute(s)? I think that would be better and more effective. 

    I already did that. 

    and its already working. im just wondering if all of my players are wearing with this loop script to check every seconds. will it cause server issues or lag on my server?

  2. Hi there,

    I have a while loop script in my item. that loop will check every second if the player's map has a mapflag of pvp. if yes it will be taken off.
    anyway i did this cause item_noequip does not automatically take off equipment or nullify it if u just hit @pvpon it need to rewarp or manually take off the item in order to take the restriction... anyway the real issue here is 

    if all of my player is wearing that item with loop script. will it cause Lag or server failure on my server?

    Ty in advance for enlightening me.

  3. I've just clone a fresh rathena from git and i got this error after compiling
     

    skill.c: In function 'skill_timerskill':
    skill.c:3906: error: 'for' loop initial declarations are only allowed in C99 mode
    skill.c:3906: note: use option -std=c99 or -std=gnu99 to compile your code
    skill.c: In function 'skill_check_condition_char_sub':
    skill.c:14174: warning: suggest explicit braces to avoid ambiguous 'else'
    skill.c:14171: warning: suggest explicit braces to avoid ambiguous 'else'
  4. Question: what if the script goes to check a player in the WORST moment, like meanwhile he is doing MVP or serious party?? How to prevent this?

    Checking will only occurs once, if they are already been checked it will skip checking again. 

    well there is no way to prevent it during a serious hunting or else before going to a mvp hunting make sure that they have been check.

    -or you can modify the script to make it trigger during/every login of char (which is very hassle to other players)

  5.  

    i cleaned it up (didn't optimize) and removed the use of goto

    //===== Thaddeus Scripts ================================== 
    //= Simple Cool Anti-Bot
    //===== By: ================================================== 
    //= Thaddeus
    //===== Current Version: ===================================== 
    //= 1.0
    //===== Compatible With: ===================================== 
    //= Hercules, rAthena, 3ceam, eAthena
    //===== Description: =========================================
    // Improvise Simple Anti-Bot! from method of Brian.
    //===== Comments: ============================================
    //= Change the % chance of triggering, change jail time.
    //===== Additional Comments: =================================
    //= 1.00 Initial Release
    //===== Contact Info: =========================================
    //= http://hercules.ws/board/user/457-thaddeus/
    //============================================================
    //===== Credits to: =========================================
    //= Brian,
    //============================================================
    
    
    -	script	anti-bot2	-1,{
    OnPCLoginEvent:
    	set checkbot,0;
    	if(botter >= 1) {
    		doevent "anti-bot::Oncheckb";
    	}
    
    }
    
    -	script	anti-bot	-1,{
    OnNPCKillEvent:
    	if( rand(100) < 75 ) { end;} // Default Setting: 75% Chance to Ignore the Anti-Bot
    	Oncheckb:
    	function GetString;
    	if (getgmlevel() >= 3) { end;} /* Uncomment if you want to Ignore this by GM */
    	if(checkbot >= 1) { end; }
    
    	atcommand "@jail "+strcharinfo(0)+"";
    	set botter,1;
    	sc_start SC_BERSERK, 1000000000, 1;
    	sc_start SC_FREEZE, 1000000000, 1;
    	sleep2 3000;
    	for(set botter,botter; botter < 4; set botter,botter + 1;){
    		set .@String$,GetString( 15,rand(3,7) );
    		mes "You Have 3 Chance to Type the Red Text Correctly";
    		mes "If you failed- You will be jailed";
    		mes "Input the ^FF0000RED COLOUR^000000 part";
    		mes "^0000FF"+GetString( 15,rand(5,10) )+"^FF0000"+.@String$+"^0000FF"+GetString( 15,rand(3,10) )+"^000000";
    		input .@Input$;
    		if( .@Input$ != .@String$ ){
    			if (botter >= 3) {
    				atcommand "@unjail "+strcharinfo(0)+"";
    				sleep2 1000;
    				atcommand "@jailfor 10d "+strcharinfo(0)+"";
    				announce "[Anti-BOT]: The user [" +strcharinfo(0) +"] Has Been Jailed For 10 Days.",0,0xe80f0f;
    				set botter,0;
    				close;
    				end;
    			}
    			mes "Wrong..";
    			next;
    		} else {
    			break;
    		}
    	}
    	atcommand "@unjail "+strcharinfo(0)+"";
    	set botter,0;
    	set checkbot,1;
    	sc_end SC_BERSERK;
    	sc_end SC_FREEZE; 
    	percentheal 100,100;
    	sc_start SC_INC_AGI,240000,10;
    	sc_start SC_BLESSING,240000,10; 
    end;
    
    	function	GetString	{
    		if( getarg(0) & 1 ) setarray .@List$[ getarraysize( .@List$ ) ],"1","2","3","4","5","6","7","8","9";
    		if( getarg(0) & 2 ) setarray .@List$[ getarraysize( .@List$ ) ],"A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z";
    		if( getarg(0) & 4 ) setarray .@List$[ getarraysize( .@List$ ) ],"a","b","c","d","e","f","g","h","i","j","k","m","n","o","p","q","r","s","t","u","v","w","x","y","z";
    		//if( getarg(0) & 8 ) setarray .@List$[ getarraysize( .@List$ ) ],"!","@","#","$","%","^","&","*","(",")","-","=","/","+";
    
    	set .@Str$,"";
    		while( getstrlen( .@Str$ ) < getarg(1) )
    		set .@Str$,.@Str$ + .@List$[ rand( getarraysize( .@List$ ) ) ];
    		return .@Str$;
    
    	}
    
    }
    
    sec_pri	mapflag	pvp	off
    

    Thanks for cleaning the script. i have uploaded a new version of this script with your script. thank you ^_^

  6. Hi,

    I would like to ask if this script is possible and i would be very happy if you can make it :)


    for example i have +1 mink coat. and i want it to upgrade (+2 mink coat) in order for that the requirements will be change into some currency. ex Mithril coin
    aside from that there is a time waiting. ex 15minutes. and then even you log out. the timer still count and when you comeback it will upgrade your item. (During the time of upgrading, you can't use the item) 
    and requirements, time increase as the level increases ex. +2mink coate (2mc, 15minutes) +3mink (3mc, 1hr)
    like that. 

    ​thank you ^_^

  7. File Name: Simple Cool Anti-Bot

    File Submitter: Thaddeus

    File Submitted: 24 Jan 2015

    File Category: Utilities

    Content Author: Thaddeus


    This is a Simple Code Improved by me and Originally the method was from Brian.

    Features:
    Random bot check will trigger when killing a mob.
    25% Chance to trigger when killing a Mob.
    If already passed the bot check. you will not be check again in the future. (Until you Recon)
    You have 3 Chance to prove that you are not Bot.
    If you fail. 10days of jail time.
    If you reconnect during the checkpoint. you will return in checkpoint after reconnecting.

    I have tested this in my server and works fine to me.
    If you found bug. Please report it smile.png

    PS: Sorry for my Grammar and Messy look Script happy.png



    Click here to download this file

    • Upvote 2
  8. 3ceam

    in your 

    conf/battle/gm.conf

    find

     
    // The minimum level for a GM to be unable to distribute items.
    // You should set this to the same level @item is set to in the atcommand.conf
    // NEVER SET THIS VALUE TO 0, or you will block drop/trade for normal players
    gm_cant_drop_min_lv: 1
     
    
    //The trust level for your GMs. Any GMs ABOVE this level will be able to distribute items
    //ie: Use Storage/Guild Storage, Drop Items, Use Vend, Trade items. 
    gm_cant_drop_max_lv: 0

    if you set the values in to like this

    gm_cant_drop_min_lv: 10

    gm_cant_drop_max_lv: 40

     

     

    this means all gm level between 10-40 will be untradeable/undropable

    hope this helps you

  9. Hi people.

     

    I want a eA Emulator in the most stable version, and my question is, still can be used without problems, i mean, if i want to make a Old School server with this emulator, can be viable?.

     

    Thanks for reading!, i hope you guys can help me.

    You can use any emulator for old school server.

    but if you still want to use eathena it is still get a trunk here

    http://eathena-project.googlecode.com/svn/trunk/

    but you can still try 3ceam

    it is more updated Than eAthena. yet still eathena base emulator.

  10. how about about SEO. /gg

     

    make ur RO site, make a blog, put daily post with good SEO management and aim for 1st or 2nd page of Google search when people use keyword "Private Ragnarok Online", "Ragnarok Online Server", or such /heh

     

    oh yeah, I provide signature ads /slur

    Hi

    What do you mean you provide signature ads /heh

  11. Good Morning / Evening to all
    I just want to ask if what are the possible and effective advertising sites for ragnarok? aside from Facebook Advertising groups/ Paid FB boost likes etc2, and RMS. any other sites?


    Thank you smile.png

×
×
  • Create New...