4144
Core Developers-
Content Count
1189 -
Joined
-
Last visited
-
Days Won
124
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by 4144
-
no. this can be plugin code issue but not sscanf.
-
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
-
Read here how do warnings like warnings and not errors: http://stackoverflow.com/questions/22450423/how-to-use-use-crt-secure-no-warnings
-
You can try count time from last attack from or to player.
-
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.
-
After last HPM changes, probablty all plugins need some fixes. How and what to fix, see sample plugin and compare with own.
-
What if I want host my server on my own pc?
4144 replied to Aurora's question in General Server Support
If this leased ip got your server yes it can works. If if got in your router, can be complicated configuration. -
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.
-
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
-
Better write plugin for this.
-
Look like this code based on still not merged pull request
-
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.
-
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?
-
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.
-
For fix this issue need know what skill use used or in what script line this happend.
-
Error on Plugins after updating to Latest Rev.
4144 replied to Ragnar Lothbrok's question in General Server Support
Some one should update your plugins for support new include paths in hercules. -
Try remove warp command. Probably if you using warp for dead player and it called second time after warp.
-
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.
-
Probably this is parser issue. You have syntax error in if condition if( strcharinfo(3) == "guild_vs1" && ) { Try delete "&&" from here
-
At first check without plugins, if bug still present, report it in https://github.com/HerculesWS/Hercules/issues
-
you should run configure like this: ./configure --disable-lto
-
Why using timer here? May be simpler to use OnUnTouch event? it triggered if player move away from npc area.
-
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
-
How to remove channel map text every time I change map?
4144 replied to markblank05's question in Client-Side Support
You can disable autojoin to #map channel. In file conf/channels.conf change map_local_channel_autojoin: true to map_local_channel_autojoin: false