Jump to content

letstry

Members
  • Posts

    219
  • Joined

  • Last visited

Posts posted by letstry

  1. Hi everyone,

    I usually recompile using Putty on a VPS server.

    Whenever I recompile, there are no logs being saved and I wanted to clear all warnings or errors on my source to prevent map-crashes.

    How do I save a log of my recompiles?

    I would also like to ask on how to save map crash logs.


    Thank you

  2. Im currently using eAthena SVN.

    I would like to ask how will I be able to edit Wall of Fog to only affect enemies inside the fog?

    Allies will not have a chance to skill fail.

    Here is my current source code.
    Thank you

    			if((sc = status_get_sc(target)) &&
    				(inf2&BCT_PARTY||inf2&BCT_GUILD) &&
    				sc->data[SC_FOGWALL] &&
    				rand()%100 < 75)
    		  		{	//Fogwall makes all offensive-type targetted skills fail at 75%
    					if (sd) clif_skill_fail(sd,ud->skillid,USESKILL_FAIL_LEVEL,0);
    					break;
    				}
    			else
    				{
    				if((sc = status_get_sc(target)) &&
    					sc->data[SC_FOGWALL] &&
    					rand()%100 < 75)
    		  			{	//Fogwall makes all offensive-type targetted skills fail at 75%
    						if (sd) clif_skill_fail(sd,ud->skillid,USESKILL_FAIL_LEVEL,0);
    						break;
    					}
    				}

     

  3. I'm currently using a script from this thread: Link

    Im using eAthena SVN and the script is working but my problem is that, only the Guild Leader is receiving the prize.

    Thanks in advance for helping out.

    Here is my code:

    //Author	:	Goddameit
    //Version	:	2012/06/24 - 04:19
    //Web		:	http://goo.gl/8Nedn
    /*
    I added some checks to make sure that will not happen some errors what I didn't expect for.
    Test in eA15*** SQL
    */
    function	script	AllGuildMemberEvent	{
    	if(!set(.@gid,getcastledata(getarg(0),1)))
    		return;
    	query_sql("select account_id, char_id from `guild_member` where guild_id = '"+.@gid+"'", .@gmaid, .@gmcid);
    	set .@amount,getarraysize(.@gmcid);
    	for(set .@i,0;.@i<.@amount;set .@i,.@i+1)
    	{
    		if(!.@gmaid[.@i])
    			continue;
    		query_sql("select last_ip from `login` where account_id = '"+.@gmaid[.@i]+"'",.@ip$);
    		query_sql("select account_id from `login` where last_ip= '"+.@ip$+"'",.@aa);
    		set .@bb,getarraysize(.@aa);		
    		for(set .@i2,1;.@i2<.@bb;set .@i2,.@i2+1)
    		{
    			for(set .@i3,0;.@i3<.@amount;set .@i3,.@i3+1)
    			{
    				if(.@aa[.@i2]==.@gmaid[.@i3])
    				{
    					set .@gmaid[.@i3],0;
    					set .@gmcid[.@i3],0;
    				}
    			}
    		}
    		if(attachrid(.@gmaid[.@i]))
    		{
    			message strcharinfo(0),"Victory !!";
    			getitem 969,5;
    			detachrid;
    		}
    	}
    	return;
    }
    -	script	AGME	-1,{
    OnAgitEnd:
    	setarray .@maps$[0],"prtg_cas01";
    
    		//"aldeg_cas01","aldeg_cas02","aldeg_cas03","aldeg_cas04","aldeg_cas05",
    		//"gefg_cas01","gefg_cas02","gefg_cas03","gefg_cas04","gefg_cas05",
    		//"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05",
    		//"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
    	for( set .@i,0; .@i <= 19; set .@i, .@i+1)
    	{
    		callfunc "AllGuildMemberEvent",.@maps$[.@i];
    	}
    	end;
    }

     

  4. On 28/01/2017 at 4:21 PM, srhmike said:
    
    -	script	baselvl_kick_map	-1,{
    	
    	OnInit:
    		.max_level = 35;
    		.map$ = "new_zone01";
    		setmapflag .map$,mf_loadevent;
    		end;
    		
    	OnPCLoadMapEvent:
    		if ( strcharinfo(3) == .map$ && BaseLevel >= .max_level ) {
    			warp "prontera",150,150;
    		}
    		end;
    		
    	OnPCBaseLvUpEvent:
    		if ( strcharinfo(3) == .map$ && BaseLevel >= .max_level ) {
    			warp "prontera",150,150;
    		}
    		end;
    }

     

    I'll try this on my server maintenance and will update you on this.

    By the way, I'm using eathena SVN. I hope this also works on my server.

    Thank you so much !

  5. Hello rathena,

    I would like to request a script wherein if a player has entered that certain map, he or she will be kicked out if the player's current level is more than 100.

    I am guessing that it is a OnPCLoadMapEvent: script.

  6.  

    Manual deletion in SQL file "login"

    That would not allow use of character names again. Hell need to do a (several) SQL query, on Mobile so can't write out.

     

    I don't exactly know what SQL queries I'm gonna run though XD

    Account ID:

    - 2000005

    Character IDs:

    - 1500042

    - 1500443

    - 1500906

    - 1500907

    - 1500908

    - 1500910

    - 1500961

    - 1501802

    - 1502838

    - 1503303

    - 1503493

    - 1504557

    Separated Character IDs from a different account:

    - 1500242

    - 1500099

  7. You can up 1000 times, and you will not have an answer.

    You will need to edit the act frames... but this will affect all skills of the job.

    5 normal frames.

     

    8f8ada22dfa134f64100d6d6e9a61cdb.gif

     

    Now reduced to 2 frames...

    1ebf6e20dfe7bd31a00129a7969b3fbc.gif

     

    In a high rates server with no delay, exists the problem of animation if you want to spam more you will need to edit the frames of the casting spell.

     

    Thank you so much!

    By the way if I'm using a gepard gameguard, will it allow me to edit the sprite?

  8. What exactly are you referring to by 'action time'?

     

    Like when a Lord Knight has an Owl Baron Card on his Accessory and is spamming Bowling Bash.

    Whenever the Lex Aeterna procs, there is a bit of action time like he is casting the Lex Aeterna for about .5 seconds.

×
×
  • Create New...