SiteBot

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

SiteBot

Postby [FTF]Freedom » Sun Dec 16, 07 6:20 pm

Something I started ages ago, but can't get to work (properly).

I stole and edited Allan's adminbot code and modified it so that it does not log a user in when frobbed, but rather takes them to my clan's website.

One teeny weeny little problem - the bot takes ME (and only me) to the FTF site whenever someone frobs it. Also, if there were 6 players on my server, and one person frobbed it, it would open IE to the FTF page.... 6 times.

I've lost the code since a recent hardware failure, so no examples unfortunately. Basically, I'm just asking for someone to do this mod for me if they'd be so kind...

I want a bot (preferably a computerpersonal but dunno if it's possible) to take the player to the FTF website when the player clicks it.

If this is possible could somebody script it for me, please? I'm offering server time in return for those who want it. (I just purchased a fast 8 slot server)
~[A]Kaiden~ wrote:Ppl play DX to kill stuff
[FTF]Freedom
Regular
 
Posts: 458
Joined: Sat Oct 20, 07 12:52 pm
Location: Wales, UK

Postby Cozmo » Sun Dec 16, 07 7:10 pm

Code: Select all
function Frob(Actor Frobber, Inventory frobWith)
{
   DeusExPlayer(Frobber).ConsoleCommand("open www.website.com");
}


?
Cozmo_RPG (v1 & v2)
MPConversations - A tool for creating multiplayer RPG stuff
Cozmo
Master
 
Posts: 1266
Joined: Tue Jun 28, 05 10:53 am
Location: UK

Postby Kaiden » Sun Dec 16, 07 9:43 pm

I'm assuming you asked him prior to editing it?
------
Kaiden
Alpha
 
Posts: 7003
Joined: Wed Jan 18, 06 11:21 pm
Location: England

Postby [FTF]Freedom » Mon Dec 17, 07 12:14 am

Yeah, on this forum actually. Well kinda. Didn't specifically ask him, but didn't specifically base it on his code... I just used the adminbot class file coz as a starting block, and removed all adminlogin functions anyway. His name was kept on it anyway.

Cosmo: I'll try that, thanks.
~[A]Kaiden~ wrote:Ppl play DX to kill stuff
[FTF]Freedom
Regular
 
Posts: 458
Joined: Sat Oct 20, 07 12:52 pm
Location: Wales, UK

Postby Allan » Mon Dec 17, 07 9:27 am

Well, if it makes something worth the while, use the code. I don't mind much.
User avatar
Allan
Alpha
 
Posts: 4545
Joined: Wed Dec 21, 05 1:41 pm
Location: Northamptonshire, England.

Postby [FTF]Freedom » Tue Dec 18, 07 4:13 pm

Thanks. I'm not in the business of stealing code, I just couldn't be bothered to write out my own class file lol. Just replaced adminlogin with open lol
~[A]Kaiden~ wrote:Ppl play DX to kill stuff
[FTF]Freedom
Regular
 
Posts: 458
Joined: Sat Oct 20, 07 12:52 pm
Location: Wales, UK


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 1 guest
cron