DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • October 22, 2017, 03:49:51 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: make a place like The Gardens but with the pleasure of roleplay fight.  (Read 2335 times)
0 Members and 1 Guest are viewing this topic.
Senderathu
Guest
« on: June 28, 2005, 02:34:30 PM »

The Garden is a place for relaxation, easy time. But for some of us, we want to rolaplay and fight against eachother like in the old days. Another place where fighters and roleplayers can hang out and express their skills with weaponry and spellcasting. Another Garden.
Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #1 on: June 28, 2005, 02:52:20 PM »

Okay... let's see how long this takes: (Selekta is timing me right now)
Code:
<?php
require_once("lib/commentary.php");
function 
newg_getmoduleinfo(){
   
$info = array(
      
"name"=>"Senderathu's Gardens",
      
"author"=>"Chris Vorndran",
      
"version"=>"1.0",
      
"category"=>"Requests",
   );
   return 
$info;
}
function 
newg_install(){
   
module_addhook("village");
   
module_addhook("moderate");
   return 
true;
}
function 
newg_uninstall(){
   return 
true;
}
function 
newg_dohook($hookname,$args){
   global 
$session;
   switch (
$hookname){
      case 
"village":
         
tlschema($args['schemas']['tavernnav']);
         
addnav($args['tavernnav']);
         
tlschema();         addnav("Senderathu's Gardens","runmodule.php?module=newg?op=enter");
         break;
      case 
"moderate":
         
$args['newg'] = "Senderathu's Gardens";
         break;
      }
   return 
$args;
}
function 
newg_run(){
   global 
$session;
   
$op httpget('op');
   
page_header("Senderathu's Gardens");
   switch (
$op){
      case 
"enter":
         
output("You walk into a secluded clearing, the sounds of battling warriors all around you.`n`n");
         
addcommentary();
         
viewcommentary("newg","Roleplay",20,"enacts");
         
modulehook("newg");
         break;
      }
   
villagenav();
   
page_footer();
}
?>
Selekta stops the watch at: 3 minutes, 4 seconds.

Easy as pie. Smiley As well, you should already know, seeing as how you play on Central, that this was already tried, with the Arena. As it was somehow flawed, it was taken down... if you wanted a more seclusion of players, such as the Arena had, then you would just add some prefs and a nice nav in there, that will only show when the person had the pref.
« Last Edit: June 28, 2005, 02:54:34 PM by Sichae » Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5475



View Profile WWW
« Reply #2 on: June 28, 2005, 04:55:29 PM »

The Garden is a place for relaxation, easy time. But for some of us, we want to rolaplay and fight against eachother like in the old days. Another place where fighters and roleplayers can hang out and express their skills with weaponry and spellcasting. Another Garden.

You don't specifically need a module to provide another garden, all you need is a server where roleplay fighting is allowed.  If your suggestion is that Central (lotgd.net) provide such a place, this forum is not the right venue to make that request.
Logged

Play the latest beta version here on DragonPrime
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
15 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search