Register for your free account! | Forgot your password?

You last visited: Today at 04:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Convert a script to EP4

Discussion on Convert a script to EP4 within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
Heifnir's Avatar
 
elite*gold: 0
Join Date: Jun 2017
Posts: 81
Received Thanks: 56
Convert a script to EP4

Hello,

I tried to convert this script
Quote:
[ENABLE]
alloc(newmem2,2048)
alloc(typeid,4)
label(returnhere2)
label(originalcode2)
label(exit2)

newmem2:
push eax
mov eax,[edx+41]
mov [typeid],eax
pop eax

originalcode2:
cmp byte ptr [edx+40],5F
jne ps_game.exe+6CAB7

exit2:
jmp returnhere2

"ps_game.exe"+6C9FE:
jmp newmem2
nop
nop
nop
nop
nop
returnhere2:

alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem:
cmp byte ptr [typeid],(int)2 // typeid perfect lapisia
je 0046CD83
cmp byte ptr [typeid],(int)7 // typeid perfect lapisia
je 0046CD83

originalcode:
cmp esi,eax
jae ps_game.exe+6D11C

exit:
jmp returnhere

"ps_game.exe"+6CD7B:
jmp newmem
nop
nop
nop
returnhere:

[DISABLE]
dealloc(typeid)
dealloc(newmem2)
"ps_game.exe"+6C9FE:
cmp byte ptr [edx+40],5F
jne ps_game.exe+6CAB7

dealloc(newmem)
"ps_game.exe"+6CD7B:
cmp esi,eax
jae ps_game.exe+6D11C
to work on a EP4 ps_game. I've tried to search using Cheat Engine these opcodes and use them but it didn't seem to agree with me, anyone can point me to the right direction to convert this?
Heifnir is offline  
Reply


Similar Threads Similar Threads
Kick to convert: easy and fast way to convert your item_proto/mob_proto to txt files!
09/07/2016 - Metin2 PServer Guides & Strategies - 21 Replies
Hi all, this is my first release :) This "kick converter" will allow you to generate txt files (item_names, item_proto, mob_proto, mob_names) for the rev-34k game. The script was written in python by me, so you need python 2.7 and MySQLDB (python extension) installed on your server. If you found any error, please report it to me and I'll fix it as soon as possibile. PS: If you get errors while converting the item_proto, please remove items that have type 29 or type 31.
Search Shaiya Ep4 or Ep4.5 Client!
06/29/2012 - Shaiya Private Server - 5 Replies
Hey ich suche einen Ep 4 oder Ep4.5 Client! Der noch funktioniert! Könnte ich jemand hochladen und den Link mir schicken! Danke! Bin dabei einen neuen Server zu erstellen so mit ein paar Freunden! Mfg DELETE_ME!
Requesting Ep4 Skill Fix For Sql Script & Ep4 Skill.SData.
03/15/2012 - Shaiya Private Server - 0 Replies
Could Anyone Send Me The Files Need It Atm Thanks Would Be Great :( Shaiya Private Server



All times are GMT +1. The time now is 04:04.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.