[TUT] How to make a script.

11/10/2013 15:59 Casualty96#1
Hey guys!

I promised I would make a tutorial on how to MAKE a script, so here it is!

To start off, you need a WarRock File Decoder and Encoder
You can find the File Decoder [Only registered and activated users can see links. Click Here To Register...] and the VirusTotal [Only registered and activated users can see links. Click Here To Register...]

So, now you open this file Decoder and Encoder, it will look like this
Now it's time to find your original items.bin (you will find it at C://WarRock/data, make sure to back this file up! If your script fails, or you don't want to use it anymore, you can use the back-up!

You open the items.bin like this: click on the square that I pointed out for you and select your items.bin file.
If you opened it, you will see a lot of weird letters and numbers, you need to decode them, by clicking on decode ofcourse.
And you will see this:
Go ahead and click in the area with the text, press [CTRL]+[A] and than [CTRL]+[C] now you've copied the whole text, open up word, and press [CTRL]+[V] to paste it in word, it will look like this:
Now it's time to script for real, if you press [CTRL]+[F] you can search all the weapons you want, but you can also search for Characters!

If you want to script your default characters, follow these steps:

And now for the guns:
If you are done with scripting the guns you want, you copy the text and paste it into NotePad
Go back to your file decoder, click the square from input file again, and make sure you are looking for .txt files.
Once you've opened the file, click on Encode, so these weird numbers and letters are back.

And again, you copy these letters into a new .txt document, that should be named items.txt
Paste your Encoded script in that items.txt document.
Save it, and than click on properties.
Now you should call that file items.bin
Click on 'Yes' to save it as items.bin.
You have just created your script! Copy and paste this file in your C://WarRock/Data folder, use a CRC Bypass and start WarRock!

NOTE: You cannot make weapons buyable for 1 dinar. So DO NOT TRY TO MODIFY THOSE FACTORS IN YOUR SCRIPT, IT WILL NOT WORK!

The first time you do this might be difficult, but once you know how to properly do this, you will be able to make a script within 15 minutes (depends on how many weapons you script, if you want to script all of them, it can take about an hour.

Good luck with scripting!

~Casualty96


CREDITS:
ToxicData (for the file Decoder/Encoder)
Casualty96 (for making this tutorial)
Everyone who reads this (yea, that's right, you all get credits, because you guys are the best!)
11/10/2013 16:09 daniel547#2
nice tutorial :)
11/10/2013 17:32 A U lR A#3
nice, thanks.
11/10/2013 21:14 Casualty96#4
Quote:
Originally Posted by daniel547 View Post
nice tutorial :)
Thanks!
Quote:
Originally Posted by A U lR A View Post
nice, thanks.
Thanks mate!
11/11/2013 07:18 jantjeown#5
hey, in je script pagina he waar je die download op hebt staat er dit :

POWER = DOUBLE
DEFENCE = 0
SOOTRANGE = 12000
AMMONNUM = 30
MAGAZINENUM = 5
EFFECTRANGE = 0
PARABOLA = 00
REACTAMOUNT = POINT 5 (0.5)
REACTRECOVERY = POINT 5 (0.5)
ACCURATE = MAXIMUM (100%)
SHOOTSPEED = 500
WEIGHT = SAME AS COLT (15)
COOLTIME = 0.000000
RELOADTIME = 0.000000
HEATFACTOR = 0.000000
COOLFACTOR = 0.000000
FSDTIME = 0.000000
SCDTIME = 0.000000
ARMORTYPE = 0

doe je dat bij elk wapen?
11/11/2013 13:43 Casualty96#6
Quote:
Originally Posted by jantjeown View Post
hey, in je script pagina he waar je die download op hebt staat er dit :

POWER = DOUBLE
DEFENCE = 0
SOOTRANGE = 12000
AMMONNUM = 30
MAGAZINENUM = 5
EFFECTRANGE = 0
PARABOLA = 00
REACTAMOUNT = POINT 5 (0.5)
REACTRECOVERY = POINT 5 (0.5)
ACCURATE = MAXIMUM (100%)
SHOOTSPEED = 500
WEIGHT = SAME AS COLT (15)
COOLTIME = 0.000000
RELOADTIME = 0.000000
HEATFACTOR = 0.000000
COOLFACTOR = 0.000000
FSDTIME = 0.000000
SCDTIME = 0.000000
ARMORTYPE = 0

doe je dat bij elk wapen?
Ja ;) Maar stel in het vervolg je vragen in het Engels, dan kan de rest ze ook meelezen.
11/11/2013 14:35 schwuckele#7
the easy way? watch in my appendix!
Screens :
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
After editing, save and its rdy.
VT : [Only registered and activated users can see links. Click Here To Register...]

Download :
11/11/2013 19:27 jantjeown#8
Oke..

i've made the settings you told me but not when i want to start with a bypass my warrock loads turns black and then stops. can u help me in anyway? because i dont get it with the encode at the last do i have to make it in the encoder and then output on .bin?
11/11/2013 23:57 Casualty96#9
Quote:
Originally Posted by schwuckele View Post
the easy way? watch in my appendix!
Screens :
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
After editing, save and its rdy.
VT : [Only registered and activated users can see links. Click Here To Register...]

Download :
I've tried your way, I found out that my way is a lot easier, since that's how I did it a few years ago, I guess I'm just used to doing it like this.

Quote:
Originally Posted by jantjeown View Post
Oke..

i've made the settings you told me but not when i want to start with a bypass my warrock loads turns black and then stops. can u help me in anyway? because i dont get it with the encode at the last do i have to make it in the encoder and then output on .bin?
You don't have to worry about the output file, just the input file, and you encode it so it's like this again:
587F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7EAD EE7DDDEDEDE859286889B819BF7F7F7F7F7F7F7F7F7F7F7F7F 7F7F7F7F7F7F7F7F7EADEE6DDDEDEDE85969993989A8899829 AF7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F7EADEE7DDDEDEE

Once your text is encoded, you rename that file items.bin and it should work.
11/12/2013 13:31 jantjeown#10
it doesnt work man.. , i just scripted m4a1 k1 and mp5k and then i encode save it and .bin and then it still dont work..

it starts and then blackscreen and dc

if i put it as .bin it stays txt?
11/13/2013 00:19 Casualty96#11
Quote:
Originally Posted by jantjeown View Post
it doesnt work man.. , i just scripted m4a1 k1 and mp5k and then i encode save it and .bin and then it still dont work..

it starts and then blackscreen and dc

if i put it as .bin it stays txt?
Check your private message.
11/14/2013 13:57 Alfredodori#12
casual check your pm please :)
11/16/2013 14:18 Casualty96#13
Quote:
Originally Posted by Alfredodori View Post
casual check your pm please :)
I just did.
11/17/2013 20:23 kono93#14
Where can I find the crc bypass?
11/20/2013 16:22 Casualty96#15
Quote:
Originally Posted by Uhmazing View Post
thanks!
You're welcome!