Jump to content

Forshaken

Members
  • Posts

    152
  • Joined

  • Last visited

Everything posted by Forshaken

  1. Does anyone knows how to set multiple item ids using SFT_ID?
  2. t try to put end; function on each Pick# function
  3. Try to put the script instead on Script: | node try to put it on EquipScript: |
  4. change this .mhp[.@dupid] = strmobinfo(4,2411); to .mhp[.@dupid] = strmobinfo(4,1313);
  5. 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; }
  6. 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)); + } }
  7. no problem . Good luck on your dev journey!
  8. dont forget to compile after applying the changes
  9. 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)); */ }
  10. just go to your truck folder conf/groups.yml and comment who command or set it to false.
  11. what you mean is when player activates his pk mode and aura will be attached on him/her?
  12. Have you made changes on your src files?
  13. 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; }
  14. AntiDispel.txt
  15. i have a mod myself.
  16. yes cause latest rev is now using status.yml
  17. I managed to to update it to latest rev.
  18. i do have it.
  19. no problem with that mod thx @AinsLord for responding
  20. yeah that is my point mine is working well.
  21. 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..
  22. can you please elaborate your problem?
  23. you can put your condition on Kiel Card instead.
  24. this event script has been removed from rA emulator.
×
×
  • Create New...