Jump to content

Darkpurple

Members
  • Posts

    187
  • Joined

  • Last visited

Posts posted by Darkpurple

  1.  

    Hi, Myzter.

     

    How can enable the Bottrigger when Player login every time?!

    -	script	BKAtLogin	-1,{
    OnPCLoginEvent:
    	callfunc "CheckBKNPC",10000; // Allways start BK
    }
    

    But why no time count for kick?

    and NOT Freeze?

  2.  

     

    I think you'd be probably better off finding another protection... Harmony has been off and on... then goes off and haven't heard of anything new... etc. etc. etc. and there are other protections too.

     any another protection suggested? (except I.G.............)

     

     

     

    Well i assume you only have so many options.

     

    • Make your own.
    • Find Harmony.
    • Use IG..
    • Pay for someone to make such a thing.

    Regardless, it'll cost some money.

    Well there's also this too http://rathena.org/board/topic/91717-adelays-anti-nodelay-protection-v4/#entry240856

     

    Harmony is old and not update now.

    I.G <- I am using...is so many bugs and disconnection problem.

     

     

    How about adelays?

    I look around is talking about anti-nodelay.

    Can anti WPE / Bot?

  3. I think you'd be probably better off finding another protection... Harmony has been off and on... then goes off and haven't heard of anything new... etc. etc. etc. and there are other protections too.

     any another protection suggested? (except I.G.............)

  4. Because the last git had crashed map server problem (Last Git Version b0bc48571b3fa4830c8cd10e2414a52e46f17730),

    I am not willing to use this version, but I really need fixed these problem by manual.

    Anyone can help me to found out the source chanced in last git ??

     

     

    Slow Grace Skill Bug

    http://rathena.org/board/tracker/issue-8946-slow-grace-skill-bug/

     

     

    Fiber Lock Can't Lock the target Bug

    http://rathena.org/board/tracker/issue-8958-fiber-lock-cant-lock-the-target-bug/

     

    Extremity Fist Unit Position Bug

    http://rathena.org/board/tracker/issue-8046-extremity-fist-unit-position-bug/

     

     

    Regards.

  5. Topic: Remark The Items on First bought/got Map
     
     
    I want my MYSQL table (inventory, storage, guild_storage, cart_inventory, mail, auction) add 1 column ('get_map') to save the items where the player bought/got from. 
     
    For example, player bought 1 knife in map of prt_in, then the MYSQL table inventory's column ('get_map') will save the record 'prt_in'. 
     
    This column's record will never change because it only recorded the items on first map where to bought/got from.
     
    I think this idea needed do 2 things. 
    1. Edit the SRC Code to record the items where the map bought/got from.
    2. Add 1 column ('get_map') in MYSQL table (inventory, storage, guild_storage, cart_inventory, mail, auction).
     
     
    I am Looking for Someone willing to help me to write this code, and I am willing to paid for this request, PM me please!
    Regards.
  6. Please check my screenshot

     

    1. this is when player A prepared TCG for selling (his tcgs is 45)

     

    vrplxc.jpg

     

     

    2. Player A sell 10 apples with 2 TCG's and ready for @autotrade

    3128bqf.jpg

     

    3. @autotrade already active in Player A, now Player B ready for buying 10 apples with her 55 tcgs

    zsjujl.jpg

     

    4. You can see Player B's tcg reduce to 35 (55 - (10apples * 2) ) and she received 10 apples, Player A automatic disconnect coz' in @autotrade mode

    dvdap.jpg

     

    5. Player A online again and this is my result, Player A still received his Tcgs (45 + (10 apples * 2) ) 65 tcgs.

    vp9hdx.jpg

     

    so.. i think, i already use this extended vending system very well ^_^

     

    No, you got the wrong meaning.

     

    "I believe you can still autovend but I believe if you do that, it will take zeny instead of the intended currency"

     

    autovend not same as autotrade.....

  7. i already fix it..

    i dont know what number of my rathena revision, i just remember that my rathena is r17??? revision, so i rename this patch with r17xxx.

    i recommended patch it with manually..

     

    hope can solved all your trouble guys..

    sry for my bad english /sry

    *) thx for Lilith about wonderful extended vending source /thx

    Does it support the auto-vending of last rathena?

  8. the word "impossible" doesn't exist in my dictionary

    however for this kind of monster vs monster fighting system, I suggest using mob controller system

    attachicon.gifmob_controller_20140102.patch

     

    -	script	kfkjsbdf	-1,{
    	getmobdata .ai_action[AI_ACTION_SRC], .@mob;
    	attachrid .@mob[4];
    	@summon = 0;
    	end;
    OnInit:
    	bindatcmd "pokemon", strnpcinfo(0)+"::Onaaa", 99,99;
    	end;
    Onaaa:
    	if ( @summon ) {
    		message strcharinfo(0), "You already summon a pet";
    		end;
    	}	
    	if ( getpetinfo(PET_CLASS) ) {
    		message strcharinfo(0), "please return your pet into egg state to continue";
    		end;
    	}
    	getinventorylist;
    	for ( .@i = 0; .@i < @inventorylist_count; .@i++ ) {
    		if ( @inventorylist_card1[.@i] == -256 ) {
    			query_sql "select intimate, class, level, name from pet where pet_id = "+( .@id = @inventorylist_card2[.@i] + ( ( @inventorylist_card2[.@i] >= 0 )? 0 : 1 << 16 ) + @inventorylist_card3[.@i] * ( 1 << 16 ) ), .@intimate, .@class, .@level, .@name$;
    			if ( .@intimate > .pet_min_friendly ) {
    				.@menu$ = .@menu$ +"^0000FF"+ .@name$ +" ^00CC00{"+ getmonsterinfo( .@class, 0 ) +"} ^000000["+ .@level +"]:";
    				.@pet_name$[.@c] = .@name$;
    				.@pet_class[.@c] = .@class;
    				.@pet_level[.@c] = .@level;
    				.@c++;
    			}
    		}
    	}
    	if ( !.@c ) {
    		mes "your inventory doesn't have any pet egg that intimate enough";
    		close;
    	}
    	mes "select which pet that you want it to summon";
    	next;
    	.@s = select( .@menu$ ) -1;
    	getmapxy .@map$, .@x, .@y, 0;
    	.@id = mobspawn( .@name$[.@s], .@pet_class[.@s], .@map$, .@x, .@y );
    	mobattach .@id, strnpcinfo(0);
    	mobassist .@id, getcharid(3);
    	setmobdata .@id, 25, AI_ACTION_TYPE_DEAD;
    	setmobdata .@id, 9, MD_CANMOVE | MD_AGGRESSIVE | MD_CANATTACK | MD_DETECTOR ;
    	@summon = 1;
    	end;
    }
    // When a mob is attacked by another monster, will the mob retaliate against the master of said mob instead of the mob itself?

    // NOTE: Summoned mobs are both those acquired via @summon and summoned by Alchemists

    retaliate_to_master: yes

    change to no

     

     

    the most basic monster that follows you around

    I prefer mob controller because you can adjust the stats of the monster to your liking

    like this one

    http://www.eathena.ws/board/index.php?s=&showtopic=187045&view=findpost&p=1058796

    hmm ... wanna me write the 1vs1 pet fighting system ?

    just post a reply and it shall be done

    because mob controller system got a learning curve ...

    dunno how many times have I say this but,

    I think I might be only member now who knows how to write a mob controller script

     

    Yup.

    The Mob Controller System is very useful.

    I dont know why eathena and rathena removed it.
     
     1vs1 pet fighting system.
    it will be So exciting ... /kis 
  9. MySQL user privilege

    You need the MySQL user that access your database has permission to does Truncate (Drop and Create) table.

    or this is will happens, and other errors are incoming. /hmm

    ffz3.png

     

    What? why must truncate? I never gives those permission for my MySQL user for 'safety' reason. /heh

     

    : DB error - Duplicate entry '1' for key 'PRIMARY'
    [Debug]: at ..\src\map\vending.c:457 - INSERT INTO `vendings`(`id`,`account_id`,
    `char_id`,`sex`,`map`,`x`,`y`,`title`,`autotrade`) VALUES( 1, 2072856, 157247, '
    M', 'prontera', 153, 90, '[Zeny] ComeBuy', 0 );
     
    is it my problem?
  10. so many error in this scr code now...

     

    1>..\src\map\atcommand.c(7109): warning C4003: not enough actual parameters for macro 'msg_txt'
    1>..\src\map\atcommand.c(7109): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7109): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1
    1>..\src\map\atcommand.c(7109): error C2059: syntax error : ')'
    1>..\src\map\atcommand.c(7114): warning C4003: not enough actual parameters for macro 'msg_txt'
    1>..\src\map\atcommand.c(7114): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7114): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1
    1>..\src\map\atcommand.c(7114): error C2059: syntax error : ')'
    1>..\src\map\atcommand.c(7119): warning C4003: not enough actual parameters for macro 'msg_txt'
    1>..\src\map\atcommand.c(7119): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7119): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1
    1>..\src\map\atcommand.c(7119): error C2059: syntax error : ')'
    1>..\src\map\atcommand.c(7128): error C2143: syntax error : missing ';' before 'type'
    1>..\src\map\atcommand.c(7131): error C2143: syntax error : missing ';' before 'type'
    1>..\src\map\atcommand.c(7132): error C2143: syntax error : missing ';' before 'type'
    1>..\src\map\atcommand.c(7133): error C2143: syntax error : missing ';' before 'type'
    1>..\src\map\atcommand.c(7137): error C2065: 'mob_name' : undeclared identifier
    1>..\src\map\atcommand.c(7140): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7140): error C2065: 'mob_name' : undeclared identifier
    1>..\src\map\atcommand.c(7140): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7140): warning C4024: 'atoi' : different types for formal and actual parameter 1
    1>..\src\map\atcommand.c(7141): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7141): error C2065: 'mob_name' : undeclared identifier
    1>..\src\map\atcommand.c(7141): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7141): warning C4024: 'mobdb_searchname' : different types for formal and actual parameter 1
    1>..\src\map\atcommand.c(7142): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7142): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7143): error C2065: 'mob_name' : undeclared identifier
    1>..\src\map\atcommand.c(7148): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7153): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7153): error C2065: 'mob_name' : undeclared identifier
    1>..\src\map\atcommand.c(7153): warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7153): warning C4024: 'atoi' : different types for formal and actual parameter 1
    1>..\src\map\atcommand.c(7153): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7154): error C2065: 'mob_name' : undeclared identifier
    1>..\src\map\atcommand.c(7154): warning C4047: 'function' : 'char *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7154): warning C4024: 'strcpy' : different types for formal and actual parameter 1
    1>  battleground.c
    1>..\src\map\atcommand.c(7154): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7158): error C2065: 'mob_name' : undeclared identifier
    1>..\src\map\atcommand.c(7161): error C2065: 'it' : undeclared identifier
    1>..\src\map\atcommand.c(7161): warning C4047: '=' : 'int' differs in levels of indirection from 's_mapiterator *'
    1>..\src\map\atcommand.c(7164): error C2065: 'it' : undeclared identifier
    1>..\src\map\atcommand.c(7164): warning C4047: 'function' : 's_mapiterator *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7164): warning C4024: 'mapit_next' : different types for formal and actual parameter 1
    1>..\src\map\atcommand.c(7170): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7170): error C2065: 'mob_id' : undeclared identifier
    1>..\src\map\atcommand.c(7177): error C2065: 'number' : undeclared identifier
    1>..\src\map\atcommand.c(7178): error C2065: 'number' : undeclared identifier
    1>..\src\map\atcommand.c(7180): error C2065: 'it' : undeclared identifier
    1>..\src\map\atcommand.c(7180): warning C4047: 'function' : 's_mapiterator *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7180): warning C4024: 'mapit_free' : different types for formal and actual parameter 1
    1>..\src\map\atcommand.c(7735): warning C4003: not enough actual parameters for macro 'msg_txt'
    1>..\src\map\atcommand.c(7735): warning C4047: 'function' : 'map_session_data *' differs in levels of indirection from 'int'
    1>..\src\map\atcommand.c(7735): warning C4024: 'map_msg_txt' : different types for formal and actual parameter 1
    1>..\src\map\atcommand.c(7735): error C2059: syntax error : ')'
    1>..\src\map\atcommand.c(9819): error C2065: 'atcommand_showmobs' : undeclared identifier
    1>..\src\map\atcommand.c(9819): warning C4047: 'initializing' : 'AtCommandFunc' differs in levels of indirection from 'int'
     
     
    can update this scr code for last rathena? thanks. /panic
×
×
  • Create New...