Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD and RPG Webmasters
Click here to Register

Reply
 
Thread Tools
Old 06-10-2004, 10:20 AM   #1
snowfruit
New Member
 
Join Date: Jun 2002
Posts: 12
snowfruit is on a distinguished road
Post

Does any one have any suggestions on how to expose certain lpcmud scripts so that they can be run from web based script?

I want to give the website real time stats on the mud and access to some functions without having to resort to doing the usual wholist thing - storing the results of these funcs in temp files...

Thanks in advance for your help
snowfruit is offline   Reply With Quote
Old 06-10-2004, 11:55 AM   #2
Amnon
Member
 
Join Date: May 2002
Posts: 140
Amnon is on a distinguished road
You could have the script create a file that the MUD will check for every minute or so and process, then output the results into HTML.
Amnon is offline   Reply With Quote
Old 06-10-2004, 01:31 PM   #3
erdos
 
Posts: n/a
You could set your mud to respond to http requests on some port other than playport; that's no doubt the most professional way to go about it.

Amnon, buddy, friend... whatever has happened to assault? :(
  Reply With Quote
Old 06-10-2004, 04:48 PM   #4
Angie
Member
 
Join Date: Dec 2003
Location: Prague
Home MUD: God Wars II
Posts: 134
Angie is on a distinguished road
Make a webserver that can process strings generated by functions.
Angie is offline   Reply With Quote
Old 06-10-2004, 04:49 PM   #5
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

Writing out temp files is nasty. is the way to go.
Yui Unifex is offline   Reply With Quote
Old 06-10-2004, 05:15 PM   #6
Ogma
Member
 
Ogma's Avatar
 
Join Date: Apr 2002
Home MUD: DartMUD
Posts: 86
Ogma is on a distinguished road
We accomplish this by using the erq, which allows certain LPC objects to open up ports. It's how the ftpd for your mud communicates with the mud for verifying login. Half of the erq stuff is compiled into the driver, the other half is certain LPC objects. I don't know if your mudlib has these though.

We've used it for our intermud channels (between our live mud and test installation), for sending email from within the mud for registration and one of our guys setup some web pages that called lpc objects this way. I'm not entirely familiar with how to do it, but it is possible.
Ogma is offline   Reply With Quote
Reply


Thread Tools


Accesing mud functions from outside - Similar Threads
Thread Thread Starter Forum Replies Last Post
Macros Vs inline functions karlan MUD Coding 4 05-01-2003 09:19 PM

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

All times are GMT -4. The time now is 09:33 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022