Empty server list when game is packed

08/30/2009 11:59 FattyB#1
Sorry for the long post, but I wanted to let you know everything I have tried.

I have my server up and running and it works perfectly with an unpacked client. I decided I wanted to get my game working with a packed data file, so I downloaded the Translated PAK Tool, Translated Patch Tool, and the Chinese Valentines gift for those who know what post that was, for the webman and launcher.

I got the webserver up and running, got the launcher to work without updating for now, but connects to the server for history.config, server.config, update.ini, and url.config, and it works great for launching a non packed client.

I packed the Data directory, excluding shadow.txt, warfog.dds, and the screenshot directory, and the launcher would not launch dekaron.exe. After banging my head against the wall and some profanity, I found out that you need to change "start Launcher.exe sel0" to "start Launcher.exe sel1" in the batch file that launches the launcher when you are working with a pack file, and got it to work.

The only problem is when I get to the server list, it is blank. See picture. I double checked "bin\server.config" on the client, and the one that the server has and there is funny there.

"Index,Name,Group,Select
0,My DK,0,0"

Just in case, I copied all the files from the original Difference directory with the exeption of my share folder. Namely I wanted to make sure nothing in "data\script\ui" was screwed up. But I am at my end. Any ideas?

[Only registered and activated users can see links. Click Here To Register...]


On a side note, I finished a project to learn C# which was create a packer/unpacker, .div'r, updater, and launcher. Got everything working perfectly, but I can not figure out what exactly is inside the "Header" portion of "data.hd" I found "number of files" at 0x198, and the file table was easy to duplicate, but what is all the stuff at the begining of the header up to the first table entry? I noticed it is different data and size between different servers. Can anybody give me any insight on how I can duplicate this info? I would love to finish this project!

EDIT***
I swear working with these files is like voodoo witch craft sometimes. So I realized that "start Launcher.exe sel1" selects the server #1 of which was not on the list, so of course the server list was blank. I put it back down to "start Launcher.exe sel0" and now the damn thing works. Sigh...... I hope getting the div files working isnt that bad. I changed NOTHING, just took a shower and came back, and now it works hahahaha.

Hopefully someone can help me with the data.hr. I may put it in a separate post if I dont get an answer.
08/30/2009 14:53 janvier123#2
Quote:
Originally Posted by FattyB View Post
"Index,Name,Group,Select
0,My DK,0,0"
Try not to use a space between "my" and "dk"
+reported: double post
08/31/2009 01:59 FattyB#3
I removed the space from my "server.config" just to make sure, but....

I have a new problem now. I went to remove all the directories, since the game is packed now (I left screenshot, sound/bgm, shadow.txt, and warfog.dds since it seems most servers leave these), but the game crashes unless I leave the texturepack directories in. I also must leave texture, the game works if it is removed, but anything using the DirectX Sprite interface does not have any textures. Anything with a mesh has the textures. I repacked the client to make sure and the same results were produced. I am going to guess that this is a packing problem, but I have no clue how to solve it. Oh and just to verify, nothing was changed as far as paths in the shadow.txt

[path]
PackIO 1
path_action Action\
path_texture Texture\
path_map Map\
path_mapobject Map\
path_mapkeepout Share\MapRedCell\
path_mapeffect Map\
path_mappack Map\
path_anidesc Property\AnimDescription\
path_actiondesc Property\ActionDescription\
path_bone Skel\
path_bonemesh Mesh\
path_boneanimation Anim\
path_shader Binary\
path_objectpack Object\Pack\
path_simpleobject Object\Static\
path_effect Property\Effect\
path_water Property\
path_property Property\
path_texturepack TexturePack\
path_effectpd Property\Effect\
path_script Script\
path_itemtable Etc\
path_monstertable Etc\
path_exptable Etc\
path_luascript Script\Lua\
path_preload property\preload\
path_sound Sound\


NOTE: When I say DirectX Sprite I mean anything that uses a 2 dimension texture like the load screens, UI Items.... Anything with a mesh I mean, the characters, monsters, map...