REAL RevCMS Bot Shop

Muffmuncher

Member
Jan 11, 2012
61
12
updated 4/1

This is it - a real bot shop for RevCMS featuring major functionality enhancements for the .

Features
- Updates Credits and places bot in room real time via MUS
- All variables filtered
- Shop will be disabled if user has fewer Credits than bot price (user defined $botPrice) or has more bots than defined ($maxBots)
- Prompts user to delete one of their bots if exceed bot limit
- Get looks from cms_registration_figures (already in Phoenix database)

bots.php (first add a owner column in the bots table, SQL later)
Code:

Screenshots





I certainly do hope you have as much fun using the bot shop on your hotels as I had creating it. If you appreciate my work, I ask that you do not remove the commentated credits to myself in the script. On a side note, please take a moment to go through the lines as I'm fairly new to PHP!

- Teddy
 

Weasel

👄 I'd intercept me
Nov 25, 2011
4,132
2,456
Really good - however the "Code" field is empty.
Some tips for further releases:
- Add a look generator, or let it grab the look from another user
- Make the error codes green, and replace them at the bottom
 

Brought

更加努力
Jan 14, 2013
595
203
Is a link ever going to be added to this thread or what? lol. Otherwise the thread is completely pointless and should be closed.
 

Dann

ohi
Jan 26, 2013
234
49
Really good - however the "Code" field is empty.
Some tips for further releases:
- Add a look generator, or let it grab the look from another user
- Make the error codes green, and replace them at the bottom
can't see the php code :O

Maybe if a user makes more than the limit, they can donate.
Is a link ever going to be added to this thread or what? lol. Otherwise the thread is completely pointless and should be closed.
Fished out the code from the same thread on a rival forum, so here it is:
Code:
http://pastebin.com/L43Evhm2
P.S. Just noticed while testing he has a little script to lie about his user count. If you don't understand how to get rid of it here's a tut:
After you save it do CTRL + H in the file then put in the first box:
Code:
<?php
                            $random = rand(4, 12);
                            $online = "{online}";
                            $addition = $online + $random;
                                                         
                            echo $addition;
                        ?>
And then in the second box
Code:
{online}
Simple fix but it's for the noobs.
 

ButtLord420

Please delete my devbest account.
Dec 11, 2010
463
32
Fished out the code from the same thread on a rival forum, so here it is:
Code:
http://pastebin.com/L43Evhm2
P.S. Just noticed while testing he has a little script to lie about his user count. If you don't understand how to get rid of it here's a tut:
After you save it do CTRL + H in the file then put in the first box:
Code:
<?php
                            $random = rand(4, 12);
                            $online = "{online}";
                            $addition = $online + $random;
                                                     
                            echo $addition;
                        ?>
And then in the second box
Code:
{online}
Simple fix but it's for the noobs.
Thanks ;) I'll add this to the revcms auto-installer system.
 

Dann

ohi
Jan 26, 2013
234
49
Thanks ;) I'll add this to the revcms auto-installer system.
One thing I've just noticed that if you have no rooms, it goes through and adds the bot anyways, with the room id as 0, I'll look into fixing this. I think it's the same with the name and motto too.
 

ButtLord420

Please delete my devbest account.
Dec 11, 2010
463
32
One thing I've just noticed that if you have no rooms, it goes through and adds the bot anyways, with the room id as 0, I'll look into fixing this. I think it's the same with the name and motto too.
maybe make a message saying to come back later if they have no rooms. and no name and no motto will just copy the user that put it there.
 

Dann

ohi
Jan 26, 2013
234
49
maybe make a message saying to come back later if they have no rooms. and no name and no motto will just copy the user that put it there.
I'm thinking about just coding a whole new bot shop since this is just scruffy code, might do one that isn't just habbo theme based. It seems there are a few useless peaces of code and some strange images, ect. Good release muff but needs to be a bit simpler.
 

ButtLord420

Please delete my devbest account.
Dec 11, 2010
463
32
I'm thinking about just coding a whole new bot shop since this is just scruffy code, might do one that isn't just habbo theme based. It seems there are a few useless peaces of code and some strange images, ect. Good release muff but needs to be a bit simpler.
Good Idea. When your done please send me the code and I'll add it to the revcms auto install shop.
 

HonkyWam

Tickle me Elmo!
Dec 8, 2011
289
4
Doesn't work for me I get this :S all in a white screen as a backround when i click make bot.

Did you know? {fact_3}

{online} {online_text}
Bot Shop
No cake for you! (room_id)
 

Users who are viewing this thread

Top