Blockland Forums > Gallery
Uber City RP Revamped (new stuff added as of 12/1/11)
gambill1998:
awesome, btw see if you can add pets, or see if you could hire bots.
Gen. Hothauser:
--- Quote from: Soundwaver7 on November 29, 2011, 10:37:19 PM ---VCE. Use varlinks or lastplayer message
--- End quote ---
Omg thanks so much for Varlinks.
I had watched a Varlink tutorial some time ago when I was starting VCE but i had no idea what he was talking about. But now I get it and will use it.
And what does the lastplayermessage thing do? I couldn't find it after searching a bit.
Nvm, I found it. If there is a variable replacer that describes what the player had said in his chat message, like <var:cl:playerchat> so that one could make a bank function to ask if a person wants to take out money-1 for yes, 2 for no which I can do with Varlinks, then the player would type the amount in he wants. This amount is <var:cl:playerchat> which I could then convert to money, $.
If anyone knows of such a replacer, post the link here. I couldn't find anything searching.
Oh, and as with my promise I forgot to add to the OP, anyone who helps me gets a street named after them in-game. These will be seen via the little green street-name signs you see that my clan's main print maker is working on. The size of the contribution equates to the size of the street/road/lane/highway.
Gen. Hothauser:
--- Quote from: Destiny/Zack0Wack0 on July 23, 2011, 09:06:01 PM ---Yeah, that's a bug I fixed in the next version a while ago. I can't release the new update 'officially' yet (it needs more testing, because of the changes I made to the replacer system) so I'll give out a public beta of it, make sure you report all bugs.
Want to be a cool kid in the beta? $Pref::Server::ExperimentalVCE = 1;
--- Code: --- if($Pref::Server::ExperimentalVCE)
{
registerVCEFunction("color","color");
registerVCEFunction("bitleft","bitleft");
registerVCEFunction("bitright","bitright");
registerVCEFunction("bitand","bitand");
registerVCEFunction("bitor","bitor");
registerVCEFunction("bitxor","bitxor");
registerVCEFunction("ceil","ceil");
registerVCEFunction("floor","floor");
registerVCEFunction("abs","abs");
registerVCEFunction("rand","rand");
registerVCEFunction("len","len");
registerVCEFunction("tan","tan");
registerVCEFunction("cos","cos");
registerVCEFunction("sin","sin");
registerVCEFunction("atan","atan");
registerVCEFunction("acos","acos");
registerVCEFunction("asin","asin");
registerVCEFunction("add","add");
registerVCEFunction("sub","sub");
registerVCEFunction("mod","mod");
registerVCEFunction("mul","mul");
registerVCEFunction("div","div");
registerVCEFunction("pow","pow");
registerVCEFunction("root","root");
registerVCEFunction("sqrt","sqrt");
registerVCEFunction("deg","deg");
registerVCEFunction("rad","rad");
registerVCEFunction("x","x");
registerVCEFunction("y","y");
registerVCEFunction("z","z");
registerVCEFunction("dist","dist");
registerVCEFunction("cross","cross");
registerVCEFunction("dot","dot");
registerVCEFunction("norm","norm");
}
--- End code ---
<fnc:rand:1:6> random number between 1 and 6.
Other beta features:
[*]More character space in VCE outputs
[*]Added <var:cl:hatColor>, <var:cl:accentColor>, <var:cl:chestColor>, etc. Modifying them will change the colour of the client's appearance.
[*]Made it so you can modify <var:cl:hat>, <var:cl:accent>, <var:cl:chest>, etc. To modify you need to provide the name of the node you want to change it, these are the same types of nodes as Bot Events so have a look at those
[*]I fixed function arguments which have been broken for who knows how long, I wasn't even aware they were broken at all
[*]Note to developers: registerSpecialVar(...) is now deprecated. Please change it to registerVCEReplacer(...)
[*]<var:...> and <varlink:...> can now be alternatively be written as <vr:...> and <vl:...>
[*]<var:nb_brickname:variable> Can now also be written as <var:nb:brickname:variable>
[*]<varlink:message_variable:value> can now be written as <varlink:message:variable:value>
[*]Rewrote entire variable replacer parsing, the code is now much nicer & better performing
[*]Improved code here and there
[*]Merged relayCallFunction into callFunction, sorry if this breaks anything, should have been like this at the beginning
[*]Embedded replacers, ie. <var:br:array<var:br:x>>
The only problems are usually logic problems. If you're not going to contribute with your "VCE5+ is gay" ideology, go away. I'm sick of seeing your crap in every VCE related topic.
--- End quote ---
Is the part I have red colored what I can use for my below request?
A player types an amount and that amount becomes their money?
Soundwaver7:
--- Quote from: Gen. Hothauser on November 15, 2011, 12:12:14 AM ---And now I'm in a pickle because I need a way to constantly display a players stats, such as money, job, exp, health, hunger, property. It has to be done with events so I assume it will utilize the firerelay to keep it going.
--- End quote ---
http://forum.blockland.us/index.php?topic=139294.0
or
http://forum.blockland.us/index.php?topic=107604.0
I prefer the first one.
--- Quote from: Gen. Hothauser on November 30, 2011, 12:24:31 AM ---Is the part I have red colored what I can use for my below request?
A player types an amount and that amount becomes their money?
--- End quote ---
I think that just means you can type a varlink differently than before. (correct me if I'm wrong)
Gen. Hothauser:
--- Quote from: Soundwaver7 on November 30, 2011, 06:27:59 PM ---http://forum.blockland.us/index.php?topic=139294.0
or
http://forum.blockland.us/index.php?topic=107604.0
I prefer the first one.
I think that just means you can type a varlink differently than before. (correct me if I'm wrong)
--- End quote ---
Ya, I had said that I used HUD print in one of these previous posts
And k for the second response.