Jump to content

Reins

Members
  • Content Count

    99
  • Joined

  • Last visited

Posts posted by Reins


  1. Hi hercules users,

    I found this event interesting Click Me how will i change to this scenario

    I will input 7227(TCG) as betting item (no more picking of desire color) and the machine will run with cutins and when a certain time the npc stops at certain color it will get the prize below. 

    Red - red potion = 50% - chance to get
    Green - red potion = 30% - chance to get
    Orange - orange potion = 20% - chance to get
    Blue - blue potion = 10% - chance to get

    Sorry for my english it's a bit suck and i'm drooling which sub-forum should i post this if support script section/request script section(incase please move this thread) thanks!


  2.  

    how can i view it using @effect i mean is what is the number of the default aura in @effect i made a custom aura and i'm trying hard to look what number is it thanks

     

    200. Normal level 99 Aura (Middle)201. Normal level 99 Aura (Bottom)202. Lv 99 Aura Bubble397. Trancended 99 Aura (Middle)398. Trancended 99 Aura (Bottom)757. Third Class Aura (Middle) 

    :meow:

    thank you sir!


  3.  

    For that to work you need to edit the function itself.

    1) Replace end with return;

    That way it'll change cloth color for a sec, and then change hair color for a sec.

    2) If you need both at the same time you need to edit the function more, like this:

    function    script    ChangeStyle    {        changelook 7,getarg(0);        changelook 6,getarg(2);        dispbottom "Your cloth color has changed to "+getarg(0)+" and hair color to "+getarg(2);        dispbottom "With a duration of a second, then your look will return to normal";        sleep2 1000;        changelook 7,getarg(1);        changelook 6,getarg(3);        dispbottom "Your look has returned to normal.";        end;}

    And, accordingly, change the call from item

    callfunc "ChangeStyle",554,getlook(7),264,getlook(6);

    will try that asap wait!

     

    EDIT: Its ok now thanks guys!


  4.  

    Okay Let me try first thanks! btw will this change only cloth color? or both hair and cloth? and how about different hair and cloth color like (color #25 for hair and color#30 for cloth)

    It will change only the cloth color, but you can edit it to make it work as you may need: change cloth or hair color only, change both cloth and hair with the same color, or change both cloth and hair with different colors.

     

    To change hair color use "changelook 6" instead of "changelook 7". Please see the hercules documentation for script commands to see how does that scripts works (just search for *changelook in your browser).

    Thanks it works but i have problem regarding merging those getlook(7); and getlook(6); 

     

    here's my item script regards that

     

    { callfunc "ChangeStyle",264,getlook(6); callfunc "ChangeStyle1",554,getlook(7); } somehow it manage to change only the hair color when i consumed the item the cloth color didn't change and how about the both hair color and cloth color with different values into 1 callfunc


  5.  

     

     

    You need to save in a new variable the previous look value before change it, then when unequip the armor make the changelook with the value saved of the var. Something like these:

     

        OnEquipScript: <"        previouspal = getlook(7);        changelook 7,201;    ">    OnUnequipScript: <" changelook 7,previouspal; "> 

    thanks for this!

    how will i make this into item consumable script with time duration example i have certain cloth and hair color and i consume apple#512 which turns the cloth and hair color into red or specific palettes and after 1 minute it will return to the designated palettes thanks! sorry for my bad english

     

    You can try calling a function to do that. Maybe trying with the next example you can get it:

     

    In Item script:

    callfunc "ChangeStyle",201,getlook(7);

    Where "201" is the new changelook value and "getlook(7)" is the previous changelook value.

     

    In a NPC Script:

    function    script    ChangeStyle    {        changelook 7,getarg(0);        dispbottom "Your look has changed to "+getarg(0);        dispbottom "With a duration of a second, then your look will return to normal";        sleep2 1000;        changelook 7,getarg(1);        dispbottom "Your look has returned to normal";        end;}

     

    It works for me, but it need to be tested a little more. I hope this help you.

     

     

    Okay Let me try first thanks! btw will this change only cloth color? or both hair and cloth? and how about different hair and cloth color like (color #25 for hair and color#30 for cloth)


  6.  

    You need to save in a new variable the previous look value before change it, then when unequip the armor make the changelook with the value saved of the var. Something like these:

     

        OnEquipScript: <"        previouspal = getlook(7);        changelook 7,201;    ">    OnUnequipScript: <" changelook 7,previouspal; "> 

    thanks for this!

    how will i make this into item consumable script with time duration example i have certain cloth and hair color and i consume apple#512 which turns the cloth and hair color into red or specific palettes and after 1 minute it will return to the designated palettes thanks! sorry for my bad english


  7.  

    -    script    ItemRestrict    -1,{    OnPCLoadMapEvent:        while ( strcharinfo( 3 ) == "mjo_dun02" || strcharinfo( 3 ) == "mjo_dun03" ) {            if ( getequipid( EQI_HEAD_MID ) != 5005 ) {                message strcharinfo( 0 ), "You will be out on this map after five seconds";                sleep2 5000;                atcommand "@die";                sleep2 500;                warp "SavePoint", 0, 0;                end;            }            sleep2 1000;        }        end;}mjo_dun02    mapflag    loadeventmjo_dun03    mapflag    loadevent

    btw Patskie how will i add also a condition which is if a player is currently with using a certain palette because i have a skin palettes let say the player doesn't wear the gas mask but it has palette(cloth and hair) #500 for example which is make him/her immune to map's condition script


  8. Try this one:

    -	script	CoalMinesMapDeath	-1,{	end;OnPCLoadMapEvent:	if( strcharinfo(3) != "mjo_dun02" && strcharinfo(3) != "mjo_map03") end;	if( getequipid(EQI_HEAD_MID) == 5005 ) end;	sleep2 5000;	atcommand "@die";	sleep2 500;	warp "Save",0,0;	end;}mjo_dun02	mapflag	loadeventmjo_dun03	mapflag	loadevent

     

    Are you using rAthena by chance?

    yes because i have some sort of custom modifications that don't work on hercules :(


  9. Hi hercules,

    I would like to request a map condition script which works like this example in mjo_dun03,mjo_dun02(Coal Mines) you need to wear gas mask headgear ItemID#5005 before you enter on the map it will check if you are wearing it or else in 5 seconds you will be dead and respawn to the last savepoint thanks!


  10. Information is little ...

    Only the fact to which 2013-12-23 clients crash is understood.

    If you write in detail your environment, someone might be willing to lecture.

     

    Okay Thank you here's my patchlist on NEMO

     

     

    2 Chat Flood Allow8 Custom Window Title9 Disable 1rag1 type parameters (Recommended)13 Disable Ragexe Filename Check (Recommended)14 Disable Hallucination Wavy Screen (Recommended)15 Disable HShield (Recommended)19 Enable Title Bar Menu20 Extend Chat Box21 Extend Chat Room Box22 Extend PM Box24 Fix Camera Angles (Recommended)28 Increase Headgear ViewID30 Increase Zoom Out 50%33 Always Call SelectKoreaClientInfo() (Recommended)34 Enable /showname (Recommended)35 Read Data Folder First36 Read msgstringtable.txt (Recommended)37 Read questid2display.txt (Recommended)38 Remove Gravity Ads (Recommended)39 Remove Gravity Logo (Recommended)40 Restore Login Window (Recommended)41 Disable Nagle Algorithm (Recommended)44 Translate Client (Recommended)46 Use Normal Guild Brackets47 Use Ragnarok Icon48 Use Plain Text Descriptions (Recommended)49 Enable Multiple GRFs (Recommended)50 Skip License Screen53 Use Ascii on All Langtypes (Recommended)61 Disable Packet Encryption (Recommended)64 @ Bug Fix (Recommended)68 Enable 64k Hairstyle69 Extend Npc Dialog Box71 Ignore Missing File Error72 Ignore Missing Palette Error73 Remove Hourly Announce (Recommended)204 Increase Attack Display75 Enable Flag Emoticons84 Remove Serial Display (Recommended)86 Only First Login Background88 Allow space in guild name90 Enable DNS Support (Recommended)97 Cancel to Login Window (Recommended)98 Disable dc_scream.txt99 Disable ba_frostjoke.txt100 Disable Multiple Windows

  11.  

    Original Link: 2013-12-23 Full Client Download

     

     

    Mirror Link: 2013-12-23 Full Client Download

     

     

    Size is a huge. I am sorry.

    Original file is not edited.

    In download, there might be a necessary preliminary.

    f1cm0z.gif

    can i request for the client package only? without the kRO itself thanks!


  12.  

     

     

     

    "Last Time Online: "+ .@login$ +";

    that last " should be double ""

    Alternately , one can just vanish that last quote, ex:

    mes "Last Time Online: "+ .@login$;

    i got this lol i didn't know where to put "("6zr5p1.jpg
    Hmmm,, I was giving example

    Just replace that line by

    "Last Time Online: "+ .@login$;

    thanks sir for the reply but seems same error occured

×
×
  • Create New...

Important Information

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