The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error with Dialog
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #8
RE: Error with Dialog
(08-17-2013 03:29 PM)pinku Wrote:  
Code:
[FUNCTION ISMURDERER]
if ( <KILLS> > <SERV.MURDERMINCOUNT> )
return 1
endif
return 0
What happens if the reference this function operates on is invalid or not a player? Maybe put an IF statement to figure that out...

Quote:
Code:
text 99 69 <QVAL (<src.uid.<tag.bountyuid.1>.ismurderer> == 1 ) ? 32 : 02> 0
text 99 90 <QVAL (<src.uid.<tag.bountyuid.2>.ismurderer> == 1 ) ? 32 : 02> 1
text 99 114 <QVAL (<src.uid.<tag.bountyuid.3>.ismurderer> == 1 ) ? 32 : 02> 2
text 99 135 <QVAL (<src.uid.<tag.bountyuid.4>.ismurderer> == 1 ) ? 32 : 02> 3
text 99 159 <QVAL (<src.uid.<tag.bountyuid.5>.ismurderer> == 1 ) ? 32 : 02> 4
text 99 180 <QVAL (<src.uid.<tag.bountyuid.6>.ismurderer> == 1 ) ? 32 : 02> 5
text 99 204 <QVAL (<src.uid.<tag.bountyuid.7>.ismurderer> == 1 ) ? 32 : 02> 6
text 99 225 <QVAL (<src.uid.<tag.bountyuid.8>.ismurderer> == 1 ) ? 32 : 02> 7
text 99 249 <QVAL (<src.uid.<tag.bountyuid.9>.ismurderer> == 1 ) ? 32 : 02> 8
...
...
...

What if the TAG has an invalid value? Use TAG0 instead...
(This post was last modified: 08-23-2013 03:36 AM by RanXerox.)
08-19-2013 01:17 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Error with Dialog - pinku - 08-17-2013, 03:29 PM
RE: Error with Dialog - XuN - 08-17-2013, 05:25 PM
RE: Error with Dialog - pinku - 08-17-2013, 06:02 PM
RE: Error with Dialog - Rattlehead - 08-18-2013, 07:44 AM
RE: Error with Dialog - XuN - 08-18-2013, 07:49 PM
RE: Error with Dialog - Rattlehead - 08-18-2013, 09:50 PM
RE: Error with Dialog - darksun84 - 08-19-2013, 12:33 AM
RE: Error with Dialog - RanXerox - 08-19-2013 01:17 AM
RE: Error with Dialog - dagger4k - 08-19-2013, 09:54 AM
RE: Error with Dialog - Rattlehead - 08-19-2013, 11:29 AM
RE: Error with Dialog - pinku - 08-19-2013, 01:36 PM
RE: Error with Dialog - Rattlehead - 08-19-2013, 08:48 PM
RE: Error with Dialog - darksun84 - 08-19-2013, 10:37 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)