[HELP] how to fix this?

02/25/2017 15:40 Funabashi#1
Hey,

Mein Client crashed öfters und ich bekomm folgenden Fehler mehrmals die sekunde.

2017/ 2/22 15:33:14 SWDForceAdd Spline : 범위 초과 4600

kann mir jemand sagen wie ich den Fehler behebe?


Danke :)
02/25/2017 16:09 Sedrika#2
Schon mal nach dem Error gesucht?
Kleiner Ansatz: Der Fehler hat was der Schwungfarbe der Waffen zu tun.
02/26/2017 06:20 NickHough#3
Quote:
Originally Posted by Sedrika View Post
Schon mal nach dem Error gesucht?
Kleiner Ansatz: Der Fehler hat was der Schwungfarbe der Waffen zu tun.
He probably did try, BUT there is a major problem that Flyff noobies don't understand. The system time is printed as well, so he only needs to search for part of that error text and not the whole thing.

Quote:
Originally Posted by Funabashi View Post
Hey,

Mein Client crashed öfters und ich bekomm folgenden Fehler mehrmals die sekunde.

2017/ 2/22 15:33:14 SWDForceAdd Spline : 범위 초과 4600

kann mir jemand sagen wie ich den Fehler behebe?


Danke :)
Try searching "SWDForceAdd Spline : 범위 초과" in the source or if that fails just "SWDForceAdd Spline :" as sometime the korean characters can mess up the search in VS.

Also "범위 초과" directly translates to "Out of Range", so it seems like it is an array problem too where this error is printed so you know why the game crashed. Maybe MAX_SF_SPLINE isn't big enough and the max effect it's trying to create for the sword force (swing colour) that is too high, i'd suggest finding the definition of MAX_SF_SPLINE and changing it to 16384 (from 4096) as from your error you gave us your value of 4600 is definitely higher then 4096 (the current MAX_SF_SPLINE) which causes this particular error to be printed to the error log file.
02/26/2017 19:58 Yothri#4
Source\_Common\modelobject.cpp @ Line: 2533
You probably messed up with some kind of max value for whatever thing you are trying to do.

The code is comparing m_nMaxSpline >= MAX_SF_SPLINE where MAX_SF_SPLINE is a constant with number 4096.

Idk what that is for but the value of whatever you doing was 4600 which is greater or equal than 4096 which leads to this error.

So if you know the value 4600 and where you did use it, the max value you can use for this value is 4095.