Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - redeath

Pages: [1] 2 3
1
Modification Help / Can Someone help me Please?
« on: January 31, 2016, 07:37:31 PM »
 I've been trying to get this old Roulette Bot Working but i have no Idea what to do. I've Looked into Torque scripting and all that stuff and i couldn't seem to find anything Wrong with the Script. Maybe its my lack of Experience or something but i'd appreciate it if someone could help me.

Thanks in Advance :)




//Made by ThinkInvisible, BLID 14511. NOTE : Some things in this code are misplaced so you don't just grab it and use it. This is only an example.

package rouletteBot {
     $rouletteBarrel = getrandomnum(1,6);
     $rouletteScoreCombo = 0;
     $rouletteLastShoot = NaN;
     function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg) {
          parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
          if (striPos(%msg,"Roulette") > 0) {
               if (striPos(%msg,"shoot me") > 0) {
               if ($rouletteLastShoot != %name) {
                    commandToServer('messageSent',%name@" spins the barrel and pulls the trigger...");
                    %tempval = getrandomnum(1,6);
                    if (%tempval = $rouletteBarrel) {
                         $rouletteScore[%name] ++;
                         export("$rouletteScore*","add-ons/client_roulette/scores.cs");
                         $rouletteLastShoot = NaN;
                         $rouletteBarrel = getRandomNum(1,6);
                         commandToServer('messageSent',"*BLAM*... "@%name@" got hit! "@%name@" has been hit "@$rouletteScore[%name]@" times.");
} else {
commandToServer('messageSent',"*Chk*... "@%name@" escaped the bullet! Good job!");
$rouletteLastShoot = %name;
}
} else {
commandToServer('messageSent',"Silly "@%name@", you can't shoot twice in a row! Let somebody else have a turn, please.");
}
}
}
};

2
Off Topic / Re: This Post Isn't needed
« on: January 31, 2016, 05:44:38 PM »

3
Off Topic / Re: This Post Isn't needed
« on: January 31, 2016, 05:43:47 PM »
Understanding how to use the code ;-;

4
Off Topic / Re: This Post Isn't needed
« on: January 31, 2016, 05:42:29 PM »
Why would anyone want to loving look at it


Just Needed help with it :/

He said He'd take a look at it so i told him i'd post it and send him the link on Blockland

5
Off Topic / Re: This Post Isn't needed
« on: January 31, 2016, 05:41:09 PM »
it shouldn't be here

Yeah i didn't know where to post it,

However I'm not Hacking the Forums. This is for my own Personal Enjoyment on the Blockland Game Itself.

6
Off Topic / Re: This Post Isn't needed
« on: January 31, 2016, 05:39:54 PM »
Why did you post this

Its a Code for Someone to look at quickly, Lmao i'll get Badspot to take it down After i get his opinion,

Ps: He's not not he forums

7
Off Topic / Re: This Post Isn't needed
« on: January 31, 2016, 05:38:41 PM »
No I'm not Hacking the Post. Im just posting this for someone to Take look at it lmao,
Its a Roulette bot

8
Off Topic / This Post Isn't needed
« on: January 31, 2016, 05:36:37 PM »
package rouletteBot {
     $rouletteBarrel = getrandomnum(1,6);
     $rouletteScoreCombo = 0;
     $rouletteLastShoot = NaN;
     function clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg) {
          parent::clientCmdChatMessage(%a,%b,%c,%fmsg,%cp,%name,%cs,%msg);
          if (striPos(%msg,"Roulette") > 0) {
               if (striPos(%msg,"shoot me") > 0) {
               if ($rouletteLastShoot != %name) {
                    commandToServer('messageSent',%name@" spins the barrel and pulls the trigger...");
                    %tempval = getrandomnum(1,6);
                    if (%tempval = $rouletteBarrel) {
                         $rouletteScore[%name] ++;
                         export("$rouletteScore*","add-ons/client_roulette/scores.cs");
                         $rouletteLastShoot = NaN;
                         $rouletteBarrel = getRandomNum(1,6);
                         commandToServer('messageSent',"*BLAM*... "@%name@" got hit! "@%name@" has been hit "@$rouletteScore[%name]@" times.");
} else {
commandToServer('messageSent',"*Chk*... "@%name@" escaped the bullet! Good job!");
$rouletteLastShoot = %name;
}
} else {
commandToServer('messageSent',"Silly "@%name@", you can't shoot twice in a row! Let somebody else have a turn, please.");
}
}
}
};

User was banned for this post

9
Games / Atari 2600 Games.
« on: January 19, 2016, 02:40:44 PM »
Does Anyone know any good Atari Games?
I Know they're old and crappy But i thought i'd take a look into
purchasing a few Games and invest some money into it.

11
Drama / Re: Someone is crediting me for pixel art for me to look bad!
« on: January 18, 2016, 04:29:21 PM »
And Also. Myself and Yawa made the Pixel art. We thought it'd be Cool and Ipizza Agreed.

12
Drama / Re: Someone is crediting me for pixel art for me to look bad!
« on: January 18, 2016, 04:04:38 PM »
Btw If Anyone Cares. Im The_Last_Pikachu Alive

13
Drama / Re: Someone is crediting me for pixel art for me to look bad!
« on: January 18, 2016, 03:59:04 PM »
Maybe they were inspired by this? No reason to give them less of a reason.
Im Admin on this Server. i Made that Creeper island as a Expansion to the Server. The Reason it says its in Ipizza's Name is because its is Save file. Once someone saves and Reloads a File it'll be put in that Individual name.
Im sorry if yo were Offended by this Kduc/Sp0nge

14
Drama / Re: Spammers at Badspot's Block Party
« on: January 16, 2016, 09:57:13 PM »

15
Drama / Re: New to the fourms.
« on: January 16, 2016, 06:03:17 PM »
Are you German or something?  Just asking because you're capitalizing random things, and I believe nouns are capitalized in German.
No I'm not German. I just seem to Capitalize random words :/ For some reason it makes my figures feel better.

Pages: [1] 2 3