DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • June 29, 2016, 07:26:52 AM
Home Forums News Links Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
IRC Channels
Search

Pages: [1] 2   Go Down
  Print  
Author Topic: Hoj's Restaurant by DaveS and Sichae V3.1  (Read 8930 times)
0 Members and 1 Guest are viewing this topic.
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« on: December 04, 2005, 04:58:25 PM »

Module Name:  hojsrest.php
Category:  Village
Worktitle:  Hoj's Restaurant
Version: 3.1
Author:  DaveS and Chris Vorndran
Date:  December 4, 2005
Based on an Idea by Runering

Thanks to Sichae for making the module possible and for all his help.

Dedicated to Sixf00t4.

Description:
A location for players to go for "private converations".  A player buys a table and pays to invite others to join them. Settings can be made for the number of tables in the restaurant or left at infinite. Conversations are erased every system newday. A player can only have one reservation at a time.  A player may only have an invitation to one table at a time. If they are invited to another table, the previous invitation is revoked. Tables may have an unlimited number
of invitees to it.

If there are limited tables:
1. At 10% remaining, the maitre d' will accept bribes for a chance at the remaining tables.
2. Once a reservation is cancelled, the player cannot get another table.

If there are unlimited tables:
1. Once a reservation is cancelled, the player can get another table.

Available for download at:
http://dragonprime.net/index.php?module=Downloads;sa=dlview;id=146

See my other modules here:
http://dragonprime.net/index.php?topic=3038.0
« Last Edit: May 22, 2006, 08:48:46 AM by DaveS » Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
Dannic
Guest
« Reply #1 on: December 04, 2005, 05:19:11 PM »

getting an error

Code:
hojsrest_tableassign() called from logd/modules/hojsrest/hojsrest.php on line 102

Seems like all it wants to do is assign table # 0 to a player.  After reserving the table there are no other options except inviting a player to a table.  Guess you can't talk to yourself.

No way to join the table once you have an invitation either.  Least I haven't seen one.  Probably due to being table#0.
Logged
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #2 on: December 04, 2005, 05:48:52 PM »

Sorry... it wasn't compatible with 1.0.4 before.

Now it is.  that should solve the problem!
Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
Dannic
Guest
« Reply #3 on: December 04, 2005, 05:59:15 PM »

Looks like that took care of it.
Logged
Dannic
Guest
« Reply #4 on: December 04, 2005, 06:01:45 PM »

alright.  looks like it is appearing in all cities as well.  Not just the one I set it to.
Logged
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #5 on: December 04, 2005, 06:10:09 PM »

Fixed...

Sorry Dannic!  thanks for all your help so far.
« Last Edit: December 04, 2005, 06:10:27 PM by DaveS » Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #6 on: December 04, 2005, 07:49:48 PM »

looking good Dave!  on my way to bed, but i wanted to say, you should give credit to Runering for the idea, he's the one who started the thread if i remember correctly.
Logged

blue_skies
Guest
« Reply #7 on: December 31, 2005, 04:22:47 PM »

Umm.. I get this when I click on it:

Fatal error: hojsrest_run(): Failed opening required 'modules/hojsrest/hojsrest_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/singularthought/public_html/lotgd/modules/hojsrest.php on line 127
Logged
Mindbender
Member
Captain of the Guard
***
Offline Offline

Posts: 190

I don't mind, so what.


View Profile
« Reply #8 on: December 31, 2005, 04:40:08 PM »

do you copied all files to where they belong?

after extracting there is a hojsrest.php which belongs to the modules folder ..
and a subfolder called hojsrest which needs to be copied to the modules folder also with the two files (one more but different) hojsrest.php and hojsrest_func.php inside?
Logged
blue_skies
Guest
« Reply #9 on: December 31, 2005, 04:59:06 PM »

Oops! Silly me, accidentally copied that stuff into the lib folder. Thanks, Mindbender!
Logged
ShadowRaven
Mod God
*****
Offline Offline

Posts: 806


Silence is a virtue...


View Profile WWW
« Reply #10 on: December 31, 2005, 05:42:17 PM »

This is great, Dave and Sichae! Thanks! Cheesy
« Last Edit: December 31, 2005, 05:42:40 PM by ShadowRaven » Logged

DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #11 on: March 03, 2006, 08:08:53 AM »

Version 3.1:
Cleaned up some of the newday_runonce code that wasn't working properly

Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
Morgana
Militia
**
Offline Offline

Posts: 64



View Profile WWW
« Reply #12 on: January 31, 2007, 12:27:35 PM »

filesize() [function.filesize]: Stat failed for /home/10927/domains/dragonprime.net/html/dls/Hojsrest.zip (errno=2 - No such file or directory)

thats what it says when i click the link to see the file
Logged
DaveS
Mod God
*****
Offline Offline

Posts: 1544


Dfly... you know, as in DaveFly


View Profile
« Reply #13 on: January 31, 2007, 01:32:33 PM »

Ooops... that's a dead link.  I'll let Talisman know.
Logged

Check out my Last Module:
The Dragon Eggs Expansion
http://dragonprime.net/index.php?topic=8474.0

About my Retirement:
http://dragonprime.net/index.php?topic=9080

See my complete module list here:
http://dragonprime.net/index.php?topic=3038.0
Morgana
Militia
**
Offline Offline

Posts: 64



View Profile WWW
« Reply #14 on: January 31, 2007, 01:52:29 PM »

Quarry is too
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

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