Jump to content

OscarScorp

Members
  • Posts

    217
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by OscarScorp

  1. Hello everyone,

     

    I need help finding a way for a Script NPC to detect if an item is Rental.

    Reason: I need an NPC who separates cards from equipment, but I don't want to let players separate cards from Rental equipments.

     

    If you need more information, please comment.

    Thanks in advance.

  2. Hello again, sorry for reviving thread (was out on vacations). Issue still occurs.

     

    Note: I am using Client 2014-10-22bRagexe_patched.exe

     

    I don't understand why is this happening and I don't want my users to get the error every time they try to change clothes color.

    Issue occurs when:

    - Changing colors while mounting Peco (tested with Crusader class)

    - Changing colors above #4 palette with Kagerou / Rebellion

     

    What I did first was downloaded this 553/251 Old Dyes / Palette pack from KamiShi: https://rathena.org/board/topic/75214-palette-553251-old-dyes-palettes-working-all-classes/

     

    But the issue mentioned above started to happen.

     

    Then I tried manually duplicating the Kagerou #4 palette all up until #553 (max). Which is a "solution", but all palettes are the same. I thought KamiShi's pack would have all Kagerou/Oboro and Rebellion color support.

     

    Not sure what I'm doing wrong, or if it's the new Client which can't show or locate Crusader+Peco, Kagerou/Oboro and Rebellion color palettes.

    It may be a problem with how every file and folder are named? ("¸Ó¸®" or "머리").

    Is there any way to actually find the real issue? :(  Should I be posting somewhere else?

     

    Sorry and thanks for the help, I really appreciate it.

  3. Hey Tokei thanks for your replies and great help.

     

    I am sorry I wasn't clear as how I have my client-side data. I do not have a Data folder, so I don't have the Read Data Folder first option turned on.

    I have multiple GRFs, but they are not inside any folder. These grfs are in the same address as my Ragnarok Folder.

    fe7066194adabb7b2499a73f4eb24038.png

    and many more files within the Ragnarok folder, including BGM, System, Emblem etc.

     

    I can show you my extracted GRF. The folder is in Desktop, the whole address is:

    \Desktop\data\palette\

     

    folders inside palette folder:

    머리

     

    Files inside 몸 folder:

     

    0b17f35e6c646efa4b562f079f4561c7.png9c4e371ba7e6dc809439cedb0ebe74c0.png

     

    20,308 files for cloth palettes.

     

    I do not have my Windows set up so I can show it as you have. Hope I describe everything. If there's anything I'm missing please let me know.

  4. Here's how I have it in my directory. No Data folder, all grfs and data.ini files in Program Files\Ragnarok\ folder.

    fe7066194adabb7b2499a73f4eb24038.png

     

    Here's my data.ini:

    [Data]
    0=mdesperado.grf //new maps
    1=bdesperado.grf //small grf for updates
    2=hr_desperado.grf //a pack of maps for specific area
    3=ddesperado.grf //cloth and hair palettes
    4=ndesperado.grf //basic grf
    5=desperado.grf //basic grf
    6=rdata.grf
    7=data.grf
    

    Note: I just typed the comments to show here in the forum, they aren't really in my data.ini file.

     

    I do have all palettes, and I'm trying with Kagerou number 4:

     

    Directory: data\palette\몸\

    c45a755200f24111d481a2acb0fe5b99.pngand so on.

  5. I do have it in korean, all of the palettes:
    data\palette\몸\kagerou_남_4.pal

     

    So what should I change in the clientinfo in order for this to work?

     

    Here's my clientinfo

    <?xml version="1.0" encoding="euc-kr" ?>
    <clientinfo>
    <servicetype>korea</servicetype>
    <servertype>primary</servertype>
       <connection>
          <display>Desperado RO</display>
          <balloon>Rates 10x10x10x</balloon>
          <desc>Yeah</desc>
          <address>XXXXXXXXX</address>
          <port>6900</port>
          <version>51</version>
          <langtype>8</langtype>
          <registrationweb>websiteXXXXXXX</registrationweb>
            <aid>
                <admin>2000000</admin>
    			<admin>2000001</admin>
    			<admin>2000002</admin>
            </aid>
            <loading>
                <image>loading00.jpg</image>
    			<image>loading01.jpg</image>
    			<image>loading02.jpg</image>
    			<image>loading03.jpg</image>
    			<image>loading04.jpg</image>
    			<image>loading05.jpg</image>
    			<image>loading06.jpg</image>
    			<image>loading07.jpg</image>
    			<image>loading08.jpg</image>
            </loading>
       </connection>
    </clientinfo>
    
    
  6. I apologize in advance if this isn't the right section to post this, but I can't find the reason why this happens and might happen in Client-side.

     

    When changing palette colors (clothes only) this appears:

     

    4868981d25428562882e84a56d4dd680.png

     

    The characters are in Chinese, when I have all the palettes in the GRF, but in Korean characters. Why is it looking for an address in Chinese instead of Korean? Where can I change this?

     

    I do have all the palettes in a grf in this folder:

    - Hair: 머리

    - Clothes: 몸

     

    Thanks in advance.

  7. Map server crashes whenever an enemy such as Osiris or Tatacho casts Quagmire on a Player.

    I am sure this happens because I've made modifications to the script and activated PvP mode on the server.

     

    What I modified (or what I remember I modified):

    NOTE: These modifications were made in order to implement a command to switch between PKmode ON/OFF, plus enabling players to cast Party Buffs such as Magnificat within parties without the need to be in pkmode, since it did not worked if the players were not in pkmode. Now it works, players can cast party buffs regardless if the pkmode safety is on or off.

     

    NOTE2: Skills such as Quagmire, Hunter traps, Demonstration also damages the caster. This probably also affects the enemy and this is why it crashes (assumption).

     

    NOTE3: As a temporary "fix", we've disabled Quagmire skill on all mobs, although I would like this to be fixed instead.

     

    atcommand.c

    /*==========================================
    * @pk by : java modified PKMODE
    *------------------------------------------*/
    ACMD_FUNC(playerkilling)
    {
    	nullpo_retr(-1, sd);
    	
    	if (!sd->state.pk_mode) {
    	sd->state.pk_mode = 1;
    	clif_displaymessage(sd->fd, "PK mode OFF. You're safe, for now...");
    	} else {
    	sd->state.pk_mode = 0;
    	clif_displaymessage(sd->fd, "<Player Killing (PK) ON>");
    	}
    	return 0;
    }
    
    ACMD_DEF(cloneequip),
    ACMD_DEF(clonestat),
    ACMD_DEF(playerkilling),
    

    battle.c

    switch( t_bl->type ) { //Checks on target master
    		case BL_PC: {
    			struct map_session_data *ssd=BL_CAST(BL_PC,s_bl);//custom; added ssd for enabling use of support skills on party members in pvp maps, stores map_session_data for source of attack/skill
    			struct map_session_data *sd;
    			struct status_change *sc = NULL;
    
    			if( t_bl == s_bl )
    				break;
    
    			sd = BL_CAST(BL_PC, t_bl);
    			sc = status_get_sc(t_bl);
    
    			if( (sd->state.monster_ignore || (sc->data[SC_KINGS_GRACE] && s_bl->type != BL_PC)) && flag&BCT_ENEMY )
    				return 0; // Global immunity only to Attacks
    			if( map[m].flag.pvp && sd->state.pk_mode==1 && flag&BCT_ENEMY && s_bl->type != BL_MOB ){
    				if(sd->status.party_id==ssd->status.party_id)
    					state|=BCT_PARTY;
    				else
    					return 0;}//end custom	//Desperado RO pkmode
    				//return 0;
    			
    			if( sd->status.karma && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->status.karma )
    				state |= BCT_ENEMY; // Characters with bad karma may fight amongst them
    			if( sd->state.killable ) {
    				state |= BCT_ENEMY; // Everything can kill it
    				strip_enemy = 0;
    			}
    			break;
    		}
    

    skill.c

    case AL_ANGELUS:
    	case PR_MAGNIFICAT:
    	case PR_GLORIA:
    	case SN_WINDWALK:
    	case CASH_BLESSING:
    	case CASH_INCAGI:
    	case CASH_ASSUMPTIO:
    	case WM_FRIGG_SONG:
    		//Desperado RO edit
    		if( sd == NULL || sd->status.party_id == 0 || (flag & 1) )
    			clif_skill_nodamage(bl, bl, skill_id, skill_lv, sc_start(src,bl,type,100,skill_lv,skill_get_time(skill_id,skill_lv)));
    		else if( sd )
    			party_foreachsamemap(skill_area_sub, sd, skill_get_splash(skill_id, skill_lv), src, skill_id, skill_lv, tick, flag|BCT_PARTY|1, skill_castend_nodamage_id);
    		break;
    
    //line 12175
    
    
    case WZ_QUAGMIRE:	//The target changes to "all" if used in a gvg map. [Skotlex]
    	case AM_DEMONSTRATION:
    	case GN_HELLS_PLANT:
    		if( skill_id == GN_HELLS_PLANT && map_getcell(src->m, x, y, CELL_CHKLANDPROTECTOR) )
    			return NULL;	
    		if (map_flag_vs(src->m) && battle_config.vs_traps_bctall
    			&& (src->type&battle_config.vs_traps_bctall))
    			target = BCT_ALL;
    		break;
    

    If there's anything I am missing, please let me know and I'll post the code.

    Your help will be greatly appreciated.

    Thanks in advance!

  8. Forgive me if this isn't the right place to post this issue.

    I have encountered 2 crash issues after using the new client 2014-10-22.

    1.- Crash when changing color to the new Palettes, but this only happens on some classes such as Kagerou, Rebellion and when a Crusader changes its color while riding a Peco. Without a Peco there is no issue. ¿Does this means the Client does not supports some colors on the Palette? I am unable to select the 'Ignore Missing Palette Error' (Ignore Missing Palette Error: Failed in part 1). Using NEMO.
    Crash happens to everyone looking at the user changing to that palette as well.

    2.- When a user tries to feed a Poring pet, there's no problem. But if the Poring has a cute pet armor equipped (Backpack), the user's Client crashes.

    *Solved thanks to Kakaroto, comment below

    I am thinking these issues only happen with the new Client, please correct me if I'm wrong.

    Thanks in advance.

  9. Client crashes when a player changes to some palette colors, and everyone who sees the player logging in, their client crashes as well.

     

    Odd thing is, when the player tries to log in, he is able to see his characters with no issue.

    rEWlZog.png

     

    But once he enters the game, client crashes, showing up multiple errors:

     

    TyH784P.png

     

    I thought it was because I have not increased my palettes and styles amount, but I have:

     

    conf/battle/client.conf

    // Valid range of dyes and styles on the client.
    min_hair_style: 0
    max_hair_style: 73
    min_hair_color: 0
    max_hair_color: 263
    min_cloth_color: 0 
    max_cloth_color: 553

    I can change color with other characters to a high number, but it appears some Jobs get an error.

     

    Do I have an updated palette.grf ? Do you recommend me any palette pack with 3rd classes, Kagerou/Oboro and Rebellion support?

     

    rAthena updated to: SVN r 17726

    Using client: 2014-10-22

     

    EDIT:

    I am now 90% sure of the issue: The current palette does not support Peco sprite coloring. This is why I am able to see his character in the Login screen but upon entering to the game it crashes, because the player was riding a Peco (had to reset its colors in CP).

    I am looking for a solution for this, or a palette.grf if anybody knows.

     

    This is a critical error, please, any help will be appreciated! :)

  10. I have a PK (PvP) server, which lets players kill each other in any map enabled in mapflag.

    I also implemented a PK protection command, which lets players not get hit by anyone nor hit anyone. The command can be used to enable PKmode and start hitting other players.

     

    Issue here is, party-supportive skills such as Magnificat won't apply to other players in party if the players are under the @pk protection, but if they enable @pkmode, the Magnificat skill works.

     

    The @pk protection command was taken from here: https://rathena.org/board/topic/65606-pk-mode-onoff/

     

    Is there anything I'm not seeing under this script which makes players not able to use party-supportive skills while under the @pk-protection?

     

    Thanks in advance.

  11. I'm sorry if this isn't the right place to post this type of error. Not sure if it's client-side or a script.

     

    Client crashes upon feeding Poring pet with Cute Pet Armor.

    If the Poring pet has no Cute Pet Armor equipped (Backpack), it won't crash.

     

    Also Poring does not pick up items.

     

    ¿Any idea why would this be happening?

     

    rAthena updated to: SVN r 17726

    Using client: 2014-10-22

  12. Thanks ZERO!

     

    I did not have that on Player, only on the GM section and it was set to 'false', although, resetting the conf/groups.conf file to an older version I had solve the problem. I probably made a mistake somewhere in the Player section and it read everything on the script.

     

    You've sold my issue! All hail Zero!(?)  /ok

×
×
  • Create New...