ID:265491
 
I've developed a nifty secure icon trade system that brings 2 people who wish to trade icons together, and then each selects the icon to trade, and said icons are displayed next to each of the traders so they know if the icon to be traded to them is blank or not so they know if they will be scammed. (It, of course, has a cover that doesn't display every bit so you can't use print screen to steal it.) Are there any ways someone could still nab the icon from someone without actually giving them an icon in return? I can post the code for it if you want me too, but I don't want others to steal it :/
Make a new mob, have it walk in 8 different pos and standing still, once that is done make sure both confirm that both the icons is what they want , (GIVE THE ICON A 50% BLUE DITHER)
[EDIT]
(by dither, i mean during game not the actual icon :P)
I came up with three answers for you, but none of them really made sense. However, I realized that it's just because the idea of "trading icons" in a game dosn't make sense at all to begin with. It's just stupid. Making a "secure trade" possible is stupid because the whole thing is impossible and asanine. If you want graphics, pay for them or sign a contract to "trade" them. Don't do it via a stupid BYOND program where people are always trying to "scam" you.
In response to PirateHead
Well, you know, I didn't ask for such answers as you gave me, so don't reply unless it actually helps me achieve what I asked for.
In response to Echtolion
id love to see the code ive been trying to make a systm thing like that 2 but im still lerning to code and the ftp proc doesnt make that much sence to me
In response to Juex
The code is below, but I have come to realize that such attempts to create a system are futile. And this code probably is written very poorly, because I threw it together, and realizing attempts are futile, I discontinued it. It is a waste of time, don't bother using it.

#define DEBUG
client/Move()
if(src.mob.mobile) ..()
else return
mob
verb
say(msg as text)
world << "[usr] says [msg]"
var
mobile=1
icon='Icons.dmi'
icon_state="player"
verb
trade_icons()
var/list/choices=list("Yes","No")
var/mob/M=input("Who are you requesting to trade an icon with?","Trade Icons") in world
var/tradeback=input("Do you want to require the recipient to give you an icon as well?","Trade Icons") in choices
switch(tradeback)
if("Yes")
var/accepted=input(M,"[src] has requested to trade icons with you. Do you accept?","Trade Icons") in choices
switch(accepted)
if("Yes")
alert("[M] has accepted your request to trade icons.","Trade Icons")
M.loc=locate(src.x+2,src.y,src.z)
M.mobile=0
src.mobile=0
var/obj/SRCC=new()
var/obj/MMM=new()
SRCC.icon=input("What icon do you want to send to [M]?","Trade Icons") as icon
MMM.icon=input(M,"What icon do you want to send to [src]?","Trade Icons") as icon
SRCC.overlays+=icon('Icons.dmi',"ipcover")
MMM.overlays+=icon('Icons.dmi',"ipcover")
SRCC.loc=locate(src.x+1,src.y,src.z)
MMM.loc=locate(M.x+1,M.y,M.z)
var/srcaccept=alert("The icon you wish to give to [M] is the one located next to you, the one [M] will send to you is located next to [M]. They are shaded to prevent theft. Press OK to go through with trade.","Trade Icons","Ok","Cancel")
var/maccept=alert(M,"The icon you wish to give to [src] is the one located next to you, the one [src] will send to you is located next to [src]. They are shaded to prevent theft. Press OK to go through with trade.","Trade Icons","Ok","Cancel")
if(srcaccept=="Ok"&&maccept=="Ok")
src << "Transferring icons..."
M << "Transferring icons..."
src << ftp(MMM.icon)
M << ftp(SRCC.icon)
del(MMM)
del(SRCC)
src.mobile=1
M.mobile=1
else
alert("One of you declined.")
alert(M,"One of you declined.")
del(MMM)
del(SRCC)
M.mobile=1
src.mobile=1
return
else
alert("[M] has declined your request to trade an icon.")
else
var/accepted=input(M,"[src] has requested to give icons with you. Do you accept?","Trade Icons") in choices
switch(accepted)
if("Yes")
alert("[M] has accepted your request to give them icons.","Trade Icons")
M.loc=locate(src.x+2,src.y,src.z)
M.mobile=0
src.mobile=0
var/obj/SRCC=new()
SRCC.icon=input("What icon do you want to send to [M]?","Trade Icons") as icon
SRCC.overlays+=icon('Icons.dmi',"ipcover")
SRCC.loc=locate(src.x+1,src.y,src.z)
var/srcaccept=alert("The icon you wish to give to [M] is located next to you. They are shaded to prevent theft. Press OK to go through with selected actions.","Trade Icons","Ok","Cancel")
var/maccept=alert(M,"The icon [src] wishes to give you is the one located next to you,will. They are shaded to prevent theft. Press OK to go through with selected actions.","Trade Icons","Ok","Cancel")
if(srcaccept=="Ok"&&maccept=="Ok")
src << "Transferring icons..."
M << "Transferring icons..."
M << ftp(SRCC.icon)
del(SRCC)
src.mobile=1
M.mobile=1
else
alert("One of you declined.")
alert(M,"One of you declined.")
del(SRCC)
M.mobile=1
src.mobile=1
return
turf
icon='Icons.dmi'
icon_state="grass"