Criminal - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Criminal (/Thread-Criminal) |
Criminal - Leonidas - 01-21-2017 01:54 PM Criminal status is not working on my server. I made a player account, attacked a npc, and they called guards but nothing happened. My player remains blue. I logged on 2 seperate player accounts and had 1 attack the other and the attacker still remained blue. I've looked at all my events and tags I have set on players and none of them would impede criminal actions. It seems that when I attack an NPC, they call guards, and when the guard arrives he does nothing because my character is blue. Maybe the guards are messed up? RE: Criminal - Sum - 01-22-2017 04:52 PM Could it be as simple as a region flag? or does it happen on all maps? RE: Criminal - Leonidas - 01-23-2017 08:26 AM Code: [AREADEF a_townVesper] I don't think it's the region and yeah it's happening everywhere. RE: Criminal - Leonidas - 01-28-2017 01:09 PM Anyone have any idea on this? I cannot figure this out. Edit: Just noticed that when I attack an NPC i remain blue but I still get the popup notification "You may turn criminal for this aciton". Upon clicking okay my character still remains blue. But when I kill the npc, my character then turns criminal. Is there no hardcoded script that turns players criminal upon attacking npc's? Or is it only when they kill the npc? RE: Criminal - Coruja - 01-30-2017 12:08 PM try using AttackingIsaCrime on sphere.ini AttackingIsaCrime=0 -> flag criminal only after hit / damage AttackingIsaCrime=1 -> flag criminal instantly when start the attack (even without hit the target) RE: Criminal - Coruja - 01-31-2017 01:30 AM I made some changes on source, try using this test build to check if it's working fine RE: Criminal - Leonidas - 01-31-2017 09:43 AM AttackingIsACrime has always been set to 1. Tried using your test build and it didn't fix anything. I'm guessing that means it has something to do with my scripts? Thank you btw |