Announcement

If you are having trouble logging in, please reset your password.
If you are not getting an activation email, please check your spam or
use the "Contact Us" to contact an admin.
August 23, 2012, 11:11:47 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Does somebody know, how to turn on the debugging mode in Mafia?




There are script, that sends debug texts to game and I'd like to read them  " data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">

#1 August 25, 2012, 04:53:35 PM Last Edit: January 01, 1970, 12:00:00 AM by Guest
QuoteDoes somebody know, how to turn on the debugging mode in Mafia?

There are script, that sends debug texts to game and I'd like to read them  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">



 




I don't know how do it, but when I'm debugging scripts I create some debug strings in textdb_xx.def file and I use console_addtext nnnn command, where nnnn is the ID in textdb_xx.def file.

#2 August 28, 2012, 06:53:09 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Quote<blockquote data-ipsquote="" class="ipsQuote" data-ipsquote-contentapp="forums" data-ipsquote-contenttype="forums" data-ipsquote-contentid="400" data-ipsquote-contentclass="forums_Topic"><div>Does somebody know, how to turn on the debugging mode in Mafia?

There are script, that sends debug texts to game and I'd like to read them  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">



 




I don't know how do it, but when I'm debugging scripts I create some debug strings in textdb_xx.def file and I use console_addtext nnnn command, where nnnn is the ID in textdb_xx.def file.


</div></blockquote>

 




You can also use entity_script ssss command, where ssss is the string (directly, not ID) whitout quotations.




It displays new window, but this command works only in human scripts, not standard scripts.

#3 August 28, 2012, 07:07:17 AM Last Edit: January 01, 1970, 12:00:00 AM by Guest
Thank You, I solved it via console_addtext.