debugging help.
Posted: Mon Jul 28, 2008 8:59 pm
okay i made awhile back and little map maker for the game called wesnoth. as the maps there are based on text files it was EASY to
make. well wesnoth went and change the format of the file so
now i am having to re-update the program.
my first version works GREAT and is still good if you use
the old version of wesnoth. so really it was just a matter
of plugging in the new values where the old values were
and tweaking 3 things.
for some reason this breaks the program in a very odd way
in 2 different ways.
its LARGE for me and has about 570 lines of code...
i'm trying to avoid re-writing the whole thing as it works fine
for the old format.
would anyone have some REAL time to take a crack at debugging it with me?
i've spent about 4 hours so far..tweaking and debugging it.
here is a sample of what a typical 5x10 map file looks like:
if your willing i'll post the code or email it to you....
thanks
wally
make. well wesnoth went and change the format of the file so
now i am having to re-update the program.
my first version works GREAT and is still good if you use
the old version of wesnoth. so really it was just a matter
of plugging in the new values where the old values were
and tweaking 3 things.
for some reason this breaks the program in a very odd way
in 2 different ways.
its LARGE for me and has about 570 lines of code...
i'm trying to avoid re-writing the whole thing as it works fine
for the old format.
would anyone have some REAL time to take a crack at debugging it with me?
i've spent about 4 hours so far..tweaking and debugging it.
here is a sample of what a typical 5x10 map file looks like:
Code: Select all
border_size=1
usage=map
Gg,Gg,Gg,Gg,Ch,1 CH,Gg,Gg,Gg,Gg
Gg^Ve,Gg,Gg,Gg,Gs^Fp,Gg,Gg,Gg,Gg,Gg
Gg,Gg,Gg,Gg,Gg,Gg,Gg,Gg,Ww,Ww
Gg,Hh,Hh,Mm,Mm,Hh,Hh,Gg,Gg,Gg
Gg,Gg,Gg,Gg,Gg,Gg,Gg,Gg,Gg,Gg
thanks
wally