Sidereal Day

Members
  • Content Count

    32
  • Joined

  • Last visited

  • Feedback

    N/A

Community Reputation

0 Neutral

About Sidereal Day

  • Rank
    Vassal

Profile Information

  • Gender
    Male
  • Country
    Belgium

Recent Profile Visitors

719 profile views
  1. You have to declare your new handler on GameServer.java also
  2. Check AbstractEnchantPacket and try to work around , test your skills
  3. The first example was not returning a float result as the second one seems like it's the correct one however when you want to do a division between 2 floats and you want the exact result you have to type something like "2/.1f”
  4. 811 is id from systemmsg that contains a string , this is a requestbypass packet
  5. ok found it , one more question if if the method is IsInEvent so the function will work for the rest of the events ? and 1 more, to validate the check on the ItemUse i have to add a return on canUseItem variable ?
  6. can you explain further what you mean by "(Request)UseItem, from memory" ?
  7. If i only could turn my logical idea on code it would be so easy, as sweets said i just want to prevent the player to use another weapon than my specific id on this event , so i think im going to use that code sweets said ----EDIT---- what return should i use because my class is public boolen not void so i cant return nothing
  8. will this code force the player to use only 1 specific id ? because thats what im trying to do
  9. public boolean canUseItem(PlayerEventInfo player, ItemData item) { if(item.getItemId() == _bowItemId && item.isEquipped()) return false; return super.canUseItem(player, item); } i want to make this part of code to { if(item.getItemId() != _bowItemId) player.sendMessage(LanguageEngine.getMsg("you cant use another weapon than the Bow")); } something like this
  10. the problem is that im forcing the player to equip a specific id but while the event is running he can change it
  11. Hello forum , im wondering how can i make my event restricted to only 1 type of weapon, im using use item by id command but i need some further help
  12. how is possible that this system running utx's like starting logo and loading screen which do not exist on my client ? which method the dev used? some kind of binding maybe on the dlls