Jump to content

Jaburak

Members
  • Posts

    1125
  • Joined

  • Days Won

    31

Everything posted by Jaburak

  1. Jaburak

    Jail

    http://rathena.org/wiki/Compiling
  2. Jaburak

    Jail

    Recompile your SVN.
  3. trunk/conf/battle/monster.conf // Whether or not to spawn the mvp tomb. // See http://irowiki.org/wiki/MVP#Gravestone mvp_tomb_enabled: yes And also update your kRO.
  4. trunk/src/map/skill.c Find and Remove: pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking. trunk/db/re/skill_cast_db.txt Find: //-- AS_SONICBLOW 136,0,0,2000,0,5000,0,-1 Change to: //-- AS_SONICBLOW 136,0,0,0,0,0,0,-1
  5. Jaburak

    Jail

    trunk/src/common/mapindex.h Find: #define MAP_JAIL "sec_pri" Change to: #define MAP_JAIL "yourmap"
  6. The debug message means; you dont have this map. this.gnd this.gat this.rsw Just change the map name in these line; if ( mobcount("this","") > 0 ) { if ( .floodcontrol && mobcount("this","") > 0 ) { if ( .floodcontrol && mobcount("this","") > 0 ) end; monster "this", 0, 0, "--ja--", getd(".group"+ .@group +"id["+ .@menu +"]"), .@amount; if ( mobcount("this","") > 0 ) {
  7. Jaburak

    Flee rate

    This needs more explanation.
  8. Jaburak

    IP Ban

    I think it's on trunk/conf/login_athena.conf // Indicate the IP that the server refuse. // Add as many IP's as you wish, as long as you put deny: before it. //deny: 123.123.123.123 //deny: 234.234.234.234
  9. Jaburak

    IP Ban

    eAthena TXT? or rAthena?
  10. Jaburak

    Client closed

    It's normal.
  11. Jaburak

    IP Ban

    Connect to your SQL database and find the ipbanlist table.
  12. Ohh I think you need a source modification to do that.
  13. Like this? prontera,150,150,0 shop Test 123,512:100,501:100,502:100
  14. - script Test -1,{ OnPCLoginEvent: announce "Welcome to your ServerRO",bc_blue|bc_self; end; }
  15. 1 per account?
  16. OnDay0607: // this triggered on june 7th. OnDay0707: // july 7th.
  17. //Bye Capuche /* CREATE TABLE IF NOT EXISTS `rebirth_system` ( `account_id` int(11) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL DEFAULT 'NULL', `num_rebirth` int(11) unsigned NOT NULL default '0', `last_ip` varchar(100) NOT NULL default '', PRIMARY KEY (`account_id`) ) ENGINE=MyISAM; */ prontera,150,170,5 script Spec 833,{ function checkItem; // check if player have all item required function colorItemrequired; // color the text. Red : not enough item, green otherwise function deleteItem; // delete all items required function displayItemneed; // display all items need at start function getItemReward; // give the items reward function weightreq; // check if your current weight is highter than weight high novice .@eac = eaclass(); if ( num_rebirth == .reset_max ) { mes "You can only rebirth x"+ .reset_max +"."; emotion e_gasp; close; } else if( NextJobExp || NextBaseExp || !( .@eac&EAJL_2 ) || !Upper ) { mes "You must be rebirth max level/max job level."; close; } mes "Items need :"; displayItemneed(); next; switch( select( "^777777~ Rebirth", "~ Informations", "~ Good bye^000000" ) ) { case 1: weightreq(); checkItem(); deleteItem(); break; case 2: mes "You can only rebirth ^ff0000x"+ .reset_max +"^000000. You already rebirth ^ff0000x"+ num_rebirth +"^000000."; mes "Each rebirth you get ^ff0000"+ .num_status +"^000000 status points and after ^ff0000"+ .change_reward +"^000000 rebirth, you get only some items."; close; case 3: mes "Bye."; close; } num_rebirth += 1; if ( Upper ) { // just in case the user change the setting... lastJob = roclass( .@eac&EAJ_UPPERMASK ); jobchange Job_Novice_High; } else jobchange Job_Novice; resetlvl 1; if ( num_rebirth < .change_reward ) StatusPoint = StatusPoint + .num_status * num_rebirth; else getItemReward(); query_sql "insert into `rebirth_system` values ( "+ getcharid(3) +", '"+ escape_sql( strcharinfo(0) ) +"', '"+ num_rebirth +"', '"+ getcharip() +"' ) on duplicate key update `num_rebirth` = `num_rebirth` +1"; announce "[ Rebirth system ] : "+ strcharinfo(0) +" rebirth for the "+ num_rebirth +" time !", 0; close; function checkItem { for ( ; .@i < .size_item; .@i += 2 ) if ( countitem( .item_req[.@i] ) < .item_req[ .@i+1 ] + num_rebirth ) { mes "You don't have enought "+ getitemname( .item_req[.@i] ) +". ^ff0000["+ countitem( .item_req[.@i] ) +"/"+ ( .item_req[ .@i+1 ] + num_rebirth ) +"]^000000"; close; } if ( num_rebirth >= .change_reward ) if ( .add_item_req[1] + num_rebirth - .change_reward > countitem( .add_item_req[0] ) ) { mes "You don't have enought "+ getitemname( .add_item_req[0] ) +". ^ff0000["+ countitem( .add_item_req[0] ) +"/"+ ( .add_item_req[1] + num_rebirth - .change_reward ) +"]^000000"; close; } return; } function colorItemrequired { if ( countitem( .item_req[ getarg(0) ] ) < .item_req[ getarg(0)+1 ] + num_rebirth ) return "^ff0000"; return "^00ff00"; } function deleteItem { for ( ; .@i < .size_item; .@i += 2 ) delitem .item_req[.@i], ( .item_req[ .@i+1 ] + num_rebirth ); if ( num_rebirth >= .change_reward ) delitem .add_item_req[0], ( .add_item_req[1] + num_rebirth - .change_reward ); return; } function displayItemneed { for ( ; .@i < .size_item; .@i += 2 ) mes colorItemrequired( .@i ) +" - x"+ ( .item_req[ .@i+1 ] + num_rebirth ) +" "+ getitemname( .item_req[.@i] ); if ( num_rebirth >= .change_reward ) { if ( .add_item_req[1] + num_rebirth - .change_reward > countitem( .add_item_req[0] ) ) .@color$ = "^ff0000"; else .@color$ = "^00ff00"; mes .@color$ +"- x"+ ( .add_item_req[1] + ( num_rebirth - .change_reward ) ) +" "+ getitemname( .add_item_req[0] ); } return; } function getItemReward { for ( ; .@i < .size_reward; .@i += 2 ) getitem .reward[.@i], .reward[ .@i+1 ]; return; } function weightreq { if ( Weight > 20000 ) { mes "You have too much items on you. Your weight will be too high after rebirth."; close; } return; } OnInit: .reset_max = 50; // how much reset max .change_reward = 30; // after 30 rebirth, change reward .num_status = 300; // + X number of status points // item required <item ID>, <number> setarray .item_req, 501, 5, 502, 2, 503, 3; .size_item = getarraysize( .item_req ); // additionnal items after rebirth >> .change_reward // <item ID>, <number> setarray .add_item_req, 601, 1; // rewards <item ID>, <number> setarray .reward, 504, 1; .size_reward = getarraysize( .reward ); end; }
  18. - script kickgmwoe -1,{ OnPCLoginEvent: if( !getgmlevel() || getgmlevel() >= 10 ) end; //adjust gm level here if( agitcheck() || agitcheck2() ) goto OnAgitStart; set .GMList$[ getarraysize( .GMList$ ) ],strcharinfo(0); end; OnPCLogoutEvent: for( set .@i,0; .@i < getarraysize( .GMList$ ); set .@i,.@i + 1 ) if( strcharinfo(0) == .GMList$[.@i] ) deletearray .GMList$[.@i],1; end; OnAgitStart: for( set .@i,0; .@i < getarraysize( .GMList$ ); set .@i,.@i + 1 ) atcommand "@kick "+.GMList$[.@i] end; }
  19. Lmao
  20. if(gettime(4)==5 || gettime(4)==6 ) { //Saturday, Sunday
  21. Try to add this to your packet_db.txt Below packet_ver:31 0x08c9,2
  22. trunk/db/re/item_trade.txt Add: 2410,1,100 2541,1,100 5013,1,100 2630,1,100 1530,1,100 2383,1,100 7227,1,100
  23. Do you have inter_athena.conf?
×
×
  • Create New...