-
Posts
1826 -
Joined
-
Last visited
-
Days Won
58
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Chaos92
-
when u start the server in putty, it will shown http://oi40.tinypic.com/ao19v8.jpg example
-
http://rathena.org/board/topic/82726-2013-ragexe-and-diff-up-to-date-2013-08-07/ use this
-
Anyone can share any npc scripts that can easily use safe refine ticket for example : http://ratemyserver.net/index.php?iname=refine&page=item_db&quick=1&isearch=Search +11 Armor Refine Ticket Item ID# 6239 (Guarantee_Armor_11Up) means that safe refine +11 (if they already +4 their armor, still its going to +11, not +15) I need script that can use all types of safe refine ticket if can, did it exist for now ? Mind to share ? up maybe?
-
I need some modification of this script so that vendors excluded - script itemall -1,{ OnWhisperGlobal: if( getgroupid() >= 99 ){ // check map if( @whispervar0$ == "all" ) set .@type$,""; else if( @whispervar0$ == "map" ) set .@type$,strcharinfo(3); else { dispbottom "Error, pick 'map' or 'all' "; end; } // check item set .@itemid,atoi( @whispervar1$ ); set .@amount,atoi( @whispervar2$ ); if( getitemname( .@itemid ) == "null" || .@amount < 1 ){ dispbottom "Enter valid item id and amount."; } set .@self_id,getcharid(3); query_sql( "SELECT COUNT(`account_id`) FROM `char` WHERE `online` = 1 ", .@total ); while( .@count < .@total ){ query_sql( "SELECT `account_id`,`name` FROM `char` WHERE `online` = 1 ORDER BY `account_id` LIMIT 128 OFFSET "+.@offset, .@aid,.@name$ ); set .@i,0; set .@size,getarraysize( .@aid ); while( .@i < .@size ){ if( .@aid[.@i] != .@self_id ){ if( .@type$ != "" ){ getmapxy( .@map$,.@x,.@y,0,.@name$[.@i] ); if( .@map$ == .@type$ ){ getitem .@itemid,.@amount,.@aid[.@i]; set .@gave,.@gave + 1; } }else{ getitem .@itemid,.@amount,.@aid[.@i]; set .@gave,.@gave + 1; } } set .@count,.@count + 1; set .@i,.@i + 1; } set .@offset,.@offset + .@size; deletearray .@aid,.@size; deletearray .@name$,.@size; } dispbottom "Gave "+.@amount+" x "+getitemname( .@itemid )+" to "+.@gave+" Player(s)."; } end; } Hope someone can help :3
-
There is problems with this v4p system http://rathena.org/board/files/file/2849-vote-for-points-for-fluxcp-free/ when cashpoint are used, its going to be some problems if that ID is online because the cashpoint is not updated Is there any way or sourcecode modification so that if they want to vote, make sure their ID is offline. Such as reset position/reset look that will give condition that need the character to offline 1st
-
thanks sir ! Im gonna try these got error when compiled with this :/
-
Can someone change/edit this script so that 2nd job is must rebirth 1st, since there are option to go 3rd job rather than rebirth 1st the script is the latest script jobchanger in rathena https://github.com/nevelis/rAthena/blob/master/npc/custom/jobmaster.txt
-
If you have any sourcecode that can exclude vending players, mind to share with me ?
-
sorry late, yes ive done all of that. to be sure, your patch is for the emperium cant be attack by guild owner . that patch doesnt work in 735 3ceam now. ive done that castledb before
-
i already edit as patch before do this request :3 and already do #include "mapreg.h" in battle.h before posting this request here
-
that patch didnt work anymore means that that patch is for guild member cant break the emperium even it has been conquered.So its not working anymore.They can spam attack the emperium, other guild cant in the map .
-
Annie , this script im using too but in new revision, there are some changes in battle.c Index: battle.c =================================================================== --- battle.c (revision 16817) +++ battle.c (working copy) @@ -5021,6 +5021,13 @@ if( (s_bl = battle_get_master(src)) == NULL ) s_bl = src; + if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) { + struct map_session_data *sd = BL_CAST(BL_PC, s_bl); + if ( ( ((TBL_MOB*)target)->class_ == 1288 && !strcmp( mapindex_id2name(sd->mapindex), "guild_vs1" ) ) && + ( sd->status.guild_id == mapreg_readreg( add_str("$KOEGUILD") ) || battle_getcurrentskill(src) > 0 ) ) + return 0; + } + if ( s_bl->type == BL_PC ) { switch( t_bl->type ) { case BL_MOB: // Source => PC, Target => MOB Index: battle.h =================================================================== --- battle.h (revision 16817) +++ battle.h (working copy) @@ -3,6 +3,7 @@ #ifndef _BATTLE_H_ #define _BATTLE_H_ +#include "mapreg.h" // state of a single attack attempt; used in flee/def penalty calculations when mobbed typedef enum damage_lv { this is your patch , and i show this 3ceam revision735 battle.c : if( (t_bl = battle_get_master(target)) == NULL ) t_bl = target; if( (s_bl = battle_get_master(src)) == NULL ) s_bl = src; switch( target->type ) { // Checks on actual target case BL_PC: if (((TBL_PC*)target)->invincible_timer != INVALID_TIMER || pc_isinvisible((TBL_PC*)target)) return -1; //Cannot be targeted yet. break; case BL_MOB: if((((TBL_MOB*)target)->special_state.ai == 2 || //Marine Spheres (((TBL_MOB*)target)->special_state.ai == 3 && battle_config.summon_flora&1)) && //Floras s_bl->type == BL_PC && src->type != BL_MOB) { //Targettable by players state |= BCT_ENEMY; strip_enemy = 0; } break; see there are some different right. im glad if you can make patch for this revision . before this that patch works, but in this revision didnt work anymore
-
allright im gonna try this
-
If theres any script that can gift rewards to any selected character names by the script for example if "Admin01","Admin02" talk to the npc, they can redeem the gift, but if other character talk to the npc, they didnt receive anything. Any scripts like that ?
-
Im using Annie KOE Script but need some modifications
Chaos92 replied to Chaos92's question in Scripting Support
thanks annie ! -
allright thanks bro !
-
Before this, this src mod can be seen at eathena but i eathena down/wipe ? =.= I hope you can help me as soon as possible. wanna this src mod :3
-
[Debug]: mapindex_name2id: Map "" not found in index list!
Chaos92 posted a question in Scripting Support
[Debug]: mapindex_name2id: Map "" not found in index list![Debug]: mapindex_name2id: Map "" not found in index list![Debug]: mapindex_name2id: Map "" not found in index list![info]: Saved guild (658 - OhMyGoD): members[Debug]: mapindex_name2id: Map "" not found in index list![Debug]: mapindex_name2id: Map "" not found in index list![Debug]: mapindex_name2id: Map "" not found in index list![Debug]: mapindex_name2id: Map "" not found in index list![Debug]: mapindex_name2id: Map "" not found in index list!why this happen?i dont think "" the map is blank sorry [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! [Info]: Saved guild (658 - OhMyGoD): members [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! [Debug]: mapindex_name2id: Map "" not found in index list! -
Im using Annie KOE Script but need some modifications
Chaos92 replied to Chaos92's question in Scripting Support
hurmmmmmmm i tried this from capuche but didnt work // KoE Exit guild_vs1,49,56,5 script Exit#KoE 51,{ mes "[Exit]"; mes "See ya."; next; if ( getcharid(2) == $koegid && getcharid(2) ) { .@size_guild = query_sql( "SELECT `account_id`, `char_id` FROM `guild_member` WHERE `guild_id` = '"+ getcharid(2) +"'", .@account_id, .@char_id ); for( .@i = 0; .@i < .@size_guild; .@i++ ) if( isloggedin( .@account_id[.@i], .@char_id[.@i] ) ) getitem 7227, 1; // configure prize here warpguild "SavePointAll",0,0,getcharid(2); } warp "Save",0,0; close; } -
Im using Annie KOE Script but need some modifications
Chaos92 posted a question in Scripting Support
the scripts going well but if it can be changed to this, it will be more nicer : - reward koe given to all guild players that online either using mail OR recall back all player (player that just die a few seconds before koe finish) -after koe finish,other guild must be removed from the map and all winner guildmember will recalled (they can still fight after koe finish -.-) im using this script : - script KoE -1,{ OnInit: disablenpc "The King#KoE"; disablenpc "Exit#KoE"; end; OnWhisperGlobal: if ( getgmlevel() < 99 ) end; else if ( compare ( @whispervar0$, "on" ) ) goto L_start; else if ( compare ( @whispervar0$, "off" ) ) goto L_end; else end; L_end: OnClock2200: OnClock2240: if(gettime(4) == 1 || gettime(4) == 3) end; announce "The King of Emperium Hill is over!", 0; set .koe_start, 0; enablenpc "Exit#KoE"; disablenpc "The King#KoE"; killmonsterall "guild_vs1"; end; L_start: OnClock2130: OnClock2210: if(gettime(4) == 1 || gettime(4) == 3) end; announce "The King of Emperium Hill has begun!", 0; set .koe_start, 1; enablenpc "The King#KoE"; disablenpc "Exit#KoE"; set $koegid, 0; donpcevent "::OnRevKoE"; maprespawnguildid "guild_vs1", $koegid, 6; monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead"; end; OnEmpDead: set $koegid, getcharid(2); announce "The current King of Emperium Hill is the [" + strcharinfo(2) + "] guild.", 0; donpcevent "::OnRevKoE"; maprespawnguildid "guild_vs1", $koegid, 6; sleep 500; if ( .koe_start ) monster "guild_vs1",49,49,"EMPERIUM",1288,1,"KoE::OnEmpDead"; end; }// KoE Entrance prontera,155,185,4 script The King#KoE 966,{ mes "[The King]"; if ( getcharid(2) == 0 ) { mes "You must have a guild to participate in the ^FF0000King of Emperium Hill Tournament^000000."; close; } mes "Hello."; mes "Would you like to participate in the ^FF0000King of Emperium Hill Tournament^000000?"; if ( select ( "Yes", "No" ) == 2 ) close; switch( rand(1,4) ){ case 1: warp "guild_vs1", 50, 88; end; case 2: warp "guild_vs1", 88, 50; end; case 3: warp "guild_vs1", 50, 11; end; case 4: warp "guild_vs1", 11, 50; end; } } // KoE Exit guild_vs1,49,56,5 script Exit#KoE 51,{ mes "[Exit]"; mes "See ya."; query_sql "SELECT `account_id` and FROM `char` WHERE `last_map`='guild_vs1' AND `online`=1",.@aid; for ( set .@i, 0; .@i < getarraysize(.@aid); set .@i, .@i + 1 ) { if ( getcharid(2) == $koegid ) { attachrid(.@aid); getitem 12704, 100; getitem 14523, 100; } if ( .@i % 10 == 0 ) sleep 100; } next; warp "Save",0,0; close; }// Flags guild_vs1,49,38,4 script King of Emperium Hill#1::koe_flag 722,{ set .@gid, $koegid; if ( .@gid == 0 ) end; mes "[King of Emperium Hill]"; mes "The Current King of Emperium Hill is the ["+ getguildname(.@gid) +"] guild."; close; OnRevKoE: flagemblem $koegid; end; } guild_vs1,61,49,6 duplicate(koe_flag) King of Emperium Hill#2 722 guild_vs1,38,49,2 duplicate(koe_flag) King of Emperium Hill#3 722 guild_vs1,49,61,0 duplicate(koe_flag) King of Emperium Hill#4 722 prontera,164,152,4 duplicate(koe_flag) King of Emperium Hill#5 722 guild_vs1 mapflag gvg guild_vs1 mapflag nobranch guild_vs1 mapflag nomemo guild_vs1 mapflag nopenalty guild_vs1 mapflag noreturn guild_vs1 mapflag nosave SavePoint guild_vs1 mapflag noteleport guild_vs1 mapflag nowarp guild_vs1 mapflag nowarpto -
which need to modify?
-
some of the error [info]: request connect - account_id:2000689/login_id1:986616813/login_id2:43360135 [info]: Loading Char Data (2000689) [info]: Saved guild (80 - VendingGroup): level members [info]: Char load request (155975) [Debug]: at char.c:1002 - SELECT `char_id`,`account_id`,`char_num`,`name`,`class`,`base_level`,`job_level`,`base_exp`,`job_exp`,`zeny`,`str`,`agi`,`vit`,`int`,`dex`,`luk`,`max_hp`,`hp`,`max_sp`,`sp`,`status_point`,`skill_point`,`option`,`karma`,`manner`,`party_id`,`guild_id`,`pet_id`,`homun_id`,`elemental_id`,`hair`,`hair_color`,`clothes_color`,`weapon`,`shield`,`head_top`,`head_mid`,`head_bottom`,`last_map`,`last_x`,`last_y`,`save_map`,`save_x`,`save_y`,`partner_id`,`father`,`mother`,`child`,`fame`,`rename`,`delete_date` FROM `char` WHERE `char_id`=? LIMIT 1 [status]: Char-server 'ReUniteRO' has disconnected. [Warning]: Map Server disconnected from Char Server. Info]: Saved char 156404 - H o m e S m i t h: inventory storage status. [info]: Saved guild (80 - VendingGroup): level members [info]: Saved guild (121 - Danok): members [info]: Closed connection from 'XXXXXXXXX. [info]: Closed connection from 'XXXXXXXXX'. [Debug]: at int_homun.c:134 - REPLACE INTO `skill_homunculus` (`homun_id`, `id`, `lv`) VALUES (169, ?, ?) [status]: Char-server 'ReUniteRO' has disconnected. [Warning]: Map Server disconnected from Char Server. [status]: Attempting to connect to Char Server. Please wait. Info]: Closed connection from 'XXXXXXXXX'. nfo]: Closed connection from 'XXXXXXXXX'.nfo]: Closed connection from 'XXXXXXXXX'. [info]: Session #6 timed out [Warning]: Connection to login-server lost (connection #6). [status]: Char-server 'ReUniteRO' has disconnected. [info]: Attempt to connect to login-server... [status]: Connecting to XXXXXXXXXXX [info]: Connection request of the char-server 'ReUniteRO' @ XXXXXXXXX (account: 's1', pass: 'p1', ip: 'XXXXXXXXXX') [Notice]: Authentication accepted (account: s1, id: 1, ip: XXXXXXXXXXX) [status]: Connection of the char-server 'ReUniteRO' accepted. [status]: Connected to login-server (connection #6). [info]: Session #7 timed out [Warning]: Map Server disconnected from Char Server. [status]: Map-server 0 (session #7) has disconnected. [status]: Attempting to connect to Char Server. Please wait. [status]: Connecting to XXXXXXXXXXXX [status]: Logging in to char server... [status]: Successfully logged on to Char Server (Connection: '7'). [status]: Sending maps to char server... [status]: Event 'OnInterIfInit' executed with '0' NPCs. [status]: Map-Server 0 connected: 804 maps, from IP XXXXXXXXX portXXXX. [status]: Map-server 0 loading complete. [status]: Map sending complete. Map Server is now online. Info]: Session #8 timed out [info]: Character 'N I E' logged off. [status]: set users ReUniteRO : 1 [info]: Closed connection from 'XXXXXXXXX'. [info]: Closed connection from 'XXXXXXXXX'. [info]: Closed connection from 'XXXXXXXXX'. [info]: Pinging SQL server to keep connection alive... [info]: Pinging SQL server to keep connection alive... [info]: Pinging SQL server to keep connection alive... [info]: Pinging SQL server to keep connection alive... [info]: Pinging SQL server to keep connection alive... [info]: Pinging SQL server to keep connection alive...