Jump to content

joven15

Members
  • Content Count

    152
  • Joined

  • Last visited

Posts posted by joven15


  1. Hi Guys can u please help me. i have a problem on my server files. first of all i want you to know that i do a add custom map. but when i follow the custom_map on rathena. i got some many error on my map server when i run the run-server.bat something popup the map_name etc. is corrupted. so i think that i need to recompile it on visual c++ but when try to build solution. there's something happen. or error and skkip to build. then after that i got this error. can anyone help me.?

     

     

    1>------ Skipped Build: Project: plugin-sample, Configuration: Debug Win32 ------
    1>Project not selected to build for this solution configuration 
    2>------ Build started: Project: mapcache, Configuration: Debug Win32 ------
    3>------ Build started: Project: map-server, Configuration: Debug Win32 ------
    4>------ Build started: Project: login-server, Configuration: Debug Win32 ------
    2>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
    5>------ Build started: Project: char-server, Configuration: Debug Win32 ------
    4>     Creating library ..login-server.lib and object ..login-server.exp
    4>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
    6>------ Skipped Build: Project: plugin-HPMHooking, Configuration: Debug Win32 ------
    6>Project not selected to build for this solution configuration 
    3>     Creating library ..map-server.lib and object ..map-server.exp
    3>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
    5>     Creating library ..char-server.lib and object ..char-server.exp
    5>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
    ========== Build: 0 succeeded, 4 failed, 0 up-to-date, 2 skipped ==========

     


  2.  

    you don't need to do this.

    setarray .@styles[1],553,57,251;

    all you need to do is to edit your confbattleclient.conf.

     

    and bring back this script to default one.

    	setarray .@Styles[1],getbattleflag("max_cloth_color"),getbattleflag("max_hair_style"),getbattleflag("max_hair_color");	setarray .@Look[1],LOOK_CLOTHES_COLOR,LOOK_HAIR,LOOK_HAIR_COLOR;

    Thanks. its working now. i really appreciate.


  3. the npc doing fine and no error but when i try to use change hair style. nothing happen like the command of @style on the script isnt working. but when i try to use @hstyle is working.

     

    //===== Hercules Script ======================================
    //= Stylist
    //===== By: ==================================================
    //= Euphy
    //===== Current Version: =====================================
    //= 1.1
    //===== Description: =========================================
    //= Changes your hair style, hair color, and cloth color.
    //===== Additional Comments: =================================
    //= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy]
    //============================================================
     
    prontera,161,191,4 script Stylist#custom_stylist 2_M_DYEINGER,{
     
    setarray .@styles[1],getbattleflag("max_cloth_color"),getbattleflag("max_hair_style"),getbattleflag("max_hair_color");
    setarray .@Look[1],553,57,251;
    set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color");
    set .@Revert, getlook(.@Look[.@s]);
    set .@style,1;
    while(1) {
    setlook .@Look[.@s], .@style;
    message strcharinfo(0),"This is style #"+.@style+".";
    set .@menu$, " ~ Next (^0055FF"+((.@style!=.@styles[.@s])?.@style+1:1)+"^000000): ~ Previous (^0055FF"+((.@style!=1)?.@style-1:.@styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)";
    switch(select(.@menu$)) {
    case 1: set .@style, ((.@style!=.@styles[.@s])?.@style+1:1); break;
    case 2: set .@style, ((.@style!=1)?.@style-1:.@styles[.@s]); break;
    case 3: message strcharinfo(0),"Choose a style between 1 - "+.@styles[.@s]+".";
    input .@style,0,.@styles[.@s];
    if (!.@style) set .@style, rand(1,.@styles[.@s]);
    break;
    case 4: set .@style, .@Revert; setlook .@Look[.@s], .@Revert; break;
    }
    }
    }
     

     


  4.  

    The code get the value from conf/battle/client.conf in this line

     

     

    setarray .@styles[1],getbattleflag("max_cloth_color"),getbattleflag("max_hair_style"),getbattleflag("max_hair_color"); 

     

    you can edit it there, or you can edit this line and make it like the follow

     

     

    setarray .@styles[1],553,57,251; 

    Thanks for this. but when i used the npc nothing happen like as in nothing change. what do i mean is when i try to change the hair style, color cloth and hair color nothing happen. but i saw the range of the value of the npc is correct. seems the changes of the above is working. but when i try it, nothing happen. seems the @style on the script isnt working.. and when i try to used a @hstyle on the gm command. is working the palletes.


  5.  

     //===== Hercules Script ======================================
    //= Stylist
    //===== By: ==================================================
    //= Euphy
    //===== Current Version: =====================================
    //= 1.1
    //===== Description: =========================================
    //= Changes your hair style, hair color, and cloth color.
    //===== Additional Comments: =================================
    //= 1.1 Switched to 'getbattleflag', credits to Saithis. [Euphy]
    //============================================================
     
    prontera,161,191,4 script Stylist#custom_stylist 2_M_DYEINGER,{
     
    setarray .@styles[1],getbattleflag("max_cloth_color"),getbattleflag("max_hair_style"),getbattleflag("max_hair_color");
    setarray .@Look[1],7,1,6;
    set .@s, select(" ~ Cloth color: ~ Hairstyle: ~ Hair color");
    set .@Revert, getlook(.@Look[.@s]);
    set .@style,1;
    while(1) {
    setlook .@Look[.@s], .@style;
    message strcharinfo(0),"This is style #"+.@style+".";
    set .@menu$, " ~ Next (^0055FF"+((.@style!=.@styles[.@s])?.@style+1:1)+"^000000): ~ Previous (^0055FF"+((.@style!=1)?.@style-1:.@styles[.@s])+"^000000): ~ Jump to...: ~ Revert to original (^0055FF"+.@Revert+"^000000)";
    switch(select(.@menu$)) {
    case 1: set .@style, ((.@style!=.@styles[.@s])?.@style+1:1); break;
    case 2: set .@style, ((.@style!=1)?.@style-1:.@styles[.@s]); break;
    case 3: message strcharinfo(0),"Choose a style between 1 - "+.@styles[.@s]+".";
    input .@style,0,.@styles[.@s];
    if (!.@style) set .@style, rand(1,.@styles[.@s]);
    break;
    case 4: set .@style, .@Revert; setlook .@Look[.@s], .@Revert; break;
    }
    }
    }

    Can Anyone help me how to add or edit the range of the min and max value of the stylist. sorry for many question im bit confused on how to add or edit.

     

     

    or where to edit.

    for example: 

     

    Color Hair: 251

    Cloth Color:  553

    Hair Style: 57


  6. Can anyone help me if the old ceres cp is compatible with the hercules revision? im planning to use it on my up coming server since the ceres cp is old, if you have a updated or compatible with the hercules svn. kindly please send me a link.

     

     

    Thank you in advanced

×
×
  • Create New...

Important Information

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