Recent content by irugationz

  1. I

    Help with gettimestr and datetime (SQL).

    I have a table in SQL which stores the datetime when the player did something (datetime format: YYYY-MM-DD HH:MM:SS). I want to make a check up when the player try to talk to the NPC, that he will only proceed if the delay between the stored datetime in SQL and the current time in-game is less...
  2. I

    OnPCKillEvent error (going twice)

    I've made an script in an arena which when a player kills the other, the event "OnPCKillEvent" will starts to give him items. But, strangely, i noted that the player is getting the reward item twice. So, i've made a "debugmes" to check it, and when the player kills the other, it is running...
  3. I

    Item Group not working

    I tryed to make custom boxes (Group Items), but i got error when i try to open it. item_db2.conf: { Id: 31550 AegisName: "1a2a50" Name: "Black Box [Prontera]" Type: 2 Buy: 0 Sell: 0 Weight: 1 Trade: { nodrop: true noselltonpc: true } Script: <" getrandgroupitem 31550,1; "> }...
  4. I

    Help to make and apply a diff

    Sorry for asking this, but i've tryed a lot of times and always got an issue. I want to make a diff file with all my Hercules emulator changes, to patch it in future, when i need to update the emulator. I've already done the diff file (right button on hercules folder -> Git Diff -> Save...
  5. I

    Compiling - Possible Loss of Data

    When I Recompile, it shows a lot of messages like "e:\hercules\1 emulator\src\map\clif.c(1985): warning C4267: '=': conversion from 'size_t' to 'uint16', possible loss of data", but all rebuilds are succeeded. Is there any problem with that, or i just have to ignore it?   How can i fix that?  ...
  6. I

    Custom Passive Skills - Possible?

    I've made a group of "account variables" associated to custom passive skills that can improve the gameplay and enables some NPC features (like, if the player have the variable #XXX, he can use command @XXXX). I was thinking if it is possible to make custom skills (like the platinum skills), all...
  7. I

    How to break an equipment through NPC scripts?

    Is that possible to break a player's equipment through a NPC script? How? Thanks!
Back
Top