PDA

View Full Version : [share] Clan limit in Ally


sparcode
23.03.2006, 06:54
There is two checks for clan limit number
at 00512877 we see:

cmp esi, 5
jnz short loc_512880
cmp eax, esi
jb short loc_5128B4


Change to
CMP EAX, 12 ; 0x0Ch (change clan limit to 12)
JB short loc_5128B4 (skip another check for N and go to right place)
NOP

Should work.
People on my server, says it works.

xjazz
23.03.2006, 07:07
OMg Thx Man your great :)

Met45
23.03.2006, 07:56
If it will work, good work Spar !!! :D

Thank you very much :!: :!: :!: :!: :!: :!: :!:

Mirror
23.03.2006, 08:31
thanks for share.
NOP = 0x90 in opcode what about JB short loc_5128B4 ? and is 00512877 in hex format?

sparcode
23.03.2006, 08:52
thanks for share.
NOP = 0x90 in opcode what about JB short loc_5128B4 ?
in hex
jb .0005128B4 (jb 0001128B4)

DemonD
23.03.2006, 11:29
Thank you

empathon
23.03.2006, 15:18
Wow, thanks :) But on almost all privs it just create zergs alliances ;) To less players number.

HowardStern
23.03.2006, 15:35
Fantastic Share. However being as that I know zero about hexing I must ask a question stupid as it may be.

Is it as simple as deleting from the exe:
cmp esi, 5
jnz short loc_512880
cmp eax, esi
jb short loc_5128B4

Then adding to the exe:
CMP EAX, 12 ; 0x0Ch
JB short loc_5128B4
NOP


I know stupid question but a brotha's got to ask.

I read this which got me all messed up:
in hex
jb .0005128B4 (jb 0001128B4)


Could someone be kind and post exactly what to put in. Not to mention where lol..

Mirror
23.03.2006, 15:47
yes if you can post in .exe UE format please, like :

address: 0x03847556
new code : 0x4950B3F38A so we can edit .exe directly, some ppl are noobs in hexing:)

DarkGoat
23.03.2006, 16:35
people please dont post it like that...people need to learn...if ur a noob at hexing well guess what...go and learn....it shouldnt be placed any easier..

but just to verify we replace the compare between esi and 5 to eax and C? so start ur changes directly at 00512877?

Mirror
23.03.2006, 16:46
darkgoat, do you try to think before posting or just trying to play smart-ass ? what if my whole time is consumed by something else, let's say geodata and i don't have time for much other things. it's like a mechanic going to the doctor for a health problem and the doctor replying to him : "hey if you wanna heal yourself become a doctor". besides, you can't tell anyone what they NEED to learn. in everything that i've shared, it's a complete share with just a copy paste, not riddles. and last but not least my request was kind and to the author, not YOU.

HowardStern
23.03.2006, 16:50
people please dont post it like that...people need to learn...if ur a noob at hexing well guess what...go and learn....it shouldnt be placed any easier..

but just to verify we replace the compare between esi and 5 to eax and C? so start ur changes directly at 00512877?

Your joking me right? Ok lets analize your post here. You say if your a noob at hexing go learn. It shouldnt be placed any easier.

If it shouldnt be placed any easier then why the hell are you asking a question.. It cant get any easier correct? LAWL !!! I may not know hexing but I do know common sinse.. Which maybe you need to learn. Thx

Second I am trying to learn Hexing. Everyone has to start somewhere.. Even you didnt know shit at one point believe it or not. Unless you think with your great logic that you were born with hexing knowledge.

To end my post.. here is some irc logs of sir Darkgoat asking in #postpacific channel about this subject.

<DarkGoat> he lists 4 memorey locations and those become 3?
<DarkGoat> comparison between esi and 5 becomes eax and c?
<DarkGoat> so do the changes start at 00512877
<HowardStern> lol ... wondering same thing
<DarkGoat> ? and now u got a extra useless line ?
<devbot> and is not defined
<DarkGoat> or did he mean to edit the eax with the changes?
<DarkGoat> some 1 who knows enlighten me...going to get some food now xD


Lot of questions for someone that says the instructions shouldnt be made any easier.

Need I say more?

DarkGoat
23.03.2006, 16:56
u moron i meant the format doesnt need to be any easier people want hex for UE
totaly different than clarifying whats already written

oo yes im really lacking "common sinse"....coulda just said what you said straight to me on irc..but naa

o and PS: i <3 flame trains

HowardStern
23.03.2006, 17:08
u moron i meant the format doesnt need to be any easier people want hex for UE
totaly different than clarifying whats already written

oo yes im really lacking "common sinse"....coulda just said what you said straight to me on irc..but naa


Well first off I didnt even think about looking for you on irc..

Second If you thought of the idea of saying something in irc why didnt you say it to me in irc instead of posting your smart ass post?

Who is the moron?


Now.. if you dont mind darkgoat stfu and lets get back to the topic

Aikeleer
23.03.2006, 17:24
Guys you're fucking up the topic. Drop it.

DarkGoat
23.03.2006, 18:13
u moron i meant the format doesnt need to be any easier people want hex for UE
totaly different than clarifying whats already written

oo yes im really lacking "common sinse"....coulda just said what you said straight to me on irc..but naa


Well first off I didnt even think about looking for you on irc..

Second If you thought of the idea of saying something in irc why didnt you say it to me in irc instead of posting your smart ass post?

Who is the moron?


Now.. if you dont mind darkgoat stfu and lets get back to the topic


i did speak to you on irc but as i recall you said something along the lines of "you are a moron[enter] k thanks[enter] bye[enter]"

but w/e now anybody succesfully test this? im in school right now and i dont feel like dual boxing and lvling clans when i get home :)

seanc
24.03.2006, 02:19
Well i hexed this stuff up and it worked i set it for 12 clans... mm nother edit my mistake works great .... i need to be shot.

Truffe
24.03.2006, 04:18
Don't make me close that topic kids... :|

silent
24.03.2006, 07:59
Nice find, if i had cash it would go to you my friend.

Aspire
24.03.2006, 10:37
thanks for your work and share.

HF
25.03.2006, 08:47
somebody share text fix code :)
i dont know asm
pleeeeeeeeease :)

Aspire
25.03.2006, 09:21
somebody share text fix code :)
i dont know asm
pleeeeeeeeease :)

see PM :)

Stazis
26.03.2006, 11:21
don't you think that

cmp esi,05

is a ally-leader clan-level check?
and you propose just to overwrite this check so to skip it so any clanlevel can create an ally?

anyway if this is not then for other here it is 83 F8 0C 72 38 90 90 90 90

sparcode
26.03.2006, 16:42
don't you think that

cmp esi,05

is a ally-leader clan-level check?
and you propose just to overwrite this check so to skip it so any clanlevel can create an ally?

anyway if this is not then for other here it is 83 F8 0C 72 38 90 90 90 90
Why do you think its about clan level ?
That weird formula
if ( N <> 5 ) or ( x() >= N )
calls messages about clan limit in ally
Or you found different ?

(and btw, in our server now have 2 allys with 7-8 clans in one) - seems it works.

top-gear
27.03.2006, 12:56
very useful, it works! but it lets 13 clans and the last one is not active. but anyway great work!

GeNtOo
03.04.2006, 10:59
Thx, rlly nice

Firedaemon
10.05.2006, 03:22
untested, but this gives you unlimited clans in an alliance pretty much.

.00512872: E88942FFFF call .000506B00 ---↑ (4)
.00512877: 3DE8FD0000 cmp eax,00000FDE8 ---↑ (5)
.0051287C: 7236 jb .0005128B4 ---↓ (6)
.0051287E: 90 nop
.0051287F: 90 nop
.00512880: 6A00 push 000

GamesX
10.05.2006, 11:16
I got to use perfectly in C3.

In C4 it is not working!

Would anybody have an idea of the one what to do?