Raised This Month: $32 Target: $400
 8% 

ZP Class Flame Errors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mankled
Senior Member
Join Date: Oct 2019
Old 10-18-2020 , 01:00   ZP Class Flame Errors
Reply With Quote #1

im using zp class flame on my server, and i always get log errors saying:

PHP Code:
Invalid message id
displaying debug trace plugin 
"zp_class_flame.amxx"
run time error 10 native error (nativeset_msg_block)
zp_class_flame.sma::on_fire line (450
I know the error is the ID which the message is sent, but i dont what ID to put it

could someone fix this for me? thanks
here's the .sma
Attached Files
File Type: sma Get Plugin or Get Source (zp_class_flame.sma - 100 views - 14.4 KB)
Mankled is offline
r0ma
Senior Member
Join Date: Apr 2012
Location: Great Tomb of Nazarick
Old 10-18-2020 , 01:58   Re: ZP Class Flame Errors
Reply With Quote #2

on plugin_init add:
PHP Code:
    gmsgScoreInfo get_user_msgid("ScoreInfo");
    
gmsgDeathMsg get_user_msgid("DeathMsg"); 
__________________
Discord:FluffyDeveloper#4753
Github: https://github.com/francoromaniello
AMX-ES: https://amxmodx-es.com/r0ma'
r0ma is offline
Send a message via MSN to r0ma
Mankled
Senior Member
Join Date: Oct 2019
Old 11-01-2020 , 14:57   Re: ZP Class Flame Errors
Reply With Quote #3

now there is new errors:
Code:
L 11/01/2020 - 09:44:19: Start of error session.
L 11/01/2020 - 09:44:19: Info (map "zm_foda") (file "addons/amxmodx/logs/error_20201101.log")
L 11/01/2020 - 09:44:19: [AMXX] Displaying debug trace (plugin "zp_class_flame.amxx", version "1.2")
L 11/01/2020 - 09:44:19: [AMXX] Run time error 11: divide 
L 11/01/2020 - 09:44:19: [AMXX]    [0] zp_class_flame.sma::fire_flamethrower (line 177)
L 11/01/2020 - 09:44:19: [AMXX]    [1] zp_class_flame.sma::FM_PreThink (line 548)
L 11/01/2020 - 10:09:02: Start of error session.
L 11/01/2020 - 10:09:02: Info (map "zm_aztec_infinity") (file "addons/amxmodx/logs/error_20201101.log")
L 11/01/2020 - 10:09:02: [AMXX] Displaying debug trace (plugin "zp_class_flame.amxx", version "1.2")
L 11/01/2020 - 10:09:02: [AMXX] Run time error 11: divide 
L 11/01/2020 - 10:09:02: [AMXX]    [0] zp_class_flame.sma::fire_flamethrower (line 177)
L 11/01/2020 - 10:09:02: [AMXX]    [1] zp_class_flame.sma::FM_PreThink (line 548)
could u help me?
Mankled is offline
r0ma
Senior Member
Join Date: Apr 2012
Location: Great Tomb of Nazarick
Old 11-01-2020 , 15:04   Re: ZP Class Flame Errors
Reply With Quote #4

https://forums.alliedmods.net/showthread.php?t=154433 2seg in google search
__________________
Discord:FluffyDeveloper#4753
Github: https://github.com/francoromaniello
AMX-ES: https://amxmodx-es.com/r0ma'
r0ma is offline
Send a message via MSN to r0ma
Mankled
Senior Member
Join Date: Oct 2019
Old 11-01-2020 , 17:14   Re: ZP Class Flame Errors
Reply With Quote #5

Quote:
Originally Posted by r0ma View Post
i didnt get it, what should i do ?
Mankled is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode