Jump to content

madtoyz

Members
  • Content Count

    173
  • Joined

  • Last visited

Posts posted by madtoyz


  1. prontera,164,172,5	script	Mini Dice	872,{//============================== Settings ============================================set .@dicename$,"[ Dice Master ]";set .cost,"1000000";//CHANGE THIS TO YOUR ZENY COST AMOUNTset .rewardid,7773;//CHANGE THIS TO YOUR REWARDIDset @rewamount,100;//CHANGE THIS TO YOUR REWARD AMOUNT//========================= End of Settings ==========================================OnMenu:mes .@dicename$;mes "Hello " + strcharinfo(0) + " ,do";mes "you want to play a round of dice?";mes "if you want to play you need to ";mes "pay 1.000.000 Zenny every Round.";switch(select("Yes,sure!:No,I'm unlucky!")) {	case 1:	mes .@dicename$;	if(Zeny < .cost) goto l_nozeny;	set Zeny, Zeny - .cost;	mes "Okay we'll start...";	set $@ran, rand(1,6);	if ($@ran == 6) set .@dice1$,"6";	if ($@ran == 5) set .@dice1$,"5";	if ($@ran == 4) set .@dice1$,"4";	if ($@ran == 3) set .@dice1$,"3";	if ($@ran == 2) set .@dice1$,"2";	if ($@ran == 1) set .@dice1$,"1";	set $@ran2, rand(1,6);	if ($@ran2 == 6) set .@dice2$,"6";	if ($@ran2 == 5) set .@dice2$,"5";	if ($@ran2 == 4) set .@dice2$,"4";	if ($@ran2 == 3) set .@dice2$,"3";	if ($@ran2 == 2) set .@dice2$,"2";	if ($@ran2 == 1) set .@dice2$,"1";	next;	mes .@dicename$;	mes "Okay I've got a " + .@dice1$ + ",";	mes "You've got a " + .@dice2$+ " !";	next;	if(.@dice1$ > .@dice2$) goto l_loose;	if(.@dice1$ < .@dice2$) goto l_win;	if(.@dice1$ == .@dice2$) goto l_draw;	close;	case 2:	mes .@dicename$;	mes "Okay bye!";	close;	}	l_nozeny:	mes .@dicename$;	mes "Sorry you need more Zenny!";	close;	l_loose:	mes .@dicename$;	mes "Haha,sorry you lost.";	goto OnMenu;	close;	l_draw:	mes .@dicename$;	mes "Draw,let's play again!";	goto OnMenu;	close;	l_win:	goto OnPrize;	OnPrize:	mes .@dicename$;	mes "Congratulations! You have won...";	mes "Take this as a Prize!";	next;	mes .@dicename$;	getitem .rewardid,@rewamount;	mes "Goodbye!";	close;}

     

    Can anyone change the script for random prize around 5items ?


  2. @status.c

     

    case SC_EDP: // [Celest]

    val2 = val1 + 2; //Chance to Poison enemies.

    val3 = 50*(val1+1); //Damage increase (+50 +50*lv%)

    #ifdef RENEWAL_EDP

    val4 = 100 * ((val1 + 1)/2 + 2);

    #endif

    if( sd )//[ind] - iROwiki says each level increases its duration by 3 seconds

      tick += pc->checkskill(sd,GC_RESEARCHNEWPOISON)*3000;

    break;

     

    :meow:

     

    can i know what mean "val4 = 100 * ((val1 + 1)/2 + 2);" ?

    SORRY for asking


  3. WHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPS, big fail of mine, the script should go on the first curlies as I said but I didn't change it.

     

    Try this:

    29949,Batman_Helmet,Batman Helmet,5,0,,0,,0,,0,0xFFFFFFFF,7,2,3072,,0,0,2048,{ callfunc "Henshin"; },{},{}

     

    Sorry!

     

    i try it already but still same just before, not working ... 

     

    29949,Batman_Helmet,Batman Helmet,5,0,,0,,0,,0,0xFFFFFFFF,7,2,3072,,0,0,2048,{ callfunc "Henshin"; },{},{}

    loadnpc - npc/basicnpc/change/Henshing.txt - done. (have try but no working) then i try

    server restart - done. (have try but no working)

     

     

    Untitled_zps53423eec.jpg


  4. ive try it already but nothing happen.

     

    the script i make it name Henshin.txt

    and put it in npc/basicnpc/change/Henshin.txt

    function	script	Henshin	{	set .@i,(HP*100/MaxHP*100)/100;	if (.@i < 30) {		specialeffect2 EF_HEAL;		specialeffect2 EF_POTION_BERSERK;		unittalk getcharid(3),"Henshin!!";		disguise 1785;		percentheal 100,0;		sleep2 10000;		undisguise;	}	end;}//-- eof --

     

    in the scripts_custom.conf i already writedown like this.

     

    npc: npc/basicnpc/change/Henshin.txt

     

    in the item_db2 i put like this

    29949,Batman_Helmet,Batman Helmet,5,0,,0,,0,,0,0xFFFFFFFF,7,2,3072,,0,0,2048,{},{},{ callfunc "Henshin"; }

    when the user have 30% less HP,they will auto disguise become Atros (numid1785)

     


  5. Simply, in the OnUse script of a file (the first curly braces) make it to contain the following:

    callfunc "Henshin";

     

    This should make it work.

     

    like this ?

     

    29018,kamenriderhelm,kamen rider helm,5,0,,0,,0,,0,0xFFFFFFFF,7,2,7168,,0,0,29018,{},{},{ callfunc "Henshin"; }

  6. hello,last a few years ago i have request henshin function in eAthena.ws/board but the forum already down.

    im still save the script function but i forget how to add the function into item_db2 script

     

    here is the function.

    function	script	Henshin	{	set .@i,(HP*100/MaxHP*100)/100;	if (.@i < 10) {		specialeffect2 EF_HEAL;		specialeffect2 EF_POTION_BERSERK;		unittalk getcharid(3),"Henshin!!";		disguise 1785;		percentheal 100,0;		sleep2 10000;		undisguise;	}	end;}//-- eof --

    when player HP below 10% using certain items that got this function will change become monster,if this function will disguise player become atros and will say HENSHIN.

     


  7. ok..thanks for the information..thats mean if want to make item resist for certain race make like this right ?

     

    Undead race

    { bonus2 bSubRace,RC_Undead,10; bonus bCritical,10; bonus bAllStats,3; bonus bAspd,10; bonus bAtkRate,10; bonus bMatkRate,10; },{},{}

    it is correct ?


  8.  

     

    is that System/Iteminfo.lua or lub? the message on the screenshots is too small.

    cannot open System/iteminfo.lua: No such file or directory.

     

    in my System folder ive already put iteminfo.lub

    its because your client is diff with load lua first before lub. you should put lua files not lub.

     

    Now i already add iteminfo.lua in system folder,no appear missing/error windows....but this thing come out just like before.

    alreadyadditeminfoluainsystemfolder_zps46be6b7d.jpg


  9. Client hexed date  2012-04-18 support casshop ?

     

    App diff : Weediff2012Pack_v7

    Diff used :

    Type : [UI] Group : Name : Allow Chat FloodDescription : Allows you to repeat the same line n-times.Value : 10Note : PL Author : Shinryo====================Type : [Fix]Group : Name : Always Call SelectKoreaClientInfo()Description : Calls SelectKoreaClientInfo() always before SelectClientInfo() allowing you to use features that would be only visible on korean service type.Value : Note : RecommendedPL Author : Shinryo====================Type : [Fix]Group : Name : Chat @-BugDescription : Allows you to use the @ symbol without changing shortcuts.Value : Note : RecommendedPL Author : Shinryo====================Type : [UI]Group : Name : Custom Window TitleDescription : Changes the window title to a custom one.Value : Hercules Test ClientNote : PL Author : Shinryo====================Type : [Fix]Group : Name : Disable 1rag1 & 1sak1Description : Allows you to start the client without 1rag1 & 1sak1 as command line parameters.Value : Note : RecommendedPL Author : Shinryo====================Type : [Fix]Group : Name : Disable 4 Letter User Character LimitDescription : Removes the limit of min. 4 characters when creating a character.Value : Note : PL Author : Shinryo====================Type : [Fix]Group : Name : Disable 4 Letter User ID LimitDescription : Removes the limit of min. 4 characters for the account name.Value : Note : PL Author : Shinryo====================Type : [Fix]Group : Name : Disable 4 Letter User Password LimitDescription : Removes the limit of min. 4 characters for the account password.Value : Note : PL Author : Shinryo====================Type : [Fix]Group : Name : Disable Hallucination Wavy ScreenDescription : Tells the client to ignore the wavy screen effect.Value : Note : RecommendedPL Author : Shinryo====================Type : [Fix]Group : Name : Disable HShieldDescription : Prevents AhnLabs HackShield from beeing loaded during client start up.Value : Note : RecommendedPL Author : Shinryo====================Type : [Add]Group : Name : Disable Nagle AlgorithmDescription : The Nagle Algorithm delays packet transfer by combining small packets into a large one reducing bandwidth while increasing latency.Value : Note : RecommendedPL Author : Shinryo====================Type : [Fix]Group : Name : Disable RagexeRE Filename CheckDescription : Allows you to rename the executable to whatever you want.Value : Note : RecommendedPL Author : Shinryo====================Type : [UI]Group : Name : Disable Swear FilterDescription : Allows you to skip the swear prevention function.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Enable ASCII in TextDescription : Allows use of non-english characters in chat.Value : Note : RecommendedPL Author : Ai4rei/AN====================Type : [Add]Group : Name : Enable DNS SupportDescription : Allows the client to read fully-qualified host names inside the clientinfo xml file.Value : Note : RecommendedPL Author : Shinryo====================Type : [Data]Group : Name : Enable Multiple GRFsDescription : Tells the client to load grf files based on a list within data.ini.Value : Note : RecommendedPL Author : Shinryo====================Type : [UI]Group : Name : Enable Official Custom FontsDescription : Tells the client to read *.eot files on all langtypes.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Enable Title Bar MenuDescription : Changes the window style to display all buttons (minimize, maximize, close) and the icon in the title bar.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Enforce Official Login BackgroundDescription : Forces the client to use kRO login backgrounds on all langtypes.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Extended Chat BoxDescription : Increases max input chars of main/battle chat box from 70 to 234.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Extended Chat Room BoxDescription : Increases max input chars of chat room boxes from 70 to 234.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Extended NPC DialogDescription : Increases max input chars of NPC dialog boxes from 2052 to a value of choice.Value : 4096Note : PL Author : Ai4rei/AN====================Type : [UI]Group : Name : Extended PM BoxDescription : Increases max input chars of PM boxes from 70 to 234.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Fix Camera Angles MediumDescription : Allows you to rotate around the x-axis for almost 60 degrees.Value : Note : PL Author : Shinryo====================Type : [Fix]Group : Name : Force Send Client Hash PacketDescription : Forces the client to send a packet with the client MD5 in all service types.Value : Note : PL Author : GreenBox====================Type : [UI]Group : Name : Ignore Missing File ErrorsDescription : Prevents the client from displaying error messages about missing files.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Ignore Missing Palette ErrorsDescription : Prevents the client from displaying error messages about missing palettes.Value : Note : PL Author : Shinryo====================Type : [Data]Group : Name : Increase Headgear View IDDescription : Allows you to increase the maximal view id used in LUA script files.Value : 30000Note : PL Author : Shinryo====================Type : [UI]Group : Name : Increase Zoom Out 75%Description : Allows you to zoom out 75% further from the ground.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Only First Login BackgroundDescription : Displays always the first login background.Value : Note : PL Author : Shinryo====================Type : [Data]Group : Name : Read msgstringtable.txtDescription : Allows you to read the message string table on all languages.Value : Note : RecommendedPL Author : Shinryo====================Type : [Data]Group : Name : Read questid2display.txtDescription : Allows you to read the quest table on all languages.Value : Note : RecommendedPL Author : Shinryo====================Type : [UI]Group : Name : Remove Gravity AdsDescription : Removes advertisements from the login interface.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Remove Gravity LogoDescription : Removes gravitys logo from the login interface.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Remove Hourly Game Grade BannerDescription : Removes age appropriance banner that appears for 10 seconds every hour at o'clock to the left of the mini-map.Value : Note : PL Author : Ai4rei/AN====================Type : [UI]Group : Name : Remove Hourly Playtime-MinderDescription : Removes hourly announces keeping track of your time spent in-game and telling you to stop playing after 3 hours.Value : Note : PL Author : Ai4rei/AN====================Type : [Fix]Group : Name : Remove Login Auto CloseDescription : Prevents the client to close when the login is refused.Value : Note : RecommendedPL Author : GreenBox====================Type : [UI]Group : Name : Remove Login Error CodeDescription : Removes numeric error code in parentheses from login error messages.Value : Note : PL Author : Ai4rei/AN====================Type : [UI]Group : Name : Remove Quake Skill EffectDescription : Removes all visual shake effects that happen when casting Heaven's Drive, Explosion Spirits and similar skills.Value : Note : PL Author : Ai4rei/AN====================Type : [UI]Group : Name : Remove Serial DisplayDescription : Removes the display of the client serial number in the login window (bottom right corner).Value : Note : PL Author : Shinryo====================Type : [Fix]Group : Name : Restore Login WindowDescription : Tells the client to use the old login interface prior to Gravitys new token based login system.Value : Note : RecommendedPL Author : Shinryo====================Type : [UI]Group : Name : Skip License ScreenDescription : Jumps directly to the login interface without displaying the license screen.Value : Note : PL Author : Shinryo====================Type : [Fix]Group : Name : Skip Packet Header ObsfucationDescription : Prevents the client from obsfucationg the packet header.Value : Note : PL Author : Shinryo, v2 = Earthlingz====================Type : [UI]Group : Name : Translate ClientDescription : Translates the client with strings stored in WDGTranslateClient.txtValue : Note : PL Author : Ai4rei/AN====================Type : [UI]Group : Name : Translate Client Into EnglishDescription : Translates hardcoded text inside the client into english.Value : Note : RecommendedPL Author : Shinryo====================Type : [UI]Group : Name : Use Arial On All LangtypesDescription : Changes the default font to Arial on all language types.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Use Normal Guild BracketsDescription : Changes the bracket style of language type 0 to use square brackets.Value : Note : PL Author : Shinryo====================Type : [Data]Group : Name : Use Plain Text DescriptionsDescription : Tells the client that text files are not encoded.Value : Note : PL Author : Shinryo====================Type : [UI]Group : Name : Use Ragnarok IconDescription : Tells the client to use the default Ragnarok icon.Value : Note : PL Author : Shinryo====================

     

×
×
  • Create New...

Important Information

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