Jump to content

Zero Human

Members
  • Content Count

    65
  • Joined

  • Last visited

Posts posted by Zero Human


  1. Hello everyone,

    I have found that the pets do not do any damage, even if they use skills.
    There is no miss about the monsters.

     

    How could it be fixed?!

     

    My Pet.conf settings:

    // Does the pet need its equipment before it does its skill? (Note 1)
    pet_equip_required: false
    // When the master attacks a monster, whether or not the pet will also attack. (Note 1)
    pet_attack_support: true
    // When the master receives damage from the monster, whether or not the pet attacks back. (Note 1)
    pet_damage_support: true
    // Minimum intimacy necessary for a pet to support their master. Default is 900
    // (intimacy goes from 0 to 1000). At this minimum, support rate is 50% of pet's normal value.
    // At max (1000) support rate is 150%.
    pet_support_min_friendly: 950
    // Whether or not the pet's will use skills. (Note 1)
    // Note: Offensive pet skills need at least pet_attack_support or
    // pet_damage_support to work (they trigger while the pet is attacking).
    pet_status_support: true
    // Rate at which a pet will support it's owner in battle. (Note 2)
    // Affects pet_attack_support & pet_damage_support.
    pet_support_rate: 1000
    // When pet leveling is enabled, what is the max stats for pets?
    pet_max_stats: 150
    // Does the pets owner receive exp from the pets damage?
    pet_attack_exp_to_master: true
    // The rate exp. is gained from the pet attacking monsters
    pet_attack_exp_rate: 50
    // When pet leveling is enabled, these are the imposed caps on
    // min/max damage. Note that these only cap atk1 and atk2, if you
    // enable pet_str, their max damage is then their base_atk + pet_max_atk2
    pet_max_atk1: 400
    pet_max_atk2: 500

     

    For example Zealotus:

    {
    	Id: 1200
    	Name: "Zealotus"
    	EggItem: "Zherlthsh_Egg"
    	TamingItem: "Prohibition_Red_Candle"
    	FoodItem: "Immortal_Heart"
    	HungerDecrement: 7
    	CaptureRate: 300
    	AttackRate: 1000
    	DefendRate: 100
    	ChangeTargetRate: 500
    	PetScript: <" petskillattack("AS_SONICBLOW", 1, 0, 0, 3); ">
    	EquipScript: <"
    		.@intimacy = getpetinfo(PETINFO_INTIMACY);
    		if (.@intimacy >= PET_INTIMACY_LOYAL) {
    			bonus2(bAddRace, RC_DemiPlayer, 3);
    			bonus2(bMagicAddRace, RC_DemiPlayer, 3);
    		} else if (.@intimacy >= PET_INTIMACY_CORDIAL) {
    			bonus2(bAddRace, RC_DemiPlayer, 2);
    			bonus2(bMagicAddRace, RC_DemiPlayer, 2);
    		}
    	">
    },

    asd.jpg.10cb009ecb29afc718c938424515e48f.jpg


  2. On 8/13/2020 at 2:13 PM, Dastgir said:

    It adds command @noview to disable the headgear views for users

    Aaand the next stuff. Don't know if this just me, but the command works for the whole server.
    So... if anyone use the command, the whole server can't see headgears. xD


  3. At first, thanks for the plugin release,
    but It's just me who get the const error?

     

    Quote

    noview.c: In function ‘clif_send_helper’:
    noview.c:168:49: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_idle_unit *p = (CONST_PARAMETER struct packet_idle_unit *)RBUFP(buf, 0);
                                                     ^
    noview.c:169:50: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_idle_unit *p2 = (CONST_PARAMETER struct packet_idle_unit *)RBUFP(buf_new, 0);
                                                      ^
    noview.c:175:50: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_spawn_unit *p = (CONST_PARAMETER struct packet_spawn_unit *)RBUFP(buf, 0);
                                                      ^
    noview.c:176:51: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_spawn_unit *p2 = (CONST_PARAMETER struct packet_spawn_unit*)RBUFP(buf_new, 0);
                                                       ^
    noview.c:182:52: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_unit_walking *p = (CONST_PARAMETER struct packet_unit_walking *)RBUFP(buf, 0);
                                                        ^
    noview.c:183:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_unit_walking *p2 = (CONST_PARAMETER struct packet_unit_walking *)RBUFP(buf_new, 0);
                                                         ^
    noview.c:189:53: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_viewequip_ack *p = (CONST_PARAMETER struct packet_viewequip_ack *)RBUFP(buf, 0);
                                                         ^
    noview.c:190:54: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual]
        CONST_PARAMETER struct packet_viewequip_ack *p2 = (CONST_PARAMETER struct packet_viewequip_ack *)RBUFP(buf_new, 0);
                                                          ^
    noview.c: In function ‘clif_send_sub_hook’:
    noview.c:269:6: warning: variable ‘bool_’ set but not used [-Wunused-but-set-variable]
      int bool_;
     


     


  4. I'm trying to take over the skill changes from kRO right now.
    This was changed to Sonic Blow:
    Improves damage formula, the skill will deal more damage against target who has HP lower than 50% by 50%.

    How do I declare tstatus-hp now?

     

     

    I get this error message:

    Quote

     

     error: ‘tstatus’ undeclared (first use in this function)
         if (tstatus->hp < tstatus->max_hp >> 1)

     

     

    In battle.c:

    Quote

    case AS_SONICBLOW:
                        skillratio += 300 + 40 * skill_lv;
    #ifdef RENEWAL
                    if (tstatus->hp < tstatus->max_hp >> 1)
                        skillratio += skillratio / 2;
    #endif
                        break;

     


  5. I can't tell if it's registered properly.As excample
    Anyway, make sure it's registered after you set it up.
    As example:

     

    Quote

    [10900] = {
            unidentifiedDisplayName = "Helmet",
            unidentifiedResourceName = "빨간포션",
            unidentifiedDescriptionName = { "" },
            identifiedDisplayName = "Helmet",
            identifiedResourceName = "빨간포션",
            identifiedDescriptionName = {
                "A cool helm for our gamers :D.",
                "________________________",
                "^0000CCType:^000000 Equip",
                "^0000CCWeight:^000000 7"
            },
            slotCount = 1,
            ClassNum = 0
        },

     


  6. Hey, I'm setting up a renewal classic server.
    How can I put the character hit & flee back on pre-renewal?
    I also find in renewal, the monk skill "Investigate" and the item "Ice Pick" is too weak.
    Investigate does the same damage almost everywhere, no matter if monsters have high def or use a weapon with ele/race/size cards.

    How can you increase the damage of Investigate and Ice Pick so that it is useful like in pre-renewal for high def monster.

    I found this, but not much of the damage happens when I put the formula back on pre-renewal...

    #ifdef RENEWAL
    			/**
    			* RE DEF Reduction
    			* Pierce defense gains 1 atk per def/2
    			**/
    
    			if( def1 < -399 ) // it stops at -399
    				def1 = 399; // in aegis it set to 1 but in our case it may lead to exploitation so limit it to 399
    				//return 1;
    
    			if( flag&2 )
    				damage += def1 >> 1;
    
    			if( !(flag&1) && !(flag&2) ) {
    				if( flag&4 )
    					damage -= (def1 + vit_def);
    				else
    					damage = (int)((100.0f - def1 / (def1 + 400.0f) * 90.0f) / 100.0f * damage - vit_def);
    			}
    		#else
    				if( def1 > 100 ) def1 = 100;
    				if( !(flag&1) ){
    					if( flag&2 )
    						damage = damage * pdef * (def1+vit_def) / 100;
    					else
    						damage = damage * (100-def1) / 100;
    				}
    				if( !(flag&1 || flag&2) )
    					damage -= vit_def;
    		#endif

     


  7. At the moment I have it running via a script.
    This is not about an event where monsters are to be killed once. It is about a real spawn.
    So the monsters have to spawn again after the kill.
    Like I said, it all works so far, 
    but i don't want to run every map through a script. it should go over the normal monster spawn .txt,
    which are listed under "npc/re/mobs/fields/".


  8. Hey, everybody,
    is there any way to use 2 different mobspawn.txt for the same map?
    For example,  0 am to 12 am Porings spawn on the map and 12am to 12pm disappear the Porings and Familiars spawns.
    The script calls prontera_day.txt and prontera_night.txt.

    At the moment I run monsters on the specific maps with an onEvent that spawns and changes at the desired time.
    But it would be much easier if could run it over the .txt. (npc/re/mobs/fields/prontera)

    Hope you understand what I meant. 😕


  9. Hmm.. Looks like it's a problem from hercules.
    All items with more as one itemskill not working, like Angelus Scroll what contains

    itemskill(AL_BLESSING, 5, ISF_INSTANTCAST | ISF_CASTONSELF);
    itemskill(AL_ANGELUS, 5);

     


  10. 1 hour ago, ThyroDree said:

    itemskill(AL_BLESSING, 10, ISF_INSTANTCAST | ISF_CASTONSELF), itemskill(AL_INCAGI, 10, ISF_INSTANTCAST | ISF_CASTONSELF);

    Change it to
    itemskill(AL_BLESSING, 10, ISF_INSTANTCAST | ISF_CASTONSELF); itemskill(AL_INCAGI, 10, ISF_INSTANTCAST | ISF_CASTONSELF);


  11. 1 hour ago, Kenpachi said:

    Hi.

     

    Client-side the skill IDs are defined in skillid.lub.

     

     

    ~Kenpachi

    I know, but they're all Right (original). For the 2018 clients or older, the Bragi skill effect etc. is normal,
    but from the 2019 clients on, all Bard & Dancer skill effects are different, as shown in the Pictures,
    so it must be set in the Ragexe somehow or whatever the reason may be.


  12. How can I find out the skill ID's or effects that are client-side?
    I have the problem that the 2019 clients have "wrong" skill effects for bard and dancer
    and I would like to undo this without using an older client version.

     

    I thought at first that was a source error. Here's the topic.

    hte 

    Can anyone help me out?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.