RuneScape Revision #RS2_194BETA server emulator

This is basically a edited 194 client , a 194 cache with 317 landscape files, and a connverted 317 Shard Revolutions server

http://uppit.com/v/H75DDZH6

Credits :
Krichevskoy - client + cache
Graham Edgecombe - Server base
Peterbjornx (me) - converting it, refactoring, research.

Research notes :

0 - crash 1 - cheer 142 - cnaidate stand 158 - canidate stand 452 - swimming 453 - water still 454 - bow and put in ( firemaking?) 455 - idk, but human and valid 456 " 457 - lay down on table 458 - get off table 459 - " 460 - " 461 - dance 462 - idk 463 - running 464 - " 467 - walking 468 -running 469 -stabbibng 470 - block 473 - slash 477 - woodcutting 486- 487 - like hometrainer xd 500 bury bones 513 pray 514 climb 515 eat 561 - tele minimize 577- jump cliff 578 die,mwuhahahahah 593- quicksand,halp 594 - falling 626 - n to e turn 627 - turn afterr this, agile 639 , tele maximize 640 tele minimize 662 cook on campfire 713,714 dieing 748 yes 749 no 751 bow 753 cry 754 evil laugh 755 cheer 756 wave
0 -choose 8 - combo lock 66 - cocktail guide 116 - Quest Complete 125 - ship travel 235 - chat 1line 237 - chat 2line 242 - chat 3line 248 - chat 4line 255 - chat 1line 258 - chat 2line 262 - chat 3line 267 - chat 4line 273 - chat 5line 280 - some list tab (part 1234 a, part1234 b....) 419 - player controls 573 - empty but valid (inter or something) 584 - empty but valid (inter or something) 592 - wep inter (warhammer) 613 - target view (Range guild) 735 - cocktail guide again 804 - quest list 882 - combo lock again 942 - scythe tab 968 - book 1035 - Game options 1066 - chat 1line name 1071 - chat 2line name 1077 - chat 3line name 1084 - chat 4line name 1092 - smithing 1234 - blank sheet of paper 1249 - magic book 1696 - equip tab 1743 - quest complete 1752 - battleace wep inter 1778 - staff wep inter 1803 - crossbow wep inter 1818 - bow wep inter 1833 - gianne cook book 1883 - sword wep inter 1909 - quest complete with bob the cat head 1918 - crafting : leather 2030 - sword wep inter 2056 - logout 2066 - select option 2 option 2076 - select option 3 option 2087 - select option 4 option 2099 - select option 5 option 2112 - select option close window 2122 - ship journey 2230 - stone tablet 2245 - region of misthalin (you are here) 2254 - trading screen 1 2374 - trading screen 2 2490 - char design 2633 - telescope view 2727 - mace wep inter 2755 - hairdresser salon female 2884 - hairdresser salon male 3038 - axe shop 3131 - stats WITH FAGITUE 3376 - crafting - rings 3476 - thrown wep inter 3491 - ranged guild ticket shop 3594 - select option 3616 - spear wep inter 3641 - sword wep inter 3668 - chat name 1line 3673 - chat name 2line 3679 - chat name 3line 3686 - chat name 4line 3694 - part aa bb 1234 tab 3736 - chat 4line 3744 - book 3790 - book 3838 - friends list 4065 - bank 4159 - chat 4line 4166 - prayer tab 4264 - chat 1line 4268 - chat 2line 4273 - ignore list 4400 - chat 3line 4406 - chat 4line 4413 - unarmed wep inter 4433 - leg makeover male 4579 - torso makeover male 4757 - torso makeover female 4885 book with pots 4951 - leg makeover female 5077 - male or female 5205 - hairdresser beards 5516 - gnomeball tab
Notes on NPC chat, revision #194-BETA

For named NPC chat one line
Interface 1066
Head model: 1067
Name :1068
Line 1:1069

For named NPC chat two lines
Interface 1071
Head model: 1072
Name :1073
Line 1:1074
Line 2:1075

For named NPC chat three lines
Interface 1077
Head model: 1078
Name :1079
Line 1:1080
Line 2:1081
Line 3:1082

For named NPC chat four lines
Head model: 1084
Name :1085
Line 1:1086
Line 2:1087
Line 3:1088
Line 4:1089

Notes on RuneScape revision #194-BETA item packets actionprop1 = ITEM ID actionprop2 = ITEM SLOT actionprop3 = INTERFACE

Format - - -

TYPES :
Standard actions :
622 - Drop - 110
Item defined actions:
649 - 1 - 80
408 - 2 - 139
176 - 3 - 9

Structure :
struct itemaction {
u1 packetid;
u2 itemid;
u2 itemslot;
u2 interid;
}

Thanks, and I’m sure Taharok will be happy, I’m pretty sure he wanted this.

Yeah, he pmed me

Thanks much. Though, I do have one question. I have gotten to the point of logging in and seeing my character, but none of the landscape itself is rendering. It’s skipping the crc checking just like yours is, but yours is obviously doing something that the original client didn’t. Could you quickly explain what changes you made to get it to render?

Make a override for invalid indexes like if (floindex >= Flo.cache.length) floindex = 5;
and add 317 map files which you can get from the package

Is the reason you used 317 landscape files because you couldn’t get ahold of the 194 landscape files? Or for some other reason?

Thanks much peter.

this

I think this is worth me posting. Sometimes when you try logging in with your deob, it won’t render the tiles. You may or may not know this already, but it’s because some of the tiles are different between the 194 and 317 versions. If you load the 317 tiles over the 194 tiles, it renders fully and perfectly.

anyone still have this?

i would like this too if possible

ugh, any particular reason why? I have the one graham made and the one I made, but they are a bit obscurely hidden in my old eclipse workspace. Just curious why anyone would want them though. Structurally, they are both terrible. In terms of completeness, not even close. There are fundamental problems between slightly difference cache versions and the 194 client, so there’s really no point in actually trying to build a working emulator.

mainly to play around, to have something i can study to possibly port all #194 functionality/LAF to a more current client revision.

Well, I’ll look for it later. It might be a bit before I upload it. I might include my refactored 194 client, too.

Eh, the 194 LAF was a bit different. The HUD was cooler looking imo, but there are a lot of aspects that are really more annoying than versions closer to 300, etc. It’s a fascinating client to work with, but mostly useless, unless someone can manage to get a cache working properly with it. In that regard, the biggest problem was the incompatibility between the landscape files and the objects stored in the cache archives (because for that version, they didn’t use a packed filesystem; each landscape region and map region were separate files, and the rest of the data was packed in file-based archives). Eh, /streamofthought.

[quote=“Taharok, post:14, topic:289078”]Well, I’ll look for it later. It might be a bit before I upload it. I might include my refactored 194 client, too.

Eh, the 194 LAF was a bit different. The HUD was cooler looking imo, but there are a lot of aspects that are really more annoying than versions closer to 300, etc. It’s a fascinating client to work with, but mostly useless, unless someone can manage to get a cache working properly with it. In that regard, the biggest problem was the incompatibility between the landscape files and the objects stored in the cache archives (because for that version, they didn’t use a packed filesystem; each landscape region and map region were separate files, and the rest of the data was packed in file-based archives). Eh, /streamofthought.[/quote]
so what exactly is wrong with the #194 cache floating around?

[quote=“t4, post:15, topic:289078”][quote author=Taharok link=topic=382170.msg3896314#msg3896314 date=1327339602]
Well, I’ll look for it later. It might be a bit before I upload it. I might include my refactored 194 client, too.

Eh, the 194 LAF was a bit different. The HUD was cooler looking imo, but there are a lot of aspects that are really more annoying than versions closer to 300, etc. It’s a fascinating client to work with, but mostly useless, unless someone can manage to get a cache working properly with it. In that regard, the biggest problem was the incompatibility between the landscape files and the objects stored in the cache archives (because for that version, they didn’t use a packed filesystem; each landscape region and map region were separate files, and the rest of the data was packed in file-based archives). Eh, /streamofthought.
[/quote]
so what exactly is wrong with the #194 cache floating around?[/quote]

This is merely my assumption; I’ve never confirmed it. Basically, when you log in, you’ll see a bunch of random objects all around the landscape, none of them makes sense.

At first, all I had was the initial 194 cache. This included models, animations, entity definitions, and image resources. I eventually dumped the landscape and map entries for a few regions from the 317 cache, and loaded them using the 194 cache (since the formats are actually the same). This results in the random objects, because the object ids stored in the 194 map files are for the 317 cache objects, hence why they don’t match up.

There is an old set of map and landscape cache files floating around, which are claimed to be around the era of 194. I’ve tried testing these, but I had no better results. I could also come up with no definitive way to convert between the 317 object ids and 194 object ids. The only possible solution is to also use 317 object definitions, but those wouldn’t work right unless you also used 317 models. And, at that point, why are you even using 194 anymore?

That’s the dilemma. :stuck_out_tongue:

so the #194 cache floating around is missing all landscape files?

I don’t think it’s exactly 194. It’s most likely pre-200, but the ids could have switched with each version, so a cache marked for 195 might not be backward compatible. The cache that was claimed to be an old one with the landscape and map files had the same error as the 194 archive files with dumped landscape/map files, which indicated to me that it was not genuine, or that I managed to mess something up in my refactor.

so the only solution to this is to manually switch the ids?

Yeah, pretty much, unless you can derive a statistical method for swapping the ids by comparing the later and older objects. Even with that all said and done, you’d still be using newer landscape files in the older engine, which doesn’t quite feel genuine.