Jump to content

anjasoleil0

Members
  • Content Count

    77
  • Joined

  • Last visited

Posts posted by anjasoleil0


  1.  

     

     

     

     

    Wah ..

    What do you means by 

     

     

    I'm upgrading because if the infamous bug with gtx 750 and 970 video cards where you have to CTRL + ALT + DELETE and cancel so sprites wont look... pixelated (more pixelated that is).

     

    https://forums.geforce.com/default/topic/788049/750ti-graphics-issues-in-ragnarok-online/

     

    black boxes on map textures. Anti-aliasing error (I assume). It can easily be resolved by CTRL + ALT + DELETE then ESC. But it errors everytime I close the client. Which is really bothersome because I'm not sure if I'm getting error because of my graphics' issue or it's because of something else.

     

    Do you have bug on @disguise in 20150513? After I move (when disguised) once, and try to move again, the sprite stays on that location (other players can see my sprite moving though).

     

    Wow. Weird problem in gtx. 

    I dont have any GC but no problem. Hihi.

    Nope. I dont get the problem.. Are you using the latest translation ? 

     

    I am, latest svn too. Translation; like, data translation? Could it be a problem with my clientinfo? what  <version> and <langtype> should I use?

     

    Yeah data translation. are you using the latest one ?  Im using langtype 6 and its work good. and the  version im using 46

     

    Didn't work. It's a clean client, clean svn. Not sure why this happens. Perhaps a problem with the diff? But I only selected the recommended diffs.


  2.  

     

     

    Wah ..

    What do you means by 

     

     

    I'm upgrading because if the infamous bug with gtx 750 and 970 video cards where you have to CTRL + ALT + DELETE and cancel so sprites wont look... pixelated (more pixelated that is).

     

    https://forums.geforce.com/default/topic/788049/750ti-graphics-issues-in-ragnarok-online/

     

    black boxes on map textures. Anti-aliasing error (I assume). It can easily be resolved by CTRL + ALT + DELETE then ESC. But it errors everytime I close the client. Which is really bothersome because I'm not sure if I'm getting error because of my graphics' issue or it's because of something else.

     

    Do you have bug on @disguise in 20150513? After I move (when disguised) once, and try to move again, the sprite stays on that location (other players can see my sprite moving though).

     

    Wow. Weird problem in gtx. 

    I dont have any GC but no problem. Hihi.

    Nope. I dont get the problem.. Are you using the latest translation ? 

     

    I am, latest svn too. Translation; like, data translation? Could it be a problem with my clientinfo? what  <version> and <langtype> should I use?


  3.  

    Wah ..

    What do you means by 

     

     

    I'm upgrading because if the infamous bug with gtx 750 and 970 video cards where you have to CTRL + ALT + DELETE and cancel so sprites wont look... pixelated (more pixelated that is).

     

    https://forums.geforce.com/default/topic/788049/750ti-graphics-issues-in-ragnarok-online/

     

    black boxes on map textures. Anti-aliasing error (I assume). It can easily be resolved by CTRL + ALT + DELETE then ESC. But it errors everytime I close the client. Which is really bothersome because I'm not sure if I'm getting error because of my graphics' issue or it's because of something else.

     

    Do you have bug on @disguise in 20150513? After I move (when disguised) once, and try to move again, the sprite stays on that location (other players can see my sprite moving though).


  4. Okay, hi! I'm wondering which 2015 client is stable enough (and hercules supported) should I use? Can you give me a link to it? Thanks!

     

    I'm upgrading because if the infamous bug with gtx 750 and 970 video cards where you have to CTRL + ALT + DELETE and cancel so sprites wont look... pixelated (more pixelated that is).

     

    Thanks in advance!


  5. Okay. Here we go. I used this diff below so whenever I fakename, the guild/party will still be visible, but the problem is i can't invite the fakenamed player to a guild/party. Any solutions?

     

     

    Index: map\clif.c
    ===================================================================
    --- map\clif.c    (revision 15686)
    +++ map\clif.c    (working copy)
    @@ -8177,9 +8177,9 @@
                     WBUFW(buf, 0) = cmd = 0x195;
                     memcpy(WBUFP(buf,6), ssd->fakename, NAME_LENGTH);
                     WBUFB(buf,30) = WBUFB(buf,54) = WBUFB(buf,78) = 0;
    -                break;
    +            } else {
    +                memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);
                 }
    -            memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);
     
                 if( ssd->status.party_id )
                 {
    @@ -8297,14 +8297,16 @@
     
         nullpo_retv(ssd);
     
    -    if( ssd->fakename[0] )
    -        return; //No need to update as the party/guild was not displayed anyway.
    -
         WBUFW(buf,0) = cmd;
         WBUFL(buf,2) = ssd->bl.id;
     
    -    memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);
    -            
    +    if( ssd->fakename[0] )
    +    {
    +        memcpy(WBUFP(buf,6), ssd->fakename, NAME_LENGTH);
    +    } else {
    +        memcpy(WBUFP(buf,6), ssd->status.name, NAME_LENGTH);
    +    }
    +
         if (!battle_config.display_party_name) {
             if (ssd->status.party_id > 0 && ssd->status.guild_id > 0 && (g = guild_search(ssd->status.guild_id)) != NULL)
                 p = party_search(ssd->status.party_id);
     

     


  6. Try navigating to the function clif_monster_hp_bar in clif.c and add a condition for the mob to be a mvp. Something like md->state.boss

    void clif_monster_hp_bar( struct mob_data* md, struct map_session_data *sd ) {
    	struct packet_monster_hp p;
    	
    	nullpo_retv(md);
    	nullpo_retv(sd);
            if(md->state.boss){
    	   p.PacketType = monsterhpType;
    	   p.GID = md->bl.id;
    	   p.HP = md->status.hp;
    	   p.MaxHP = md->status.max_hp;
    
    	   clif->send(&p, sizeof(p), &sd->bl, SELF);
            }
    }
    

    PD: Don't forget to recompile.

     

    Where will i put 'md->state.boss'? I don't wanna mess things up. Thanks :D

    Try navigating to the function clif_monster_hp_bar in clif.c and add a condition for the mob to be a mvp. Something like md->state.boss

    void clif_monster_hp_bar( struct mob_data* md, struct map_session_data *sd ) {
    	struct packet_monster_hp p;
    	
    	nullpo_retv(md);
    	nullpo_retv(sd);
            if(md->state.boss){
    	   p.PacketType = monsterhpType;
    	   p.GID = md->bl.id;
    	   p.HP = md->status.hp;
    	   p.MaxHP = md->status.max_hp;
    
    	   clif->send(&p, sizeof(p), &sd->bl, SELF);
            }
    }
    

    PD: Don't forget to recompile.

     

     

    I assume it would look something like this? 

     

    void clif_monster_hp_bar( struct mob_data* md, struct map_session_data *sd ) {
        if( md->state.boss ){
        struct packet_monster_hp p;
     
        nullpo_retv(md);
        nullpo_retv(sd);
        p.PacketType = monsterhpType;
        p.GID = md->bl.id;
        p.HP = md->status.hp;
        p.MaxHP = md->status.max_hp;
        clif->send(&p, sizeof(p), &sd->bl, 

     

    I tried it, it still shows normal mob's HP


  7. On my pvp map, when you die, a dialogue box will appear asking if you want to be respawned or go back to his/her savepoint.

    But when he's resurrected (or @alive'd) the npc is still attached. and you can still use the npc. I hope my english is good enough for you guys to understand.

    basically, how do we disable the npc when the player gets resurrected. Any ideas?


  8. // Valid range of dyes and styles on the client.
    min_hair_style: 0
    max_hair_style: 30
    min_hair_color: 0
    max_hair_color: 100
    min_cloth_color: 0
    max_cloth_color: 100
    min_body_style: 0
    max_body_style: 4
    

    The problem is, I have 168 hair styles, and it errors when I change the hair color when the hair style is past 99


  9.  

     
     
    // credits to Annieruru
    function    script    ValueConvert    {
        set .@num, atoi(""+getarg(0));
        if ( .@num == 0 || .@num >= 2147483647 ) return getarg(0);
        set .@l, getstrlen(""+.@num);
        for ( set .@i,0; .@i < .@l; set .@i, .@i + 1 ) {
            set .@num$, .@num % pow(10,.@i+1) / pow(10,.@i) + .@num$;
                if ( (.@i+1) % 3 == 0 && .@i+1 != .@l ) set .@num$, ","+ .@num$;
        }
        return .@num$;
    }
     
     
    -    script    Stylist    FAKE_NPC,{
    OnTalk:
        @style = ( select( .npc_menu$ ) - 1 );
        @style_value = getlook( .look_type[@style] );
        deletearray .@blacklist;
        switch( @style ){
            case 0: .@blacklist$ = ","+getd( ".blacklist_hairstyle_"+Sex+"$" )+","; break;
            case 1: .@blacklist$ = ","+getd( ".blacklist_haircolor_"+Sex+"$" )+","; break;
            case 2: .@blacklist$ = ","+getd( ".blacklist_cloth_"+Sex+"$" )+","; break;
            default: break;
        }
     
        .@style_number = .min_style[@style];
     
        addtimer 1000,strnpcinfo(0)+"::OnPCLogoutEvent";
        do{
            message strcharinfo(0),.menu_name$[@style]+" : "+.@style_number+"th";
            .@removed = 0;
            if( compare( .@blacklist$,","+.@style_number+"," ) ){
                message strcharinfo(0),"[ REMOVED ] "+.menu_name$[@style]+" : "+.@style_number+"th";
                .@removed = 1;
                // setlook .look_type[@style],.min_style[@style];
            }else{
                setlook .look_type[@style],.@style_number;
            }
            
            .@next = .@style_number + 1;
            .@prev = .@style_number - 1;
            if( .@next > .max_style[@style] ) .@next = .min_style[@style];
            if( .@prev < .min_style[@style] ) .@prev = .max_style[@style];
            
            @select = prompt( (( .@backward )?"Backward":"Forward" )+" - [ ^777777"+(( .@backward )? .@prev:.@next )+"th Style^000000 ]",
                        (( !.@backward )?"Backward":"Forward" )+" - [ ^777777"+(( !.@backward )? .@prev:.@next )+"th Style^000000 ]",
                        "Jump to a Style",
                        ( .@removed )?"":"^0055FFOkay, I want this "+.menu_name$[@style]+"^000000" );
                        
            if( @select == 2 ) .@backward = !.@backward;
            
            switch( @select ){
                case 1:    
                case 2:
                    .@style_number = (( .@backward )? .@prev:.@next );
                    break;
                case 3:    
                    message strcharinfo(0),"Available Style : "+.min_style[@style]+" ~ "+.max_style[@style]+".";
                    input .@style_number,.min_style[@style],.max_style[@style];
                    break;
                case 4:
                    .@atoi_currency = atoi( .currency$[@style] );
                    if( @style_value == .@style_number ){
                        message strcharinfo(0),"Swt..that is your original hairstyles.";
                        break;
                    } else if( .@atoi_currency ){
                        if( countitem( .@atoi_currency ) >= .cost[@style] ){
                            .@success = 1;
                            delitem .@atoi_currency,.cost[@style];
                        }
                    }else{
                        if( getd( ""+.currency$[@style] ) >= .cost[@style] ){
                            .@success = 1;
                            setd( ""+.currency$[@style] ),( getd( ""+.currency$[@style] ) - .cost[@style] );
                        }
                    }
                    if( .@success ){
                        message strcharinfo(0),"Enjoy your NEW "+.menu_name$[@style]+" !!";
                        @style_value = .@style_number;
                    }else{
                        mes "You dont have enough "+.currency_name$[@style]+" to change this "+.menu_name$[@style]+".";
                        mes "Cost : ^777777"+ValueConvert( .cost[@style] )+" "+.currency_name$[@style]+"^000000";
                        close2;
                    }
     
                default:
                    setlook .look_type[@style],@style_value;
                    break;
            }
        }while( @select != 4 && @select != 255 );
        mes "Come back again next time. ^^";
        @select = 0;
        close2;
        deltimer strnpcinfo(0)+"::OnPCLogoutEvent";
     
    OnPCLogoutEvent:
        if( @select )
            setlook .look_type[@style],@style_value;
        end;
        
    OnInit:
        // NPC Mode ( Bitmask )
        //    1 - Enable Hairstyle
        //    2 - Enable Hair Color
        //    4 - Enable Cloth Color
        .npc_mode = 7;
        
        // Menu Name
        setarray .menu_name$,
            "Hair Style",
            "Hair Color",
            "Cloth Color";
        
        // Payment Currency + Cost
        // Can be ITEM ID or Any Variable.
        setarray .currency$,
            "Zeny",    //    Hairstyle - Ex. need Zeny
            "Zeny",    //    Hair Color - Ex. need Zeny
            "Zeny";    //    Cloth Color - Ex. need Zeny
            
        setarray .cost,
            0,    //    Hairstyle ( 10,000 Zeny )
            0,    //    Hair Color ( 10,000 Zeny )
            0;    //    Cloth Color ( 10,000 Zeny )
            
        // Blacklisted Style for each style and each gender.
        // --- Female ---
        .blacklist_hairstyle_0$ = "0";
        .blacklist_haircolor_0$ = "0";
        .blacklist_cloth_0$ = "0";
        // --- Male ---
        .blacklist_hairstyle_1$ = "0";
        .blacklist_haircolor_1$ = "0";
        .blacklist_cloth_1$ = "0";
     
        // Dont edit
        setarray .min_style,getbattleflag( "min_hair_style" ),getbattleflag( "min_hair_color" ),getbattleflag( "min_cloth_color" );
        setarray .max_style,getbattleflag( "max_hair_style" ),getbattleflag( "max_hair_color" ),getbattleflag( "max_cloth_color" );
        .menu_size = getarraysize( .menu_name$ );
        .cost_size = getarraysize( .cost );
        setarray .look_type,LOOK_HAIR,LOOK_HAIR_COLOR,LOOK_CLOTHES_COLOR;
        for( .npc_menu$ = ""; .@i < .menu_size; .@i++ )
            .npc_menu$ = .npc_menu$ + ( ( .npc_mode & ( 1 << .@i ) )? .menu_name$[.@i]:"" ) +":";
        for( .@i = 0; .@i < .cost_size; .@i++ ){
            .@atoi = atoi( .currency$[.@i] );
            .currency_name$[.@i] = ( ( !.@atoi || getitemname( .@atoi ) == "null" )? .currency$[.@i]:getitemname( .@atoi ) );
        }
        end;
     
    }
     
     
     
     

     

    How do I disable hair-color-changing if the hairstyle is past 100?

×
×
  • Create New...

Important Information

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