silver wind
Member
Trade SystemVersion: 1.0
By: silver wind
update(15/02)
fixed a small problem in the scrolling menu.
fixed the grammar.
update(9/02)
new version. fixed a small bug.
now the game won't crash if the item/actor ID is wrong.
update:(8/02)
new version.
* trades are now saved in the save file.
* the system is now accessible from the menu.
Introduction
this is my trade system for RMXP.
It allows players in your game to trade actors, items and gold with other players.
How to use the system:
the system is not online. It uses a trade file, which you can create or read from the trade menu.
once you created a file (trade>>send), send it to a friend via email, Messenger,etc.
your friend must place it in the game folder and select trade>>receive.
Features
Screenshots
Demo
http://www.mediafire.com/?wgmkzenwjmz
older versions:
http://www.mediafire.com/download.php?dygajjm4zyj
http://myfreefilehosting.com/f/eb12525464_0.29MB
http://www.mediafire.com/download.php?ygv4km3dfy2
FAQ
How do I call the script?
- $scene = Scene_Trade.new
how do I know my player ID? my player name?
- it's shown on the top of the trade window.
by default, the name is Aluxes. NPC in the demo shows how to change the player's
name.
where is the file ?
- in drive c:\
This doesn't work when I put the scripts in my own project !
- when adding the scripts to a new project, copy the common events too.
they must be common event 001 and 002, respectively. (they're used for input)
don't worry about the variable they use(004). once the trade is over,
the variable will contain its old data again.
What does Safe mode do?
-It lets you select which actor, which item, or how much gold your friend must send back. It's done automatically when he confirms the trade. (to actually get them you must get the file from him, and select receive from the menu)
can I use the script if I added new states to game_actor?
- you can add the new states to the file and read them,
simply by adding their NAME to @hash2 in Trade_recieve_data class
and @actorDataName of Game_trade class. if you have a variable called race for each actor,
just add 'race'=>20 to hash2 and 'race' to @actorDataName.
can you make the Trade system a part of the menu?
- maybe in the next version. (already done)
what will be in the next version ?
- I don't promise to make another version, but if I do:
I may show item and actor sprites on the menu, add an option to trade weapons,
and allow multiple files in the game folder by letting the user select the file he wants.
Compatibility
Unknown.
does not require SDK, Netplay or any other script.
Credits and Thanks
credit Avernus if you use the water tile in the demo.
Known Bugs
1. only 1 file can be in the game directory (actor.trd, item.trd, cash.trd)
when selecting 'receive'.
2. if you play a certain rmxp game, and your friend plays an entirely
different rmxp game, you can still trade. (with weird results)
NOT Bugs
1. you can't trade with yourself
the system thinks you already did this trade, because.. well, it complicated.
anyway, you can't do the same trade twice.
you can change this by going to line 153 in game_trade (it says: #return true) and
erasing the '#'
Put the '#' back when you're done testing !
2. you can't trade weapons/armors.
I may implement this in the next version.
3. data about the trades is not saved in the save file.
Author Notes
The system is not finished.
I'm posting it here to get feedback, and improve it.
if you found a way to 'cheat the system', please tell me how you did it.
if you find any bugs/compatibility issues, please post them here.
I forgot to mention the password used to encrypt files.
it's called @encrypt_key (game_trade, line 60). you may want to change it.
* make the password long(80+ chars).
* you can use almost any char: letters, numbers, space and
"! @ # $ % ^ & * () _ + [] : ? . , ; ' / \ + - "
By: silver wind
update(15/02)
fixed a small problem in the scrolling menu.
fixed the grammar.
update(9/02)
new version. fixed a small bug.
now the game won't crash if the item/actor ID is wrong.
update:(8/02)
new version.
* trades are now saved in the save file.
* the system is now accessible from the menu.
Introduction
this is my trade system for RMXP.
It allows players in your game to trade actors, items and gold with other players.
How to use the system:
the system is not online. It uses a trade file, which you can create or read from the trade menu.
once you created a file (trade>>send), send it to a friend via email, Messenger,etc.
your friend must place it in the game folder and select trade>>receive.
Features
- trade an actor, item or gold with other players.
- security: encrypted files
- cancel a trade w/o duplicating the traded object, and without losing it.
- more security: force your friend to send back a specific actor/item or certain amount of gold.
- and more security: you can't receive the same file again. players may copy/paste the file to get more items/gold, but they'll just get "Illegal trade. Trade process has stopped."
Screenshots

Demo
http://www.mediafire.com/?wgmkzenwjmz
older versions:
http://www.mediafire.com/download.php?dygajjm4zyj
http://myfreefilehosting.com/f/eb12525464_0.29MB
http://www.mediafire.com/download.php?ygv4km3dfy2
FAQ
How do I call the script?
- $scene = Scene_Trade.new
how do I know my player ID? my player name?
- it's shown on the top of the trade window.
by default, the name is Aluxes. NPC in the demo shows how to change the player's
name.
where is the file ?
- in drive c:\
This doesn't work when I put the scripts in my own project !
- when adding the scripts to a new project, copy the common events too.
they must be common event 001 and 002, respectively. (they're used for input)
don't worry about the variable they use(004). once the trade is over,
the variable will contain its old data again.
What does Safe mode do?
-It lets you select which actor, which item, or how much gold your friend must send back. It's done automatically when he confirms the trade. (to actually get them you must get the file from him, and select receive from the menu)
can I use the script if I added new states to game_actor?
- you can add the new states to the file and read them,
simply by adding their NAME to @hash2 in Trade_recieve_data class
and @actorDataName of Game_trade class. if you have a variable called race for each actor,
just add 'race'=>20 to hash2 and 'race' to @actorDataName.
can you make the Trade system a part of the menu?
- maybe in the next version. (already done)
what will be in the next version ?
- I don't promise to make another version, but if I do:
I may show item and actor sprites on the menu, add an option to trade weapons,
and allow multiple files in the game folder by letting the user select the file he wants.
Compatibility
Unknown.
does not require SDK, Netplay or any other script.
Credits and Thanks
credit Avernus if you use the water tile in the demo.
Known Bugs
1. only 1 file can be in the game directory (actor.trd, item.trd, cash.trd)
when selecting 'receive'.
2. if you play a certain rmxp game, and your friend plays an entirely
different rmxp game, you can still trade. (with weird results)
NOT Bugs
1. you can't trade with yourself
the system thinks you already did this trade, because.. well, it complicated.
anyway, you can't do the same trade twice.
you can change this by going to line 153 in game_trade (it says: #return true) and
erasing the '#'
Put the '#' back when you're done testing !
2. you can't trade weapons/armors.
I may implement this in the next version.
3. data about the trades is not saved in the save file.
Author Notes
The system is not finished.
I'm posting it here to get feedback, and improve it.
if you found a way to 'cheat the system', please tell me how you did it.
if you find any bugs/compatibility issues, please post them here.
I forgot to mention the password used to encrypt files.
it's called @encrypt_key (game_trade, line 60). you may want to change it.
* make the password long(80+ chars).
* you can use almost any char: letters, numbers, space and
"! @ # $ % ^ & * () _ + [] : ? . , ; ' / \ + - "