Raised This Month: $ Target: $400
 0% 

Run Time 11 error divide


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 12-20-2015 , 10:20   Run Time 11 error divide
Reply With Quote #1

In the server when i plugin and i enable debug so it says Runtime 11 error divide found on 367 line HELP
Line 366 to 369
PHP Code:
        length=sqrt(velocityvec[0]*velocityvec[0]+velocityvec[1]*velocityvec[1]+velocityvec[2]*velocityvec[2])
        
velocityvec[0]=velocityvec[0]*1000/length 
        velocityvec
[1]=velocityvec[1]*1000/length 
        velocityvec
[2]=velocityvec[2]*1000/length 
Attached Files
File Type: sma Get Plugin or Get Source (fireworks2.sma - 592 views - 32.3 KB)

Last edited by Kakarot47; 12-20-2015 at 10:22. Reason: Line
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 12-20-2015 , 10:51   Re: Run Time 11 error divide
Reply With Quote #2

Can someonee will fix plz
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
addons_zz
Veteran Member
Join Date: Aug 2015
Location: Dreams, zz
Old 12-20-2015 , 19:12   Re: Run Time 11 error divide
Reply With Quote #3

Here it is working fine. How can you reproduce it? This plugin has its own thread: Fireworks++ 3.0, ask support there.

addons_zz is offline
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 12-21-2015 , 16:10   Re: Run Time 11 error divide
Reply With Quote #4

Thanks for reply but i solved the division. Author mismatch the division between fireworks explodation
The code should be like this

PHP Code:
 length=sqrt(velocityvec[0]*velocityvec[0]+velocityvec[1]*velocityvec[1]+velocityvec[2]*velocityvec[2])
        
velocityvec[0]=velocityvec[1]*1000/length 
        velocityvec
[1]=velocityvec[2]*1000/length 
        velocityvec
[2]=velocityvec[0]*1000/length 
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
Reply



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 17:51.


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