Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. I never told to change client, I just told it's normal for now, just wait for PR to be merged or lower the storage size.
  2. 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)
  3. 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.
  4. https://github.com/HerculesWS/Hercules/pull/1584setunitdata and getunitdata has merged with Hercules repo, you can use those.
  5. 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...)
  6. 3/4/6) https://github.com/dastgir/HPM-Plugins/commit/45b400fb74b38a2530ea33a374d13ccd5c1da501
  7. There's 2 skill with ID 2800,2802,2803,2804. Just open file and search "ID: 2800", you would get 2 hits
  8. How is it botcheck? it just simply runs whomap2 and server with 100+ players, this would be completely useless? isn't it?
  9. 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.
  10. 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; }
  11. Seems problem of mapnametable https://github.com/ROClientSide/Translation/blob/master/data/mapnametable.txt
  12. 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
  13. You might have diffed with "Skip Service Select" patch
  14. - 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
  15. 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.
  16. 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.)
  17. Same Doubt 2 topics: http://herc.ws/board/topic/14679-modified-card-remover/#entry82097 ?
  18. 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.
  19. 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
  20. PM box was full, if you haven't got reply from me, be sure to send it again as I might have missed it

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

Important Information

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