dao Posted June 14, 2009 Author Share Posted June 14, 2009 when you attack a monster or a monster attacks you a red or white number starts floating up. but then i noticed if u get hit again that number that was already floating up disappears and then another number goes back up. how woul i make it so it just adds another one instead of using the same one. it really annoys me Link to comment Share on other sites More sharing options...
Tyr Posted June 14, 2009 Share Posted June 14, 2009 yep me too, i know its fixable.. just didn't find the time yet to fix it. Anyone? Link to comment Share on other sites More sharing options...
dao Posted June 14, 2009 Author Share Posted June 14, 2009 yea if i can figure out where it draws the text i think i can fix it Link to comment Share on other sites More sharing options...
balliztik1 Posted June 14, 2009 Share Posted June 14, 2009 ``` If casestring = "blitplayerdmg" Then DmgDamage = Val(parse(1)) NPCWho = Val(parse(2)) DmgTime = GetTickCount iii = 0 Exit Sub End If``` Link to comment Share on other sites More sharing options...
dao Posted June 14, 2009 Author Share Posted June 14, 2009 how do i make more variables? Link to comment Share on other sites More sharing options...
Tyr Posted June 14, 2009 Share Posted June 14, 2009 @Zultar:> how do i make more variables?index the iii… thats what i'm going to do Link to comment Share on other sites More sharing options...
dao Posted June 14, 2009 Author Share Posted June 14, 2009 lol how do i index it o.o tut on this im a newb at vb6 kinda Link to comment Share on other sites More sharing options...
mrmiguu Posted June 14, 2009 Share Posted June 14, 2009 What he is saying is that iii is the height for the damage text. If you wanted it to keep going up, just make something like iiii and iiiii or w/e Link to comment Share on other sites More sharing options...
dao Posted June 14, 2009 Author Share Posted June 14, 2009 so keep making those? *confused Link to comment Share on other sites More sharing options...
Robin Posted June 14, 2009 Share Posted June 14, 2009 Hell no, that'd be a mess.Store them in a circular array, give it a size of 10 or so, then just write up a simple code that allows the values to be cycled through in that array. Basically, everytime a new packet came in with a new set of data for some damage text, the array would load in that new value, and load OUT the oldest value. It's a very clever little thing, the circular array.Personally, I use it as a system to store text within a custom "textbox" for my chat.![](http://lcm.csa.iisc.ernet.in/dsa/img42.gif) Link to comment Share on other sites More sharing options...
Tyr Posted June 14, 2009 Share Posted June 14, 2009 well ye there are of course 100 ways to do this :)and a index is like Long(0), Long(1).. i use it alot. Link to comment Share on other sites More sharing options...
Robin Posted June 14, 2009 Share Posted June 14, 2009 No, that's called an array. Link to comment Share on other sites More sharing options...
dao Posted June 15, 2009 Author Share Posted June 15, 2009 can anyone like tell me how to do this..? i really need this fix. u told me "what" to do but u didnt tell me "how" im still stuck in the same place i saws before. Link to comment Share on other sites More sharing options...
mrmiguu Posted June 15, 2009 Share Posted June 15, 2009 Use Robin's method. It's basically a very refined concept of what Ballie and I were trying to explain to you. He used a diagram and it makes more sense with the visual aspect. Link to comment Share on other sites More sharing options...
dao Posted June 15, 2009 Author Share Posted June 15, 2009 yea but idk what code to do or anything Link to comment Share on other sites More sharing options...
balliztik1 Posted June 15, 2009 Share Posted June 15, 2009 I'll write up a quick tutorial. I got this working in my game in a matter of minutes. =)http://www.touchofdeathforums.com/smf/index.php/topic,46462.msg472459/topicseen.html#new Link to comment Share on other sites More sharing options...
Robin Posted June 15, 2009 Share Posted June 15, 2009 As you can possibly imagine, I'm getting a bit bored of having to tutorialise everything.I try and help people with it first, if they don't even try to do it themselves I just stay clear of the topic.I think that's fair. Wait for Ballie to post his tutorial :P Link to comment Share on other sites More sharing options...
dao Posted June 15, 2009 Author Share Posted June 15, 2009 lol yeah im kind of getting to understand u a bit more robin i appreciate all of your help. XDthanks ballie too, i really want this fix xD Link to comment Share on other sites More sharing options...
balliztik1 Posted June 15, 2009 Share Posted June 15, 2009 I generally hate doing it too, Robin, but I've gotten so used to tutorials that it's no big deal anymore. Besides, I'm going for a teaching degree, and it has to start somewhere, eh? Link to comment Share on other sites More sharing options...
dao Posted June 15, 2009 Author Share Posted June 15, 2009 lol awesome. and i hope it goes to a new page soon this page is all messed up with it being really long. good luckon the degree though Link to comment Share on other sites More sharing options...
Robin Posted June 15, 2009 Share Posted June 15, 2009 @♪♫♪:> I generally hate doing it too, Robin, but I've gotten so used to tutorials that it's no big deal anymore. Besides, I'm going for a teaching degree, and it has to start somewhere, eh?Argh, sounds horrible. This new "No child left behind" policy makes teaching as enjoyable as running through tar. Link to comment Share on other sites More sharing options...
dao Posted June 15, 2009 Author Share Posted June 15, 2009 lol robin that was random xD what policy"No child left behind" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now