-
rylCoder 2.7.0
rylCoder 2.7.0
Author: AlphA
Tester: MorbidA
Embedded gsfStructure: MorbidA
Wrapper.dll: FischR/Raphael
New features:
- ryl 1 mcf files are supported
- mcf files script should be 100% same as the server one
- minimaps at npc script editor
- nicer view at shop editor
- item icons at shop item picker
- fixed the crash at arrangement editor
- an extra level of detail in the map
- hack file to easily customise file crypto attributes
Download: redacted
Some screenshots:
http://i236.photobucket.com/albums/f.../mapEditor.jpg
http://i236.photobucket.com/albums/f...shopEditor.jpg
http://i236.photobucket.com/albums/f...ryl1quests.jpg
http://i236.photobucket.com/albums/f...2npcScript.jpg
Config file (create it in the same directory as your rylCoder assembly is):
Filename: rylCoder_hack.cfg
Filetype: text/plain
Content:
PHP Code:
//////////////////////////////
//
// Welcome to the rylCoder HaCkfiLe 2000 pro lol :)
//
// Implemented so far:
// xor.mcf = XX XX XX XX (byte array in hex, seperated with space)
// xor.gsf.N = XX XX XX XX (same, N is the zero-based index of key's)
// off.gsf.N = int32 (decimal, data start offset in gsf for file type idenifying, make sure there arent any dublicates)
// xor.gcmds = XX XX XX XX
//
// gsf file N index numbers:
// 0 : ItemScript
// 1 : MonsterProtoType
// 2 : Chemical
// 3 : Script1
// 4 : SkillScript
// 5 : SpecialCompensation
// 6 : MineralVein
//
// usageNotice.global = int32 (1 to enable, 0 to disable usage info collection sending to server)
// syntaxHighlight.global = int32 (bool. enables syntax highlight on the script editor page) (its very slow and prolly bugged)
//
//////////////////////////////
usageNotice.global = 1
syntaxHighlight.global = 0
/////////////////////////////
//
// Default values in rylCoder 2.5.1
//
// Do not edit this part of the hack file, you may need these values if you fuck up
//
// mcf:
// Private Shared xorKey() As Byte = {&HAC, &H29, &H55, &H42}
//
// gsf:
// Private Shared typeCodes As Integer() = {17073, 60006, 41094, 17073, 50407, 84703, 214233}
// Private Shared xorDat As String() = { _
// "A3 49 DC EA 09 B7 01 A4 A1 11 11 8E 80 35 5B DD 38 D5 4E 36 0C A2 BB 05 36 57 2E 98 BE 88 3C 28 43 63 A0 E9 E1 6D 51 CB", _
// "4D 62 84 43 89 C7 89 83 65 29 53 95 7C C0 A1 0C DB D7 04 D8 6A D1 73 1D 21 67 86 8D A4 A0 34 BD 31 20 61 0E E9 63 B4 C0", _
// "A3 49 DC EA 09 B7 01 A4 A1 11 11 8E 80 35 5B DD 38 D5 4E 36 0C A2 BB 05 36 57 2E 98 BE 88 3C 28 43 63 A0 E9 E1 6D 51 CB", _
// "34 B5 B2 3D 7D 43 8C C0 21 25 CD B6 53 76 CE 5D D4 87 CA 84 81 CB 5E 04 BA 69 3E 65 DE 21 8A 63 62 71 90 87 0A 52 28 44", _
// "34 B5 B2 3D 7D 43 8C C0 21 25 CD B6 53 76 CE 5D D4 87 CA 84 81 CB 5E 04 BA 69 3E 65 DE 21 8A 63 62 71 90 87 0A 52 28 44", _
// "A3 49 DC EA 09 B7 01 A4 A1 11 11 8E 80 35 5B DD 38 D5 4E 36 0C A2 BB 05 36 57 2E 98 BE 88 3C 28 43 63 A0 E9 E1 6D 51 CB", _
// "4D 62 84 43 89 C7 89 83 65 29 53 95 7C C0 A1 0C DB D7 04 D8 6A D1 73 1D 21 67 86 8D A4 A0 34 BD 31 20 61 0E E9 63 B4 C0 " _
// }
//
// gcmds:
// Private Shared key As Byte() = {&H5A, &H5F, &H61, &H6C, &H6C, &H5F, &H41, &H5F, &H33, &H44}
//
//////////////////////////////
//////////////////////////////
//
// Log section
//
//////////////////////////////
//
-
Re: [release] rylCoder 2.7.0
Nice nice. I through you've stopped your work.
Thanks.
-
Re: [release] rylCoder 2.7.0
just posted an old work which has been laying on my disc for quite a while
-
Re: [release] rylCoder 2.7.0
@alphaest
can u upload in rapidshare?? i can`t download in file front........ i dont know why..... but if i try download in there, always error connection..........
thx before...........
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
humiang
@alphaest
can u upload in rapidshare?? i can`t download in file front........ i dont know why..... but if i try download in there, always error connection..........
thx before...........
There you go: http://rapidshare.com/files/12326873...2.7.0.rar.html
-
Re: [release] rylCoder 2.7.0
thank share but how to use the source
-
Re: [release] rylCoder 2.7.0
i have some error like this
http://www.geocities.com/rein_masterus/123456.jpg
can u help me to make it running??
-
Re: [release] rylCoder 2.7.0
the wrapper dll is built in debug mode for 32 bit systems. You will need the debug runtimes for c++.
easiest - get VS 2008 with c++
OR
try this: http://www.microsoft.com/downloads/d...DisplayLang=en
OR
use an old version which doesnt use wrapper.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
wck19842003
thank share but how to use the source
Visual Studio 2008
-
Re: [release] rylCoder 2.7.0
i finish download that..... and i instal .......... but if i running the ryl coder noting change..........
-
Re: [release] rylCoder 2.7.0
thats why i said TRY, u got 2 other options and actually heres a third one:
ask someone to recompile the project in release mode
-
Re: [release] rylCoder 2.7.0
o.0 same one u send me ages ago right? oh well, now I got source time to mod it to my own likings ;D
-
Re: [release] rylCoder 2.7.0
maybe when im bored i'll recode it to be cleaner (code-wise) and faster
-
Re: [release] rylCoder 2.7.0
[quote] try this: http://www.microsoft.com/downloads/d...DisplayLang=en[/qoute]
uhmmm in this way can`t
i cant download the src in filefront ......... can u reupload again in rapidshare (^.^) i want try to recompile again...........
-
Re: [release] rylCoder 2.7.0
tyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
<33333333333333333333
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
StealthyXor
maybe when im bored i'll recode it to be cleaner (code-wise) and faster
whats the point?
out of boredom maybe yes but it got no real use anymore. Theres noone out there who could and would use its full potential.
-
Re: [release] rylCoder 2.7.0
[QUOTE=humiang;3556143]didnt u read what i said?
if u download VS2008 (which u would need to do anyway for recompiling) you will get all the needed library's to run the pre-built assembly which has already been uploaded to rapid by PeKa.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
Pavy
o.0 same one u send me ages ago right? oh well, now I got source time to mod it to my own likings ;D
yes thats the same.
and go ahead with the modding, be sure to share your work.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
alphaest
yes thats the same.
and go ahead with the modding, be sure to share your work.
Only shared it to a few selected people, but I don't see the point going public with it cause people don't know how to use it properly anyways.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
Pavy
Only shared it to a few selected people, but I don't see the point going public with it cause people don't know how to use it properly anyways.
and they do with rylCoder?
but there are few who do know how to use it or have enough intelligency to figure out, you never know :)
-
Re: [release] rylCoder 2.7.0
Aye that's true, we'll see.
-
Re: [release] rylCoder 2.7.0
[quote=alphaest;3556418]
Quote:
Originally Posted by
humiang
didnt u read what i said?
if u download VS2008 (which u would need to do anyway for recompiling) you will get all the needed library's to run the pre-built assembly which has already been uploaded to rapid by PeKa.
nice................. that running alpha......... thx............... but in NpcEditor not show the picture of item...... but name of item.......
-
Re: [release] rylCoder 2.7.0
wow this is a fucking joke.
now everything ive been coding by hand looks like a piece of shit.
wait.... did u include quest support? Well... I'll check myself.
Well.... not like it matters for quest, unless u wanna keep the old shitty quests.
ps. doing it by hand is easier. i think atleast.
Errors when trying to load ryl1 itemscript. meh.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
alphaest
and they do with rylCoder?
but there are few who do know how to use it or have enough intelligency to figure out, you never know :)
I digg the hack file works great :)
I started working on a GSF Editor.... I guess for people who don't have excel installed or if you want to edit a script fast it seems pretty handy. Haven't finished it yet though
http://img296.imageshack.us/img296/6...coder28fx4.jpg
-
Re: [release] rylCoder 2.7.0
nice share.
and at least we didn't get rick rolled this time
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
humiang
nice................. that running alpha......... thx............... but in NpcEditor not show the picture of item...... but name of item.......
Thats becose the shop page on npc editor works in 2 modes:
1. the old list one
2. the new one like on the screenshot
The new features will be enabled ONLY if u have a valid ryl folder set from options because i havent included ryl designs in the coder, that would be a direct violation of their copyright.
Quote:
Originally Posted by
oskdemon
wow this is a fucking joke.
now everything ive been coding by hand looks like a piece of shit.
wait.... did u include quest support? Well... I'll check myself.
Well.... not like it matters for quest, unless u wanna keep the old shitty quests.
ps. doing it by hand is easier. i think atleast.
Errors when trying to load ryl1 itemscript. meh.
Well now you can go ahead and mod rylCoder cose its very unlikely its going to be another one.
And yes, ryl 1 quests are supported in this release. That happened cose i was able to crack the last bit of information in mcf files. Also if you wish you can make new quests or even some cross references - e.g. quest aldia111 calls out another function("quest") that has some common calls in it which will be used in multiple quests.
And doing what by hand is easier? Edit ryl 1 quests?
Quote:
Originally Posted by
yoshi1337
I digg the hack file works great :)
I started working on a GSF Editor.... I guess for people who don't have excel installed or if you want to edit a script fast it seems pretty handy. Haven't finished it yet though
http://img296.imageshack.us/img296/6...coder28fx4.jpg
The reason i havent included a grid in there is simple - its just too much work and it doesnt pay off. Excel is just too powerful to be ignored in a table environment. And for fast editing - F3, search, edit, save.
Wanna see you implement the basic needs of a grid:
1. row addition
2. row deletion
3. row copy
4. multi-row copy
5. multi-cell copy
Good luck with that :)
Quote:
Originally Posted by
ChoijiLar
nice share.
and at least we didn't get rick rolled this time
Your welcome :)
But never know... easter eggs can still be found :P
-
Re: [release] rylCoder 2.7.0
yea quest scriptting is easier by hand i think
aslong as you have all pof the functions memorized ect. faster than using your coder to click add new phase, select the phase, ect :P
Great work tho alpha.
I've been taking some programming classes in school and I'm gonna try to edit your prog and maybe add some new features, well since it already decodes the files it should be easy.
-
Re: [release] rylCoder 2.7.0
ah that quest editing.
yeah ofcourse. I made that QuestEditor page for the initial releases, where the ScriptEditor page was disabled.
One thing it is good for tho - target locations on the map. Aint really easy to calculate the cordinates all the time by hand.
Open quest script, select quest, last page in quest editor and click on the location icon(green cross) which will open the map. Right click, add/remove etc, click & drag for changing.
-
Re: [release] rylCoder 2.7.0
we hope can release the release mode
that can use it
-
Re: [release] rylCoder 2.7.0
just compile it, and u good to go.
-
Re: [release] rylCoder 2.7.0
how to compile...give me the hints of that
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
where to download GSF editor for RYL 2? rylCoder cannot open RYL2 GSF files
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
kentwong
where to download GSF editor for RYL 2? rylCoder cannot open RYL2 GSF files
give up while your ahead buddy
-
Re: [release] rylCoder 2.7.0
anyone has the full compiled version? I had installed the VC, but still cannot open the RYL2 GSF files.
-
Re: [release] rylCoder 2.7.0
So you finally decided to release this heh.. Im gonna cry i don't have exclusive rights to this anymore :(
Good share :)
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
Tyfix
So you finally decided to release this heh.. Im gonna cry i don't have exclusive rights to this anymore :(
Good share :)
tee-hee-hee-hee
-
Re: [release] rylCoder 2.7.0
Hey man... I was looking around the code of this one and i noticed, no ryl1 itemscript gsf structure is included. woooahhhh, sooo... i started to write a new one and tryed to support client and server itemscript -- about 30 minutes later (as i was concluding the xml) i realized... hey wait a minute, this isnt going to work at all.
it seems that ryl1's server requires different than the client does. well -- not exactly, but the fact that the client can support columns that if you tried to throw into the server it just.... well.... wouldnt work. so i was thinking, maybe we could make a structure for the client gsf, and a output button that would convert the current gsf to server structure and in txt format.
I personally dont mind if you decide to go forward with this idea -- just saying.
I could probably figure it out but im just learning to program.
Its easy by hand, but this would make it EVEN easier. I can provide both clean structures with some time.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
oskdemon
Hey man... I was looking around the code of this one and i noticed, no ryl1 itemscript gsf structure is included. woooahhhh, sooo... i started to write a new one and tryed to support client and server itemscript -- about 30 minutes later (as i was concluding the xml) i realized... hey wait a minute, this isnt going to work at all.
it seems that ryl1's server requires different than the client does. well -- not exactly, but the fact that the client can support columns that if you tried to throw into the server it just.... well.... wouldnt work. so i was thinking, maybe we could make a structure for the client gsf, and a output button that would convert the current gsf to server structure and in txt format.
I personally dont mind if you decide to go forward with this idea -- just saying.
I could probably figure it out but im just learning to program.
Its easy by hand, but this would make it EVEN easier. I can provide both clean structures with some time.
well ofc the client is different, the gsfStructure.xml doesnt support shitloads of functionality just for fun. Client file has more columns - agree, the columns are positioned differently - agree, some content is even replaced with other crap - agree, some do some strange loops - agree.
And thats excactly why i have such things as default values for columns, hidden columns, value calculations, replacements, loop controllers (skillscript) and column ordering.
1. no extra info is manually added to gsf files when converting from txt - cose they just use a compiler and no manual work.
2. gsf->txt perfect decompile is possible - because gama doesnt cut out info for some reason.
Look thru all the commands available for you and then start working on the structure using those.
-
Re: [release] rylCoder 2.7.0
when i open then itemscript.gsf, it show this error
"Arithmetic operation resulted in an overflow"
what does it mean? how to solve it?
-
Re: [release] rylCoder 2.7.0
Means your xml file is wrong.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
oskdemon
Hey man... I was looking around the code of this one and i noticed, no ryl1 itemscript gsf structure is included. woooahhhh, sooo... i started to write a new one and tryed to support client and server itemscript -- about 30 minutes later (as i was concluding the xml) i realized... hey wait a minute, this isnt going to work at all.
it seems that ryl1's server requires different than the client does. well -- not exactly, but the fact that the client can support columns that if you tried to throw into the server it just.... well.... wouldnt work. so i was thinking, maybe we could make a structure for the client gsf, and a output button that would convert the current gsf to server structure and in txt format.
I personally dont mind if you decide to go forward with this idea -- just saying.
I could probably figure it out but im just learning to program.
Its easy by hand, but this would make it EVEN easier. I can provide both clean structures with some time.
all ryl1 structures was released here not long ago so why write them again? unless you take it as learning..
-
Re: [release] rylCoder 2.7.0
the structures released here are not clean. the columns arnt in order, the columns are named differently than they should be, yes, they do "work" but they could be better.
and i was thinking of a structure that could somehow do client and server scripts at the same time.
and yes id rather write them myself so i dont feel like a leecher like 99% of everyone else.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
oskdemon
the structures released here are not clean. the columns arnt in order, the columns are named differently than they should be, yes, they do "work" but they could be better.
and i was thinking of a structure that could somehow do client and server scripts at the same time.
and yes id rather write them myself so i dont feel like a leecher like 99% of everyone else.
Well get to it then. This is what I and im sure others have done previously to get 100% 1:1 files in the past.
-
Re: [release] rylCoder 2.7.0
I am in spare time.
right now im trying to figure out how i can implement a converter button into rylcoder that will output it using a differnt structure and into txt, that would be a bigger accomplishment for me, i'd rather waste my time learning to program than writing new structures , if i ever figure it out ill release it
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
oskdemon
and i was thinking of a structure that could somehow do client and server scripts at the same time.
so you have already the gsf file. question - what is this file? and you want to use that file to get info to create 2 different text files, one for client and the other for server.
seriously, clean up your head on what the gsf file is.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
alphaest
so you have already the gsf file. question - what is this file? and you want to use that file to get info to create 2 different text files, one for client and the other for server.
seriously, clean up your head on what the gsf file is.
yeah its kind of a 1:1 relationship at the moment. To do what your saying you would need to change rylCoder to have 2 struct files 1 for the clientside and 1 for the server side with two script tabs one for each struct.
The public struct that was released is really for the client side, however most of it does work for the server side. The only structs that are diff for the server side afik are the chemical and itemscripts.
Theres no gigantic changes between the other scripts (client to server wise). Usually the problems are so small that they can be fixed by hand
Also there is nothing stopping u from copying rylCoder or copying the struct file so that you have two versions one for client scripts and one for server scripts
-
Re: [release] rylCoder 2.7.0
thats what i fucking trying to say in the first place.
1st. you have client structure--
that structure opens your gsf
2nd hidden inside of rylcoder is a another structure,
which is the structure that will be used for outputting into txt
(serverside)
does it not sound simple?
where did u get the conclusion that i dont know what a gsf file is alpha, i dont think u know what your talking about.
yes we could just have 2 different rylcoders with different structures, but what im saying would make it easier, would it not...
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
oskdemon
thats what i fucking trying to say in the first place.
1st. you have client structure--
that structure opens your gsf
2nd hidden inside of rylcoder is a another structure,
which is the structure that will be used for outputting into txt
(serverside)
does it not sound simple?
where did u get the conclusion that i dont know what a gsf file is alpha, i dont think u know what your talking about.
yes we could just have 2 different rylcoders with different structures, but what im saying would make it easier, would it not...
not really, because there is a structure inside rylCoder already that it defaults too when there is not present in the folder
any way you slice it you would need 2 different structs. You could insert the server side struct and recompile it and add client gsfstruct.xml when you want but thats still two structs.
The problem with having any structure compiled in is that ryl struct never stay the same, they are always changing from ver to ver.
An easy solution to all this would be to modify the xml struct with tags for scriptType=client/server that way both structs can exist in one file. The other harder part would be outputting it to another script tab in rylcoder
wise man once said, lot of work for not much payoff ^^
-
Re: [release] rylCoder 2.7.0
"Arithmetic operation resulted in an overflow"
caused by XML?
do you have good XML file that can share off?
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
oskdemon
thats what i fucking trying to say in the first place.
1st. you have client structure--
that structure opens your gsf
2nd hidden inside of rylcoder is a another structure,
which is the structure that will be used for outputting into txt
(serverside)
does it not sound simple?
where did u get the conclusion that i dont know what a gsf file is alpha, i dont think u know what your talking about.
yes we could just have 2 different rylcoders with different structures, but what im saying would make it easier, would it not...
the gsf file IS the client version. why do you want to convert it to text format? i dont really get it.
as you may know then stealthy posted the original converters here which take the server side text table and a image as input and converts it to the client version.
When i started to reverse engineer the gsf file i realized that no information has been cut down. As you know then the client doesnt need all the info the server has (moster proto - all the mob attributes), but as gama does his soft, everything is inside.
what rylCoder does - it is trying to reverse the client version to the readable server version. Why exactly server version? Because we dont need a third format and its bothways comtabile.
So if you are trying to create a third version of these tables/scripts then your just too weak to go thru all the mess to create a structure that would convert the client version into the server version.
Look at skillscript, chemical, script1, specialComp - did i create a third version?
Monster proto, itemscript have never been released as "fully" completed.
:bad:
-
Re: [release] rylCoder 2.7.0
so that's meant we can never convert the RYL 2 itemscript.gsf to text file and conver it back successfully ?
-
Re: [release] rylCoder 2.7.0
you can using rylcoder and a proper structure
-
Re: [release] rylCoder 2.7.0
StealthyXor, do you have proper structure that i can download?
thanks.
-
Re: [release] rylCoder 2.7.0
It was included with the last source release.
-
Re: [release] rylCoder 2.7.0
lol gut, --there already is a server gsf structure meaning all i was saying was, there would be a button that would instantly replace the current structure (client gsf) which the servers structure so you could more easily have 1-1
its okay, no need to fight, just a waste of breath it takes like a minute to do it manually.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
oskdemon
lol gut, --there already is a server gsf structure meaning all i was saying was, there would be a button that would instantly replace the current structure (client gsf) which the servers structure so you could more easily have 1-1
its okay, no need to fight, just a waste of breath it takes like a minute to do it manually.
do what manually?
if you are talking about monster proto and itemscript rylCoder view then know that those structures are imprefect. fix those and u wont need any "button" to remove/add/calculate or w/e data.
-
Re: [release] rylCoder 2.7.0
ohh myyy, i give up **fires awp at own face**
doesnt matter.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
alphaest
the gsf file IS the client version. why do you want to convert it to text format? i dont really get it.
as you may know then stealthy posted the original converters here which take the server side text table and a image as input and converts it to the client version.
When i started to reverse engineer the gsf file i realized that no information has been cut down. As you know then the client doesnt need all the info the server has (moster proto - all the mob attributes), but as gama does his soft, everything is inside.
what rylCoder does - it is trying to reverse the client version to the readable server version. Why exactly server version? Because we dont need a third format and its bothways comtabile.
So if you are trying to create a third version of these tables/scripts then your just too weak to go thru all the mess to create a structure that would convert the client version into the server version.
Look at skillscript, chemical, script1, specialComp - did i create a third version?
Monster proto, itemscript have never been released as "fully" completed.
:bad:
k i have a few questions.
1) First being that in the many years of using ryl i've never looked into specialcomp it looks just like item id's what the heck is it for?
2) MineralVein i know there is a thread about it, the official compilers use a .txt input is this actually a picture inside a picture? or is it a txt file thats used to make a picture?
3) BGMScript.txt (server side) is this a unencrypted version of the SafteyZone bgm files?
Second as in several other posts about the structure. For example below are two scripts one is for the server side which takes a specific .txt input structure and errors if it doesn't get that exact structure, and then a decode of the .gsf file. Whether or not the other columns are actually in the .gsf file i don't know (never checked it out)
Server Chemical.txt
http://img234.imageshack.us/img234/4...lserverhm2.jpg
Client Chemical.gsf
http://img78.imageshack.us/img78/389...lclienteb1.jpg
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
yoshi1337
k i have a few questions.
1) First being that in the many years of using ryl i've never looked into specialcomp it looks just like item id's what the heck is it for?
2) MineralVein i know there is a thread about it, the official compilers use a .txt input is this actually a picture inside a picture? or is it a txt file thats used to make a picture?
3) BGMScript.txt (server side) is this a unencrypted version of the SafteyZone bgm files?
Second as in several other posts about the structure. For example below are two scripts one is for the server side which takes a specific .txt input structure and errors if it doesn't get that exact structure, and then a decode of the .gsf file. Whether or not the other columns are actually in the .gsf file i don't know (never checked it out)
Server Chemical.txt
http://img234.imageshack.us/img234/4...lserverhm2.jpg
Client Chemical.gsf
http://img78.imageshack.us/img78/389...lclienteb1.jpg
1. no idea, doesnt seem to be used. maybe once was for something.
2. in mineralvein there are 2 pics and a table:
one pic is the default like all gsf files have
second pic is a 256x256 (dont remember if it really was this reso) raw 32 bit image (posted samples once)
the text table holds info like: this color = so much of this gem, so much of this and so much of this etc. color = list of item ids & counts.
never seen how the compiler takes this info in, but this is the way its inside the gsf file.
3. dont know, never really looked deeply inside those.
ok, chemical is the only gsf file from which data will be cut on compilation. To make it 1:1 with server add a dummy column into the structure or create a function to read data from itemscript on loading. The item names are not used in server side, they are just informative.
-
Re: [release] rylCoder 2.7.0
StealthyXor, can you attach again the latest XML files? thanks
-
Re: [release] rylCoder 2.7.0
http://img133.imageshack.us/img133/2247/dibujocv4.jpg
why i got this error ? can anyone tell me what can i do?
-
Re: [release] rylCoder 2.7.0
yea install .net you asshat.
-
Re: [release] rylCoder 2.7.0
OMG i got error.
i need download visual studio 2008 first for get this rylcoder 2.7.0 work ?
-
Re: [release] rylCoder 2.7.0
read the whole topic, every word.
-
Re: [release] rylCoder 2.7.0
any link ?
can't download if want download...
filefront say's " Your download has failed. There were no available download servers.
Click here to try your download again. Click here to try your download again. "
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
alphaest
patience....
impossible.
-
Re: [release] rylCoder 2.7.0
anyone know where can i download easiest - get VS 2008 with c++ ?
-
Re: [release] rylCoder 2.7.0
go buy from a shop.
and yes, install it with c/c++
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
ngocda
click it, don't copy.
works fine.
-
Re: [release] rylCoder 2.7.0
i use windows xp 32bit now!!
i must download Source or Binary ?
-
Re: [release] rylCoder 2.7.0
binary is enough
but VS 2008 c++ debug libraries are still needed to get all out of rylCoder
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
Tyfix
the redist has release runtime libraries but the binary i have shared is in debug config :)
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
google for god's sake.......
-
Re: [release] rylCoder 2.7.0
well.. if i recall correctly 0xc0000135 = .net framework is not installed...
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
Upload Porgram Again Pls.
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
Alpha, can you release Xor Keys to ROW files???
I can open, npcscript.mcf of 1753 and 2240 version, but i cant open the same file of ROW.
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
berranteiro
Alpha, can you release Xor Keys to ROW files???
I can open, npcscript.mcf of 1753 and 2240 version, but i cant open the same file of ROW.
Already here, if bother to use 'Search'. Tyfix have shared them.:sneaky2:
-
Re: [release] rylCoder 2.7.0
*bump*
I needed to batch convert GCMDS files, and doing it manually in rylCoder would take forever. I added some code to do this if anyone wants it...
This uses "xor.gcmds-batch-in" and xor.gcmds-batch-out" from the hackfile cfg
CRylCoder.vb
Code:
Public Shared Sub sharedDataOverWrite(ByVal file As String)
Dim lines As String() = {}
If Not IO.File.Exists(file) Then Return
Try
lines = IO.File.ReadAllLines(file)
Catch ex As Exception
Return
End Try
For Each line As String In lines
Try
line = line.Trim()
If line <> String.Empty AndAlso Not line.StartsWith("//") Then
Dim splice1 As String() = line.Split("=")
Dim splice2 As String() = splice1(0).Trim().Split(".")
Dim type As String = splice2(0)
Dim fileType As String = splice2(1)
Dim index As Integer = 0
If UBound(splice2) > 1 Then index = splice2(2)
Dim data As String = splice1(1).Trim()
Select Case fileType
Case "mcf"
If type = "xor" Then
CMcfCoder.xorKey = parseByteArray(data)
End If
Case "gcmds"
If type = "xor" Then
CGcmdsCoder.key = parseByteArray(data)
End If
Case "gcmds-batch-in"
If type = "xor" Then
CGcmdsCoder.batchinkey = parseByteArray(data)
End If
Case "gcmds-batch-out"
If type = "xor" Then
CGcmdsCoder.batchoutkey = parseByteArray(data)
End If
Case "gsf"
If type = "xor" Then
CGsfCoder.xorDat(index) = data
ElseIf type = "off" Then
CGsfCoder.typeCodes(index) = data
End If
Case "global"
If type = "usageNotice" Then
If Not data = "1" AndAlso Not data = "0" Then Throw New ArgumentException("Value can be 1 or 0")
frmNpcEdit.enableServerNotice = (data = "1")
ElseIf type = "syntaxHighlight" Then
If Not data = "1" AndAlso Not data = "0" Then Throw New ArgumentException("Value can be 1 or 0")
frmNpcEdit.syntaxHighlightEnabled = (data = "1")
End If
End Select
End If
Catch ex As Exception
Dim sw As IO.StreamWriter = IO.File.AppendText(file)
sw.WriteLine("//" & Date.Now.ToString())
sw.WriteLine("//" & vbTab & "Line: " & line)
sw.WriteLine("//" & vbTab & "Exception: " & ex.Message)
sw.WriteLine("//" & vbTab & "Source: " & ex.StackTrace.Replace(vbNewLine, vbNewLine & "//" & vbTab & vbTab))
sw.Flush()
sw.Close()
End Try
Next
End Sub
Public Class CGcmdsCoder
#Region "Data"
Friend Shared key As Byte() = {&H5A, &H5F, &H61, &H6C, &H6C, &H5F, &H41, &H5F, &H33, &H44}
Friend Shared batchinkey As Byte() = {&H5A, &H5F, &H61, &H6C, &H6C, &H5F, &H41, &H5F, &H33, &H44}
Friend Shared batchoutkey As Byte() = {&H52, &H4F, &H57, &H47, &H6C, &H6F, &H62, &H61, &H6C, &H4B, &H65, &H79}
#End Region
frmManCrypt.vb (Add a button to this form, heres the code)
Code:
Private Sub btnBatch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBatch.Click
Me.btnBatch.Enabled = False
Me.lblStatus.Text = "Batch Converting... Please wait a moment"
' ## - Get Dir Paths In and Out (no trailing slash) - ##
Dim dirIn As String
Dim dirOut As String
dirIn = Me.txtFileIn.Text()
dirOut = Me.txtFileOut.Text()
If dirIn = "" Or Not My.Computer.FileSystem.DirectoryExists(dirIn) Then Exit Sub
If dirOut = "" Then dirOut = dirIn
If Not My.Computer.FileSystem.DirectoryExists(dirOut) Then Exit Sub
' ## - End - Get Dir Paths In and Out (no trailing slash) - ##
' Get Existing GCMDS key so we can change it back to this when were done
Dim tmpKey As Byte()
tmpKey = CGcmdsCoder.key
' Loop through all the files in the dir in path
Dim x As Integer
For x = 0 To (My.Computer.FileSystem.GetFiles(dirIn).Count - 1)
Dim fIn As IO.FileStream
Dim fileName As String
Dim filePath As String
Dim fileExt As String
fileName = IO.Path.GetFileName(My.Computer.FileSystem.GetFiles(dirIn).Item(x))
filePath = My.Computer.FileSystem.GetFiles(dirIn).Item(x)
fileExt = UCase(IO.Path.GetExtension(fileName))
If fileExt = ".GCMDS" Or fileExt = ".SKEY" Then
' ## - Read RAW GCMDS Data into Byte Array - ##
fIn = My.Computer.FileSystem.GetFileInfo(filePath).OpenRead()
Dim fInData(fIn.Length - 1) As Byte
fIn.Read(fInData, 0, fIn.Length)
fIn.Close()
' ## - End - Read RAW GCMDS Data into Byte Array - ##
' Setup output file
Dim fOut As IO.FileStream
fOut = My.Computer.FileSystem.GetFileInfo(dirOut & "\" & fileName).OpenWrite()
fOut.SetLength(0)
' Switch GCMDS Key to "xor.gcmds-batch-in" (Import Mode)
CGcmdsCoder.key = CGcmdsCoder.batchinkey
' Decode RAW GCMDS Data from Byte Array to String using "xor.gcmds-batch-in" key
Dim sOut As String
sOut = CGcmdsCoder.Decode(fInData)
' Switch GCMDS Key to "xor.gcmds-batch-out" (Export Mode)
CGcmdsCoder.key = CGcmdsCoder.batchoutkey
' Re-Encode PlainText String file into GCMDS Data Structure using "xor.gcmds-batch-out" key
Dim bOut As Byte() = {}
bOut = CGcmdsCoder.Encode(Split(sOut, vbNewLine))
fOut.Write(bOut, 0, bOut.Length)
fOut.Close()
End If
Next
' Reset GCMDS Key to what is was before we started converting
CGcmdsCoder.key = tmpKey
Me.btnBatch.Enabled = True
Me.lblStatus.Text = "Batch Convert Complete."
End Sub
much faster then doing it by hand :P
-
Re: [release] rylCoder 2.7.0
Nice share yoshi now just rewrap the dll for x64 lol hehe
-
Re: [release] rylCoder 2.7.0
lol .. it not work for me :(
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
humiang
Many people have this bug ! any solution i tried in 3 diferents pc always the same result ...!
cant see the pictures like in the guide what "OS" are u using? alphaest
i tried whit 1.1, 2.0 and 3.5 framework
and i have visual studio 2008:(:
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
Tyfix
recompile wrapper class
TQQQQQQQ!!!! TY FIX U ROCK! :blushing: hahahahaha i fix it!
http://img9.imageshack.us/img9/6122/postpn7.th.jpg
-
Re: [release] rylCoder 2.7.0
hy, i can`t open script.mcf
the picture like this
http://i696.photobucket.com/albums/v...bar/error2.jpg
how to fixed??????
help pls
-
Re: [release] rylCoder 2.7.0
TyFix or alphaest can ur release XorKey + download place :)
Quote:
Originally Posted by
Whitelion
Already here, if bother to use 'Search'. Tyfix have shared them.
Ur Sux :P
-
Re: [release] rylCoder 2.7.0
and you are to stupid to use search. :P.
It take me 5 sec to find the shared file (XorKey).
-
Re: [release] rylCoder 2.7.0
rylCoder_hack.cfg: (1022+)
//////////////////////////////
//
// Welcome to the rylCoder HaCkfiLe 2000 pro
//
// Implemented so far:
// xor.mcf = XX XX XX XX (byte array in hex, seperated with space)
// xor.gsf.N = XX XX XX XX (same, N is the zero-based index of key's)
// off.gsf.N = int32 (decimal, data start offset in gsf for file type idenifying, make sure there arent any dublicates)
// xor.gcmds = XX XX XX XX
//
// gsf file N index numbers:
// 0 : ItemScript
// 1 : MonsterProtoType
// 2 : Chemical
// 3 : Script1
// 4 : SkillScript
// 5 : SpecialCompensation
// 6 : MineralVein
//
//////////////////////////////
xor.gcmds = 76 0E 71 63 78 0D 7B 62
off.gsf.0 = 46609
off.gsf.1 = 46076
off.gsf.2 = 40291
off.gsf.3 = 46609
off.gsf.4 = 46072
off.gsf.5 = 17073
off.gsf.6 = 214233
xor.gsf.0 = 7F 8C 2C D1 44 72 F1 01 77 93 AF A0 41 68 68 CD 80 08 9D E9 E7 F0 D5 E2 9B 48 C5 C1 D0 2E 84 B5 9B 20 13 87 86 44 FB F8
xor.gsf.1 = 45 39 6B BB B9 3B C1 D3 61 58 DA 34 DE 31 DA E3 19 B0 90 5F 6F 32 D9 74 BC 35 A7 1C FD C5 D5 E8 20 D7 AE C1 EF D5 D4 62
xor.gsf.2 = 7F 8C 2C D1 44 72 F1 01 77 93 AF A0 41 68 68 CD 80 08 9D E9 E7 F0 D5 E2 9B 48 C5 C1 D0 2E 84 B5 9B 20 13 87 86 44 FB F8
xor.gsf.3 = 8A BE B8 6B EF AF D0 58 83 75 59 D1 2E E8 26 99 78 93 71 FE 56 E5 E6 43 75 7E FE CE C0 B0 79 7A 51 BB C0 85 DA 59 E7 65
xor.gsf.4 = 8A BE B8 6B EF AF D0 58 83 75 59 D1 2E E8 26 99 78 93 71 FE 56 E5 E6 43 75 7E FE CE C0 B0 79 7A 51 BB C0 85 DA 59 E7 65
xor.gsf.5 = 7F 8C 2C D1 44 72 F1 01 77 93 AF A0 41 68 68 CD 80 08 9D E9 E7 F0 D5 E2 9B 48 C5 C1 D0 2E 84 B5 9B 20 13 87 86 44 FB F8
xor.gsf.6 = 45 39 6B BB B9 3B C1 D3 61 58 DA 34 DE 31 DA E3 19 B0 90 5F 6F 32 D9 74 BC 35 A7 1C FD C5 D5 E8 20 D7 AE C1 EF D5 D4 62
xor.mcf = E7 DC E5 E2
/////////////////////////////
//
// Default values in rylCoder 2.5.1
//
// Do not edit this part of the hack file, you may need these values if you fuck up
//
// mcf:
// Private Shared xorKey() As Byte = {&HAC, &H29, &H55, &H42}
//
// gsf:
// Private Shared typeCodes As Integer() = {17073, 60006, 41094, 17073, 50407, 84703, 214233}
// Private Shared xorDat As String() = { _
// "A3 49 DC EA 09 B7 01 A4 A1 11 11 8E 80 35 5B DD 38 D5 4E 36 0C A2 BB 05 36 57 2E 98 BE 88 3C 28 43 63 A0 E9 E1 6D 51 CB", _
// "4D 62 84 43 89 C7 89 83 65 29 53 95 7C C0 A1 0C DB D7 04 D8 6A D1 73 1D 21 67 86 8D A4 A0 34 BD 31 20 61 0E E9 63 B4 C0", _
// "A3 49 DC EA 09 B7 01 A4 A1 11 11 8E 80 35 5B DD 38 D5 4E 36 0C A2 BB 05 36 57 2E 98 BE 88 3C 28 43 63 A0 E9 E1 6D 51 CB", _
// "34 B5 B2 3D 7D 43 8C C0 21 25 CD B6 53 76 CE 5D D4 87 CA 84 81 CB 5E 04 BA 69 3E 65 DE 21 8A 63 62 71 90 87 0A 52 28 44", _
// "34 B5 B2 3D 7D 43 8C C0 21 25 CD B6 53 76 CE 5D D4 87 CA 84 81 CB 5E 04 BA 69 3E 65 DE 21 8A 63 62 71 90 87 0A 52 28 44", _
// "A3 49 DC EA 09 B7 01 A4 A1 11 11 8E 80 35 5B DD 38 D5 4E 36 0C A2 BB 05 36 57 2E 98 BE 88 3C 28 43 63 A0 E9 E1 6D 51 CB", _
// "4D 62 84 43 89 C7 89 83 65 29 53 95 7C C0 A1 0C DB D7 04 D8 6A D1 73 1D 21 67 86 8D A4 A0 34 BD 31 20 61 0E E9 63 B4 C0 " _
// }
//
// gcmds:
// Private Shared key As Byte() = {&H5A, &H5F, &H61, &H6C, &H6C, &H5F, &H41, &H5F, &H33, &H44}
//
//////////////////////////////
//////////////////////////////
//
// Log section
//
//////////////////////////////
//
-
Re: [release] rylCoder 2.7.0
@Tyfix thx alot:thumbup::thumbup::thumbup::thumbup::thumbup: it`s working
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
-
Re: [release] rylCoder 2.7.0
Ask how RYLCODE can open the traditional Chinese the NPC document? help me
-
Re: [release] rylCoder 2.7.0
Quote:
Originally Posted by
Tyfix
recompile wrapper class
How do i do this? I've googled "recompile wrapper class" but i couldn't find anything to use :blink: