Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Problem with adding new attack for char.
#1
Okay, i have made a new char, put his id to data:
id: 15 type: 0 file: sprite\rocket\rocket.dat
And it works fine.

But now, i try to make a new attack for him, i have this same attack with other char too, so i just copied it and put it to rocket´s data. And of course i copied the data itself (???.dat), and i try to add new line to data:
id: 258 type: 3 file: sprite\rocket\rocket_col.dat
And after i start game with this new id, it goes fine at the start (start loadings etc.), but when i try to go fight, game says: error and closes itself (this error thing comes after that i have chosed how many bots there will come).
E: And if someone thinks why i don´t use the same data id what i use on my other character who has this attack, i want to change the colour, and then they can´t be same.

Data i have in rocket.dat:
Might be back, might be not :^) anyways awesome to see you guys again!
Reply
Thanks given by:
#2
ok, first of all I dont know if your code is serious - you forgot and !?!?

Then if you used this and still have the bug: Did you delete any files from data.txt to abridge your loading time? if you delete any of the 10 normal heros from data.txt and the other heros you play with are random you get a game crash (cause the id the computer chose is not in use anymore) - that`s the reason I can think of right now...
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#3
u should post ur ball.dat so i can check it.
[Image: illidansig1.png]
Reply
Thanks given by:
#4
right now i agree with MH and smasher... maybe you forgot all the <frame> and <frame_end>... but also if you say it works fine without the ball.dat, i'm absolutely confused. what data changer do you use? also, really you need to post that ball.dat. then we can fix the problem.
[Image: UB2.gif]
FrozenFiren|Devid|Sprites

News of the day 19th Sep 10: Someone's back on track
Reply
Thanks given by:
#5
for the sake of humanity plz post ur rocket_col.dat
[Image: illidansig1.png]
Reply
Thanks given by:
#6
Okay, thanks already for many answers.
And then to the questions:
MH Wrote:Did you delete any files from data.txt to abridge your loading time?
-Nope, i know that random thing error thing.
forgetlatios Wrote:but also if you say it works fine without the ball.dat, i'm absolutely confused.
Sorry if i said it confusingly, i mean the character works fine, if i don´t put the hit_??: 247 in his data, or i put oid: 253 instead of 258 (253 is the same attack with my other char but the color is wrong and i want to change it, so i can´t use this already working oid). And so i have checked that the problem isn´t in char and it´s in the rocket_col.dat or in the data.txt or somewhere else. So the problem is in col.dat. And I use DC1.5
-There isn´t <frame>s and <frame_end>s becouse if i copy straight from data changer, they just don´t appear, don´t know why, but it´s what ever.
-And the quested col.data:
(I´m worried about that the problem isn´t found here, becouse this is the exactly same data as the working same data is.)



E: Sorry everyone, i found out that the problem wasn´t in rocket, rocket was perfect.
I just taked everything else than standard things and rocket_dat and rocket_col.dat from my data.txt, ran lf, and everything worked fine. I will now just go and check where the problem really is and then put other data.txtes back.
Sorry for having you to help me with wrong problem.
And thank you for still helping me.
I will ask here if i have other problems :)
Might be back, might be not :^) anyways awesome to see you guys again!
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)