Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Crystals attack monsters only

Newbie Spellweaver
Joined
Aug 17, 2006
Messages
86
Reaction score
2
Hello,

How can I do that the crystals will attack only monsters and not each other?

Ty,
Avi
 
Skilled Illusionist
Joined
Apr 20, 2009
Messages
351
Reaction score
212
-----
 
Last edited:
Newbie Spellweaver
Joined
Aug 17, 2006
Messages
86
Reaction score
2
uPT has done it, so its possible
 
Newbie Spellweaver
Joined
Aug 15, 2009
Messages
6
Reaction score
0
quite a few have done it... but as far as I know nobody has shared this. :(
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
Can you make and NPC Crystal? Would that help?
 
Experienced Elementalist
Joined
Jan 1, 2009
Messages
217
Reaction score
61
08B66EFF 90 nop
08B66F00 837C24 1C 09 cmp dword ptr [esp+1C], 9
08B66F05 75 0C jnz short 08B66F13
08B66F07 8B95 48010000 mov edx, dword ptr [ebp+148]
08B66F0D 8996 30390000 mov dword ptr [esi+3930], edx
08B66F13 837C24 1C 10 cmp dword ptr [esp+1C], 10
08B66F18 7C 0A jl short 08B66F24
08B66F1A C786 AC470000 0>mov dword ptr [esi+47AC], 1
08B66F24 33C0 xor eax, eax
08B66F26 - E9 18769FF7 jmp 0055E543
08B66F2B 90 nop
08B66F2C 90 nop
08B66F2D 90 nop
08B66F2E 90 nop
08B66F2F 90 nop
08B66F30 8B86 AC470000 mov eax, dword ptr [esi+47AC]
08B66F36 85C0 test eax, eax
08B66F38 74 0C je short 08B66F46
08B66F3A 8B85 AC470000 mov eax, dword ptr [ebp+47AC]
08B66F40 85C0 test eax, eax
08B66F42 74 02 je short 08B66F46
08B66F44 33D2 xor edx, edx
08B66F46 3BB5 00470000 cmp esi, dword ptr [ebp+4700]
08B66F4C - E9 B6A69FF7 jmp 00561607

you can add these codes into your server.exe...then you will realize your dream...Enjoy it..
 
Imri Persiado
Joined
May 17, 2008
Messages
941
Reaction score
26
I do not see Paris Hilton naked there.:lol:
Just kidding, it works and its very effectively.
in my opinion Darknight should put it on TUTRIALS section.

edit: my mistake that not work :S they was far away from the monsters that why they didnt attacked them.
 
Last edited:
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
I love the way rxaicy speaks in x86 as if it's his native tongue. :lol:

If the code just had comments, I'd say it should be stickied in Tutorials section.:thumbup:

TYVM

---EDIT---
Oh yea... I almost forgot, Imri... if you kinda squint at it an look side on at the same time, you can kinda see... I think... Gah! No I lost it again, but I'm sure I could almost make her out in there somewhere. :wink:
 
Last edited:
Junior Spellweaver
Joined
Nov 28, 2007
Messages
198
Reaction score
3
08B66EFF 90 nop
08B66F00 837C24 1C 09 cmp dword ptr [esp+1C], 9
08B66F05 75 0C jnz short 08B66F13
08B66F07 8B95 48010000 mov edx, dword ptr [ebp+148]
08B66F0D 8996 30390000 mov dword ptr [esi+3930], edx
08B66F13 837C24 1C 10 cmp dword ptr [esp+1C], 10
08B66F18 7C 0A jl short 08B66F24
08B66F1A C786 AC470000 0>mov dword ptr [esi+47AC], 1
08B66F24 33C0 xor eax, eax
08B66F26 - E9 18769FF7 jmp 0055E543
08B66F2B 90 nop
08B66F2C 90 nop
08B66F2D 90 nop
08B66F2E 90 nop
08B66F2F 90 nop
08B66F30 8B86 AC470000 mov eax, dword ptr [esi+47AC]
08B66F36 85C0 test eax, eax
08B66F38 74 0C je short 08B66F46
08B66F3A 8B85 AC470000 mov eax, dword ptr [ebp+47AC]
08B66F40 85C0 test eax, eax
08B66F42 74 02 je short 08B66F46
08B66F44 33D2 xor edx, edx
08B66F46 3BB5 00470000 cmp esi, dword ptr [ebp+4700]
08B66F4C - E9 B6A69FF7 jmp 00561607

you can add these codes into your server.exe...then you will realize your dream...Enjoy it..


thanks :p
 
Experienced Elementalist
Joined
Jan 1, 2009
Messages
217
Reaction score
61
I love the way rxaicy speaks in x86 as if it's his native tongue. :lol:

If the code just had comments, I'd say it should be stickied in Tutorials section.:thumbup:

TYVM

---EDIT---
Oh yea... I almost forgot, Imri... if you kinda squint at it an look side on at the same time, you can kinda see... I think... Gah! No I lost it again, but I'm sure I could almost make her out in there somewhere. :wink:


Thank you,I will do it when i have enough time..:thumbup::thumbup:

---------- Post added at 05:46 AM ---------- Previous post was at 05:41 AM ----------

Thanks rxaicy. Although i don't research it.


This section was added by me..so you must notice the "jmp" .there must have some codes in original codes to jmp to my new codes..Sorry foy my poor expression.I hope you can understand what i mean..
 
Newbie Spellweaver
Joined
Aug 16, 2009
Messages
7
Reaction score
0
08B66EFF 90 nop
08B66F00 837C24 1C 09 cmp dword ptr [esp+1C], 9
08B66F05 75 0C jnz short 08B66F13
08B66F07 8B95 48010000 mov edx, dword ptr [ebp+148]
08B66F0D 8996 30390000 mov dword ptr [esi+3930], edx
08B66F13 837C24 1C 10 cmp dword ptr [esp+1C], 10
08B66F18 7C 0A jl short 08B66F24
08B66F1A C786 AC470000 0>mov dword ptr [esi+47AC], 1
08B66F24 33C0 xor eax, eax
08B66F26 - E9 18769FF7 jmp 0055E543
08B66F2B 90 nop
08B66F2C 90 nop
08B66F2D 90 nop
08B66F2E 90 nop
08B66F2F 90 nop
08B66F30 8B86 AC470000 mov eax, dword ptr [esi+47AC]
08B66F36 85C0 test eax, eax
08B66F38 74 0C je short 08B66F46
08B66F3A 8B85 AC470000 mov eax, dword ptr [ebp+47AC]
08B66F40 85C0 test eax, eax
08B66F42 74 02 je short 08B66F46
08B66F44 33D2 xor edx, edx
08B66F46 3BB5 00470000 cmp esi, dword ptr [ebp+4700]
08B66F4C - E9 B6A69FF7 jmp 00561607

you can add these codes into your server.exe...then you will realize your dream...Enjoy it..

Anyone mind giving a brief explanation of how to 'add' this to your server.exe or referring me to one? I can't seem to figure out how to do this right or find a guide on how to do it.. Any helpful reply greatly appreciated.
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
If I understand correctly, rxaicy adds these two routines in an empty area of memory... what isn't explained yet, is at what point in the code he jumps out to them.

He has said he will comment up and add to the Tutorial section when time permits.
 
Newbie Spellweaver
Joined
Oct 14, 2009
Messages
34
Reaction score
1
I added those codes and set jmp to 08B66F00 from 0055E52E and to 08B66F30 from 005616DD, but crystals monster attack each other.Did I change it wrong way?


0055E52E \> E9 CD896008 JMP 08B66F00
0055E533 /. 75 0C JNE SHORT 0055E541
0055E535 |. 8B95 48010000 MOV EDX,DWORD PTR SS:[EBP+148]
0055E53B |. 8996 30390000 MOV DWORD PTR DS:[ESI+3930],EDX
0055E541 |> 33C0 XOR EAX,EAX
0055E543 |. 8D5424 38 LEA EDX,[ARG.14]

005615DD |. E9 4E596008 JMP 08B66F30
005615E2 | 00 DB 00
005615E3 |. 85C0 TEST EAX,EAX
005615E5 |. 75 18 JNE SHORT 005615FF
005615E7 |. 8B85 F8460000 MOV EAX,DWORD PTR SS:[EBP+46F8]
005615ED |. 85C0 TEST EAX,EAX
005615EF |. 74 10 JE SHORT 00561601
005615F1 |. 8B8E E4460000 MOV ECX,DWORD PTR DS:[ESI+46E4]
005615F7 |. 3B81 706C0000 CMP EAX,DWORD PTR DS:[ECX+6C70]
005615FD |. 74 02 JE SHORT 00561601
005615FF |> 33D2 XOR EDX,EDX
00561601 |> 3BB5 00470000 CMP ESI,DWORD PTR SS:[EBP+4700]
00561607 |. 0F84 9A000000 JE 005616A7
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
I believe that rxaicy runs a Chinese PT server, who's addresses may vary from the jPT or KPT servers many of us run here. I would probably suggest examining the code at those addresses on the Spcute server release here, as that is likely to be the most similar server to the one rxaicy uses... But, as ever, I could easily be wrong. -.-
 
Custom Title Activated
Loyal Member
Joined
May 26, 2007
Messages
5,545
Reaction score
1,315
were do i get permission to play the game?
WTF!? :lol: IDK what this is supposed to mean... but "permission" is not required if you run your own server. Unless you mean legal permission, which is too complex an issue to resolve on a forum.

If you mean, "how do I create a sign up / register page" that would be related to a website release, and Clan and SoD database and it's management. There are also instructions for manual database record entries for a new, blank user account elsewhere on the forums.

Either way, both of those issues are completely unrelated to the topic of Crystal Monsters attacking each other.
 
Last edited:
Back
Top