Jump to content

Volt

Members
  • Posts

    14
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Volt

  1. Hello everyone i would like to ask about keep pressing button to reuse skill like jro 

    On rathena for example Skill rolling cutter if you keep pressing the function keys it will spam the skill right ?

    I want to make this to all skill if i keep pressing F buttons i want the skill to keep spaming its hard to press a button many times if the skill delay is so short right ?

    any idea ?

  2. Fhalos Custom MVP Sprite


    Hello guys Im Sharing This file for Rathena users .

    Its a monster sprite !

    Hes cool isnt he ? 

    You can use it for MVP or BOSS monsters You can share this to others

    also I will upload many items custom wings to my website you can also check my website 

    https://www.rag-web.gq

     

    60c079f608825c9f2b65e5fad041fbe8.png


    • Submitter
    • Submitted
      08/09/2017
    • Category
    • Video
      https://www.youtube.com/watch?v=p_VeFOJd0pg
    • Content Author
      Volt

     

    • Upvote 1
  3. Hello guys Im having some trouble about this script

    Spoiler

     

    
    /*
    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;
    }

     

     

    I have successfully add tables on my sql but 

    and I dont see some errors with this script 

    but the problem is even if im 99/70 Upper job i cant rebirth 

    this keeps showing 

    mes "You must be rebirth max level/max job level.";

    Im using RATHENA latest I download 2016/12/15

    please I really need this script :) thank you in advance 

  4. hello sir im using rathena to create an emulator for japan 

    Its working fine and already change mobs name to japanese 

    and also I can now create a japanese name 

    but there is only one problem 

    I can use hiragana,katakana,and kanji but when i use [あ] ← this is a japanese word for the name 

    it shows[ ・] on the game and character select but other of the words works fine 

    can you help me guys ? I dont think if i have a problem on my client or database any sudgestions?

     

    only the letter [ あ] is showing me [・]

    screenvolt000.jpg

    screenvolt001.jpg

    screenvolt002.jpg

×
×
  • Create New...