Jump to content

4144

Core Developers
  • Content Count

    1189
  • Joined

  • Last visited

  • Days Won

    124

Everything posted by 4144

  1. no. this can be plugin code issue but not sscanf.
  2. Yes it's fine. Microsoft as always created own useless api. They always want change standrds for self only. scanf can be secure on insecure. This depend how programmer using it. If this plugin it used in insecure way, but because this is plugin, server control strings, and here cant be exploit for sscanf
  3. Read here how do warnings like warnings and not errors: http://stackoverflow.com/questions/22450423/how-to-use-use-crt-secure-no-warnings
  4. You can try count time from last attack from or to player.
  5. If you using linux or freebsd, update server and it will show better info. If you using windows, we cant help, because no one know with what skill this happend.
  6. After last HPM changes, probablty all plugins need some fixes. How and what to fix, see sample plugin and compare with own.
  7. If this leased ip got your server yes it can works. If if got in your router, can be complicated configuration.
  8. Not sure what kind of packet this client send to open cash shop, but it can be same issue with markets. If client send old packet like for simple shops, server will give items list, but will not allow buy/sell.
  9. You can check for hook functions pc->can_insert_card and pc->can_insert_card_into. First check is card can be used by itself, second check if this card can be inserted to this item
  10. Better write plugin for this.
  11. Look like this code based on still not merged pull request
  12. Before was bugs yes, for now not sure is bugs present. I add pull request for removing this checks. https://github.com/HerculesWS/Hercules/pull/610 And in pull request bit more explanation.
  13. This issue by design. After warp server forgot any npc related things. Probably need change this. Need talk with other devs. Reset happend in clif_parse_LoadEndAck. Or better some one create bug on github bug tracker?
  14. From call stack visible what this happend from script. Can you explain where is exactly it happend? May be you talked to some npc, some thing select in npc menu etc.
  15. For fix this issue need know what skill use used or in what script line this happend.
  16. Some one should update your plugins for support new include paths in hercules.
  17. Try remove warp command. Probably if you using warp for dead player and it called second time after warp.
  18. 4144

    Help

    If you mean warnings "Unable to set ..." this is mostly ok. First option useless and may be even not safe, it ignored (SO_REUSEPORT) Option with TCP_THIN_* need for better latency, look like your hosting not support it. With or without this options all will works.
  19. Probably this is parser issue. You have syntax error in if condition if( strcharinfo(3) == "guild_vs1" && ) { Try delete "&&" from here
  20. At first check without plugins, if bug still present, report it in https://github.com/HerculesWS/Hercules/issues
  21. 4144

    not compile

    you should run configure like this: ./configure --disable-lto
  22. Why using timer here? May be simpler to use OnUnTouch event? it triggered if player move away from npc area.
  23. Gdb cant not detect crash. It can be not crash but emergncy termination. This can happend if by some reason server want to terminate self. For detect this need know where and why server may exit. Also for better detecting memory corruption or other execution issue possible to use santity flags. They partially can work in gcc 4.9 and better works in gcc 5. Server will works bit slower. It will report not critial issues to console and will terminate with full issue description if critical issue happend. For this server can be compiled like this: make clean./configure --enable-manager=no --enable-sanitize=full --disable-lto --enable-debug=gdbmake
  24. You can disable autojoin to #map channel. In file conf/channels.conf change map_local_channel_autojoin: true to map_local_channel_autojoin: false
×
×
  • Create New...

Important Information

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