Raised This Month: $ Target: $400
 0% 

kz world record replay plugin code help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
caffeine
Member
Join Date: Apr 2008
Old 01-13-2011 , 18:20   kz world record replay plugin code help
Reply With Quote #1

i was crashing on this sma code for many days, havent found any good method to make this better. any good solusion? thx.


PS. using "__mirv_print_pos" save positonx,y,z&anglesx,y,z (1 char missing every 7,8 lines).
Attached Files
File Type: zip kzworldrecordingamereplayTEST.zip (1.61 MB, 296 views)
File Type: sma Get Plugin or Get Source (kzwrecord.sma - 895 views - 9.0 KB)

Last edited by caffeine; 01-14-2011 at 05:27. Reason: reupload sma and readme files
caffeine is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-14-2011 , 01:29   Re: kz world record replay plugin code help
Reply With Quote #2

.amxx file removed, you are not allowed to attach it, also, you HAVE TO attach .sma file.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
caffeine
Member
Join Date: Apr 2008
Old 01-14-2011 , 05:28   Re: kz world record replay plugin code help
Reply With Quote #3

reuploaded
caffeine is offline
caffeine
Member
Join Date: Apr 2008
Old 01-15-2011 , 13:25   Re: kz world record replay plugin code help
Reply With Quote #4

i dont know whether you understand my meaning(sorry for my bad english)


the stats are inaccurate(1 Character Lost Every 7 or 8 lines) , i know the sma code doesnt fix all the error and still cause some frame lose => line 90-95:
Quote:
if( str_to_float(sPos[i]) > 99999999.0 || str_to_float(sPos2[i]) > 99999999.0 )
{
//server_print("[Wrong0] %s", textTemp)
iLine++
continue
}
this part code will not write to .datFile due to "(45.5532951054.678101,774.223022) (35.286411,178.568375,0.000000)" -->> one char "," missing. maybe this is the main error.
caffeine is offline
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 21:39.


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