You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > Unreal Tournament > UT Server - General Chat

Reply
Thread Tools Display Modes
  #1  
Unread 9th April, 2011, 04:26 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Question mod to send players to !website

seen this on a server recently , where players type !website and it would take them there. Does anyone have this mod or something similar?

cheers.

Prayers were Answered

here is the Full working version of the SendTo mod for UT99

Many Many Thanks to you MR. Meindratheal

Quote:
Originally Posted by Meindratheal
I've done the standalone version, I can't guarantee it will be bug-free though, so report back.
The Nexgen version will be coming soon, it's not a major code change.

updated: July 12 2011
Download Standalone Version;
SendTo-v07c.zip

Download Nexgen Version;
Nexgen-112

Last edited by back4more : 12th July, 2011 at 10:48 AM. Reason: updated
Reply With Quote
  #2  
Unread 9th April, 2011, 08:04 PM
Meindratheal Meindratheal is offline
Unstoppable
 
Join Date: Apr 2010
Posts: 244
Default

It doesn't sound too difficult to make, all it would do is intercept the message, and run ConsoleCommand("start <website>") on the client. Could be done as a standalone mod, or one for Nexgen.

If people want, I can add this to NexgenExtensions.
__________________
I'm a learning coder, but my repertoire is expanding. I may be useful for something after all
Reply With Quote
  #3  
Unread 10th April, 2011, 01:16 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

noice one

yer I figured that it would be something fairly basic , at least for someone who knows their stuff!

if u could perhaps make both? that would be advantageous, would it have either a website.ini or pickup the website URL from the UT.ini?

This is because our TTM (Team Tournament Match) Server does not have Nexgen.. Also catering for other's that don't use nexgen hud.

as always ...

Very Much Appreciated!.

Reply With Quote
  #4  
Unread 10th April, 2011, 02:22 AM
gopostal's Avatar
gopostal gopostal is offline
Banned
 
Join Date: Jan 2008
Posts: 235
Default

Doesn't one of the nexgen extensions do this already? I've been on servers and sent to the forum to read something by the admins on-server and I seem to recall it was a nexgen command of some sort.
Reply With Quote
  #5  
Unread 10th April, 2011, 10:42 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

yes nexgen has the feature but it is 'manually' controlled , ie admin enters url and then sends player(s) to porn sites .. I mean good upstanding websites yes.

^_^

I think tbh simple is best , like nexgen you can type !r , !b !o for various cmd's

in this case it would be !w

over the years I have come to know that UT players are not the smartest pick of the crop and find that they can't even find the website if they tried. And/or being older lazier they simply cbf'd.

Back on Topic:

This way we can use ServerAdd's or inbuilt spammer to advertise the website , prefer server-adds atm so if you build something like the following it would help;

.ini;

Code:
bAdvertise=True
bMessage=Please Type !f to visit forums
bURL=http://www.link.to.our.uber.forums.com

and/or 

bAdvertise=True
bMessage=Please Type !w to visit website
bURL=http://www.link.to.our.uber.website.com

then that would cover all the bases.

maybe if you want to get fancy allow for [xx]number of urls so players can be sent all over the place hehe.. but yer that would be a bit too much.. and I don't want to use up too much of your guys time on this lil mod


Again Thanks

ps: if there was a mutate cmd in there it would help as well for the uber geeks who bind to keys instead of publicly spam !w,!f,!p !forums all over the chat box. (in hindsight not a bad idea really - may get more players registered at least.)

for a more advanved version somone could even go so far as to setup an array with links to 10 different places or 10 separate posts on one site in this instance. That would require some thought although as the cmd's would need to reflect where you are sending them.

for example;

Code:
bAdvertise[0]=True
bMessage[0]=Please Type !forums to visit forums
bCMD[0]=!forums
bShort[0]=!f
bURL[0]=http://www.link.to.our.uber.forums.com

bAdvertise[1]=True
bMessage[1]=Please Type !latest to see latest news
bCMD[1]=!latest
bShort[1]=!l
bURL[1]=http://www.link.to.our.uber.forums.latest-news.com

bAdvertise[2]=False
bMessage[2]=Please Type !admin to goto admin login
bCMD[2]=!admin
bShort[2]=!a
bURL[2]=http://www.link.to.our.uber.forums.admin-login.com
Then if there's a conflict with like other mods the admin can change !conflict to !non-conflict etc.

Last edited by back4more : 10th April, 2011 at 11:09 AM.
Reply With Quote
  #6  
Unread 10th April, 2011, 01:01 PM
gopostal's Avatar
gopostal gopostal is offline
Banned
 
Join Date: Jan 2008
Posts: 235
Default

If no one picks this up b4m, I'll get it for you. Let me get the Redeemer server through this update cycle, maybe a couple of days.
Reply With Quote
  #7  
Unread 10th April, 2011, 02:04 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Cool

Quote:
Originally Posted by gopostal View Post
If no one picks this up b4m, I'll get it for you. Let me get the Redeemer server through this update cycle, maybe a couple of days.
would appreciate that mate , maybe Meindratheal could do the nexgen part and you could do the stand alone version?

divvy out the load .. all good would be nice to be able to have something like this setup ...

speak to you soon

Best Regards

B4M

I too am going to do a total rebuild of one of our servers .. as the rabbid dog has been up to his black magic again and crashing it etc.. another thing I need to sort out...




Last edited by back4more : 10th April, 2011 at 02:08 PM.
Reply With Quote
  #8  
Unread 10th April, 2011, 04:45 PM
Meindratheal Meindratheal is offline
Unstoppable
 
Join Date: Apr 2010
Posts: 244
Default

I have made a start on the standalone version already, Nexgen integration would be even easier IMO. Depending on how long I get, I could probably get both versions out soon. I'm using your ideas for custom commands back4more, so you'll be happy
__________________
I'm a learning coder, but my repertoire is expanding. I may be useful for something after all
Reply With Quote
  #9  
Unread 10th April, 2011, 05:47 PM
gopostal's Avatar
gopostal gopostal is offline
Banned
 
Join Date: Jan 2008
Posts: 235
Default

That's cool, I'm kinda caught up right now in squashing some gremlins. If this is still on the table on, say, Tuesday I'll bang it out for you.

Meindratheal if you get the standalone done, may I also use the code? I'd like to embed this into a couple of controllers (minus most of the switch commands).
Reply With Quote
  #10  
Unread 10th April, 2011, 07:38 PM
Meindratheal Meindratheal is offline
Unstoppable
 
Join Date: Apr 2010
Posts: 244
Default

You can do what you want with the code, as long as you don't claim it's yours, that's all I ask for. It's not going to be the most efficient code though
__________________
I'm a learning coder, but my repertoire is expanding. I may be useful for something after all
Reply With Quote
  #11  
Unread 10th April, 2011, 09:39 PM
gopostal's Avatar
gopostal gopostal is offline
Banned
 
Join Date: Jan 2008
Posts: 235
Default

OK, that's cool. Perhaps I'll do my own this week anyway and we can compare our efforts
Reply With Quote
  #12  
Unread 11th April, 2011, 01:03 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

Again Thank You for your time.

Last edited by back4more : 13th April, 2011 at 12:14 AM.
Reply With Quote
  #13  
Unread 12th April, 2011, 12:04 PM
Meindratheal Meindratheal is offline
Unstoppable
 
Join Date: Apr 2010
Posts: 244
Default

I've done the standalone version, I can't guarantee it will be bug-free though, so report back. The Nexgen version will be coming soon, it's not a major code change.

Link
Sorry about the site, I'll upload it to my Release area when I next have access to a non-proxied internet connection
__________________
I'm a learning coder, but my repertoire is expanding. I may be useful for something after all
Reply With Quote
  #14  
Unread 12th April, 2011, 12:36 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

hehe is a good site has download tracker ;

Times downloaded: 2 File URL:
Last downloaded: 2011-04-12

lets drive this puppy

man thank you I owe you one.
Reply With Quote
  #15  
Unread 12th April, 2011, 01:27 PM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

Alrighty then

Does Exactery what we needed , very well done sir.

have edited post at top post and added your link there.

for the googler's

will sit down tomorrow and go right through it..

is it ok if I mod a few bit of code and post back here with your acknowledgements mate?

hey! just had a mean idea...

Does unreal:\\ip:port work in this I wonder ...

^_^

!dm
!ctf
etc


buggar that was so close .. too

not yet hehe..

Last edited by back4more : 12th April, 2011 at 02:58 PM.
Reply With Quote
  #16  
Unread 12th April, 2011, 03:04 PM
[rev]rato.skt's Avatar
[rev]rato.skt [rev]rato.skt is offline
Godlike
 
Join Date: Aug 2010
Location: Brazil
Posts: 371
Default

NIce I test!!
__________________
Brazilian Server:
ip server 1.utbr.org:2017
ip server 1.utbr.org:2222
ip server 1.utbr.org:8888
ip server 1.utbr.org:5555
Reply With Quote
  #17  
Unread 12th April, 2011, 03:17 PM
iloveut99 iloveut99 is offline
Unstoppable
 
Join Date: Oct 2010
Posts: 207
Default

Quote:
Originally Posted by back4more View Post
Alrighty then
hey! just had a mean idea...

Does unreal:\\ip:port work in this I wonder ...

^_^

!dm
!ctf
etc
Yeah that would be nice to join the twin servers, like in next gen. !go server1, !go server2!
Reply With Quote
  #18  
Unread 13th April, 2011, 12:41 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

Quote:
Originally Posted by iloveut99 View Post
dunno if it's done already but what about an option to add the server to the favorites like "!f" or "!fav"?
not publicly , that indeed would be an invaluable option perhaps could be added to 'SendTo' mod as well...

sendtoweb
sendtoserver
sendtofavourites
sendtoteamspeak channel <password>

hehe

Last edited by back4more : 13th April, 2011 at 12:50 AM.
Reply With Quote
  #19  
Unread 13th April, 2011, 03:12 AM
back4more's Avatar
back4more back4more is offline
Holy Shit!!
 
Join Date: Oct 2008
Location: NextDoor
Posts: 1,908
Default

one thing ive found is it relies on ucc-bin? file to work..

some reason ours is named indifferently, I know why .. but it is.

.. was also wondering .. something like this could be server side only? or no.

as we are just sending clients to other connections effectively..

call me paranoid but the less files 'some' of these players get . the better
Reply With Quote
  #20  
Unread 13th April, 2011, 12:04 PM
Meindratheal Meindratheal is offline
Unstoppable
 
Join Date: Apr 2010
Posts: 244
Default

I'm not sure why it relies on ucc-bin.
It is not possible to make it serverside only, because it needs to execute a bit of code clientside. The Nexgen version is serverside only, and it also contains a few minor fixes (I think, I've lost track in the port).
If you use Nexgen, I would suggest using this version. Also, bear in mind that any changes to the Nexgen package can be made without causing mismatches, so it's better

Nexgen version

On another note, I think the unreal:// protocol should work as expected, although I'm not entirely sure.

And I don't know what's involved in adding something to player's favourites (although I do have something floating around that does it), and I think it might be clientside :/
__________________
I'm a learning coder, but my repertoire is expanding. I may be useful for something after all
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:35 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.