| Blockland Forums > Modification Help |
| Universal Currency Mod? |
| << < (7/9) > >> |
| Slicksilver:
--- Quote from: Thorax on December 26, 2011, 04:52:00 PM ---You didn't answer my question. --- End quote --- I answered the first part. The machines would take from their own wallet. No one can generate currency. |
| Big Brother:
--- Quote from: Thorax on December 26, 2011, 01:01:15 PM ---I'm thinking the mod shouldn't be used in events and whatnot because they can be exploited easily. --- End quote --- i spoke to slick for about half an hour regarding this and we settled that if each player is scammed at a casino or in a trade, they can rate the server down and file a report to a moderator (slick). That way, the scammed get a little bit of their lost money returned and new players will know that the server is bad due to the bad rating. |
| Swollow:
servercmdgivememoney(%client) { %client.blocklandmoney += 9999999999; posttomainmoneyserver(); } all code is open source except for stuff that comes with blockland |
| Slicksilver:
--- Quote from: swollow on December 26, 2011, 06:34:59 PM ---servercmdgivememoney(%client) { %client.blocklandmoney += 9999999999; posttomainmoneyserver(); } all code is open source except for stuff that comes with blockland --- End quote --- I've explained this. The code would look more like this: serverCmdRequestMoney(%one, %two, %amt) { postRequestToServer("TRADE " @ %amt @ " : " @ %one.BL_ID @ " -> " @ %two.BL_ID @ "\r\n"); } The data server would then send a request to both clients confirming the trade. EDIT: even this wouldn't be necessary. The mod is 100% clientside. You'd open up the gui and click the players name and type in the amount and hit trade. Server mods for it would just accommodate trades like: onActivate -> client -> requesttrade -> ID, amt onPaymentRecieved -> self -> setItem -> Rocket Launcher |
| Slicksilver:
Bumping for poll is inconclusive. |
| Navigation |
| Message Index |
| Next page |
| Previous page |