Just implemented CLICK functionality into the UI. This means that if you press your mousebutton on some window, then think better of it, you can move your mouse off that button and release, to cancel, just like in windows.
Z.
Printable View
Just implemented CLICK functionality into the UI. This means that if you press your mousebutton on some window, then think better of it, you can move your mouse off that button and release, to cancel, just like in windows.
Z.
Ok, will keep checkin the page to see when its updated.
Zaei - its ketting hotter by the post :D keep it up
Im still trying to figure out a way to describe a click transition from UI space into world space =).
I have also designed a function to generate a Unique object name. It works quite simply. You assign a name to an object (the base class has this variable), and then call the function. It will ask the object what it is, then gets the text for that. It then copies the Object type, the current name, and the handle number onto the end. So, for example, the first Font created in Arial Bold 14pt Italics will look like "OBJ_DFONTArial14bin0". The "n" means that it is not underlined =). This is all in anticipation of logging every message sent to any object to a file =).
Z.
Sounds good but use Tahoma or Verdana okay? (Verdana preferred) =)
I've FINALLY! fixed the problem. It WILL work now, it updates and it all works. The downloads page is almost done!
Oh and nothing new is implemented yet, look for it in a couple of hours (I'll post when it's done.)
Did you upload the new stuff? And could you clear me again, so i can re-activate?
Z.
Ok, Several more new things today. First, the new modular log system is up and running. You can define a new class to handle a string sent to it in different ways. At the moment, the base CLog class simple outputs the string to the debug window, and a CLogFile class outputs the string to a file. The cool part is that CLog outputs to the debug window, and THEN calls the file output class, but only if you instantiate a CLogFile object.
Next, I upgraded the font memory system, so that it knows what style of fonts are loaded (previously, it only knew if you loaded Arial, or Times New Roman, etc), so it now only returns a duplicate handle if font face, size, bold, italic, and underline are all the same.
Z.
EVERYTHING IS UPLOADED! MOVE MOVE MOVE! =)
You'll also notice the upload works, and the download page works too!!
It looks like you've done it Sas! Go you!
Z.
Does the site work for you?!?!?!
It gives me error 500-12: Application Restarting...
It won't let me in :(
Yeah, it's giving me that too, but i got in before that started. It's still doing it... might want to give the host a call =).
Z.
I think that later today I will get a main menu thing going, so if someone could post a scroll type image (perhaps 320x420), I can get that going.
Z.
We have 2 websites on it and the other one's working fine (?)
So call em up and yell at them =).
Z.
The IIS App probably froze, or something...
Z.
The whole ****ing site is down for me.
Do we have a second site that works ??
Nothing's working... just when I had something to show you guys, too :(
The site seems to be back up.
Sorry I havent gotten anything done today, I have hardly touched my computer =(. I did get a nifty code line counter though, and we have ~9000 lines of code, plus maybe 5000 or 6000 lines in the DirectX headers.
Z.
=)
Well the site still isn't working, just try to go to any other page, it will fail.
I know... =(
Z.
There's a bug on the download.asp page (the Music & Downloads link) that's causing the database to deny service, I'll try to fix this.
Can't wait to see it =).
Z.
http://www.planet-source-code.com/xq...s/ShowCode.htm
Go Check People !
That parchment thing looked quite good.
Hmmm?
Did you make that?
Oh, and I fixed the problem and the site's back up... see the downloads page! Also, a little note, to see the private files login and then click on "Back to Crystal-Rain", then go to the downloads. Also, the cookies should work, so you'll only have to sign-in once a month.
Ah, Sas, you are the man!
Sorry, I havent gotten a thing done yet today.
Now, I have made a decision. I am going to change the UI design, and remove popup menus. So, from now on, a Right click will popup a control palette, or other context sensitive window object =).
Anyway, nice work on the files, Sas!
Z.
Oh, and again, my password doesnt work =).
Z.
I was the man, but now I am the KING!
I found my second mistake... I was closing the recordset before writing and updating the records, anyways I did a mockup on your account, Zaei, and I made the PWD to 112, and it worked! But now you're de-activated and un-passworded =)
::applause:: I am now re-activated, and re-passworded! And it WORKS! Go Sas!
On my end, I have the little envelope scrolly thing moving (it doesnt scroll all the way down, dont know why, but that is what the robust log system is for =). Next I will implement actual message logging (Logs what messages are sent from where to where at what time).
Z.
Well, the message log system is up and running. When an immediate message arrives, You get an output of something like:
When a delayed message arrives, you get:Code:Message arrived from <source> to <dest>:
Message: DM_CLICK
Param1: 172
Param2: 45
Param3: 0
So, when a delayed message gets there, you know where to look for it. Each game tick prints out "[<time>]" to the file, so you know what happened when =).Code:Message Recieved from <source>, to <dest>, delivered at <time>
Z.
You've got a good coding style =)
So... I'm making a little music box thing for the website, I'm just making a template up now!
Thanks =).
Sweet! If you are stil wondering how to do it cross-page, you could make it a popup window...
Z.
There is only one problem with the message log... It spits out a HUGE amount of info. Just running the demo for 500 ticks (1 tick/30ms) spits out a 122kb text file =). Although, the reason is that I send ~600 Delayed Messages at the beginning, and they are all recieved the next tick =).
Z.
15 seconds gives you 122 kb???
Wow... well, I guess you might have to create a shorthand in the spit-out and then decipher it with another program... a log viewer, if you will? Oh, and I've done the template, here it is:
Here's a mockup of what it may look like:
Its a debug log, Sas, So it wont be in the final version =).
The music thing looks REALLY nice! I can't wait =).
Z.
Well okay then, but I don't want a 500 mb file on my HD every time I play the debug version of ToW. =)
How about allowing a -noD in the command line so that we can turn off debug in the debug version.
I'll make a log viewer for you if you want it.. the only problem is that it would require the VB runtimes, but all of the developers have them right?
I will add in support to turn off logging.
Remember too, that messages will only be sent when something changes (you order a unit, etc.). I will be using the same technique for multiplayer, of simple sending a net message containing everything needed. On 28.8, I think I can spit out 150 messages per second, which should be adequate =).
Tonight, I will try to get my UItoWorld adapter class running (thank you Design Patterns =), and hack up a really simple map class (this one will be just flat, maybe with a grass texture on it =).
Z.
Ace Dudes. the sites working for me and the music thing looks cool. Now to play around on the site :D
Will .towlog be fine for the extension?
Thats fine. Im using .log at the moment, but it's easy enough to change. I can make it yet another setting =).
Z.
I've been plugging away with it for a while, and just switched to inline HTML in the VB code, it looks pretty nice =).
Here it is, that's a sample log file for you, it's pretty small. I hope it will cut down on the KB amount. Also, tell me all the other commands so I can implement them (right now I have RIM, recieved instantaneous message, and RDM, which is recieved delayed message)
Also, do you want to put what the delayed message contains like in the instant message?
Oh, and guys? I want you to post news more regularly, maybe once every two days. Just to let the general public know what we're doing =)
Alright Sas, can do on the news thing =).
As for the log viewer, It looks nice =). Only a few things though. When I say time, I probably mean the number of ticks that have passed since the game was started. As for delayed messages, the only reason I am outputting something is to acknowledge that a message did indeed arrive, and give a reference to the tick it was really delivered at. It would be great, since you are using HTML for this, if you could add a target to each tick start, and have a delayed message be a link to that target =). I will rewrite the output of the log to what you have in the sample.
Z.
I'll see if I can do something like that... Also, tell me the size of the new type compared to the old!
eh? Size of what type?
Z.
Oh, and we might want to change the extension of the log to just regular .log, because of mods. I dont care either way, this is up to you, Sas.
Z.
Sas, here is a real message log, using your format. All i changed was how the time is printed. Notice that messages CAN be sent before a time is printed (if this is not good, I can fix it). Anyway, this is how i would like the message log format to look. Just get the time to print out (it doesnt work with the version you posted here, doesnt give me the time), and I will be happy (although I would love the target thing. It shouldnt be too hard =).
Z.
Forgot te file o.O
Z.
Made it recognise your format, Zaei =)
In the next release, I'll spiffy up the web look!
Well, guys, I didnt get what I wanted done tonight, but i did get the Windowing UI running quite well. The little envelope thing drops down now, and the image changes on a click. I also added MouseOver and MouseOff messages.
Now, do you guys want a simple demo of just the Window UI, or would you prefer a full UI test (this includes unit movement, selection, etc). I would prefer to do a full UI demo. Let me know.
Z.
We're aiming for a full UI test.
Oh and Zaei I'm finished learning C++ right now so I may be able to code something or other in the near future =)
::grin:: Youll never be done learning C++ =). Sounds good, though. Ill see what I can dig up for ya =).
Oh and the file download stuff doesnt seem to be working...
Z.
It doesn't work here either... I dont get it!
Maybe I need to turn of caching of file.asp...
do a full UI release.
Make sure you turn caching off with the forums =).
Z.
Even though I'm not a team member...the temp file doesn't get deleted.Quote:
Originally posted by Sastraxi
Made it recognise your format, Zaei =)
In the next release, I'll spiffy up the web look!
YAY at least it shos others look in this thread too :D
Im sure sas will sort that asap :)
I've been reading the thread for a while now, it seems like you guys are making progress. Every forum elder knows about ToW now. :)
It's kinda handy that it doesnt get deleted, because The log window isnt big enough to show an entire Delayed message across, so I can use IE to get the full thing =).
Z.