Jump to content
Shakto

2013 Ragexe and Diff (Up to date 2013-08-07)

Recommended Posts

 

 

Open packets.h(src/map/packets.h)(if using hercules, other emu dont have packet enc.) , locate

#if defined(OBFUSCATIONKEY1) && defined(OBFUSCATIONKEY2) && defined(OBFUSCATIONKEY3)PacketKeys(OBFUSCATIONKEY1,OBFUSCATIONKEY2,OBFUSCATIONKEY3); #endif
That should be last packetkey, I.e at end of file.

Add before it the following

#define OBFUSCATIONKEY1 KEYSELECTED1#define OBFUSCATIONKEY2 KEYSELECTED2#define OBFUSCATIONKEY3 KEYSELECTED3
Then recompile.

 

Note key format should start with 0x followed by hexcode.

Example, 0x12121212

Replace KEYSELECTED1, 2, 3 with the key you selected while diffing your client.

 

Thank you for the tutorial I really appreciate it.

 

I follow exactly what you've said.

 

Copying this and change the value of hex with 0x format.

 

#define OBFUSCATIONKEY1 0x12345678

#define OBFUSCATIONKEY2 0x12345678

#define OBFUSCATIONKEY3 0x12345678

 

Before 

 

#if defined(OBFUSCATIONKEY1) && defined(OBFUSCATIONKEY2) && defined(OBFUSCATIONKEY3)

PacketKeys(OBFUSCATIONKEY1,OBFUSCATIONKEY2,OBFUSCATIONKEY3);

#endif

 

Also did commented the following lines, (I thinks it will cause a conflict. Dunno if that correct)

//#if PACKETVER >= 20130807
// packetKeys(0x7E241DE0,0x5E805580,0x3D807D80); /* Thanks to Shakto */
//#endif

 

I recompile without errors. Client Diff is all ok 1st,2nd,3rd packets are in place. 

 

But when I login I got disconnected after character select. :(

you used 0x12345678 for all 3? currently the order is reversed in NEMO. I have fixed it in local and will soon be deployed.

Share this post


Link to post
Share on other sites

Hello, i am having some problems with 2013-08-07 exe, everything works fine, theo nply problem is with weapon sprites, i cant see any weapon sprite i mean official and custom. Any idea?

Share this post


Link to post
Share on other sites

2013 client is now using iteminfo.lub, kindly check your System/iteminfo.lub if ClassNum is set properly,

 

example

	[1201] = {		unidentifiedDisplayName = "Dagger",		unidentifiedResourceName = "³ªÀÌÇÁ",		unidentifiedDescriptionName = {			"Unknown Item, can be identified by [Magnifier]",			"Weight: ^77777740^000000",		},		identifiedDisplayName = "Knife",		identifiedResourceName = "³ªÀÌÇÁ",		identifiedDescriptionName = {			"A simple knife.",			"Class: ^777777Dagger^000000",			"Attack: ^77777717^000000",			"Weight: ^77777740^000000",			"Weapon Level: ^7777771^000000",			"Required Level: ^777777NA^000000",			"Jobs: ^777777Novice, Swordman, Mage, Archer, Merchant,",			"Thief Classes, Soul Linker, and Ninja^000000"		},		slotCount = 3,		ClassNum = 1 //<-- 1 mean Knife	},

Useful links: Custom Items, Custom weapons

Share this post


Link to post
Share on other sites
Mhalicot 

Thanks for your answer, but the iteminfo.lua its fine, 

 

here is mine dagger 

 

 

 
[1201] = {
unidentifiedDisplayName = "Dagger",
unidentifiedResourceName = "³ªÀÌÇÁ",
unidentifiedDescriptionName = {
"Unidentified item, can be identified with [Magnifier].",
},
identifiedDisplayName = "Knife",
identifiedResourceName = "³ªÀÌÇÁ",
identifiedDescriptionName = {
"A simple knife.",
"Class :^777777 Dagger^000000",
"Attack :^777777 17^000000",
"Weight :^777777 40^000000",
"Weapon Level :^777777 1^000000",
"Applicable Job :^777777 Novice, Swordman Class, Mage Class, Archer Class, Merchant Class, Thief Class, Soul Linker, Ninja^000000",
},
slotCount = 3,
ClassNum = 1
},
 
i cant see any weapon, i dont have problem with other custom items or oficial item sprites, only weapons.

Share this post


Link to post
Share on other sites

can you take a look in your lua files? search for weapontable.lub and compare

Weapon_IDs = {  WEAPONTYPE_NONE = 0,  WEAPONTYPE_SHORTSWORD = 1,  WEAPONTYPE_SWORD = 2,  WEAPONTYPE_TWOHANDSWORD = 3,  WEAPONTYPE_SPEAR = 4,  WEAPONTYPE_TWOHANDSPEAR = 5,  WEAPONTYPE_AXE = 6,  WEAPONTYPE_TWOHANDAXE = 7,  WEAPONTYPE_MACE = 8,  WEAPONTYPE_TWOHANDMACE = 9,  WEAPONTYPE_ROD = 10,  WEAPONTYPE_BOW = 11,  WEAPONTYPE_KNUKLE = 12,  WEAPONTYPE_INSTRUMENT = 13,  WEAPONTYPE_WHIP = 14,  WEAPONTYPE_BOOK = 15,  WEAPONTYPE_CATARRH = 16,  WPCLASS_GUN_HANDGUN = 17,  WPCLASS_GUN_RIFLE = 18,  WPCLASS_GUN_GATLING = 19,  WPCLASS_GUN_SHOTGUN = 20,  WPCLASS_GUN_GRANADE = 21,  WPCLASS_SYURIKEN = 22,  WPCLASS_TWOHANDROD = 23,  WPCLASS_LAST = 24,

Share this post


Link to post
Share on other sites

Mhalicot, its the same. Just another question i was readint another topic and i saw something bout weaponnametable.lua wich one uses? weaponnametable.lua or weapontable.lua because i have only weapontable.lua. the same as yours.

Edited by elnyku

Share this post


Link to post
Share on other sites

weaponnametable is apart of weapontable.lua

WeaponNameTable = {  [Weapon_IDs.WEAPONTYPE_NONE] = "",  [Weapon_IDs.WEAPONTYPE_SHORTSWORD] = "_´Ü°Ë",  [Weapon_IDs.WEAPONTYPE_SWORD] = "_°Ë",  [Weapon_IDs.WEAPONTYPE_TWOHANDSWORD] = "_°Ë",  [Weapon_IDs.WEAPONTYPE_SPEAR] = "_â",  [Weapon_IDs.WEAPONTYPE_TWOHANDSPEAR] = "_â",  [Weapon_IDs.WEAPONTYPE_AXE] = "_µµ³¢",  [Weapon_IDs.WEAPONTYPE_TWOHANDAXE] = "_µµ³¢",  [Weapon_IDs.WEAPONTYPE_MACE] = "_Ŭ·´",

are you using item_db.conf or sql_db?

 

:hmm: but you can use does weapons? I think you set it up correctly.

Share this post


Link to post
Share on other sites

the client is here. https://docs.google.com/file/d/0Bzhs15NQZ3dNMlpqNWJHNTdMTzg/edit maybe i dont have all the luas, i dont know.

try mine and check if you still get the same problem

https://www.mediafire.com/folder/hg3wqu9a1cc7w/ready%20made

 

and post your data.ini

Share this post


Link to post
Share on other sites

that client read significativo.dll (2013-08-07) exe, also the iteminfo.lua is on sabaro folder and the name is itemsaba.lua the data.ini is zaba.dll : [Data]

1=zdata.grf
2=palettes.grf
3=rdata.grf
4=data.grf
5=sdata.grf
 
the last one sdata is not the sakray dat, is another.
Edited by elnyku

Share this post


Link to post
Share on other sites

now I'm really confuse??? all I can see is a banana :P

what is that sabaro folder?

is that system folder or data folder?

did you diff your client to read lua before lub?

iteminfo.lua must be in your system folder

Edited by themon

Share this post


Link to post
Share on other sites

i changed with xvii32 the system folder, now is sabaro folder and the iteminfo.lua to itemsaba.lua i am testing your exe and the problem is taht, my exe, but i dont know where is the problem. cand u tell me wich diff did u use?

Edited by elnyku

Share this post


Link to post
Share on other sites

i changed with xvii32 the system folder, now is sabaro folder and the iteminfo.lua to itemsaba.lua i am testing your exe and the problem is taht, my exe, but i dont know where is the problem. cand u tell me wich diff did u use?

I'm currently using 2013-12-30aRagexe.exe but still apply the same diff all the time

 

[cbox]64 @ Bug Fix (Recommended)

33 Always Call SelectKoreaClientInfo() (Recommended)

51 Ascii & Arial on All Langtypes (Recommended)

97 Cancel to Login Window (Recommended)

8 Custom Window Title

9 Disable 1rag1 type parameters (Recommended)

15 Disable HShield (Recommended)

14 Disable Hallucination Wavy Screen (Recommended)

61 Disable Packet Encryption (Recommended)

13 Disable Ragexe Filename Check (Recommended)

34 Enable /showname (Recommended)

68 Enable 64k Hairstyle

205 Enable Monster tables

49 Enable Multiple GRFs (Recommended)

24 Fix Camera Angles (Recommended)

71 Ignore Missing File Error

72 Ignore Missing Palette Error

204 Increase Attack Display

28 Increase Headgear ViewID

32 Increase Zoom Out Max

36 Read msgstringtable.txt (Recommended)

37 Read questid2display.txt (Recommended)

38 Remove Gravity Ads (Recommended)

39 Remove Gravity Logo (Recommended)

73 Remove Hourly Announce (Recommended)

84 Remove Serial Display (Recommended)

40 Restore Login Window (Recommended)

44 Translate Client (Recommended)

45 Use Custom Aura Sprites

48 Use Plain Text Descriptions (Recommended)

47 Use Ragnarok Icon[/cbox]

Share this post


Link to post
Share on other sites

Increase attack display is only useful for High Rate servers where the attack damage can go beyond 999999

Share this post


Link to post
Share on other sites

Thanky very much guys. i was using xdiffpatcher to diff my exe. 

 

 

 

EDIT: Just two more questions.

 

 

1- ¿There is a way to increase max weapon id range?

2- ¿There is a way to change the green hp bar from de character? my server is SHR, and when a player get more thn 20.000.000 hp, the green bar turns black.

Edited by elnyku

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.