Jump to content

rickzera

Members
  • Posts

    51
  • Joined

  • Last visited

About rickzera

  • Birthday 08/18/1995

Profile Information

  • Gender
    Male
  • Location
    Brasil

Recent Profile Visitors

2632 profile views

rickzera's Achievements

Drops

Drops (2/15)

  • First Post
  • Collaborator
  • Conversation Starter
  • Dedicated
  • Week One Done

Recent Badges

3

Reputation

2

Community Answers

  1. I need a script that gives items whenever a player kills another player 1 kill = 1 item 3 kills = 3 items 5 kills = 5 items I am using this script - script PCKill -1,{ OnPCKillEvent: if (killedrid == getcharid(3)) end; for(set .@i,0; .@i<getarraysize(.maps$); set .@i,.@i+1) if (strcharinfo(3)==.Maps$[.@i]) { if (.NoFarm) { if (killedrid == @last_kill) end; set @last_kill, killedrid; } if (.Item) getitem .Item, 1; if (.Cash$ != "") { setd .Cash$, getd(.Cash$)+1; dispbottom "Gained a kill point! Total: "+getd(.Cash$); } break; } end; OnInit: setarray .Maps$[0],"prontera"; set .NoFarm,0; // End script for repeated kills? (1:yes / 0:no) set .Item, 607; // 0 to disable set .Cash$, ""; // "" to disable end; }
  2. acho q é isso data\luafiles514\lua files\datainfo\pcjobnamegender.lub
  3. already tried to put delay in @refresh, tb apply the diff "Change fade in/out delay" in the exe and it didn't work. Does anyone have any ideas/suggestions on how to solve it please? (server: pre-r | hexed: 20120410)
  4. 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,{ .@name$ ="[^FF0000Converter^000000]"; mes .@name$; 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 .@name$; mes "How many pass(s) do you want?"; input .@num; next; if( .@num <= 0 || #CASHPOINTS < .@num * 1 ) { mes .@name$; mes "Sorry, you don't have enough cashpoints!"; close; } mes .@name$; mes "This will cost ^FF0000" +(.@num * 1)+ " cashpoints^000000."; next; if( select("Proceed:Nevermind") -1 ) { mes .@name$; mes "Goodbye!"; close; } set #CASHPOINTS, #CASHPOINTS - .@num * 1; dispbottom "Lost: " +(.@num * 1)+ " cashpoints. Total: " +#CASHPOINTS+" cashpoints."; getitem 7350 , .@num; break; case 2: mes .@name$; mes "How many Pass(s) will you give?"; input .@num; next; if( .@num <= 0 || countitem(7350 ) < .@num ) { mes .@name$; mes "Sorry, you don't have enough Pass !"; close; } mes .@name$; mes "I can give you ^FF0000" +(.@num * 1)+ " cashpoints^000000 for this."; next; if( select("Proceed:Nevermind") -1 ) { mes .@name$; mes "Goodbye!"; close; } set #CASHPOINTS, #CASHPOINTS + .@num * 1; dispbottom "Gained: " +(.@num * 1)+ " cashpoints. Total: " +#CASHPOINTS+" cashpoints."; delitem 7350 ,.@num; } close; }
  5. i'm sorry the error was in the way I was testing, can you close the topic
  6. 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?
  7. 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
  8. 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.
  9. 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.
  10. //====================== "Balão de Chat" OnInit: waitingroom "",0; OnTimer2000: setarray $WOT$[0],"guild_vs2"; // NOME DO MAPA QUE SERÁ MONITORADO EM TEMPO REAL setarray .@Merc$,"["+getmapusers($WOT$[0])+"]","janela 2","janela 3"; set .@msg, rand(getarraysize(.@Merc$)); delwaitingroom; waitingroom .@Merc$[.@msg],0; initnpctimer; //====================== n testei, mas acredito q vá te ajudar em algo ^^
  11. 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;
  12. Hello rAthena i'm using x4 Lord of Death Card Then Spam Pressure on Player COMA EFFECT active even using Skill? how to change only Normal Attack or Melee?
×
×
  • Create New...