Jump to content

Dastgir

Script Developers
  • Content Count

    3803
  • Joined

  • Last visited

  • Days Won

    249

Everything posted by Dastgir

  1. It depends on which client you are using, since new clients have new features which increases the size of packet. Currently, we have almost reached the max packet size for char<->map transfer, and cannot increase storage size.Wait for https://github.com/HerculesWS/Hercules/pull/1722 to be merged, and I am sure, storage size then, can be set to >720(but not too high)
  2. Menu without mes is always a problem.Try put mes before select, and see if original problem exists or not Also, you don't need to do attachrid in the code you posted above.
  3. https://github.com/HerculesWS/Hercules/pull/1584setunitdata and getunitdata has merged with Hercules repo, you can use those.
  4. No, all new plugins require source code and the one on the post is compiled version(which is not compatible with new hercules, since data has been changed since then...)
  5. 3/4/6) https://github.com/dastgir/HPM-Plugins/commit/45b400fb74b38a2530ea33a374d13ccd5c1da501
  6. There's 2 skill with ID 2800,2802,2803,2804. Just open file and search "ID: 2800", you would get 2 hits
  7. How is it botcheck? it just simply runs whomap2 and server with 100+ players, this would be completely useless? isn't it?
  8. 1) install gdb 2) run login/char-server normally. 3) run map-server by typing following commands gdb map-server run 4) Reproduce the bug and let the server crash 5) Check the ssh console, it might show the report 6) type 'bt full' and show all the output here.
  9. script_commands.txt have a nice example for it - script atcmd_example FAKE_NPC,{ OnInit: bindatcmd("test", strnpcinfo(NPC_NAME_UNIQUE)+"::OnAtcommand"); end; OnAtcommand: // This command expects a character name (that may contain spaces) as // the only parameter. .@name$ = ""; for (.@i = 0; .@i < .@atcmd_numparameters; ++.@i) { .@name$ += (.@i > 0 ? " " : "") + .@atcmd_parameters$[.@i]; } dispbottom("The specified name is: '" + .@name$ + "'"); end; }
  10. Seems problem of mapnametable https://github.com/ROClientSide/Translation/blob/master/data/mapnametable.txt
  11. Seems interesting. I would be interested in doing some of these, though not promising if I would do it. 1) May be possible 2) I won't be touching it, it seems possible only with workarounds. 3) Possible 4) Possible 5) Wont be touching it, possible with workaround/ function overload. 6) Possible. 7) I Insist keeping that part as source. But I insist try and learn and do it with Trial and error method
  12. You might have diffed with "Skip Service Select" patch
  13. - script CycleEvent FAKE_NPC,{ OnExecute: if (.current_event >= .max_events) { .current_event = 0; } switch(.current_event) { // if max_events is 10, then .current_event goes from 0 to 9 case 0: donpcevent("Event1::OnEvent"); break; case 1: donpcevent("Event2::OnEvent"); break; case 2: donpcevent("Event3::OnEvent"); break; //.. and so on.. } // Or Use this below method if you really have Event NPC Names as Event1/Event2/Event3/... (Commented) // donpcevent("Event"+ (.current_event + 1) +"::OnEvent"); announce "Event "+ (.current_event+1) +" started.", bc_all; end; OnEnd: // Call CycleEvent::OnEnd when event ends(needs to be manually edited on each event script when end): donpcevent("CycleEvent::OnEnd") ++.current_event; donpcevent(strnpcinf(NPC_NAME) +"::OnExecute") end; OnTimer15000: donpcevent("event 2::OnEventTwo"); stopnpctimer; end; OnInit: .max_events = 10; bindatcmd("startevent", strnpcinfo(NPC_NAME) +"::OnExecute"); end; } Hope this helps
  14. you should instead use 'adduser' as it auto creates home directory for user. or if you are still using useradd, you can do so by having -m parameter:'useradd -m' I recommend adduser command.
  15. Try to get gdb dump and post it here. http://herc.ws/wiki/GDB (If you are using old ExtVending, be sure to update it, I have updated it a month ago I guess.)
  16. Same Doubt 2 topics: http://herc.ws/board/topic/14679-modified-card-remover/#entry82097 ?
  17. Afaik, if rental cards are put into the item, the rent time goes off. so there's no way that card remover can retain it because it isn't saved upon card insertion. for saving timer for cards would require some (massive?) amount of source editing and as well as saving those on DB, since cards bounded to items are just saved on card column now and no extra row for it.
  18. To those who haven't been able to PM/PM'd but received no reply, please send them again or message me at Discord : @Dastgir#1460
  19. PM box was full, if you haven't got reply from me, be sure to send it again as I might have missed it

  20. Please List all the plugins as this seems to be plugin related error.
  21. you need to restart the server I believe, and tha would increase max hp of all the player
  22. https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/hit-delay.c
  23. Yes, you can now use the config files
  24. Busy Days!!! Sorry for all the delays.

    1. Shatowolf

      Shatowolf

      it's fine mate. :D go go go ExtendedBG :D hehe

    2. imustluvpain

      imustluvpain

      sir are you available for a scripting service?

×
×
  • Create New...

Important Information

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