-
Posts
50 -
Joined
-
Last visited
About rickyzinhx
- Birthday 08/18/1995
Profile Information
-
Gender
Male
-
Location
Brasil
Recent Profile Visitors
1,563 profile views
rickyzinhx's Achievements
-
Tradução nome das classes no hexed
rickyzinhx replied to mdressa96's question in Client-side Support
acho q é isso data\luafiles514\lua files\datainfo\pcjobnamegender.lub -
how do I get this npc to remove 20% of the value on conversion
rickyzinhx posted a question in Scripting Support
how do I get this npc to remove 20% of the value on conversion for example: exchange 100 pass for 80 cash (-20%) prontera,155,155,4 script Converter 83,{ [email protected]$ ="[^FF0000Converter^000000]"; mes [email protected]$; mes "Hello, 1 cashpoints is equals to 1 Pass."; mes "What would you like to do?"; next; switch( select("Cash to Pass","Pass to Cash") ) { case 1: mes [email protected]$; mes "How many pass(s) do you want?"; input [email protected]; next; if( [email protected] <= 0 || #CASHPOINTS < [email protected] * 1 ) { mes [email protected]$; mes "Sorry, you don't have enough cashpoints!"; close; } mes [email protected]$; mes "This will cost ^FF0000" +([email protected] * 1)+ " cashpoints^000000."; next; if( select("Proceed:Nevermind") -1 ) { mes [email protected]$; mes "Goodbye!"; close; } set #CASHPOINTS, #CASHPOINTS - [email protected] * 1; dispbottom "Lost: " +([email protected] * 1)+ " cashpoints. Total: " +#CASHPOINTS+" cashpoints."; getitem 7350 , [email protected]; break; case 2: mes [email protected]$; mes "How many Pass(s) will you give?"; input [email protected]; next; if( [email protected] <= 0 || countitem(7350 ) < [email protected] ) { mes [email protected]$; mes "Sorry, you don't have enough Pass !"; close; } mes [email protected]$; mes "I can give you ^FF0000" +([email protected] * 1)+ " cashpoints^000000 for this."; next; if( select("Proceed:Nevermind") -1 ) { mes [email protected]$; mes "Goodbye!"; close; } set #CASHPOINTS, #CASHPOINTS + [email protected] * 1; dispbottom "Gained: " +([email protected] * 1)+ " cashpoints. Total: " +#CASHPOINTS+" cashpoints."; delitem 7350 ,[email protected]; } close; } -
i'm sorry the error was in the way I was testing, can you close the topic
-
guys I'm using a change/script made by @Emistry but even when the emperium war ends he keeps adding the def points, can someone help me fix this?
-
when the player dies he is able to use the item token of ziegfried to resurrect, I thought of two solutions to edit the time in which the player takes to be kicked from pvp / gvg maps or put a delay on the item, I have already tested item_delay and item_noequip, do not work with the token, does anyone have any ideas, where I can decrease the delay of the auto kick when dying in pvp / gvg maps in the source or create a delay to use the token in clif.c
-
Hello, I would like to make sure that when a player uses the vending skill / opens a store, the character does not stop attacking or can click to continue attacking the monster. Currently the character stops attacking. I already searched the conf and src and found nothing.
-
Hello, I need to create a registration system in php / mysqli. I even tried to create one watching some videos, however, I was unable to insert the verification to not allow the registration of duplicate logins and emails. I even found a simple page here on the forum but it is semi-coded. I couldn't get any queries, including the prevention of sql inject. I don't want to use fluxcp. Rather insert a registration form on the page of my website. If anyone can share something I would appreciate it.
-
Como faço para a janela de chat, monitorar dois mapas?
rickyzinhx replied to Tdi123's question in Suporte ao Desenvolvimento
//====================== "Balão de Chat" OnInit: waitingroom "",0; OnTimer2000: setarray $WOT$[0],"guild_vs2"; // NOME DO MAPA QUE SERÁ MONITORADO EM TEMPO REAL setarray [email protected]$,"["+getmapusers($WOT$[0])+"]","janela 2","janela 3"; set [email protected], rand(getarraysize([email protected]$)); delwaitingroom; waitingroom [email protected]$[[email protected]],0; initnpctimer; //====================== n testei, mas acredito q vá te ajudar em algo ^^ -
I tried with this topic. But it doesn't work anymore. Can anyone help me reproduce, any effect that ignores the GTB card? --- src/map/map.h (revision 17331) +++ src/map/map.h (working copy) @@ -411,7 +411,10 @@ SP_SP_GAIN_RACE, SP_SUBRACE2, SP_UNBREAKABLE_SHOES, // 2031-2033 SP_UNSTRIPABLE_WEAPON,SP_UNSTRIPABLE_ARMOR,SP_UNSTRIPABLE_HELM,SP_UNSTRIPABLE_SHIELD, // 2034-2037 SP_INTRAVISION, SP_ADD_MONSTER_DROP_ITEMGROUP, SP_SP_LOSS_RATE, // 2038-2040 - SP_ADD_SKILL_BLOW, SP_SP_VANISH_RATE, SP_MAGIC_SP_GAIN_VALUE, SP_MAGIC_HP_GAIN_VALUE, SP_ADD_CLASS_DROP_ITEM, //2041-2045 + SP_ADD_SKILL_BLOW, SP_SP_VANISH_RATE, SP_MAGIC_SP_GAIN_VALUE, + SP_ADD_SKILL_BLOW, SP_SP_VANISH_RATE, SP_MAGIC_SP_GAIN_VALUE, SP_MAGIC_HP_GAIN_VALUE, + SP_ANTI_NO_MAGIC_DAMAGE // + SP_MAGIC_HP_GAIN_VALUE, SP_ADD_CLASS_DROP_ITEM, SP_EMATK, SP_SP_GAIN_RACE_ATTACK, SP_HP_GAIN_RACE_ATTACK, SP_SKILL_USE_SP_RATE, //2046-2049 SP_SKILL_COOLDOWN,SP_SKILL_FIXEDCAST, SP_SKILL_VARIABLECAST, SP_FIXCASTRATE, SP_VARCASTRATE, //2050-2054 SP_SKILL_USE_SP,SP_MAGIC_ATK_ELE, SP_ADD_FIXEDCAST, SP_ADD_VARIABLECAST //2055-2058 Index: src/map/pc.c =================================================================== --- src/map/pc.c (revision 17331) +++ src/map/pc.c (working copy) @@ -2635,6 +2635,12 @@ if(sd->state.lr_flag != 2) sd->bonus.add_varcast += val; break; + case SP_ANTI_NO_MAGIC_DAMAGE: + if(sd->state.lr_flag == 2) + break; + val+= sd->special_state.anti_no_magic_damage; + sd->special_state.anti_no_magic_damage = cap_value(val,0,100); + break; #endif default: ShowWarning("pc_bonus: unknown type %d %d !\n",type,val); Index: src/map/pc.h =================================================================== --- src/map/pc.h (revision 17331) +++ src/map/pc.h (working copy) @@ -173,7 +173,7 @@ unsigned int permanent_speed : 1; // When 1, speed cannot be changed through status_calc_pc(). } state; struct { - unsigned char no_weapon_damage, no_magic_damage, no_misc_damage; + unsigned char no_weapon_damage, no_magic_damage, no_misc_damage, anti_no_magic_damage; unsigned int restart_full_recover : 1; unsigned int no_castcancel : 1; unsigned int no_castcancel2 : 1;
-
Headgear to Costume converter >> Costume to Headgear converter
rickyzinhx replied to rickyzinhx's question in Scripting Support
can you help me create? i need this very urgently -
Headgear to Costume converter >> Costume to Headgear converter
rickyzinhx posted a question in Scripting Support
block npc from talking to the player if you have any of these items in your inventory // ------------------------------------------------------------------------------- // Script Name : Headgear to Costume converter >> Costume to Headgear converter // ------------------------------------------------------------------------------- // Description : // - Allows a user to convert the equipped headgear (on Top, Mid or Low) into a // costume item. It will remove any card and refine of the Item. // - Allows a user to restore the equipped costume headgear (on Top, Mid or Low) into its original form. It will not return any card or refine of the item. // ------------------------------------------------------------------------------- - script Costume Clown -1,{ mes "[Clown]"; mes "Here you can convert your headgears into a Costume Headgear or restore to its Original form."; switch(select("I want to convert.:I want to restore.:No thanks.")) { case 1: next; mes "Please, select what to convert."; mes "Remember, cards and refine will be removed."; next; setarray [email protected]$[1],"Top","Mid","Low"; setarray [email protected][1], 1, 9, 10; set [email protected]$,""; for( set [email protected], 1; [email protected] < 5; set [email protected], [email protected] + 1 ) { if( getequipisequiped([email protected][[email protected]]) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected][[email protected]]) + "]"; set [email protected]$, [email protected]$ + ":"; } set [email protected], [email protected][ select([email protected]$) ]; if( !getequipisequiped([email protected]) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to Costume your " + getitemname(getequipid([email protected])) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } if(countitem(7227) >= 100) { delitem 7227, 100; costume [email protected]; // Convert the Headgear mes "[Clown]"; mes "Done, enjoy your costume headgear."; close; mes “[Clown]”; mes “I’m sorry but you only have “+countitem(7227)+”TCG Cards.”; mes “You need at least 100 TCG cards to convert your headgear."; close; } case 2: next; mes "Please, select what to restore."; mes "Remember, I will only restore it back without refine and cards."; next; setarray [email protected]$[1],"Top","Mid","Low"; setarray [email protected][1], 13, 12, 11; set [email protected]$,""; for( set [email protected], 1; [email protected] < 5; set [email protected], [email protected] + 1 ) { if( getequipisequiped([email protected][[email protected]]) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected][[email protected]]) + "]"; set [email protected]$, [email protected]$ + ":"; } set [email protected], [email protected][ select([email protected]$) ]; if( !getequipisequiped([email protected]) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to restore your " + getitemname(getequipid([email protected])) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } a = getequipid([email protected]); delitem a,1; getitem a,1; mes "[Clown]"; mes "Done, enjoy your restored headgear."; close; case 3: mes "[Clown]"; mes "Very well. Return at once if you seek my services."; close; } } // -------------------------------------------------------------------------- // Use duplicates to put your npc on different cities // -------------------------------------------------------------------------- prontera,155,181,4 duplicate(Costume Clown) Costume Clown#1 715 i tried in a similar way as it is done in pvp no donate but i couldn't // ------------------------------------------------------------------------------- // Script Name : Headgear to Costume converter >> Costume to Headgear converter // ------------------------------------------------------------------------------- // Description : // - Allows a user to convert the equipped headgear (on Top, Mid or Low) into a // costume item. It will remove any card and refine of the Item. // - Allows a user to restore the equipped costume headgear (on Top, Mid or Low) into its original form. It will not return any card or refine of the item. // ------------------------------------------------------------------------------- - script Costume Clown -1,{ setarray [email protected][0],1166,2527,1420,2115,1420,2133,1421,2133,1422,2133,1428,2115,1472,2677,1472,2711,1473,2677,1473,2711,1474,2527,1477,2700,1479,2700,1535,4361,1572,2716,2717,1573,2334,1573,2372,2717,1615,18539,1616,2515,1618,2509,1618,2535,1620,2509,1620,2535,1629,5045,1631,2129,1636,18539,1723,2718,1730,1752,1731,1754,1732,1756,1733,1755,1734,1753,1741,2748,2001,2677,2001,2711,2109,2717,2239,2114,2353,5122,2115,2353,5124,8077,2353,5124,2115,2353,8096,8077,2353,8096,2116,2355,2420,2521,5125,2121,2717,2239,2123,2701,2124,2702,2135,2426,2137,2353,5124,2269,5768,2270,5768,2278,18656,2281,18656,2286,18539,2312,2656,2313,2656,2337,2654,2339,2522,2339,2523,2353,2417,2516,2353,2418,2517,2353,5123,2353,5493,2354,2419,2520,5128,2357,2421,2524,5171,2358,5153,2359,2654,2369,2428,2533,5306,2371,2522,2371,2523,2374,2729,2375,2729,2376,2435,2538,2377,2435,2538,2378,2435,2538,2379,2436,2539,2380,2436,2539,2381,2436,2539,2382,2437,2540,2387,2440,2744,2387,2440,28431,2390,2749,2394,2444,2549,2399,2553,2408,2655,2424,2528,2425,2529,2425,2530,2425,2551,2433,2537,2434,2529,2434,2530,2434,2551,2441,2546,2518,2648,2649,5126,2519,2650,2651,5127,2527,13001,2607,2677,2607,2711,2607,2786,2608,2677,2608,2711,2608,2786,2620,2746,2620,2747,2626,2677,2626,2711,2626,2786,2678,2679,2679,2792,2720,2772,2721,2772,2722,2772,2723,2772,2724,2772,2725,2772,2726,2727,2733,2772,2777,2778,5479,2779,2780,5482,2779,2780,5577,4001,4197,4006,4266,4009,4179,4014,4306,4021,4211,4025,4222,4028,4296,4029,4183,4031,4161,4036,4186,4233,4281,4343,4039,4210,4230,4257,4348,4074,4162,4090,4212,4328,4106,4248,4127,4166,4153,4247,4273,4168,4169,4172,4210,4230,4257,4272,4178,4199,4234,4252,4297,4178,4234,4252,4297,4381,4185,4217,4280,4293,4312,4185,4293,4312,4332,4186,4206,4233,4281,4321,4191,4208,4258,4309,4325,4327,4193,4294,4208,4258,4325,4327,4382,4218,4269,4220,4246,4311,4319,4331,4229,4244,4299,4313,4237,4238,4268,4277,4311,4319,4331,4371,4323,4324,4435,4436,5040,5442,5068,5653,5074,5653,5086,18656,5176,18656,5206,5768,5358,5653,5359,5657,5401,5653,5470,5653,13034,13035,18507,18539,5007,18913,19038,19039; for(set @i,0;@i < getarraysize([email protected]);set @i,@i+1){ if(countitem([email protected][@i]) >= 1){close;} mes "[Clown]"; mes "Here you can convert your headgears into a Costume Headgear or restore to its Original form."; switch(select("I want to convert.:I want to restore.:No thanks.")) { case 1: next; mes "Please, select what to convert."; mes "Remember, cards and refine will be removed."; next; setarray [email protected]$[1],"Top","Mid","Low"; setarray [email protected][1], 1, 9, 10; set [email protected]$,""; for( set [email protected], 1; [email protected] < 5; set [email protected], [email protected] + 1 ) { if( getequipisequiped([email protected][[email protected]]) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected][[email protected]]) + "]"; set [email protected]$, [email protected]$ + ":"; } set [email protected], [email protected][ select([email protected]$) ]; if( !getequipisequiped([email protected]) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to Costume your " + getitemname(getequipid([email protected])) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } if(countitem(7227) >= 100) { delitem 7227, 100; costume [email protected]; // Convert the Headgear mes "[Clown]"; mes "Done, enjoy your costume headgear."; close; mes “[Clown]”; mes “I’m sorry but you only have “+countitem(7227)+”TCG Cards.”; mes “You need at least 100 TCG cards to convert your headgear."; close; } case 2: next; mes "Please, select what to restore."; mes "Remember, I will only restore it back without refine and cards."; next; setarray [email protected]$[1],"Top","Mid","Low"; setarray [email protected][1], 13, 12, 11; set [email protected]$,""; for( set [email protected], 1; [email protected] < 5; set [email protected], [email protected] + 1 ) { if( getequipisequiped([email protected][[email protected]]) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected][[email protected]]) + "]"; set [email protected]$, [email protected]$ + ":"; } set [email protected], [email protected][ select([email protected]$) ]; if( !getequipisequiped([email protected]) ) { mes "[Clown]"; mes "Your not wearing anything there..."; close; } mes "[Clown]"; mes "You want to restore your " + getitemname(getequipid([email protected])) + "?"; next; if( select("Yes, proceed:No, I am sorry.") == 2 ) { mes "[Clown]"; mes "Need some time to think about it, huh?"; mes "Alright, I can understand."; close; } a = getequipid([email protected]); delitem a,1; getitem a,1; mes "[Clown]"; mes "Done, enjoy your restored headgear."; close; case 3: mes "[Clown]"; mes "Very well. Return at once if you seek my services."; close; } } // -------------------------------------------------------------------------- // Use duplicates to put your npc on different cities // -------------------------------------------------------------------------- prontera,155,181,4 duplicate(Costume Clown) Costume Clown#1 715