Invalid floating point operation

Desolation Mir2 (Med Rate Server)

Bon

Legend
Legendary
Jul 29, 2004
6,745
346
330
Kent, UK
just wonder has any1 ever had this error before in the m2?

Invalid floating point operation

if so, did you fix it? how? any1 got any info on it? etc etc



im trying to narrow it down to see what the source of the problem is, its defo something in envir i know that much, and i dont believe its any of the folders... so that leaves me with the database, mongen, mapquest, mapinfo etc

however, what ive noticed is it seems to only happen at set intervals, it was orginally constant spam after about 20mins of server bein online, but now ive managed to narrow it down to it only doin it every 2hours 20mins (give or take a min) for 20secs (give or take a sec)

so im thinkin, it cant be anythinglike mapquest, because thats only accessed when a play is ingame killin stuff.. and no1 goes ingame. same with mapinfo etc... im sure thats not constnatly accessed by the server, its just loaded once.

so im led to belive its either the mongen, or the database.

however, i tried removing the mongen and leaving it blank and still got errors, so im guessin it cant be that

unless i mis tested the folders properly, thta leaves me to belive it has to be the database. im now testing a normal database but im gonna have to w8 3hours to fully test if thats the problem or not



on 1st thought i was thinkin it has to be something thats reloaded every so often... so robot, shops reloading, stuff like that, but as i said i tested with no robot / normal market def and didnt seem to make a difference


any ways, any help be great :thumbup2:
 

Andreas

LOMCN Member
Untrusted Member
Veteran
Mar 12, 2008
2,695
21
125
Timisoara
i know how to fix it but i wont give u on a plate

look on server source , i think its more then enuff that hint ;)









haha now u like it ?
 
Upvote 0

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
274
Yes I have come across this one lol.
I did fix it but this was a long time ago so I cannot remember now.
Try eliminate 1 thing at a time.
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,745
346
330
Kent, UK
i know how to fix it but i wont give u on a plate

look on server source , i think its more then enuff that hint ;)

haha now u like it ?
alrdy looked in server source, no hints there

thing is ur just postin bein an arse, when i post i actually do give hints



Yes I have come across this one lol.
I did fix it but this was a long time ago so I cannot remember now.
Try eliminate 1 thing at a time.

im about 99% sure its something to do with the database now, just not sure what... gonna have to add it bit by bit lol :crying:
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,745
346
330
Kent, UK
im using an untouched db atm and basically adding in each bit tbl bit by bit...

its gotta be either items, magic, or monster thats the problem.. as GT etc are all the same



i noticed i was missing Plakfouten table... which is something to do with GTs, once i added that i got rid of the spam, but its still happenin every 2hours 20mins for 20secs


just have to see how it goes, its annoyin as have to leave it 3hours at a time to make sure the error is/isnt there

matt told me an invalid floating point is a decimal place.. like 0.1 or something

the mob db is unfinished, so i can only assume its something in that


but thing i dont understand is the database is only loaded once.. so maybe theres a mob that has an error in it and when it tries to spawn it its havin this error, im rly not sure lol

time will tell once i narror it down abit more
 
Upvote 0

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
274
The plakfouten table is just a table where the errors get put from inputting correct? So I don't know why that would affect anything.
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,745
346
330
Kent, UK
The plakfouten table is just a table where the errors get put from inputting correct? So I don't know why that would affect anything.
thats what i thought... but apparntly w/o it it sends this error like mad

im just well confused lol :001_tt2:
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
shoot me if you want but hey every things worth ago.

all of your shops reload automaticaly.
so what i was thinking is that most shops are set up to reload 1000 items every 60 seconds.

check your shops and change them to

[goods]
;Item Amount Time
pot 10 60

might be a little diffrent on 2.6 but you get the idea.

also you said you loaded a mongen with no mobs in it.
every server must have at least 1 mob spawning.
put a hen in to spawn somewhere and see if that helps.
also check for duplicate files and entries on all of your tables.these cause problems.

if your unsure on how to do this read this article i found very usefull.
http://www.cryer.co.uk/brian/sql/sql_delete_duplicates.htm

if all this is total rubbish just ignore it.
no need for a flame session .
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
its something to do with the tbl_monster im just not sure what
check that you havnt got loads of the same mobs spawning in the same place.loads of times.
and make sure every mob in your mongen table actually has amob attached to it
so if you have hen54 spawning make sure there is a mob called hen54

worth a try
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,745
346
330
Kent, UK
think its to do with some of the mobs havin 0 hp and 0 stats etc, cheeky said its something to do with dividing by 10... so would make sense
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,745
346
330
Kent, UK
Ive fixed this, it as to do with mobs having no HP and stats etc, gave them some HP and now dont get any erors

this is for future reference to any1 else that has this problem ;)
 
Upvote 0