PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Criminal problems

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097
Display posts from previous:   

Author Message
Gnafu



Joined: 02 Feb 2006
Posts: 88
Location: Livorno, Italy

PostPosted: Tue Feb 06, 2007 9:18 am    Post subject: Criminal problems Reply with quote

Hi, with the new core i have a problem.
When a staffman kills someone it is set as "criminal" without beeing noticed by the *Criminal* text as a normal illegal attack.
I noticed that it happends even when an Applyrawdamage is set to an npc causing dead. (IE: applyraw(npc, gethp(npc)+100)Wink

How can i solve this problem?

Author Message
Barbeirosa



Joined: 01 Feb 2007
Posts: 43

PostPosted: Tue Feb 06, 2007 11:43 am    Post subject: Reply with quote

Be sure that you SetController to 0 (null) so that the GM does not get rep system effects. By default I think 'use' and 'dot-command' scripts set the PC who ran them as the controller.

Author Message
Gnafu



Joined: 02 Feb 2006
Posts: 88
Location: Livorno, Italy

PostPosted: Fri Feb 09, 2007 2:12 pm    Post subject: Reply with quote

Did the previous pol version work in this way?

Author Message
Bracco



Joined: 28 Dec 2006
Posts: 80

PostPosted: Fri Feb 09, 2007 6:40 pm    Post subject: Reply with quote

always been this way afaik

Author Message
MontuZ
Distro Developer


Joined: 10 Feb 2006
Posts: 297
Location: Myrtle Beach, South Carolina

PostPosted: Sat Feb 10, 2007 3:54 am    Post subject: Reply with quote

Call the cops!


(sorry only read the topic title)

Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty