Jump to content

Break San

Members
  • Posts

    16
  • Joined

  • Last visited

1 Follower

Profile Information

  • Gender
    Male
  • Location
    Brasil

Recent Profile Visitors

1165 profile views

Break San's Achievements

Poring

Poring (1/15)

0

Reputation

1

Community Answers

  1. Hi, Can create a new storage, an @storage2? with a separate table? or Would I like a npc, where the player can store the items in your inventory. With the option to Save, Remove, List the items. This npc would have a check of the account id. Items can be saved in the NPC or a table somewhere that the item can not sumi if the server restart.
  2. Hello friends, I need a new logo. Can anyone help me? open creativity Name: Ragna Art [.png]
  3. There's no way for the script? if(countitem(.@donates[@i]) >= 1 || isequipped(.@donates[@i])){
  4. Can you explain how it works? I tried but I could not place.
  5. I need to block some item in pvp map, how can I do this in the script .. tried to make it more if the item is equipped normally passes. case 4: if((Class == 24) || (Class == 25) || (Class == 26) || (Class == 4045) || (Class == 4046) || (Class == 4047) || (Class == 4048) || (Class == 4049) || (Class == 4001) || (Class == 4002) || (Class == 4003) || (Class == 4004) || (Class == 4005) || (Class == 4006) || (Class == 4007) || (Class == 4008) || (Class == 4009) || (Class == 4010) || (Class == 4011) || (Class == 4012) || (Class == 4013) || (Class == 4014) || (Class == 4015) || (Class == 4016) || (Class == 4017) || (Class == 4018) || (Class == 4019) || (Class == 4020) || (Class == 4021)) {dispbottom "^D20000Desculpe, The input TransClasses and Expanded Classes is prohibited in the Old Times arena.^000000"; close;} else{ setarray .@donates[0],607,608,4365,4128,4441,4433,4357,4146,4359,4132,4143,4148,4169,4198,4241,4330,4372,4374,4403,4047,4054,4135,4302,4324,4342,4363,4386,4408,4419,4121,4134,4137,4142,4147,4263,4276,4305,4318,4367,4425,4174,4123,4131,4168,4236,4290,4352,4376,4144,4145,4384,4430; for(set @i,0;@i < getarraysize(.@donates);set @i,@i+1){ if(countitem(.@donates[@i]) >= 1){ mes .@n$; mes "You can not use some items in this PvP (Fruit of Yggdrasil / Seed of Yggdrasil / Cards MvP's)!"; cutin "",255; close; }
  6. Good tested, but when I get automatically get disconnected. In need of a script to block dual acc on some maps, more block via not the right IP, because if the guy play a lan house he will not sign. So I thought via MAC, more does not work.
  7. It is possible to put in a certain map? - script Only1perMAC -1,{ OnPCLoginEvent: if (getgmlevel() >= 99) end; if (query_sql("SELECT `char`.`name` FROM `char` LEFT JOIN login ON `char`.account_id=login.account_id WHERE login.last_mac=(SELECT last_mac FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1 AND `char`.char_id!="+getcharid(0), .@name$) >= 1) { for (set .@i,0; .@i<getarraysize(.@name$); set .@i,.@i+1) { if (!checkvending(.@name$[.@i])) set .@samemac, .@samemac +1; } if (.@samemac >= 1) { announce "Sorry, only 1 account per computer can be logged in at a time.", bc_self; sleep2 1000; atcommand "@kick "+strcharinfo(0); } } end; }
  8. Now yes, I will test @edit Thank you
  9. The problem is that is adds more 3 point instead of consuming @edit Example 3 points have changed by vip, but instead of zeroing the points are adding 3 more, infinitely
  10. thank you @edit CapucheWorked out that I came across while is consuming the points are adding again. Doing update the table cp_v4p_voters
  11. I'm trying to add script option trading 3 points for 1 day vip, more is wrong giving someone help? mes "Okay!"; set .@account_id,getcharid(3); set .@usedPoints,3; set $nivelVip, 1; set $diasVip, 1; set $verificaVip, 1; query_sql("UPDATE `cp_v4p_voters` SET points=(points-"+.@usedPoints+") WHERE account_id='"+.@account_id+"'"); if (getgroupid() == 0){ query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3);dispbottom "Relogue para ter seu VIP ativado."; }else{ query_sql "UPDATE `login` SET `group_id` = "+$nivelVip+", `dt_vip` = DATE_ADD(`dt_vip`,INTERVAL "+$diasVip+" DAY) WHERE `group_id` = "+$nivelVip+" AND `account_id` = "+getcharid(3); } garbagecol(); close2; message strcharinfo(0),"Points added"; end; http://pastebin.com/yx19q9yx
  12. perhaps not a bug, I'll post more.
  13. rAthena ! Know what can be? be something in the src? All emulators I tested it happened today
  14. Realized in the current rAthena when the player attacks and swita for a weapon status (sleep, freezing etc) the switch will not start.
×
×
  • Create New...