View Full Version : EQClient
daeken_bb
07-06-2004, 04:37 PM
Well, I've been working my ass off on the C version of EQClient (Codename FreakU, a play on Free EQ) and I'm finally really getting somewhere. Old-style zones work beautifully; fast and nice looking. Unfortunately, new-style zones seem to reference collide.dds. I have been working to figure out what the purpose of this is, but it's escaping me. If anyone has any input, please let me know.
And now for the screenshots:
http://archshadow.com/eqclient/kelethin_solid_1.jpg
http://archshadow.com/eqclient/pok_debug_1.jpg shows the collide texture.
Happy Hacking,
Lord Daeken M. BlackBlade
(Cody Brocious)
daeken_bb
07-06-2004, 06:17 PM
Figured out what to do with it... make it transparent :)
http://archshadow.com/eqclient/nexus_solid_1.jpg
http://archshadow.com/eqclient/pok_solid_1.jpg
http://archshadow.com/eqclient/butcher_solid_1.jpg
http://archshadow.com/eqclient/butcher_solid_2.jpg
http://archshadow.com/eqclient/felwithe_solid_1.jpg
http://archshadow.com/eqclient/felwithe_solid_2.jpg
http://archshadow.com/eqclient/felwithe_solid_3.jpg
http://archshadow.com/eqclient/felwithe_solid_4.jpg
http://archshadow.com/eqclient/northkarana_solid_1.jpg
http://archshadow.com/eqclient/southkarana_solid_1.jpg
http://archshadow.com/eqclient/southkarana_solid_2.jpg
http://archshadow.com/eqclient/southkarana_solid_3.jpg
http://archshadow.com/eqclient/southkarana_solid_4.jpg
Also... Source! :D
http://archshadow.com/eqclient/freaku.tar.bz2 or http://archshadow.com/eqclient/freaku.tar.gz
Happy Hacking,
Lord Daeken M. BlackBlade
(Cody Brocious)
Windcatcher
07-06-2004, 06:34 PM
One thing to watch for is whether the poly is transparent -- if the Flags field in the 0x30 fragment is 2 then the poly is transparent, regardless of whatever texture it might reference (look at the first few routines in OpenZone's frmMainUnit.pas). Usually, though, the transparent polys don't reference actual textures (the 0x30 fragment doesn't actually reference a 0x05 fragment), but maybe they changed that in the new-style zones. Regardless, though, if Flags is 2 then it doesn't matter.
*Every* zone is completely surrounded by transparent polys that prevent players from going outside the zone boundaries. Also, when you're ingame and find that you can't climb a mountain, for instance, rest assured that a transparent poly is in your way (e.g. Butcherblock Mountains). When you add zone bounds in OpenZone, the result is the same -- OpenZone creates transparent polygons for every zone bound line you add, and it automatically surrounds a zone with a bounding box of transparent polys.
WC
daeken_bb
07-06-2004, 07:10 PM
I've been working on this for a few minutes, and I can get the 0x30 handler to recognize the transparent polygons in new zones, but in gfaydark for instance, every 0x30 is normal. Any hints on how to go about finding those bounding box entries?
Edit: I figured it out. I was returning -1 as soon as it recognized a bad 0x5 reference. Thanks for the help :D
Windcatcher
07-07-2004, 04:10 AM
How about showing some pics of Veldona so people can see what OpenZone can do 8)
WC
daeken_bb
07-07-2004, 08:35 AM
Screenshots of Veldona:
http://archshadow.com/eqclient/veldona_solid_1.jpg
http://archshadow.com/eqclient/veldona_solid_2.jpg
http://archshadow.com/eqclient/veldona_solid_3.jpg
http://archshadow.com/eqclient/veldona_solid_4.jpg
http://archshadow.com/eqclient/veldona_solid_5.jpg
Not bad :D
daeken_bb
07-07-2004, 08:52 AM
Need a bit of help :)
With placeable objects, I can't get the X,Y,Z coords for the objects to be within the bounds of the zone. I tried just loading them normally, then I tried multiplying the coords by the appropriate scaling factor. Neither of which worked. If you have any input on this, I'd appreciate it.
Windcatcher
07-07-2004, 11:15 AM
The X,Y,Z values in the 0x15 fragments are the actual position of the object. The problem you're having is probably in decoding the 0x36 fragment for each placeable object. Make sure to correct the scale by dividing by (1<< Data10) to get actual vertex positions. Then, to place each object add the object's location from the 0x15 fragment. You might also have to add the 0x36 fragment's Params1 values to X, Y, and Z, respectively, but these are almost always 0 for placeable object meshes (doors might be an exception, though).
WC
Melwin2
07-10-2004, 12:03 PM
Freaku sounds like a pretty hot project to me.
Keep it up gentlemen.
sandy
07-11-2004, 03:46 AM
If i have well understood :
for each vertex of a 0x36 fragment :
x_final = (0x36)x * (0x36)scale + (0x36)centerx + (0x15)posx
???
Windcatcher
07-11-2004, 04:22 AM
Should be:
x_final = (0x36)x / SCALE + (0x36)centerx + (0x15)posx
where SCALE is 1 << (0x36)scale.
Mongrel
07-12-2004, 01:16 AM
Pre-calc the scale:
float scale = (1 / float(1 << (0x36)scale));
and then multiply it with the coords. Much faster.
sotonin
07-12-2004, 03:12 AM
Daeken if you need webspace to host your stuff. I may be able to help. I noticed all the images have stopped working.
govtcheeze
07-12-2004, 04:44 AM
I just stumbled across this thread, and am VERY excited about this project. Keep up the good work!
I know this is probably the smallest of concerns, but if would be at all possible I think building in a minilogin-type feature to connect to a local server would be sweet...allowing multiple chars on the same network even better. I dont even know if this is a client type request, but wanted to throw it out there none-the-less.
Let me know if there is anything you need to assist with this.
daeken_bb
07-12-2004, 05:50 AM
Thanks for the offer, but we already have webspace. It's just a matter of changing it over from the archshadow.com domain (hosting on that was cut off as we got fucked over by an ex-buisness partner)
Everything should be up (including the site, when it's built) within the next few days. Just to let everyone know where we are, we have basic culling in place, partial login code (Doodman has been working on that), and almost basic walking (without a BSP, no less) in place. Not only that, but 254 out of 259 zones render without a crash, though probably 5 or 6 have problems.
We'll keep you updated as we progress.
Happy Hacking,
Lord Daeken M. BlackBlade
(Cody W. Brocious)
sotonin
07-12-2004, 06:00 AM
Not only that, but 254 out of 259
Curious. You seem to have more zones than me. I know a number of the zones in the databases floating around are invalid. Nektropos neriakd, aviak, etc.
Still though you have 10 more than me. I eliminated all invalids from my records and have 244 total valid zones.
Could you perhaps look through this and let me know if you see any that are on yours (and valid) and not on mine so i can update peqserver.com
And of these msising zones do you have their zoneid from live? =)
thanks )
http://www.peqserver.com/zones.xls
broken links on the screenshots =o(
Windcatcher
07-12-2004, 03:25 PM
So...how do I build this, since there's no binary available? I'm anxious to give it a try...
WC
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.