[Beta] JC Lottery 0.9.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34457
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Re: [ABD] JC Lottery MOD 0.1.1

Post by A_Jelly_Doughnut »

MOD Author hasn't been here for some time, download is broken, and there doesn't appear to be any development. Should someone resume development, feel free to open a new topic. If BondGamer returns and wishes to reclaim the topic, PM a MOD team member and ask to have it re-opened.

Thanks.
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
BondGamer
Registered User
Posts: 436
Joined: Mon Dec 15, 2003 7:49 pm
Contact:

Re: [Beta] JC Lottery 0.2.0

Post by BondGamer »

Download link fixed. Nothing changed except updated to MODX and AutoMod install. Please report any bugs or issues you encounter.
My phpBB3 Mods: - None active =[
BondGamer
Registered User
Posts: 436
Joined: Mon Dec 15, 2003 7:49 pm
Contact:

Re: [Beta] JC Lottery 0.9.0

Post by BondGamer »

Updated to support all the Cash/Points mods I could find (which was 6). I haven't tested any except Handyman's Cash MOD so please report any errors you encounter. Be sure to specify which MOD it is.
My phpBB3 Mods: - None active =[
Mircea007
Registered User
Posts: 74
Joined: Mon Jun 15, 2009 9:24 pm

Re: [Beta] JC Lottery 0.9.0

Post by Mircea007 »

so if you have the ultimate point system this mod doesn't do anything because that point system already has lotto....right?
Flash Games like you never seen before
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [Beta] JC Lottery 0.9.0

Post by darkonia »

this mod has no function when you use UPM or APM
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
BondGamer
Registered User
Posts: 436
Joined: Mon Dec 15, 2003 7:49 pm
Contact:

Re: [Beta] JC Lottery 0.9.0

Post by BondGamer »

Mircea007 wrote:so if you have the ultimate point system this mod doesn't do anything because that point system already has lotto....right?
I didn't know it had one already. It would work independently of that. So I guess you could have 2 lotto systems if you want.

*Added*
darkonia wrote:this mod has no function when you use UPM or APM
Yes, after looking further into both these MODs it seems they copied my code without asking. So no need to install the same MOD twice. :(
My phpBB3 Mods: - None active =[
User avatar
1234homie
Registered User
Posts: 439
Joined: Fri Sep 26, 2008 3:17 pm

Re: [Beta] JC Lottery 0.9.0

Post by 1234homie »

Its not working with CRON ;(
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [Beta] JC Lottery 0.9.0

Post by darkonia »

The UPM Lottery has many changes in its code.

more than this simple lottery mod...

it had a more complexity mode to choose winners and many more...so its not only a copy...

the advanced points system use your mod as a simple copy but in UPM its blown up to a very high level of a lottery...
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
1234homie
Registered User
Posts: 439
Joined: Fri Sep 26, 2008 3:17 pm

Re: [Beta] JC Lottery 0.9.0

Post by 1234homie »

what about cron?
BondGamer
Registered User
Posts: 436
Joined: Mon Dec 15, 2003 7:49 pm
Contact:

Re: [Beta] JC Lottery 0.9.0

Post by BondGamer »

1234homie wrote:what about cron?
I was thinking of using a cron to handle lottery drawnings but have worked out a method to do it without. It will be in the next update along with many other changes. There is currently no cron support so it couldn't possible be broken. =]
darkonia wrote:more than this simple lottery mod...
Out of all modifications, I would rank this as moderate to moderate-high in complexity. It isn't a one line style change. I have spent a lot of time making this from scratch and would have appreciated a private message or email requesting use of my code. I didn't receive any message.
My phpBB3 Mods: - None active =[
Abera
Registered User
Posts: 674
Joined: Mon Jan 15, 2007 1:26 am

Re: [Beta] JC Lottery 0.9.0

Post by Abera »

I can't use Ultimate Points on my site. Too many others to sift through. Sorry to hear that someone may have ripped your code off from your last post. Is your MOD dead again? Would really like to try in on my live site. I have it with my WAMP local site, but not seeing it anywhere. In the earlier posts I see sql, but not in the newest download. Where do I go from here?
Thanks
lugsciath
Registered User
Posts: 316
Joined: Tue Oct 02, 2007 11:12 am

Re: [Beta] JC Lottery 0.9.0

Post by lugsciath »

german translation

/languages/de/mods/lottery.php

Code: Select all

<?php
/** 
*
* example [English]
*
* @package language
* @version $Id: v3_language.xml,v 1.5 2007/03/23 17:32:54 kellanved Exp $
* @copyright (c) 2007 phpBB Group 
* @license http://opensource.org/licenses/gpl-license.php GNU Public License 
*
*/

/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(

	// Administration
	'ACP_LOTTERY_SETTINGS'		=> 'Lotterie Einstellung',
	'TITLE'						=> 'JC Lotterie MOD',
	'TITLE_EXPLAIN'				=> 'Hier kannst du Einstellungen fuer die Lotterie vornehmen.',
	'LOTTERY_ENABLE'			=> 'Einschalten Lotterie',
	'LOTTERY_ENABLE_EXPLAIN'	=> 'Wenn abgeschaltet ist der Zugang zur Lotterie verboten.',
	'LOTTERY_NAME'				=> 'Lotterie Name',
	'CASH_MODS'					=> 'Ein Cash MOD',
	'CASH_MODS_EXPLAIN'			=> 'Waehle Cashmod wenn installiert. Waehle nichts, wenn nichts eingebaut ist.',
	'LOTTERY_HANDYMAN'			=> 'Handyman Cash MOD',
	'LOTTERY_ULTIMATE_POINTS'	=> 'Ultimate Points MOD',
	'CASH_NAME'					=> 'Kassen Name',
	'CASH_NAME_EXPLAIN'			=> 'Die Weahrung.  Gold, Silber, Gil, etc.',
	'MULTIPLE_TICKETS'			=> 'Multi-Ticket support',
	'MULTIPLE_TICKETS_EXPLAIN'	=> 'Wenn kein Cashmod ausgewaehlt wurde, ist kein Mehrfachlosverkauf möglich.',
	'TICKET_COST'				=> 'Loskosten',
	'BASE_AMOUNT'				=> 'Basishauptgewinn',
	'BASE_AMOUNT_EXPLAIN'		=> 'Hauptgewinn wird mit dieser Menge starten, er wird periodisch bis zur naechsten Ziehung erhoeht.',
	'DRAW_PERIOD'				=>	'Ziehungsperiode',
	'DRAW_PERIOD_EXPLAIN'		=>	'Angabe in Stunden zwischen den Ziehungen. Aendern wird die Zeitdauer verkuerzen. Setze auf 0 um Ziehung abzuschalten, erworbene Lose bleiben gueltig',

	// lottery.html
	'LOTTERY'				=> 'Lotterie',
	'VIEWER_TICKETS'		=> 'Deine Lose',
	'PURCHASE_TICKET'		=> 'Erwerb ein Los',
	'TICKET_COST'			=> 'Loskosten',
	'JACKPOT'				=> 'Hauptgewinn',
	'USER_CASH'				=> 'Du hast',
	'NEXT_DRAWING'			=> 'Naechste Ziehung ist am',
	'LAST_WINNER'			=> 'Der letzte Gewinner war',
	'TICKET_PURCHASED'		=> 'Dein Loserwerb ist beendet!',
	'LACK_FUNDS'			=> 'Du besitzt nicht genug um Lose zu erwerben!',
	'LOTTERY_DISABLED'		=> 'Die Lotterie ist geschlossen.',
	'INVALID_INPUT'			=> 'Du brauchst eine Nummer um ein Los zu erwerben.',
	'PM_SUBJECT'			=> 'Du gewinnst die Lotterie!',
	'PM_BODY'				=> 'Gratulation! Du gewinnst %1$s die %2$s! %3$s',
	'PM_CASH_ENABLED'		=> 'Dein Gewinn wurden deinem Benutzerkonto gutgeschrieben.',
	'VIEW_HISTORY'			=> 'Betrachte letzte Gewinner',
	'VIEW_SELF_HISTORY'		=> 'Betrachte die Lotteriegeschichte',

	'HISTORY'				=> 'GESCHICHTE',
	'WINNINGS'				=> 'Menge Gewinne',
	'DATE'					=> 'Datum',
	'BACK_TO_LOTTERY'		=> '<- Zurueck zur Lotterieseite',
	'NO_WINNERS'			=> 'Keiner gewann bis jetzt die Lotterie.',
	'TOTAL_WINNERS'			=> 'Total Gewinner',
	'NEVER_WON'				=> 'Du hast noch nie gewonnen! =[',

));
?>
Have fun ;)
lugsciath
Registered User
Posts: 316
Joined: Tue Oct 02, 2007 11:12 am

Re: [Beta] JC Lottery 0.9.0

Post by lugsciath »

After reading this thread and using this (original) code and modification without using UPM or APM i have to ask for something:

a) In ACP in Cashmod field there is {disabled}, imo that is a missing entry in eg common.php of language files.
b) The install file (install.xml) misses the sql queries, it would be fine to edit this file and add this section or replace it with the second one.
c) Congratulations to your mod, it is useable without any cashmod, so dont worry about :). If you like, you could add some userroutines for virtual money, too ;)

Best greetings

Uwe
lugsciath
Registered User
Posts: 316
Joined: Tue Oct 02, 2007 11:12 am

Re: [Beta] JC Lottery 0.9.0

Post by lugsciath »

After having a sight on the other mod: Why not merging both branches? UPM isn´t a bad system. But indeed: It seams to be your mod and its sad to include it without asking, but i think that was oocur because your mod was inactive and closed/abd for a little time, so might this the reason for extra development.
Locked

Return to “[3.0.x] MODs in Development”