OutlawByteStudios / Persistent-Kingdoms

Persistent Worlds Overhaul Mod for Mount and Blade Warband
Other
7 stars 7 forks source link

"dropped a loot" bug #499

Closed Thomas-Smyth closed 6 years ago

Thomas-Smyth commented 6 years ago
 16:02:54 - Tommy had these items: H:-1, B:-1, G:-1, F:-1, HO:0, 1:-1, 2:-1, 3:-1, 4:-1 
 16:02:54 -  <img=ico_headshot> Tommy 
 16:02:54 - Tommy dropped a loot (IID: 2745). 

Incorrectly being logged on logout.

Saptortacus commented 6 years ago

That one is logged at setup_agent_for_respawn. In vanilla PK-PW, players do drop loot when they leave the server. I think it is the responsibility of the server-side scripter to prevent the dropping of the loot and its logging as well.

Thomas-Smyth commented 6 years ago

Does gear get dropped in default PK then when you disconnect?

Thomas-Smyth commented 6 years ago

Only seems to occur on vanilla PK when saving scripts aren't used. Probably best not to change this behaviour as it may affect people's scripts and people using vanilla PK probably don't care that much about the logs.