Jump to content

Forshaken

Members
  • Posts

    148
  • Joined

  • Last visited

Everything posted by Forshaken

  1. t try to put end; function on each Pick# function
  2. Try to put the script instead on Script: | node try to put it on EquipScript: |
  3. change this .mhp[.@dupid] = strmobinfo(4,2411); to .mhp[.@dupid] = strmobinfo(4,1313);
  4. You can just make a script for it bro - script at_pk -1,{ OnInit: bindatcmd "pk",strnpcinfo(3)+"::OnDo",0,99; end; OnDo: if(!pk_mode){ atcommand "@pk"; set pk_mode,1; hateffect,HATEFF_ID,TRUE; }else{ atcommand "@pk"; set pk_mode,0; hateffect,HATEFF_ID,FALSE; } end; OnPCLogoutEvent: if(pk_mode){ atcommand "@pk"; set pk_mode,0; hateffect,HATEFF_ID,FALSE; } end; }
  5. or if you just want to remove it for normal player's perspective just follow the code below /// Amount of currently online players, reply to /w /who (ZC_USER_COUNT). /// 00c2 <count>.L void clif_user_count(map_session_data* sd, int count) { + if(sd->group_id >= 1) { // you can adjust the group id here int fd = sd->fd; WFIFOHEAD(fd,packet_len(0xc2)); WFIFOW(fd,0) = 0xc2; WFIFOL(fd,2) = count; WFIFOSET(fd,packet_len(0xc2)); + } }
  6. no problem . Good luck on your dev journey!
  7. dont forget to compile after applying the changes
  8. oh my bad, go to clif.cpp and find /// Amount of currently online players, reply to /w /who (ZC_USER_COUNT). /// 00c2 <count>.L void clif_user_count(map_session_data* sd, int count) { int fd = sd->fd; WFIFOHEAD(fd,packet_len(0xc2)); WFIFOW(fd,0) = 0xc2; WFIFOL(fd,2) = count; WFIFOSET(fd,packet_len(0xc2)); } Change to /// Amount of currently online players, reply to /w /who (ZC_USER_COUNT). /// 00c2 <count>.L void clif_user_count(map_session_data* sd, int count) { /* int fd = sd->fd; WFIFOHEAD(fd,packet_len(0xc2)); WFIFOW(fd,0) = 0xc2; WFIFOL(fd,2) = count; WFIFOSET(fd,packet_len(0xc2)); */ }
  9. just go to your truck folder conf/groups.yml and comment who command or set it to false.
  10. what you mean is when player activates his pk mode and aura will be attached on him/her?
  11. it cant be applied to script command, you have to apply the bonus straight to the item and if you want to exclusively apply the bonus when it is equipped on their right hand you can try this if ( getequipid(EQI_HAND_R) ) { bonus bAllStats,100; }
  12. yes cause latest rev is now using status.yml
  13. which rA rev are you using?
  14. no problem with that mod thx @AinsLord for responding
  15. yeah that is my point mine is working well.
  16. I iuse the same mod on latest rev and after i click that cencel button, vend will not push thru and it has a message mo "Skill faiked..
  17. can you please elaborate your problem?
  18. you can put your condition on Kiel Card instead.
  19. this event script has been removed from rA emulator.
  20. Target Git Hash -> ff0cbfe4e803661f1ab66dd56d2d1b815873e28a ( Also working on emulators for April 2022 and below. ) bNoRequireItem-rA- ( Updated ).diff
×
×
  • Create New...