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)

SavgeDusk 12-21-2003 04:55 AM

A member brought the same thing up to me the other day. -- I've noticed the major increase in money when I looked at it. -- I'm using the latest version.

Ronso Rage 12-21-2003 07:31 AM

I am running the latest verson as well on 2.3.3 as i said it appears the bank issue is the only problem though, that i have encountered

PixelFx 12-22-2003 11:53 AM

Posting Bug Issue with vb2.3.3

Ok I get two errors on my forum when I try to reply or post.

link: http://www.orbsydia.com/forum/newreply.php

Code:

Database error in vBulletin 2.3.3:

Invalid SQL: UPDATE userfield SET 5=5+5 WHERE userid=1
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '5=5+5 WHERE userid=1' at line 1

mysql error number: 1064

Date: Monday 22nd of December 2003 07:48:40 AM
Script: http://www.orbsydia.com/forum/forum/newreply.php
Referer: http://www.orbsydia.com/forum/newrep...y&threadid=193
Repair Report: This type of error cannot be automatically repaired.

and the other bug or error

http://www.orbsydia.com/forum/newthread.php

Code:

Database error in vBulletin 2.3.3:

Invalid SQL: UPDATE userfield SET 5=5+5 WHERE userid=1
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '5=5+5 WHERE userid=1' at line 1

mysql error number: 1064

Date: Monday 22nd of December 2003 07:51:33 AM
Script: http://www.orbsydia.com/forum/forum/newthread.php
Referer: http://www.orbsydia.com/forum/newthr...ead&forumid=43
Repair Report: This type of error cannot be automatically repaired.

I've follow the install, and it said everything installed 100% correctly, I've read all the instructions that were posted and setup the user point and rpg name fields.

yet I seem to get two above errors. I fixed the double field issue as well in the modify+profile.txt section of the site.

any help with the above would be great, so I can get this stable on my site.

thanks

deathemperor 12-23-2003 01:20 AM

vb2.3.3, it wasn't supposed to work with that

g-force2k2 12-23-2003 04:52 AM

PixelFX just a quick note from looking at that query. It is trying to update the user field "5" to 10, but perhaps it is suppose to be "field5" check the query to see if that is the problem.

Regards,
g-force2k2

Ronso Rage 12-23-2003 08:23 AM

Quote:

Originally Posted by deathemperor1st
vb2.3.3, it wasn't supposed to work with that


works fine on mine apart from the bank issue, no other probs at all so far and an easy install as well, so i would guess it does work ok on 2.3.3. In fact i am even expanding on the cats and working on the coding myself for new stuff, as it works that well

kaotic 12-23-2003 08:30 PM

Is anyone still willing to work on this hack?

Moreliator 12-23-2003 11:23 PM

Quote:

Originally Posted by kaotic
Is anyone still willing to work on this hack?

yes, I have numerous addons done and being worked on.

I'm running RPG hack version .67 on a vBulletin 2.3.0, and I'm testing out version .68 with lesane's store hack on a version 2.3.3 test board and I have had no problems. I'm getting ready to upgrade my main boards.

Some of the addons so far include a Who's Online seciont that lists the user's browsing the boards who are available for an RPG challenge (selectable in profile), and it displays their name a certain color based on their level. I also have an element-dependency hack installed, where you can specify a certain element for a certain class. This helps in balancing, so you can give Spell casters less HP by giving them a low HP element.

PixelFx 12-24-2003 01:26 AM

Yes, as for anyone wanting to work on it still, I'm slowly learning mysql and php, and would like to help. I'm working on some graphics sets for the rpg script. I'd love to see a monster system added with minor AI, where members could earn so many points for kill making sprites would be easy.

As for my problem above, when I changed the info back to "field#" # = points or rpg name it worked. However I prob need to do a clean install with my production forum. Cause of issues in database tryingt to fix this *cough* I knew it would prob be a simple fix.. ug ..

did anyway figour out what was wrong with the bank issue mentioned on the forum thread above?

merry christmas guys :)

deathemperor 12-24-2003 03:25 AM

the bank ? which bank ? I used Lesance store hack so I had to use the bank integrated with store hack, it worked fine just like the one of this hack.
A Battle like this in Vb3 should be great ! but please tell me that you all are not working this for vb2, aren't you ?
addons of Moreliator are good, it's very excited.
I'm trying to occupy PHP and MySQL myself too, but it goes quite slow due to my schooling.
making this work for VB3 would be very hard, but thousands of people wish this, so someone please make one

[FG]Omega 12-24-2003 08:37 AM

well, Zajako's Hacks (RCS) works for VB3, but like Faranth would say: "It is a paid solution".

deathemperor 12-24-2003 09:16 AM

I sure know that one, and you dont need to advise a paid one

g-force2k2 12-24-2003 10:05 AM

Quote:

Originally Posted by PixelFx
However I prob need to do a clean install with my production forum. Cause of issues in database tryingt to fix this *cough* I knew it would prob be a simple fix.. ug ..

did anyway figour out what was wrong with the bank issue mentioned on the forum thread above?

merry christmas guys :)

Why don't you run the repair.php tool it should fix your database problems.

As for the bank I could take a look, but if you can paste the bank portion of the code I would appreciate it because I don't want to download the entire hack.

Regards,
g-force2k2

deathemperor 12-24-2003 10:40 AM

I saw one Battle hack in IPB, that also looks very perfect, but IPB didn't stand any chance with vb, just that battle hack :D so why dont anybody make a great one but free ^ ^, I sure will when I get my full php skill.
Mery Xmas !!!! :)

chrisz 12-28-2003 05:08 AM

Hey all Im back, Im the one who made the battle scenes. Anyone care to breif me on how the hack is going?

deathemperor 12-28-2003 09:54 AM

nothing special
vb3 was out, everyone wants to have hack like this ( or more ^ ^ ) in vb3, cuz this hack is great. But it seems that there no body like to make one for vb3.
I'm still dreaming :(

PixelFx 12-28-2003 10:32 AM

Last time I talked with Bitsys he was thinking of making this for vb3.0 although don't quote me. I think if it does get made it won't be till RC1 is released min.

deathemperor 12-29-2003 04:49 AM

if he is doing this for vb3, I will wait no matter what :)
you know, in ffdiscovery.com there are a: store hack, full battle hack and so more cool things you could find, so I will be dead if no one make one for free and release here. IB also has many battle hack too

PixelFx 12-30-2003 04:14 PM

What ya guys think of my rpg postbit? I'm still tweaking it but after a few hours I think it's starting to look better.

I was able to do a clean install of rpg battle hack, after working out some of the issues above :)

Demo at: http://www.orbsydia.com

I'm still working on custom set of images and weapons which isn't up yet.

Credits: base skin by vbskins, with heavy changes to it.

MindTrix 12-30-2003 04:29 PM

screenie is pretty small so cant really see anything :)

VeoMorphine 12-30-2003 06:32 PM

I personaly dont like HUGE postbits. That postbit you have will take up a whole 800x600 screen and clutter the hell out of the post bit.

http://www.digitaltoxicity.net/forum...=&threadid=336

Thats mine.... All the main rpg stuff is access'de on a popup.

PixelFx 12-30-2003 08:35 PM

I was thinking of making it a popup accually

deathemperor 12-31-2003 10:04 AM

that postbit will be very nice if it's for vb3 with the new postbit. the popup one is fine too.
so is there any news about this ?

chrisz 12-31-2003 11:08 AM

Would you pm me that popup code? It would be great for me to use as the base of a new addon.
If not thats fine I will make it up from scratch

joaorp 01-04-2004 08:46 AM

I'm sorry if this was questioned before but when my users or I try to donate money for example it shows the link itemshop.php?action=donate&user= without the number of the user, this in other moderator options, please help me if you please :)

Dras 01-10-2004 02:41 AM

If memory serves me right, look for the template for it and after it add:
Quote:

[post]userid
That should work.


Also,
If I was to make this hack I would suggest waiting till VB3 Final and maybe a month after. Just in case of bugs and and errors, just in case.

Mijae 01-12-2004 01:17 PM

Quote:

Originally Posted by Dras
If memory serves me right, look for the template for it and after it add:

That should work.


Also,
If I was to make this hack I would suggest waiting till VB3 Final and maybe a month after. Just in case of bugs and and errors, just in case.

Bitsys, port this hack ;) :P

Zachery 01-12-2004 04:53 PM

Quote:

Originally Posted by v0id
Bitsys, port this hack ;) :P

do you relize how much coding has changed?

the whole hack would be rewritten from the ground up >.<

rake 01-23-2004 10:46 PM

actually, no faranth. Having coded *a lot* of custom hacks myself, even though not released on vb.org, i faced the same problem a few months ago: porting to vb3.

Since this (i assume) is a stand-alone file (or files), there are actually few things that need to change. Code is very easy to port to the new system. Templates can cause big headaches though.

Again, i'm not familiar with this hack, i've never used it. So i'm just assuming.

Zachery 01-23-2004 11:31 PM

Quote:

Originally Posted by rake
actually, no faranth. Having coded *a lot* of custom hacks myself, even though not released on vb.org, i faced the same problem a few months ago: porting to vb3.

Since this (i assume) is a stand-alone file (or files), there are actually few things that need to change. Code is very easy to port to the new system. Templates can cause big headaches though.

Again, i'm not familiar with this hack, i've never used it. So i'm just assuming.

i know that alot of stuff i worked with and do work with almost totaly has to be rewritten to work with vB3 alot of their functions and stuff has been rewritten. :)

deathemperor 01-24-2004 01:41 PM

rake, I hope you release the vb3 battle hack here for public cause yours hack is very cool and easy to use. That must be very greatful

Boh 01-24-2004 02:30 PM

Quote:

Originally Posted by Telchar
Having a little problem with donation when viewing the profile.


The popup works fine, it's just when i click donate, don't matter if it's Anonymous Donation or not, i get that error..

I get this same problem, and I did what Bitsys suggested by changing $post[userid] to $userid... and I still get the error

Also, when in battle, even if a user has bought an item, it won't appear for use in battle... am I missing some kind of "Equip" option... and I did assign Buff and Level numbers for all items

rake 01-24-2004 03:44 PM

Quote:

Originally Posted by Faranth
i know that alot of stuff i worked with and do work with almost totaly has to be rewritten to work with vB3 alot of their functions and stuff has been rewritten. :)

Modifications to the vbulletin functionality usually do need to be rewritten from the ground up. But major additions like this one need severe modifications only in some parts (showthread integration, custom fields, et cetera), but the basic code should be re-usable. ;)

DarkSavior 01-24-2004 08:34 PM

Great hack! Got it working in 2.3.4 also.

chrisz 02-02-2004 10:38 AM

Rake will you release your rpg?

Moreliator 02-10-2004 01:23 AM

now working "a-okay" on version 2.3.4

kaotic 02-12-2004 03:48 AM

So the RPGIH has officially died, now?

deathemperor 02-12-2004 05:37 AM

died for vb3, yet still lives well with vb2

Animension 02-12-2004 11:14 PM

Got a problem in vB 2.3.4:

I get a parse error in member.php on line 630. This is my line 630:

$DB_site->query("UPDATE user SET element='$element', birthday='".addslashes($birthday)."',signature='". addslashes($signature)."',cust omtitle='".intval($customtitle)."',usertitle='".ad dslashes($customtext)."',email ='".addslashes(htmlspecialchars($email))."',parent email='".addslashes(htmlspecia lchars($parentemail))."',coppauser='$coppauser',ho mepage='".addslashes(htmlspeci alchars($homepage))."',icq='".addslashes(htmlspeci alchars($icq))."',aim='".addsl ashes(htmlspecialchars($aim))."',yahoo='".addslash es(htmlspecialchars($yahoo))." ',usergroupid='$bbuserinfo[usergroupid]', rpgclass='$rpgclass', rpgrace='$rpgrace', alignment='$alignment', rpgtype='$rpgtypeid', rpggender='$rpggender', gender='$gender', country='".addslashes($country). WHERE userid='$bbuserinfo[userid]'");

THank you for helping me ^^

DarkSavior 02-13-2004 12:03 AM

I'd try replacing country='".addslashes($country). with country='".addslashes($country)."'


All times are GMT. The time now is 02:29 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.02913 seconds
  • Memory Usage 1,831KB
  • 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
  • (2)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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