Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Personal Mod - Points System
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Personal Mod - Points System

 Post Reply Post Reply
Author
vracicot View Drop Down
Newbie
Newbie


Joined: 18 September 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote vracicot Quote  Post ReplyReply Direct Link To This Post Topic: Personal Mod - Points System
    Posted: 18 September 2006 at 3:37pm
Hi there!

First of all, I would like to mention that this is by far the most solid and easy to manage board system I have tried yet and it seems that all our members agree. We'll definately stick to it if the possibility of coding the following is possible.

For version update's sake, I would like to code all of this in a Mod and I would like if its doable or not.

We are running a puzzle game and instead of displaying the number of posts of a user, we would like to display his points. We also want players to be able to transfer their points to "buy" hints and clues.

No problem there... or so it seems. I could hard code everything in the ASP files, the problem we will have to face later on is when a new version of Web Wiz will pop-up, I will have to recode everything.

I'm not very familiar with Mods but from what I understand, it would be the best way to code our point system. Am I right? Is it possible? What should I be aware of before I venture into "modding" ?

Thank you kindly for all the information you can provide me.

Vincent
Back to Top
vracicot View Drop Down
Newbie
Newbie


Joined: 18 September 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote vracicot Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2006 at 6:25pm
Nevermind my latter post... I've read through the forums and read how users are offering thier mods... Seems that my idea of exporting all my code into a file.asp was good but absolutely not how this mod thing works.
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2006 at 5:31am
Option 1:
 
Well, all you would have to do is change the word "posts" to "points" in the language file, and that's it as far as WWF goes.
 
Then you modify your game so that they can earn points, buy and trade points, etc. on pages completely outside the forum.  You would simply have those pages do database calls that add or subtract points from the posts field in the WWF database.  This would automatically update WWF with the correct number of points.
 
Option 2:
 
Create a seperate database field to store the points.
 
In WWF, you would add a line under "posts" that displays the "points."  You would have to have it do a database call to get the points from the database.
 
Then you modify your game so that they can earn points, buy and trade points, etc. on pages completely outside the forum.  You would simply have those pages do database calls that add or subtract points from the points field you created in the database.  This would automatically update WWF pages with the correct number of points.
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2006 at 5:33am
Originally posted by vracicot vracicot wrote:

Nevermind my latter post... I've read through the forums and read how users are offering thier mods... Seems that my idea of exporting all my code into a file.asp was good but absolutely not how this mod thing works.
And don't worry about how everyone else does it.  There are more than one way to build a mod, and not all mods work alike.
Back to Top
vracicot View Drop Down
Newbie
Newbie


Joined: 18 September 2006
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote vracicot Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2006 at 9:09pm
I like the ideas you suggested. At first, I thought mods were distributed like a game mod. I think I'll do like everyone else and hard code it... or maybe use the <!-- include... from javascript.

Your suggestions also gave me the idea to "attach" points to the PM system. That way, a player could send points to bribe another player and the latter could accept or refuse.


Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.