Jump to content

  •  

dreamunreal's Photo

dreamunreal

Member Since 16 Nov 2011
Offline Last Active Jun 03 2013 12:17 PM
-----

Issues I've Posted

    [RK]RK_HUNDRESPEAR formulas/cast/delay error

    Posted 8 Jan 2012

    [attachment=628:百矛.jpg]
    Translation:
    [attachment=629:百矛2.jpg]
    ra formulas:
    	case RK_HUNDREDSPEAR: {
    	  int level = status_get_lv(src);
    	  skillratio += 500 + 40 * skill_lv;
    	  if( level > 100 )
    	   skillratio += skillratio * (level - 100) / 200;
    	 }
    	 break;
    

    my fix:
    	case RK_HUNDREDSPEAR: {
    	  int level = status_get_lv(src);
    	  skillratio += 500 + 90 * skill_lv;
    	  if( level > 100 )
    	   skillratio += skillratio * (level - 100) / 200; // Base level bonus lv150 base ratio = 1750.
    	  skillratio += 50 * pc_checkskill(sd,LK_SPIRALPIERCE); //LK_SPIRALPIERCE's level bonus lv5 ratio = 250.
    	  if( sd )
    	  {
    	   short index = sd->equip_index[EQI_HAND_R];
    	   if( index >= 0 && sd->inventory_data[index] && sd->inventory_data[index]->type == IT_WEAPON )
    	   {
    		short spearwbd = 1250 - sd->inventory_data[index]->weight / 10; // Spear Weight Bonus Damage.
    		if ( spearwbd < 0 )
    		 spearwbd = 0;// If weight of weapon is more then 1250, bonus is set to 0 to prevent negative value.
    		skillratio += spearwbd;
    	   }
    	   //if(sc->data[SC_GLOOMYDAY_SK] ) // SC_LOOMYDAY_SK bonus.but I don't know how much(need more info)
    		//skillratio += 80 + (5 * sc->data[SC_GLOOMYDAY_SK]->val1);
    	  }
    	 }
    	 break;
    


    ra skill_db:
    2004,1,8,1,-1,0,0,10,-5,no,0,0,0,weapon,0, RK_HUNDREDSPEAR,Hundred Spear
    

    my fix:

    2004,5,8,1,-1,0,0,10,-5,no,0,0,0,weapon,0, RK_HUNDREDSPEAR,Hundred Spear
    


    ra cast_db:
    2004,1000,500,0,0,0,0
    

    my fix:
    2004,500,0,0,0,0,1000
    

    renters.txt dragon renter check invalid job

    Posted 29 Dec 2011

    npc/merchants/renters.txt
    line 244
    if (Class == Job_Rune_Knight || Class == Job_Rune_Knight_H || Class == Job_Baby_Rune) {
    
    line 269
    else if (Class == Job_Royal_Guard || Class == Job_Royal_Guard_H || Class == Job_Baby_Guard) {
    

    mmo.h
    line 664
    JOB_RUNE_KNIGHT_T,
    JOB_WARLOCK_T,
    JOB_RANGER_T,
    JOB_ARCH_BISHOP_T,
    JOB_MECHANIC_T,
    JOB_GUILLOTINE_CROSS_T,
    /**
      * 3.2 (2.2)
      **/
    JOB_ROYAL_GUARD,
    JOB_SORCERER,
    JOB_MINSTREL,
    JOB_WANDERER,
    JOB_SURA,
    JOB_GENETIC,
    JOB_SHADOW_CHASER,
    /**
      * 3.2 (2.2 Trans)
      **/
    JOB_ROYAL_GUARD_T,
    JOB_SORCERER_T,
    JOB_MINSTREL_T,
    JOB_WANDERER_T,
    JOB_SURA_T,
    JOB_GENETIC_T,
    JOB_SHADOW_CHASER_T,
    

    i just declare JOB_RUNE_KNIGHT_T and JOB_ROYAL_GUARD_T
    not JOB_RUNE_KNIGHT_H and JOB_ROYAL_GUARD_H

    missing const string in const.txt

    Posted 29 Dec 2011

    db/const.txt
    Job_Rune_Knight 4054
    Job_Warlock 4055
    Job_Ranger 4056
    Job_Arch_Bishop 4057
    Job_Mechanic 4058
    Job_Guillotine_Cross 4059
    Job_Rune_Knight_T 4060
    Job_Warlock_T 4061
    Job_Ranger_T 4062
    Job_Arch_Bishop_T 4063
    Job_Mechanic_T 4064
    Job_Guillotine_Cross_T 4065Job_Royal_Guard 4066
    Job_Sorcerer 4067
    Job_Minstrel 4068
    Job_Wanderer 4069
    Job_Sura 4070
    Job_Genetic 4071
    Job_Shadow_Chaser 4072
    Job_Royal_Guard_T 4073
    Job_Sorcerer_T 4074
    Job_Minstrel_T 4075
    Job_Wanderer_T 4076
    Job_Sura_T 4077
    Job_Genetic_T 4078
    Job_Shadow_Chaser_T 4079Job_Rune_Knight2 4080
    Job_Rune_Knight_T2 4081
    Job_Royal_Guard2 4082
    Job_Royal_Guard_T2 4083
    Job_Ranger2 4084
    Job_Ranger_T2 4085
    Job_Mechanic2 4086
    Job_Mechanic_T2 4087
    Job_Baby_Rune 4096
    Job_Baby_Warlock 4097
    Job_Baby_Ranger 4098
    Job_Baby_Bishop 4099
    Job_Baby_Mechanic 4100
    Job_Baby_Cross 4101
    Job_Baby_Guard 4102
    Job_Baby_Sorcerer 4103
    Job_Baby_Minstrel 4104
    Job_Baby_Wanderer 4105
    Job_Baby_Sura 4106
    Job_Baby_Genetic 4107
    Job_Baby_Chaser 4108Job_Baby_Rune2 4109
    Job_Baby_Guard2 4110
    Job_Baby_Ranger2 4111
    Job_Baby_Mechanic2 4112
    

    Humanculus_db read error

    Posted 29 Dec 2011

    mmo.h
    //Base Homun skill.
    #define HM_SKILLBASE 8001
    #define MAX_HOMUNSKILL 16
    #define MAX_HOMUNCULUS_CLASS 16 //[orn]
    #define HM_CLASS_BASE 6001
    #define HM_CLASS_MAX (HM_CLASS_BASE+MAX_HOMUNCULUS_CLASS-1)
    

    humanculus.c
    if (classid < HM_CLASS_BASE || classid > HM_CLASS_MAX)
    {
      ShowError("read_homunculusdb : Invalid class %d\n", classid);
      return false;
    }
    

    humanculus_db.txt
    6001,6009,Lif,537,60000,0,1,7,0,700,150,40,17,20,15,35,24,12,60,100,4,9,5,19,5,19,5,19,4,20,6,20,6,20,1,10,10,20,1,5,1,4,1,5,4,10,1,10,1,3
    6002,6010,Amistr,912,60000,0,1,2,0,700,320,10,20,17,35,11,24,12,80,130,1,4,8,20,4,20,4,20,1,10,3,19,3,19,10,20,1,10,1,10,1,5,4,10,1,3,1,4,1,5
    6003,6011,Filir,910,60000,0,1,2,0,700,90,25,29,35,9,8,30,9,45,75,3,6,4,20,8,20,1,10,3,19,4,20,3,19,5,15,5,15,4,10,1,10,1,3,1,4,1,5,1,5
    6004,6012,Vanilmirth,911,60000,0,1,0,0,700,80,11,11,11,11,11,11,11,30,150,0,7,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,10,1,10,1,10,1,10,1,10,1,10
    6005,6013,Lif,537,60000,0,1,7,0,700,150,40,17,20,15,35,24,12,60,100,4,9,5,19,5,19,5,19,4,20,6,20,6,20,1,10,10,20,1,5,1,4,1,5,4,10,1,10,1,3
    6006,6014,Amistr,912,60000,0,1,2,0,700,320,10,20,17,35,11,24,12,80,130,1,4,8,20,4,20,4,20,1,10,3,19,3,19,10,20,1,10,1,10,1,5,4,10,1,3,1,4,1,5
    6007,6015,Filir,910,60000,0,1,2,0,700,90,25,29,35,9,8,30,9,45,75,3,6,4,20,8,20,1,10,3,19,4,20,3,19,5,15,5,15,4,10,1,10,1,3,1,4,1,5,1,5
    6008,6016,Vanilmirth,911,60000,0,1,0,0,700,80,11,11,11,11,11,11,11,30,150,0,7,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,10,1,10,1,10,1,10,1,10,1,10
    6048,6048,Eira,6098,60000,1,1,7,0,700,150,40,17,20,15,35,24,12,60,100,4,9,5,19,5,19,5,19,4,20,6,20,6,20,1,10,10,20,1,5,1,4,1,5,4,10,1,10,1,3
    6049,6049,Bayeri,6112,60000,1,1,2,0,700,320,10,20,17,35,11,24,12,80,130,1,4,8,20,4,20,4,20,1,10,3,19,3,19,10,20,1,10,1,10,1,5,4,10,1,3,1,4,1,5
    6050,6050,Sera,6108,60000,1,1,4,0,700,90,25,29,35,9,8,30,9,45,75,3,6,4,20,8,20,1,10,3,19,4,20,3,19,5,15,5,15,4,10,1,10,1,3,1,4,1,5,1,5
    6051,6051,Dieter,6104,60000,1,1,0,0,700,80,11,11,11,11,11,11,11,30,150,0,7,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,30,1,10,1,10,1,10,1,10,1,10,1,10
    6052,6052,Elanor,6094,60000,1,1,2,0,700,320,10,20,17,35,11,24,12,80,130,1,4,8,20,4,20,4,20,1,10,3,19,3,19,10,20,1,10,1,10,1,5,4,10,1,3,1,4,1,5
    


    humanculus class from 6048 to 6052 can't read,.

    atk/def/mdef formulas error

    Posted 25 Dec 2011

    test character:
    job: assassin   blv: 95  jlv: 50
    cRO screenshot:
    [attachment=454:官服截图.jpg]

    ra screenshot:
    [attachment=457:rabug.jpg]

    here is my fix screenshot:
    [attachment=456:myfix.jpg]

    Unfortunately, I still have a bug in my fix
    bonus bmdef is ignored and wepon atk calc is plus in base atk when login.

    But when I unequip the equipment
    Re-wear, everything related to cro the same.

    here is my diff:
    [attachment=458:ra21_44.patch]

    I hope that my test be helpful for your work.

    sorry for my bad english.

column Hosted by SourceForge.net