|
You last visited: Today at 17:28
Advertisement
Rare Items Drop Rate
Discussion on Rare Items Drop Rate within the SRO Private Server forum part of the Silkroad Online category.
06/09/2017, 17:53
|
#1
|
elite*gold: 48
Join Date: Jan 2015
Posts: 58
Received Thanks: 11
|
Rare Items Drop Rate
Dear Developers,
i have a Problem with my Rare Drop Rates at VSRO 1.188 Files. The Prob looks like "1.37204893E+21" in RefDropClassSel_RareEquip, if i change it to like 0.1 or 0,1 i get a runtime error at startup of the Gameserver. If i set the Rarity in RefObjCommon to 3 at SOX Items they drop massive, if its 2 they never Drop.
Can anyone help?
|
|
|
06/09/2017, 18:21
|
#2
|
elite*gold: 0
Join Date: Jan 2009
Posts: 462
Received Thanks: 219
|
I think this can help.
|
|
|
06/09/2017, 19:07
|
#3
|
elite*gold: 48
Join Date: Jan 2015
Posts: 58
Received Thanks: 11
|
Quote:
Originally Posted by rares495
I think this can help.
|
Thanks but i dont know anything in Hex... never used Hex. Im DB Developer
|
|
|
06/09/2017, 19:11
|
#4
|
elite*gold: 0
Join Date: Jan 2009
Posts: 462
Received Thanks: 219
|
I think it's the only way to do it.
|
|
|
06/09/2017, 19:57
|
#5
|
elite*gold: 48
Join Date: Jan 2015
Posts: 58
Received Thanks: 11
|
Quote:
Originally Posted by rares495
I think it's the only way to do it.
|
Can you do it?
|
|
|
06/09/2017, 20:06
|
#6
|
elite*gold: 0
Join Date: Jan 2009
Posts: 462
Received Thanks: 219
|
I probably could but i haven't got any sort of experience with ollydbg. I'm sorry.
|
|
|
06/10/2017, 12:59
|
#7
|
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 757
|
Hex calculation (with ASM) is no rocket science.
The given values of that thread are, as followed:
Rare Items (SoX):
0x3E8 = 1000 (out of 1000 kills, you will have 1 mob of dropping a SoX item (1:1000)).
Magical Attributes on items (Blue-Stats):
0x1E = 30 (30% chance having blues on the item your killed mob drops, random blue values, tho. Correct me, if I am wrong).
Search for the offsets via ollydbg, use a hex converter (online), change the values to your desire, save the executable, start the server as usual.
Done.
|
|
|
06/11/2017, 22:32
|
#8
|
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
|
Quote:
Originally Posted by blapanda
Hex calculation (with ASM) is no rocket science.
The given values of that thread are, as followed:
Rare Items (SoX):
0x3E8 = 1000 (out of 1000 kills, you will have 1 mob of dropping a SoX item (1:1000)).
Magical Attributes on items (Blue-Stats):
0x1E = 30 (30% chance having blues on the item your killed mob drops, random blue values, tho. Correct me, if I am wrong).
Search for the offsets via ollydbg, use a hex converter (online), change the values to your desire, save the executable, start the server as usual.
Done.
|
This is wrong. You just have a 0.001 chance of dropping a rare item per mob.
|
|
|
06/12/2017, 02:15
|
#9
|
elite*gold: 48
Join Date: Jan 2015
Posts: 58
Received Thanks: 11
|
Quote:
Originally Posted by blapanda
Hex calculation (with ASM) is no rocket science.
The given values of that thread are, as followed:
Rare Items (SoX):
0x3E8 = 1000 (out of 1000 kills, you will have 1 mob of dropping a SoX item (1:1000)).
Magical Attributes on items (Blue-Stats):
0x1E = 30 (30% chance having blues on the item your killed mob drops, random blue values, tho. Correct me, if I am wrong).
Search for the offsets via ollydbg, use a hex converter (online), change the values to your desire, save the executable, start the server as usual.
Done.
|
and which of the thousend hexa codes has to be changed?....
|
|
|
06/12/2017, 02:29
|
#10
|
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 757
|
Quote:
Originally Posted by Exo
This is wrong. You just have a 0.001 chance of dropping a rare item per mob.
|
1:1000 = 0.001% ...
|
|
|
06/12/2017, 03:07
|
#11
|
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,649
|
Quote:
Originally Posted by blapanda
1:1000 = 0.001% ...
|
out of 1000 kills, you will have 1 mob of dropping a SoX item (1:1000)
^ this is wrong. That's not what having a 0.001% chance per mob means.
|
|
|
06/12/2017, 03:16
|
#12
|
elite*gold: 0
Join Date: Jan 2009
Posts: 944
Received Thanks: 404
|
Quote:
Originally Posted by Exo
out of 1000 kills, you will have 1 mob of dropping a SoX item (1:1000)
^ this is wrong. That's not what having a 0.001% chance per mob means.
|
why do you use this " ^ "?
|
|
|
06/12/2017, 13:20
|
#13
|
elite*gold: 48
Join Date: Jan 2015
Posts: 58
Received Thanks: 11
|
Ok so no one helps? Only discuss how high is the rate? I just wanna lower it!
|
|
|
06/12/2017, 16:37
|
#14
|
elite*gold: 0
Join Date: Jul 2009
Posts: 1,860
Received Thanks: 757
|
Quote:
Originally Posted by simplex93
Ok so no one helps? Only discuss how high is the rate? I just wanna lower it!
|
You should read the thread which has been posted with the offsets in it. There particularly two offsets, which are important. If you didn't get that one, then no one can actually help you.
|
|
|
06/12/2017, 16:39
|
#15
|
elite*gold: 48
Join Date: Jan 2015
Posts: 58
Received Thanks: 11
|
Quote:
Originally Posted by blapanda
You should read the thread which has been posted with the offsets in it. There particularly two offsets, which are important. If you didn't get that one, then no one can actually help you.
|
Sure two offsets I see
00726A70 51 push ecx
00726A71 53 push ebx
00726A72 8B5C24 24 mov ebx, dword ptr [esp+0x24]
00726A76 85DB test ebx, ebx
00726A78 55 push ebp
00726A79 8B6C24 24 mov ebp, dword ptr [esp+0x24]
00726A7D 56 push esi
00726A7E 57 push edi
00726A7F 75 0F jnz short 00726A90
00726A81 E8 DAE02300 call 00964B60
00726A86 33C0 xor eax, eax
00726A88 5F pop edi
00726A89 5E pop esi
00726A8A 5D pop ebp
00726A8B 5B pop ebx
00726A8C 59 pop ecx
00726A8D C2 2000 retn 0x20
00726A90 0FB67424 20 movzx esi, byte ptr [esp+0x20]
00726A95 8BC6 mov eax, esi
00726A97 C1E8 04 shr eax, 0x4
00726A9A 83E8 00 sub eax, 0x0
00726A9D BF 01000000 mov edi, 0x1
00726AA2 897C24 2C mov dword ptr [esp+0x2C], edi
00726AA6 74 17 je short 00726ABF
00726AA8 2BC7 sub eax, edi
00726AAA 74 07 je short 00726AB3
00726AAC E8 AFE02300 call 00964B60
00726AB1 EB 0C jmp short 00726ABF
00726AB3 C74424 2C 09000>mov dword ptr [esp+0x2C], 0x9
00726ABB 8B7C24 2C mov edi, dword ptr [esp+0x2C]
00726ABF 8B4424 20 mov eax, dword ptr [esp+0x20]
00726AC3 50 push eax
00726AC4 E8 17740000 call 0072DEE0
00726AC9 83F8 01 cmp eax, 0x1
00726ACC 0F85 8A000000 jnz 00726B5C
00726AD2 8B7424 20 mov esi, dword ptr [esp+0x20]
00726AD6 56 push esi
00726AD7 B8 0C000000 mov eax, 0xC
00726ADC 8BCB mov ecx, ebx
00726ADE E8 AD740000 call 0072DF90
00726AE3 83F8 01 cmp eax, 0x1
00726AE6 75 1B jnz short 00726B03
00726AE8 56 push esi
00726AE9 B8 0C000000 mov eax, 0xC
00726AEE 8BCB mov ecx, ebx
00726AF0 E8 1B740000 call 0072DF10
00726AF5 85C0 test eax, eax
00726AF7 74 0A je short 00726B03
00726AF9 8B48 0C mov ecx, dword ptr [eax+0xC]
00726AFC 0FAFCF imul ecx, edi
00726AFF 894C24 2C mov dword ptr [esp+0x2C], ecx
00726B03 8B7C24 1C mov edi, dword ptr [esp+0x1C]
00726B07 85FF test edi, edi
00726B09 0F85 D8000000 jnz 00726BE7
00726B0F 56 push esi
00726B10 8D47 01 lea eax, dword ptr [edi+0x1]
00726B13 8BCB mov ecx, ebx
00726B15 E8 76740000 call 0072DF90
00726B1A 83F8 01 cmp eax, 0x1
00726B1D 75 1E jnz short 00726B3D
00726B1F 56 push esi
00726B20 8BCB mov ecx, ebx
00726B22 E8 E9730000 call 0072DF10
00726B27 8BD8 mov ebx, eax
00726B29 85DB test ebx, ebx
00726B2B 0F84 B6000000 je 00726BE7
00726B31 E8 02682B00 call 009DD338
00726B36 33D2 xor edx, edx
00726B38 F773 0C div dword ptr [ebx+0xC]
00726B3B EB 0D jmp short 00726B4A
00726B3D E8 F6672B00 call 009DD338
00726B42 99 cdq
00726B43 B9 E8030000 mov ecx, 0x3E8
00726B48 F7F9 idiv ecx
00726B4A 83FA 01 cmp edx, 0x1
00726B4D 0F85 94000000 jnz 00726BE7
00726B53 895424 1C mov dword ptr [esp+0x1C], edx
00726B57 E9 87000000 jmp 00726BE3
00726B5C 83E6 0F and esi, 0xF
00726B5F 83EE 03 sub esi, 0x3
00726B62 74 20 je short 00726B84
00726B64 83EE 01 sub esi, 0x1
00726B67 74 0E je short 00726B77
00726B69 83EE 04 sub esi, 0x4
00726B6C 75 54 jnz short 00726BC2
00726B6E 8BD7 mov edx, edi
00726B70 C1E2 04 shl edx, 0x4
00726B73 2BD7 sub edx, edi
00726B75 EB 45 jmp short 00726BBC
00726B77 8D04BD 00000000 lea eax, dword ptr [edi*4]
00726B7E 894424 2C mov dword ptr [esp+0x2C], eax
00726B82 EB 3E jmp short 00726BC2
00726B84 837B 28 10 cmp dword ptr [ebx+0x28], 0x10
00726B88 72 05 jb short 00726B8F
00726B8A 8B7B 14 mov edi, dword ptr [ebx+0x14]
00726B8D EB 03 jmp short 00726B92
00726B8F 8D7B 14 lea edi, dword ptr [ebx+0x14]
00726B92 BE B4FCAF00 mov esi, 00AFFCB4 ; ASCII "MOB_TQ_WHITESNAKE"
00726B97 E8 A400D0FF call 00426C40
00726B9C 85C0 test eax, eax
00726B9E 8B4424 2C mov eax, dword ptr [esp+0x2C]
00726BA2 75 11 jnz short 00726BB5
00726BA4 8BC8 mov ecx, eax
00726BA6 C1E1 04 shl ecx, 0x4
00726BA9 2BC8 sub ecx, eax
00726BAB 03C9 add ecx, ecx
00726BAD 03C9 add ecx, ecx
00726BAF 894C24 2C mov dword ptr [esp+0x2C], ecx
00726BB3 EB 0D jmp short 00726BC2
00726BB5 8BD0 mov edx, eax
00726BB7 C1E2 04 shl edx, 0x4
00726BBA 2BD0 sub edx, eax
00726BBC 03D2 add edx, edx
00726BBE 895424 2C mov dword ptr [esp+0x2C], edx
00726BC2 837C24 1C 00 cmp dword ptr [esp+0x1C], 0x0
00726BC7 75 16 jnz short 00726BDF
00726BC9 E8 6A672B00 call 009DD338
00726BCE 99 cdq
00726BCF B9 E8030000 mov ecx, 0x3E8
00726BD4 F7F9 idiv ecx
00726BD6 83FA 01 cmp edx, 0x1
00726BD9 75 04 jnz short 00726BDF
00726BDB 895424 1C mov dword ptr [esp+0x1C], edx
00726BDF 8B7424 20 mov esi, dword ptr [esp+0x20]
00726BE3 8B7C24 1C mov edi, dword ptr [esp+0x1C]
00726BE7 837C24 2C 00 cmp dword ptr [esp+0x2C], 0x0
00726BEC C74424 10 00000>mov dword ptr [esp+0x10], 0x0
00726BF4 ^ 0F8E 8CFEFFFF jle 00726A86
00726BFA 8D9B 00000000 lea ebx, dword ptr [ebx]
00726C00 8B5C24 30 mov ebx, dword ptr [esp+0x30]
00726C04 56 push esi
00726C05 E8 D6720000 call 0072DEE0
00726C0A 83F8 01 cmp eax, 0x1
00726C0D 75 40 jnz short 00726C4F
00726C0F 8B7424 20 mov esi, dword ptr [esp+0x20]
00726C13 56 push esi
00726C14 8BCB mov ecx, ebx
00726C16 E8 75730000 call 0072DF90
00726C1B 83F8 01 cmp eax, 0x1
00726C1E 75 2F jnz short 00726C4F
00726C20 56 push esi
00726C21 8BCB mov ecx, ebx
00726C23 E8 E8720000 call 0072DF10
00726C28 85C0 test eax, eax
00726C2A 0F84 32010000 je 00726D62
00726C30 8B50 10 mov edx, dword ptr [eax+0x10]
00726C33 D94424 34 fld dword ptr [esp+0x34]
00726C37 8B4424 24 mov eax, dword ptr [esp+0x24]
00726C3B 8B5C24 18 mov ebx, dword ptr [esp+0x18]
00726C3F 52 push edx
00726C40 51 push ecx
00726C41 D91C24 fstp dword ptr [esp]
00726C44 50 push eax
00726C45 53 push ebx
00726C46 8BC7 mov eax, edi
00726C48 E8 A3D8FFFF call 007244F0
00726C4D EB 1F jmp short 00726C6E
00726C4F D94424 34 fld dword ptr [esp+0x34]
00726C53 8B5424 18 mov edx, dword ptr [esp+0x18]
00726C57 6A 01 push 0x1
00726C59 51 push ecx
00726C5A 8B4C24 2C mov ecx, dword ptr [esp+0x2C]
00726C5E D91C24 fstp dword ptr [esp]
00726C61 51 push ecx
00726C62 52 push edx
00726C63 8BC7 mov eax, edi
00726C65 E8 86D8FFFF call 007244F0
00726C6A 8B5C24 18 mov ebx, dword ptr [esp+0x18]
00726C6E 8BC8 mov ecx, eax
00726C70 85C9 test ecx, ecx
00726C72 0F8C EA000000 jl 00726D62
00726C78 85FF test edi, edi
00726C7A 74 09 je short 00726C85
00726C7C 83FF 01 cmp edi, 0x1
00726C7F 74 04 je short 00726C85
00726C81 33C0 xor eax, eax
00726C83 EB 05 jmp short 00726C8A
00726C85 B8 01000000 mov eax, 0x1
00726C8A 83C7 06 add edi, 0x6
00726C8D 6BFF 34 imul edi, edi, 0x34
00726C90 50 push eax
00726C91 8B4424 28 mov eax, dword ptr [esp+0x28]
00726C95 50 push eax
00726C96 8B4424 30 mov eax, dword ptr [esp+0x30]
00726C9A 03FB add edi, ebx
00726C9C 57 push edi
00726C9D E8 7ED4FFFF call 00724120
00726CA2 8BF8 mov edi, eax
00726CA4 85FF test edi, edi
00726CA6 0F84 B2000000 je 00726D5E
00726CAC 8B37 mov esi, dword ptr [edi]
00726CAE 85F6 test esi, esi
00726CB0 0F84 A8000000 je 00726D5E
00726CB6 8B46 08 mov eax, dword ptr [esi+0x8]
00726CB9 3B45 28 cmp eax, dword ptr [ebp+0x28]
00726CBC 74 13 je short 00726CD1
00726CBE F605 3C04D200 0>test byte ptr [0xD2043C], 0x1
00726CC5 74 05 je short 00726CCC
00726CC7 8945 28 mov dword ptr [ebp+0x28], eax
00726CCA EB 05 jmp short 00726CD1
00726CCC E8 8FDE2300 call 00964B60
00726CD1 837D 28 00 cmp dword ptr [ebp+0x28], 0x0
00726CD5 75 05 jnz short 00726CDC
00726CD7 E8 84DE2300 call 00964B60
00726CDC 66:8B86 8000000>mov ax, word ptr [esi+0x80]
00726CE3 A8 02 test al, 0x2
00726CE5 0F85 AB000000 jnz 00726D96
00726CEB 8AC8 mov cl, al
00726CED 80E1 1C and cl, 0x1C
00726CF0 80F9 0C cmp cl, 0xC
00726CF3 0F85 9D000000 jnz 00726D96
00726CF9 24 60 and al, 0x60
00726CFB 3C 20 cmp al, 0x20
00726CFD 0F85 93000000 jnz 00726D96
00726D03 53 push ebx
00726D04 E8 F7D6FFFF call 00724400
00726D09 3A45 2C cmp al, byte ptr [ebp+0x2C]
00726D0C 74 1D je short 00726D2B
00726D0E F605 3C04D200 0>test byte ptr [0xD2043C], 0x1
00726D15 74 0F je short 00726D26
00726D17 8B55 0C mov edx, dword ptr [ebp+0xC]
00726D1A 834D 08 08 or dword ptr [ebp+0x8], 0x8
00726D1E 8845 2C mov byte ptr [ebp+0x2C], al
00726D21 8955 0C mov dword ptr [ebp+0xC], edx
00726D24 EB 05 jmp short 00726D2B
00726D26 E8 35DE2300 call 00964B60
00726D2B 807D 2C 08 cmp byte ptr [ebp+0x2C], 0x8
00726D2F 76 0E jbe short 00726D3F
00726D31 E8 2ADE2300 call 00964B60
00726D36 B1 08 mov cl, 0x8
00726D38 8BC5 mov eax, ebp
00726D3A E8 A18ED0FF call 0042FBE0
00726D3F 0FB686 A8010000 movzx eax, byte ptr [esi+0x1A8]
00726D46 0FB64D 2C movzx ecx, byte ptr [ebp+0x2C]
00726D4A 3B4C83 FC cmp ecx, dword ptr [ebx+eax*4-0x4]
00726D4E 7F 0E jg short 00726D5E
00726D50 56 push esi
00726D51 33C0 xor eax, eax
00726D53 8BCD mov ecx, ebp
00726D55 E8 36080000 call 00727590
00726D5A 85C0 test eax, eax
00726D5C 75 22 jnz short 00726D80
00726D5E 8B7C24 1C mov edi, dword ptr [esp+0x1C]
00726D62 8B4424 10 mov eax, dword ptr [esp+0x10]
00726D66 83C0 01 add eax, 0x1
00726D69 3B4424 2C cmp eax, dword ptr [esp+0x2C]
00726D6D 894424 10 mov dword ptr [esp+0x10], eax
00726D71 ^ 0F8D 0FFDFFFF jge 00726A86
00726D77 8B7424 20 mov esi, dword ptr [esp+0x20]
00726D7B ^ E9 80FEFFFF jmp 00726C00
00726D80 6A 00 push 0x0
00726D82 55 push ebp
00726D83 56 push esi
00726D84 E8 17090000 call 007276A0
00726D89 B8 01000000 mov eax, 0x1
00726D8E 5F pop edi
00726D8F 5E pop esi
00726D90 5D pop ebp
00726D91 5B pop ebx
00726D92 59 pop ecx
00726D93 C2 2000 retn 0x20
00726D96 66:8B86 8000000>mov ax, word ptr [esi+0x80]
00726D9D A8 02 test al, 0x2
00726D9F 75 10 jnz short 00726DB1
00726DA1 8AD0 mov dl, al
00726DA3 80E2 1C and dl, 0x1C
00726DA6 80FA 0C cmp dl, 0xC
00726DA9 75 06 jnz short 00726DB1
00726DAB 24 60 and al, 0x60
00726DAD 3C 60 cmp al, 0x60
00726DAF 74 05 je short 00726DB6
00726DB1 E8 AADD2300 call 00964B60
00726DB6 6A 00 push 0x0
00726DB8 6A 00 push 0x0
00726DBA 8BC5 mov eax, ebp
00726DBC E8 BF8DD0FF call 0042FB80
00726DC1 807D 58 00 cmp byte ptr [ebp+0x58], 0x0
00726DC5 74 1E je short 00726DE5
00726DC7 F605 3C04D200 0>test byte ptr [0xD2043C], 0x1
00726DCE 74 10 je short 00726DE0
00726DD0 8B45 0C mov eax, dword ptr [ebp+0xC]
00726DD3 834D 08 20 or dword ptr [ebp+0x8], 0x20
00726DD7 C645 58 00 mov byte ptr [ebp+0x58], 0x0
00726DDB 8945 0C mov dword ptr [ebp+0xC], eax
00726DDE EB 05 jmp short 00726DE5
00726DE0 E8 7BDD2300 call 00964B60
00726DE5 807D 2C 00 cmp byte ptr [ebp+0x2C], 0x0
00726DE9 74 1E je short 00726E09
00726DEB F605 3C04D200 0>test byte ptr [0xD2043C], 0x1
00726DF2 74 10 je short 00726E04
00726DF4 8B4D 0C mov ecx, dword ptr [ebp+0xC]
00726DF7 834D 08 08 or dword ptr [ebp+0x8], 0x8
00726DFB C645 2C 00 mov byte ptr [ebp+0x2C], 0x0
00726DFF 894D 0C mov dword ptr [ebp+0xC], ecx
00726E02 EB 05 jmp short 00726E09
00726E04 E8 57DD2300 call 00964B60
00726E09 6A 00 push 0x0
00726E0B 6A 00 push 0x0
00726E0D 8BC5 mov eax, ebp
00726E0F E8 EC8ED0FF call 0042FD00
00726E14 8B7F 0C mov edi, dword ptr [edi+0xC]
00726E17 3B7D 38 cmp edi, dword ptr [ebp+0x38]
00726E1A 74 28 je short 00726E44
00726E1C F605 3C04D200 0>test byte ptr [0xD2043C], 0x1
00726E23 74 1A je short 00726E3F
00726E25 8B55 0C mov edx, dword ptr [ebp+0xC]
00726E28 834D 08 04 or dword ptr [ebp+0x8], 0x4
00726E2C 897D 38 mov dword ptr [ebp+0x38], edi
00726E2F 8955 0C mov dword ptr [ebp+0xC], edx
00726E32 B8 01000000 mov eax, 0x1
00726E37 5F pop edi
00726E38 5E pop esi
00726E39 5D pop ebp
00726E3A 5B pop ebx
00726E3B 59 pop ecx
00726E3C C2 2000 retn 0x20
00726E3F E8 1CDD2300 call 00964B60
00726E44 5F pop edi
00726E45 5E pop esi
00726E46 5D pop ebp
00726E47 B8 01000000 mov eax, 0x1
00726E4C 5B pop ebx
00726E4D 59 pop ecx
00726E4E C2 2000 retn 0x20
|
|
|
All times are GMT +2. The time now is 17:28.
|
|