vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   RPG Integration Hack /w Battle (BETA) (https://vborg.vbsupport.ru/showthread.php?t=46417)

Graphics 12-13-2002 08:07 AM

I had some problems with my mods refilling their HP/PP etc. They'd click the link, and see the url and change the last number to a higher number, and it'd turn out to be 999/32 HP etc...
Also, you can donate a negative number, which takes the money away from the person your donating to and gives it to you

VeoMorphine 12-13-2002 11:04 AM

ok, i got a fix done for the donate bug.
I'm at school right now so sadly i cannot upload it but as soon as i can get home, ill put it up.

Im going to work on a small system that i should put up today also that will allow mods and admins to give and take money away from users.

Also may i ask what we might see for the next version?

Also this hack has my vote for hack of the month/year!

perrera 12-13-2002 11:12 AM

Quote:

Originally posted by Bitsys
perrera:
Did you run "install_itemshop_items.php"?

OK, when I run it...

Invalid SQL: ALTER TABLE items_user
ADD item1 char(250) NOT NULL default 'No Item',
ADD points1 int(5) NOT NULL default '0',
ADD description1 char(250) NOT NULL default 'No Description Available',
ADD icon1 char(250) NOT NULL default '',
ADD itid1 int(11) NOT NULL default '0',
ADD item2 char(250) NOT NULL default 'No Item',
ADD points2 int(5) NOT NULL default '0',
ADD description2 char(250) NOT NULL default 'No Description Available',
ADD icon2 char(250) NOT NULL default '',
ADD itid2 int(11) NOT NULL default '0',
ADD item3 char(250) NOT NULL default 'No Item',
ADD points3 int(5) NOT NULL default '0',
ADD description3 char(250) NOT NULL default 'No Description Available',
ADD icon3 char(250) NOT NULL default '',
ADD itid3 int(11) NOT NULL default '0'
mysql error: Duplicate column name 'item1'

mysql error number: 1060

:(

VeoMorphine 12-13-2002 11:30 AM

perrera
Make sure that table items_user is created, and empty.

And i also have a request. Can you add a function where admins can ajust the ammount of items that are in stock, and be able to refuill them at any time?

Strider Xero 12-13-2002 12:39 PM

Is there any way to make an Element, Alignment, or Class only allowed to be chosen by an Admin/Moderator??

perrera 12-13-2002 01:16 PM

Quote:

Originally posted by VeoMorphine
perrera
Make sure that table items_user is created, and empty.

Thanks, now is working fine...but, with one detail... the RPG Name is duplicated in the USER PROFILE.. :cry:

Bitsys 12-13-2002 01:28 PM

Graphics:
version 0.56 will fix the "steal money from other users using a negative number in the donate screen" bug.

VeoMorphine (first time):
The next version will include:
  • Items will have a level associated with them. If you are not a high enough level, then you can't buy the item.
  • A Healing Center. At the healing center, you can get back HP and MA by spending money.
  • User's will be able to gain experience based on if they won the battle they were in.
There are a lot of bug fixes and minor additions too.

VeoMorphine (second time):
You want an input box in the admin cp that displays the stock of an item that you can change at will, correct? I think that would be easy to do, I just need clarification.

Strider Xero:
I don't think I will be able to include that in this version. That would involve user group IDs.

perrera:
I have noticed that on most boards, the RPG Name is duplicated. However, on my board it is not. I will look at the install files and see where there is a deviation.

Strider Xero 12-13-2002 01:45 PM

Well hopefully you'll be able to include it in .57 =)

It kinda sucks if a member decides to keep changing elements, alignments, classes, races, etc. So I was wondering if you could include a feature where they'd have to Pay in order to change elements, alignments, classes, races etc. For example:

In order to change Elements, they'd have to pay 200 points or whatever. And to change alignments, they'd have to pay 300. Stupid idea? Yes..no? Well hopefully you'd at least consider the idea.

Bitsys 12-13-2002 01:50 PM

Quote:

Originally posted by Strider Xero
Well hopefully you'll be able to include it in .57 =)

Also, I was wondering about the Classes. I don't want that little picture showing when a member chooses a Class. Instead I want it to display Text. For example if they choose an archer class, it will display 'Archer'.

From install.txt:
~Display the user's Class name: $rpgclass2
Quote:

Originally posted by Strider Xero
Oh yeah, one more thing. It kinda sucks if a member decides to keep changing elements, alignments, classes, races, etc. So I was wondering if you could include a feature where they'd have to Pay in order to change elements, alignments, classes, races etc. For example:

In order to change Elements, they'd have to pay 200 points or whatever. And to change alignments, they'd have to pay 300. Stupid idea? Yes..no? Well hopefully you'd at least consider the idea.

I am looking into some options like this.

Davey 12-13-2002 04:21 PM

Okay I get this error when making the first thread in a forum:
Quote:

Database error in vBulletin 2.2.9:

Invalid SQL: SELECT field5 FROM userfield WHERE userid=1
mysql error: Unknown column 'field5' in 'field list'

mysql error number: 1054

Date: Friday 13th of December 2002 06:01:49 PM
Script: http://localhost/rpg/rpg/newthread.php
Referer: http://localhost/rpg/newthread.php?a...read&forumid=3
Any ideas?

Dave.

PS: I did this on a clean install of vBulletin 2.2.9.


All times are GMT. The time now is 09:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02829 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete