AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   kz world record replay plugin code help (https://forums.alliedmods.net/showthread.php?t=147768)

caffeine 01-13-2011 18:20

kz world record replay plugin code help
 
2 Attachment(s)
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).

ConnorMcLeod 01-14-2011 01:29

Re: kz world record replay plugin code help
 
.amxx file removed, you are not allowed to attach it, also, you HAVE TO attach .sma file.

caffeine 01-14-2011 05:28

Re: kz world record replay plugin code help
 
reuploaded

caffeine 01-15-2011 13:25

Re: kz world record replay plugin code help
 
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.


All times are GMT -4. The time now is 02:10.

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