Jump to content

Happy

Members
  • Content Count

    170
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Happy

  1. https://pastebin.com/hX1WrBxN Its a modified old lady(card remover) should remove for costumes as well. I'll leave the testing to you
  2. Instead of every hour, make it every 10 minutes. Instead of points, change to item. Stop when vending and pub, but allows AFK. /* Instead of every hour, make it every 10 minutes. Instead of points, change to item. Stop when vending and pub, but allows AFK. */ - script ksdfskjfhs -1,{ OnPCLoginEvent: dispbottom "Your timer starts now. You will receive 10 minute tickets after being online for 10 minutes"; while (1) { if ( checkvending() != 2 && !checkchatting() ) { .@hourpointtick++; if ( .@hourpointtick > .tick ) { dispbottom "You have received 10 minute tickets"; getitem 7227, 10; .@hourpointtick = 0; } } sleep2 .sleeploop; } end; // doesn't read OnInit: .sleeploop = 30000; // every 30 seconds .tick = 20; // loop 60 times of 30 seconds == 30 minutes end; } There you go, I'll leave the testing to you though just post here again if there are errors Might be better to use timers, i think there is already an hourly point reward somewhere with timers. Just try to search around.
  3. Send / post the hourly script you had and i'll modify it.
  4. Maybe develop while on debug mode, could produce a more understandable error http://herc.ws/wiki/MSVC_Crash_Debugging check this link to enable it on Visual Studio run the map server thru it. and trigger the error again, then post what shows up.
  5. try to remove &pl_sd->bl all together, just put bl on there too. that's what i meant by "try putting bl on first and second since bl is already a block list you probably won't need the pl_sd "
  6. maybe post the whole script and i second to @4144 its better if you use timers on this one. Look up addtimer in doc/script_commands.txt and if you haven't read the whole doc, doing a quick glance at each commands might be a big help for you in the future. You don't have to memorize them, you just need to know what's available to you.
  7. try putting bl on first and second since bl is already a block list you probably won't need the pl_sd
  8. I think you're supposed to put the target on 2nd, but based on your code both src and target parameters are the same which is &pl_sd->bl
  9. maybe put it in something like this instead while(1) { if (!isnight()){ bonus bInt,50; } else { bonus bStr,50; } sleep2 1500; }
  10. What errors do you get on your map server console? im guessing the command used on this shop doesn't work with herc, it needs to be converted.
  11. Happy

    Poring Catcher

    Based on the script after a quick look, you're supposed to talk to an npc after being announced as winner. If you've tried talking to the npc, maybe check if there's an error on map server after entering your name(winner name).
  12. Seems to work fine, i also used 2014-10-22b to test your script.
  13. Status Update Scripting: 1/2 slots available Source code: 1/2 slots available Thanks! Rok on!
  14. Yeah,im not quite sure but I think i had experienced that before. So i had to find it on the source code, since nothing is happening when i change the skill_db.
  15. Hi! if that doesn't work, its either the skill_db you're editing is not the right skill_db eg. your server is in RE and you're editing Pre-Re skill_db or the opposite. or it just doesn't work and that the target for the skill is hard coded on source.
  16. It is possible. On map/party.c you can try to modify the contents of function party_create Find: int party_create(struct map_session_data *sd, const char *name,int item,int item2)
  17. Great! You're welcome
  18. can you show me the lines you modified?
  19. Hi! Do you still need it?
  20. Hi! on things like put the getitem and the setarray inside a block using { } Eg. else if ( @PlayersKilledStreak == .doublekill ) { setarray .@streakname$,"doublekill.wav","Réalise un Double Kill","!"; getitem <itemid>,<amount>; }
  21. Hi! This one's per account: http://herc.ws/board/applications/core/interface/file/attachment.php?id=4108
  22. Hi, You'd need to edit them at mapzone db please refer to this post http://herc.ws/board/topic/302-introducing-hercules-map-zone-database/ They're located at either db/pre-re or db/re map_zone_db.txt
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.