Jump to content

rosfus

Members
  • Posts

    75
  • Joined

  • Last visited

Posts posted by rosfus

  1. @hendra814: That's easy but will take a while to do; change all the dungeon labels to the "Go" function manually.

    @rosfus: Yes, just find and replace #Mission_Points with #Event_Points.

     

    like town warp?

    It’s work very well, Can the points show by FluxCP, just like zeny rank?

  2. Critical Error
    
    An error was encountered during the lifetime of the application.
    
    This could be due to a variety of problems, such as a bug in the application.
    
    However, normally it is caused by misconfiguration.
    
    Exception Details
    
    Error: PDOException
    
    Message: SQLSTATE[HY000] [1044] Access denied for user 'rosfus_sakray'@'localhost' to database 'sakray2013'
    
    File: /home/rosfus/public_html/loki/lib/Flux/Connection.php:81
    
    File	Line	Function/Method
    /home/rosfus/public_html/loki/lib/Flux/Connection.php	81	PDO::__construct()
    /home/rosfus/public_html/loki/lib/Flux/Connection.php	94	Flux_Connection::connect()
    /home/rosfus/public_html/loki/lib/Flux/Connection.php	159	Flux_Connection::getConnection()
    /home/rosfus/public_html/loki/modules/server/status.php	23	Flux_Connection::getStatement()
    /home/rosfus/public_html/loki/modules/main/preprocess.php	82	require_once()
    /home/rosfus/public_html/loki/lib/Flux/Template.php	334	include()
    /home/rosfus/public_html/loki/lib/Flux/Dispatcher.php	168	Flux_Template::render()
    /home/rosfus/public_html/loki/index.php	177	Flux_Dispatcher::dispatch()
    Exception Trace As String
    
    #0 /home/rosfus/public_html/loki/lib/Flux/Connection.php(81): PDO->__construct(*hidden*)
    #1 /home/rosfus/public_html/loki/lib/Flux/Connection.php(94): Flux_Connection->connect(Object(Flux_Config))
    #2 /home/rosfus/public_html/loki/lib/Flux/Connection.php(159): Flux_Connection->getConnection()
    #3 /home/rosfus/public_html/loki/modules/server/status.php(23): Flux_Connection->getStatement('SELECT COUNT(ch...')
    #4 /home/rosfus/public_html/loki/modules/main/preprocess.php(82): require_once('/home/rosfus/pu...')
    #5 /home/rosfus/public_html/loki/lib/Flux/Template.php(334): include('/home/rosfus/pu...')
    #6 /home/rosfus/public_html/loki/lib/Flux/Dispatcher.php(168): Flux_Template->render()
    #7 /home/rosfus/public_html/loki/index.php(177): Flux_Dispatcher->dispatch(Array)
    #8 {main}
    

     

    When I use asurahosting.com install FluxCP, Report overhead error codes.

     

     

    But I can connect remote by Navicat.

     

    post-16516-0-07505800-1379373355_thumb.jpg

     

    What's wrong with it?

     

     

  3. post-16516-0-70087200-1379253272_thumb.jpg

     

    Time Shoes
    ID:      22000~22011

     

    post-16516-0-25334900-1379253282_thumb.jpg

     

    Use
    6608,Coagulated Spell
    1st:    Enchet use   1 Coagulated Spell  [slot4]
    2nd:   Enchet use   4 Coagulated Spell  [slot4]
    3td:    Enchet use 15 Coagulated Spell  [slot4]
    4th:    Enchet use 30 Coagulated Spell  [slot4]

    Last:  Enchet use 10 Coagulated Spell  [slot3]

     

    post-16516-0-60935300-1379253290_thumb.jpg

     

     

    Player can choise 4 type include the following results:

     

    NO.4 Slot

                               1st.                             2nd.                             3td.                            4th. 
    Fighting Spirit:       Fighting Spirit4                    Fighting Spirit5                     Fighting Spirit6                   Fighting Spirit7
    Expert Archer:        Expert Archer1                     Expert Archer2                      Expert Archer3                    Expert Archer4
    Spell:                       Spell2                                   Spell3                                     Spell4                                   Spell5
    VIT:                           VIT+2                                    VIT+3                                      MHP+1%                              MHP+2%
    ASPD:                      ASPD1(ASPD+4%)            ASPD2(ASPD+6%)              ASPD3(ASPD+8%)            ASPD4(ASPD+10%)
    LUK:                         LUK+3                                  LUK+4                                    LUK+5                                  LUK+6

     

     

    When player second time enchent it is not change, but update.
    EX. Fighting Spirit4 upto Fighting Spirit5

     

    When player upto Fighting Spirit 7, It can enchent slot 3.


    Slot3 just on chance. Following results:

     

    NO.3 Slot
    4875,Strength of Bear
    4876,Reckless Magic
    4877,Speed of Light
    4878,Muscular Endurance
    4879,Hawk Eye
    4880,Lucky Day

     

    EX:

    post-16516-0-02351700-1379254332_thumb.jpg

     


    All of this is too hard for me , Some one can help it?

     

    function	script	glast_enchant_1	{
    //Checks
    	mes .npc$;
    	mes "----------------------------";
    	mes "我可以赋予你的时间之靴神秘的力量, 但这将花费你 "+.price1+" "+((.price1-1)?getitemname(.item)+"":getitemname(.item))+"."; next;
    	if(!getequipisequiped(6)){mes .npc$; mes "----------------------------"; mes "对不起, 但你必须将您的时间之靴装备在脚上, 我们才能继续."; close;}
    	set .@timeshoes,callfunc("timeshoes",getequipid(6));
    	if(!.@timeshoes){mes .npc$; mes "----------------------------"; mes "我只能帮你附魔时间之靴."; close;}
    	if(!countitem(.item)){ mes .npc$; mes "----------------------------"; mes "等你有了 "+getitemname(.item)+"再来找我吧."; close; }
    	if(select("- 是:- 否")&2){ mes .npc$; mes "----------------------------"; mes "好的, 随时恭候!"; close; }
    	if(countitem(.item)<.price1) { mes .npc$; mes "----------------------------"; mes "对不起, 你的 "+getitemname(.item)+"不够进行附魔, 请准备足够的材料再来."; close; }
    	set .@check1, getequipid(6);
    	if (countitem(.@check1) > 1) { mes .npc$; mes "----------------------------"; mes "看上去你背包里面有相同的时间之靴请先存放至仓库再来附魔."; close;}
    	set .@check2, getequipid(6,3);
    	if (countitem(.@check2) > 1) { mes .npc$; mes "----------------------------"; mes "您的时间之靴已经附魔过一次了, 继续附魔会清除原来的附魔结果. 如果需要升级请选择升级时间之靴附魔菜单."; close;}
    	mes .npc$;
    
    //Work 1st slot
    	if(getequipid(6)+1) {
    		delitem .item,.price;
    		set .@id, getequipid(6);
    		set .@ref, getequiprefinerycnt(6);
    		set .@card1, getequipcardid(6,0);
    		set .@card2, getequipcardid(6,1);
    		set .@card3, getequipcardid(6,2);
    		set .@card4, getequipcardid(6,3);
    		delitem2 .@id,1,1,.@ref,0,.@card1,.@card2,.@card3,.@card4;
    		getitem2 .@id,1,1,.@ref,0,.@card1,.@card2,.@card3,
    			callfunc("F_Rand", 6,
    				4808,4832,4814,4741,4869,4752
    				);
    		equip .@id;
    		misceffect 154;
    		mes "----------------------------"; mes "完成了!";
    		close;
    	}
    	mes "对不起, 但你必须将您的时间之靴装备在脚上, 我们才能继续.";
    	close;
    }
    
    function	script	glast_enchant_2	{
    
    }
    
    //NPC Constants
    //=-=-=-=-=-=-=Configuration=-=-=-=-=-=-=
        OnInit:
            set .npc$, "[ ^336699时间的奖励^000000 ]";
            set .price1, 1;
    		set .price2, 4;
    		set .price3, 15;
    		set .price4, 30;
    		set .price4, 10;
            set .item, 6608;
    		
    function	script	timeshoes	{
    	setarray .@timeshoes[0],22000,22001,22002,22003,22004,22005,22006,22007,22008,22009,22010,22011;
    	
    	for( set .@i,0; .@i < getarraysize(.@timeshoes); set .@i,.@i+1){
    		if(getarg(0)==.@timeshoes[.@i]) return 1;
    	}
    	return 0;
    }
    
    //=-=-=-=-=-=-End Configuration-=-=-=-=-=-=-=
    
  4. 1

    // Free ID's 140 - 400

    modify const.txt  

    add

    customname    399
     

     

     

    2

    modify npc.h

    find

    #define npcdb_checkid(id) ( ( (id) >= 46 && (id) <= 125) || (id) == HIDDEN_WARP_CLASS || ( (id) > 400 && (id) < MAX_NPC_CLASS ) || (id) == INVISIBLE_CLASS || ( id > MAX_NPC_CLASS2_START && id < MAX_NPC_CLASS2_END ) )
    

    replace to

    #define npcdb_checkid(id) ( ( (id) >= 46 && (id) <= 125) || (id) == HIDDEN_WARP_CLASS || ( (id) > 399 && (id) < MAX_NPC_CLASS ) || (id) == INVISIBLE_CLASS || ( id > MAX_NPC_CLASS2_START && id < MAX_NPC_CLASS2_END ) )
    

    then Compile .

     

    3

    modify lua

    find data\luafiles514\lua files\datainfo\npcidentity.lua

    add

    JT_customname = 399,
    

     

     

    4

    copy your customname.spr & customname.act file to data\sprite\npc\

     

    /no1

  5. it's fluxcp install password

     

    u can find it in  config\application.php  line:7

     

    <?php
    // This is the application configuration file. All values have been set to
    // the default, and should be changed as needed.
    return array(
    	'ServerAddress'        => 'abc.com',             	// This value is the hostname:port under which Flux runs. (e.g., example.com or example.com:80)
    	'BaseURI'              => '',                       // The base URI is the base web root on which your application lies.
    	'InstallerPassword'    => 'password',         	// Installer/updater password.
    	'RequireOwnership'     => true,                     // Require the executing user to be owner of the FLUX_ROOT/data/ directory tree? (Better for security)
    	                                                    // WARNING: This will be mostly IGNORED on non-POSIX-compliant OSes (e.g. Windows).
    

     

     

  6. I use clean SVN:17442 , tried more and more times, it still warning. 

     

    [Warning]: Unknown setting 'atk_adjustment_map' in file conf/battle/misc.conf
    [Warning]: Unknown setting 'atk_short_attack_damage_rate' in file conf/battle/misc.conf
    [Warning]: Unknown setting 'atk_long_attack_damage_rate' in file conf/battle/misc.conf
    [Warning]: Unknown setting 'atk_weapon_attack_damage_rate' in file conf/battle/misc.conf
    [Warning]: Unknown setting 'atk_magic_attack_damage_rate' in file conf/battle/misc.conf

     

    I use your other 2 source mf_noequip-bygrouplv-rA and minspeeds_com_mf_noconsume-rA , they are works very very well.

     

    Dizziness~

     

    /oops  do u have some other ways~

  7. @LatSo, I'll take a look

     

    @rosfus, did u patch it properly? manual or not? did u recompile ur server? those warnings because your battle.h & battle.c didn't read those conf vars.

     

    post-16516-0-12042700-1375938250_thumb.jpg

     

    post-16516-0-80343000-1375938269_thumb.jpg

     

    I think some thing wrong with this. 

     

    How can I fix it?

  8. ITEM 18827 VALKYRIE_CIRCLET

     

    I translation it from jRO

    1. STR +1, MDEF +3
    2. Properties and physical attacks against dark demon-shaped, monster damage +10%
    3. And [Ear_Of_Angel's_Wing ID:5074] together equipment, physical attacks a chance within 5 seconds, turned to Monster [Valkyrie Randgris ID:1891]
    4. [VALKYRIE_CIRCLET] refinery value added per upgrade it to transform into a monster [Valkyrie Randgris] chance.
    5. Transformed into a monster [Valkyrie Randgris], all the attacks of 9 cell range attacks, while HIT-10, per HP-30.

     

    Here is my approach

     

     

    ITEM SCRIPT { bonus bStr,1; bonus2 bAddRace,7,10; bonus2 bAddEle,6,10; bonus bMdef,3; }
    

     

    ITEM COMBO DB 

     

     

    18827:5074,{ autobonus "{ bonus bHit,-10; bonus2 bHPLossRate,30,1000; bonus bAtkRange,9; callfunc Item_18827;}",100,5000,BF_WEAPON,"{ specialeffect2 EF_FIRESPLASHHIT; }";}
    

     

    FUNC SCRIPT

     

    function script Item_18827 {
    initnpctimer;
    end;
    
    OnTimer10:
    atcommand "@disguise 1891"; sleep2 50000;
    end;
    
    OnTimer40000:
    atcommand "@undisguise";
    end;
    }
    

     

     

    But it has no effect, Who can help me for this?

  9. Sorry everyone, I didn't update for some newest revs, and now, finally I update it. :D

    The file is on first post

    thx a lot

    [info]: SVN Revision: '17442'

    [info]: Server supports up to '4096' concurrent connections.

    [Warning]: Not all IP addresses in map_athena.conf configured, autodetecting...

    [info]: Defaulting to 192.168.1.7 as our IP address

    [info]: Map Server IP Address : '192.168.1.7' -> '192.168.1.7'.

    [info]: Char Server IP Address : '192.168.1.7' -> '192.168.1.7'.

    [Warning]: Unknown setting 'atk_adjustment_map' in file conf/battle/misc.conf

    [Warning]: Unknown setting 'atk_short_attack_damage_rate' in file conf/battle/misc.conf

    [Warning]: Unknown setting 'atk_long_attack_damage_rate' in file conf/battle/misc.conf

    [Warning]: Unknown setting 'atk_weapon_attack_damage_rate' in file conf/battle/misc.conf

    [Warning]: Unknown setting 'atk_magic_attack_damage_rate' in file conf/battle/misc.conf

    [status]: Using SQL dbs: no

    [info]: Logging item transactions to table 'picklog'.

     

    Why Warning?

×
×
  • Create New...