Jump to content

klesler

Members
  • Posts

    46
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    São Paulo - Brazil

Recent Profile Visitors

1802 profile views

klesler's Achievements

Poring

Poring (1/15)

1

Reputation

  1. Hi @Zycron, it is version 1.0.3 I just removed the old versions, so if you download now it will be the latest. playerspec_en.txt for english version playerspec.txt for portuguese version Best Gabriel.
  2. Thanks Pajo! Does this needs an enable_command; ? Or when the player is detached it naturally re-enables it ? I'll upload a new version using it.
  3. View File Player Build Inspection How it works? Talk with the NPC Input the player nick you want to spy Choose if you want to add more coins to the spy auction The victim player receives the deal. If he pays the price, he wont get stalked, if not, you get a list with all his current equipments and statuses. Submitter klesler Submitted 04/30/2018 Category Utilities Video Content Author Gabriel Barberini (klesler)  
  4. Hmmm, @pajodex Seems interesting, but maybe wont cover all the scenarios of what I'm trying to do, if you are interested: Anyway I'll try to solve all my scenarios with checkidle(); Thanks buddy! ? Best, Gabriel.
  5. Thank you for the quick answer guys! @AnnieRuru, @pajodex I was using .@ before, but then I tried to use @ (thinking it was a global variable) to solve a problem. I mean, I started a timer with initnpctimer; inside an event called proceed, then I stop this timer on the next event (N_paying) or if the timer reach 15000 (15 seconds) e.g: Proceed: initnpctimer; goto N_paying; end; N_paying: stopnpctimer; end; OnTimer15000: stopnpctimer; attachrid( @PlayerSpecID ); mes "The player is AFK or has disconnected..."; close2; attachrid( getcharid(3,@PlayerSpecInputName$) ); close; end; But the attachrid (.@PlayerSpecID ); and attachrid( getcharid(3,.@PlayerSpecInputName$) ); inside OnTimer15000: was not working, the console was telling me that the player was not attached, then I changed from .@ to @ in order to solve that (I thought it was a scope thing), but it didn't work too HAhaha! If you know how to overcome that too, I would really appreciate it! ? Thanks! Gabriel.
  6. Version 1.0.3

    148 downloads

    How it works? Talk with the NPC Input the player nick you want to spy Choose if you want to add more coins to the spy auction The victim player receives the deal. If he pays the price, he wont get stalked, if not, you get a list with all his current equipments and statuses.
    Free
  7. Hi rAthena! I'm trying to compare an input with rid2name(getcharid(3)) E.g input @PlayerSpecInputName$; set .@ownName$,( rid2name(getcharid(3)) ); if( @PlayerSpecInputName$ == .@ownName$ ) { mes "You cant use your own name"; close; But the logic is only working if the player input his own name exactly how it is written (case-sensitive), ex: If a player nick is 'XxXExAmPLE' and he inputs 'xxxexample', my if ( @PlayerSpecInputName$ == .@ownName$ ) wont work properly. Does anybody know how to overcome that ? Thanks in advance! ? Best, Gabriel.
  8. Still ? ? I tried and it seems the same yet.
  9. I tested it with some changes: .@m = select(implode(.@MapList$,":")) - 1; if(.MapMode[.@m]&2){ mes "You are about to enter NIGHTMARE PvP, on death you will lose gear randomly."; if(select("Nevermind:Continue") == 2) { if(.MaxPlayers[.@m] && getmapusers(.MapName$[.@m]) >= .MaxPlayers[.@m]){ mes "Room is Full."; close; } else if(.MapMode[.@m]&8 && (countitem(607) || countitem(608))){ mes "No "+getitemname(607)+" or "+getitemname(608)+" Allowed."; close; } else if(.MapMode[.@m]&16){ mes "No 3rd Classes Allowed."; close; } else if(.MapMode[.@m]&32){ mes "No Trans Classes Allowed."; close; } else { warp .MapName$[.@m],0,0; announce "[ PvP Warper ] "+strcharinfo(0)+" has entered in "+((.MapMode[.@m]&1)?"GvG":"PvP")+" Room",0,((.MapMode[.@m]&1)?0x00CC99:0xEE0000); } } else { close; } } } end; And it worked well, maybe it just need some refactoring, but I'll let this part with you The problem was indeed caused by the close; right after your if () { Best, Gabriel.
  10. case 1: .@m = select(implode(.MapList$,":")) - 1; .@executa = 1; if( .MapMode[.@m]&2 ){ mes "You are about to enter NIGHTMARE PvP, on death you will lose gear randomly."; if(select("Nevermind:Continue") != 2) .@executa = 0; } if(getmapusers(.MapName$[.@m]) >= .MaxPlayers[.@m]){ mes "Sala Cheia."; .@executa = 0; } else if(.MapMode[.@m]&8 && (countitem(607) || countitem(608))){ mes "No "+getitemname(607)+" or "+getitemname(608)+" allowed."; .@executa = 0; } else if(.MapMode[.@m]&16){ mes "No 3rd Classes Allowed."; .@executa = 0; } else if(.MapMode[.@m]&32){ mes "No Trans Classes Allowed."; .@executa = 0; } if (.@executa == 1) { warp .MapName$[.@m],0,0; announce "[ PvP Warper ] " + strcharinfo(0)+" has entered in "+((.MapMode[.@m]&1)?"GvG":"PvP")+" "+((.MapMode[.@m]&2)?"Nightmare":" "),0,((.MapMode[.@m]&1)?0x00CC99:0xEE0000); } else { close; } } I think the close; right after the if() is causing the issue, I solved it a long time ago by just separating it in a case. Let me re-write the bug report, since I struggled to express myself the previous post: 1 - The nightmare room is not working as intended, even if I choose to enter, I'm not getting teleported 2 - It seems that the banner/chat which appears above the NPC is not being updated with the number of players inside the rooms Best, Gabriel.
  11. Sorry it was my typo, The nightmare room is also not working, I mean, even if I choose to enter it does nothing.
  12. I think the problem is this "close;" if(select("Nevermind:Continue") == 1) close;
  13. Stolao, it seems that the number of players in the pvp room is not being updated.
  14. So if (!.var) means 'if var is empty' ? If I want it to be true if not empty, should i only use : if (.var) Or should I use if (!(!.var)) ? I was afraid that !.var would only check if .var exists, not validate its value.
  15. I'm calling it "platinum skills" but actually it is just normal skills which Doram players from my server are not able to get. I fixed it by adding this on Switch (BaseClass) { case Job_Summoner: skill "SU_HISS",1,SKILL_PERM; skill "SU_POWEROFFLOCK",1,SKILL_PERM; skill "SU_SVG_SPIRIT",1,SKILL_PERM; skill "SU_SPIRITOFLIFE",1,SKILL_PERM; skill "SU_CHATTERING",1,SKILL_PERM; skill "SU_MEOWMEOW",1,SKILL_PERM; skill "SU_NYANGGRASS",1,SKILL_PERM; skill "SU_SPIRITOFLAND",1,SKILL_PERM; skill "SU_SPIRITOFSEA",1,SKILL_PERM; skill "SU_SHRIMPARTY",1,SKILL_PERM; skill "SU_PURRING",1,SKILL_PERM; skill "SU_GROOMING",1,SKILL_PERM; break; But some skills still not saving Best, Gabriel
×
×
  • Create New...