It isn't possible to get those from the pk2.
The easiest way is to sniff them from the packets.
For example if you use packet dumper and you get the following packet.
01 00 00 50 00 00 01
The opcode in this packet is 5000. this is the 3rd and 4th byte.
To get the one for the skill you need to open packet logger while you're playing and cast a skill and check which packets just went from client to server (it would sure take a lot of attempts to get the correct one also a non crowded area helps a lot so you don't get a lot of packets)
but esro has the silkroad security running so you would need to decrypt the packets but drew wrote a proxy and there is srproxy I don't know if these work for esro but this would probably be the easiest way.
By the way if I might ask where do you need the opcode for cause it sounds like you don't have a lot of experience with these whole opcode thing or packets.
Edit: and if my last statement is correct this whole post would probably be unknown territory for you
It isn't possible to get those from the pk2.
The easiest way is to sniff them from the packets.
For example if you use packet dumper and you get the following packet.
01 00 00 50 00 00 01
The opcode in this packet is 5000. this is the 3rd and 4th byte.
To get the one for the skill you need to open packet logger while you're playing and cast a skill and check which packets just went from client to server (it would sure take a lot of attempts to get the correct one also a non crowded area helps a lot so you don't get a lot of packets)
but esro has the silkroad security running so you would need to decrypt the packets but drew wrote a proxy and there is srproxy I don't know if these work for esro but this would probably be the easiest way.
By the way if I might ask where do you need the opcode for cause it sounds like you don't have a lot of experience with these whole opcode thing or packets.
Edit: and if my last statement is correct this whole post would probably be unknown territory for you
I know what you're saying, I do appreciate the help the help thanks. Security is already taken care of as I got GG disabled. Unless the packets are encoded, which wont be a problem, once again thanks for the help
Wireshark could work but I use one which was created by a friend of mine it uses Winpcap. wireshark also uses winpcap but it has a lot of options.
You could also try drew's edxSilkroadLoader but I don't know if this works but it has a auto packet parser in it so you get the opcode with the parsed content.
It isn't possible to get those from the pk2.
The easiest way is to sniff them from the packets.
For example if you use packet dumper and you get the following packet.
01 00 00 50 00 00 01
The opcode in this packet is 5000. this is the 3rd and 4th byte.
To get the one for the skill you need to open packet logger while you're playing and cast a skill and check which packets just went from client to server (it would sure take a lot of attempts to get the correct one also a non crowded area helps a lot so you don't get a lot of packets)
but esro has the silkroad security running so you would need to decrypt the packets but drew wrote a proxy and there is srproxy I don't know if these work for esro but this would probably be the easiest way.
By the way if I might ask where do you need the opcode for cause it sounds like you don't have a lot of experience with these whole opcode thing or packets.
Edit: and if my last statement is correct this whole post would probably be unknown territory for you
Rly? I thought you could get the opcodes from the pk2? Lol dam...
Then i wonder how zeteris who is currently developing Zbot is able to get the opcodes, because if you have to cast a skill/spell to get the opcodes then this would require getting characters of each skill tree, e.g. warrior, rogue, wizz, etc and at least lvl 90? To be able to acquire all the skill opcodes?
I was currently interested in obtaining the opcodes too, just for learning purposes. Currently trying to learn C#.
Edit-
Kev i know your experienced in C++ but, you wouldn't by any chance know of any good resouces to use for learning C# would you?
Been using Worx - Beggining Visual C# and .Net 4 <- this feels too basic and i allready know quite abit from this E-Book allready as i'm quite experienced in Object Oriented programming in Java and a little bit of Visual basic.
Been looking at Worx - Professional C# 4 and CSharp Unleased but the jump seems quite a leap lol.
Any pointers to where to go look for tuts, guides or learning material would be great ^^
ZeraPain is right there are only one or two opcodes for the skills mabye more I don't know but all the skill casting packets have the same format if I'm correct. That packet contains for example a skillId which you can find in the media.pk2 skilldata. There might also be a characerId in it and some other stuff. but there isn't a new opcode for every skill that would just be insane
About the C# learning well I used this free tutorial:
It has some nice small and clean examples. It helped me to understand the little syntax change from C++ to C#.
ZeraPain is right there are only one or two opcodes for the skills mabye more I don't know but all the skill casting packets have the same format if I'm correct. That packet contains for example a skillId which you can find in the media.pk2 skilldata. There might also be a characerId in it and some other stuff. but there isn't a new opcode for every skill that would just be insane
Yes, you just need 2 Opcodes to send to server ( One for the skills, another for buffs ). But servers send back a few more packets, which contains, char id, skill id, and skill temp id.
ZeraPain is right there are only one or two opcodes for the skills mabye more I don't know but all the skill casting packets have the same format if I'm correct. That packet contains for example a skillId which you can find in the media.pk2 skilldata. There might also be a characerId in it and some other stuff. but there isn't a new opcode for every skill that would just be insane
About the C# learning well I used this free tutorial:
It has some nice small and clean examples. It helped me to understand the little syntax change from C++ to C#.
Haha, thanks for setting me straight on the opcodes lol and everyone else too.
Used wireshark before at uni so probably will try and use that for capturing the packets.
And thanks for the link, will be usefull as ever little help, helps lol
Quote:
Originally Posted by lesderid
Depends on what you wanna learn: basics of C# or basics of the .Net framework.
For C# basics: .
For .Net, there's always MSDN.
Well iv'e pritty much got the basics coverd as quite a few things in c# are similar to Java OOP which iv'e studied.
And thanks for the link will check it out
Quote:
Originally Posted by zeteris
Yes, you just need 2 Opcodes to send to server ( One for the skills, another for buffs ). But servers send back a few more packets, which contains, char id, skill id, and skill temp id.
How come there are 2 different OP codes for casting an skill?
In previous versions it was just the 7074 with different flags.
Buffs are essentially 'attacks' too and 7074 denotes "action".
From my old utility called SLiP I got:
Code:
function attackRegular(s, target)
packetstart(s, 0x7074)
packetwritebyte(s, 1, 1, 1)
packetwriteinteger(s, target)
packetsendto(s)
end
function attackSkill(s, skill, target)
packetstart(s, 0x7074)
packetwritebyte(s, 1, 4)
packetwriteinteger(s, skill)
packetwritebyte(s, 1)
packetwriteinteger(s, target)
packetsendto(s)
end
function buffSkill(s, skill)
trace("buffSkill: ", skill)
packetstart(s, 0x7074)
packetwritebyte(s, 1, 4)
packetwriteinteger(s, skill)
packetwritebyte(s, 0)
packetsendto(s)
end
What you wrote in your first post that has a number '174' is the skill parameter in these functions.
I think this thread needs to be cleaned because it mixes a lot of stuff...
Ninja Saga - Skills Codes 01/26/2011 - Facebook - 7 Replies 1. Open ninja saga and recruit 2 friends (you should know their equipped skills already so you can change it to skill91 which is the Amaterasu. The skills should be 2 digits only or it's difficult to change it with CE)
2. Go to Jounin exam part 4 or 5
3. OPEN Cheat Engine 5.6
4. For scan value, select Text, tick Case sensitive & Unicode, ASROM and scan the skill number that you want to change to skill91.
example: If your friend has the skill "Water Bundle", you will scan for...