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)

bharvey42 05-29-2003 08:51 PM

Thanks for the update? Any idea if we will see a place to battle monsters?

Vivi Ornitier 05-29-2003 09:28 PM

nice bits.

Though on the first post, u should change the 0.66 to 0.67, u have repeats of 0.66 on the updates.

Bitsys 05-29-2003 09:32 PM

Quote:

Today at 04:51 PM bharvey42 said this in Post #1695
Any idea if we will see a place to battle monsters?
Not right now :(

Quote:

Today at 05:28 PM Vivi Ornitier said this in Post #1696
nice bits.

Though on the first post, u should change the 0.66 to 0.67, u have repeats of 0.66 on the updates.

Thanks, fixed.

kaotic 05-29-2003 09:39 PM

Sweet, I've been waiting for this release. :D Do you have any features in mind for future releases? And does this release mean that it's out of beta? Thanks again, Bitsys.

Mijae 05-29-2003 09:58 PM

Edit: oops, there was some error on my side, nevermind.

Mijae 05-29-2003 10:18 PM

Please someone tell me how to make my moderators NOT being able to give users money/hp/mp/pp/ap. Mods are my site are getting nearly billions of cash into the system, as well as battling common members and refilling their own HP/MP during that battle making it unfair.

Please someone make an option to disable this. Or should I just delete the files from the /mod/ folder?

Bitsys 05-29-2003 11:42 PM

Quote:

Today at 05:39 PM kaotic said this in Post #1698
Do you have any features in mind for future releases?
Not right now.

Quote:

Today at 05:39 PM kaotic said this in Post #1698
And does this release mean that it's out of beta?
Not yet.

Quote:

Today at 06:18 PM v0id said this in Post #1700
Or should I just delete the files from the /mod/ folder?
Yup, just delete the files and mods won't be able to do anything.

PixelFx 05-30-2003 08:00 AM

Bitsys,

got the install on 67 done, everything was good as far as I can tell.. everything said successful when I install, however, I'm getting below errors...

Edit Profile:
http://www.shukenja.com/forum/member...on=editprofile

for edit character / member profile is there sapposed to be dual information in the setting fields for your character info ? If you set both then it lets you set the character info for your member profile, if you don't, do both sections in your profile, then it won't set the information.

aka in the Registration: Required Information All fields and in the Additional Information fields have dual info...

Next error...

below if I click my own donation button I get the following error (using vbulletin 2.30, rpg system 67)

Code:


Database error in vBulletin 2.3.0:

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

mysql error number: 1054

Date: Friday 30th of May 2003 04:04:30 AM
Script: http://www.shukenja.com/forum/forum/...=donate&user=1
Referer:

I get an error with the healing center,
http://www.shukenja.com/forum/heal.php

Code:


Database error in vBulletin 2.3.0:

Invalid SQL: SELECT items_user.bankval, userfield.field5 FROM items_user, userfield WHERE items_user.userid='1' AND userfield.userid='1'
mysql error: Unknown column 'userfield.field5' in 'field list'

mysql error number: 1054

Date: Friday 30th of May 2003 04:29:24 AM
Script: http://www.shukenja.com/forum/forum/heal.php?
Referer: http://www.shukenja.com/forum/index.php?

I've setup a custom welcome panel with links to the different sections of the hack.

http://www.shukenja.com/forum/index.php

Clicking on the item shop link also returns an error page...

Code:


Database error in vBulletin 2.3.0:

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

mysql error number: 1054

Date: Friday 30th of May 2003 04:34:40 AM
Script: http://www.shukenja.com/forum/forum/itemshop.php?
Referer: http://www.shukenja.com/forum/index.php

will add more stuff as I find it.. hope it helps...

Bitsys 05-30-2003 12:26 PM

Quote:

Today at 04:00 AM PixelFx said this in Post #1702
Bitsys,

got the install on 67 done, everything was good as far as I can tell.. everything said successful when I install, however, I'm getting below errors...

Edit Profile:
http://www.shukenja.com/forum/member...on=editprofile

for edit character / member profile is there sapposed to be dual information in the setting fields for your character info ? If you set both then it lets you set the character info for your member profile, if you don't, do both sections in your profile, then it won't set the information.

aka in the Registration: Required Information All fields and in the Additional Information fields have dual info...

Just delete the first instance of the duplicate fields in your modifyprofile template. See the middle of https://vborg.vbsupport.ru/showthrea...143#post390143 for more info.

Quote:

Today at 04:00 AM PixelFx said this in Post #1702
Next error...

below if I click my own donation button I get the following error (using vbulletin 2.30, rpg system 67)

Code:


Database error in vBulletin 2.3.0:

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

mysql error number: 1054

Date: Friday 30th of May 2003 04:04:30 AM
Script: http://www.shukenja.com/forum/forum/...=donate&user=1
Referer:

I get an error with the healing center,
http://www.shukenja.com/forum/heal.php

Code:


Database error in vBulletin 2.3.0:

Invalid SQL: SELECT items_user.bankval, userfield.field5 FROM items_user, userfield WHERE items_user.userid='1' AND userfield.userid='1'
mysql error: Unknown column 'userfield.field5' in 'field list'

mysql error number: 1054

Date: Friday 30th of May 2003 04:29:24 AM
Script: http://www.shukenja.com/forum/forum/heal.php?
Referer: http://www.shukenja.com/forum/index.php?

I've setup a custom welcome panel with links to the different sections of the hack.

http://www.shukenja.com/forum/index.php

Clicking on the item shop link also returns an error page...

Code:


Database error in vBulletin 2.3.0:

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

mysql error number: 1054

Date: Friday 30th of May 2003 04:34:40 AM
Script: http://www.shukenja.com/forum/forum/itemshop.php?
Referer: http://www.shukenja.com/forum/index.php

will add more stuff as I find it.. hope it helps...

Did you run install_itemshop_items.php? If not, then run it. If so, then do the following:

1. Go to your admin panel
2. Go to modify user profile fields
3. Find the Points profile field
4. Right click over the edit link and go to copy shortcut
6. Copy it in your browser
7. Near the end there will be a number. Remember that number
8. Go to edit the itemshop options
9. In the point field option put in field# and replace # with the number you recorded in step 7.

Let me know if that helps.

Mijae 05-30-2003 03:12 PM

Thanks Me! Works perfectly. I should have figured it out myself but I didnt even bother checking the files :-\

kaotic 05-30-2003 03:57 PM

(Just thought I'd point something out)

Quote:

$rpggenderimage = '<img src="{imagesfolder}/gender/female.gif" alt="Male" border="0">';
} elseif($rpguser[rpggender] == "2") {
$rpggendername = "Male";
$rpggenderimage = '<img src="{imagesfolder}/gender/male.gif" alt="Female" border="0">';
The gender gifs and alts were mixed up in rpgcp.php.

Bitsys 05-30-2003 04:08 PM

Quote:

Today at 11:57 AM kaotic said this in Post #1706
(Just thought I'd point something out)



The gender gifs and alts were mixed up in rpgcp.php.

Oops, thanks!

Mijae 05-30-2003 04:13 PM

Bytsis, in the itemshop categories when you chose "+1 to atk/+1 to def" it doesnt do anything :P

It doesnt even add +1, and the buff wont work either.

Also, can you explain how damage is calculated? Or in which post in this thread can I read about it?

Mijae 05-30-2003 04:19 PM

Also Bytsis, this was posted somewhere on page 158 I believe:

PHP Code:

if($battleopt[givewinexp] == && $battleopt[expperwin] > 0) {
if(
$battle[winnerid] > 0)
$DB_site->query("UPDATE user SET xp=xp+($opponentlevel*$battleopt[expperwin] WHERE userid='$battle[winnerid]'");


Is it safe for me to replace your code with that modification?

PixelFx 05-30-2003 05:09 PM

Quote:

9. In the point field option put in field# and replace # with the number you recorded in step 7.
guess I missed this in the instructions :P works good now, from what I can tell, I'll update this post as I test :) can't wait to add the new art :)

Ok thanks for the modifyprofile info, I'm posting my changed modifyprofile template for those that need a fix for dual fields :)

I think I got more of the bugs worked out of this template :) got rid of the dual posting for the rpg name as well :)

next fun making custom post bit :)

Update: clean install, after making above changes, added custom profile, and custom postbit. just need people to help test. :)

Bitsys 05-30-2003 10:10 PM

Quote:

Today at 12:13 PM v0id said this in Post #1708
Bytsis, in the itemshop categories when you chose "+1 to atk/+1 to def" it doesnt do anything :P

It doesnt even add +1, and the buff wont work either.

Items with this battle type will add to your attack damage or defense rating as long as you have them in your inventory. Make sure the items have a buff value assigned, or else they won't add anything.

Quote:

Today at 12:13 PM v0id said this in Post #1708
Also, can you explain how damage is calculated? Or in which post in this thread can I read about it?
https://vborg.vbsupport.ru/showthrea...314#post359314

Quote:

Today at 12:19 PM v0id said this in Post #1709
Also Bytsis, this was posted somewhere on page 158 I believe:

PHP Code:

if($battleopt[givewinexp] == && $battleopt[expperwin] > 0) {
if(
$battle[winnerid] > 0)
$DB_site->query("UPDATE user SET xp=xp+($opponentlevel*$battleopt[expperwin] WHERE userid='$battle[winnerid]'");


Is it safe for me to replace your code with that modification?


I don't see a page 158 :( Could you give a link?

Just glancing at it though, that code looks fine.

Moreliator 05-31-2003 01:49 AM

Quote:

05-29-03 at 10:20 PM Bitsys said this in Post #1694
Version 0.67 is done. Check the first post for the new .zip file. Upgrade instructions are included in the upgrade directory.

This is a bug fix version.



Bitsy, does this version fix the bug where in the Item Admin Panel when you try to add categories over ID 10 it gets confused (I.E. Category ID 12 and 2 mirror each other).

Mijae 05-31-2003 02:53 AM

Ok, I resetted my RPG and now users can use their weapons! They are all selected as generic and stuff, but they just cant select them :P

Bitsys 05-31-2003 02:28 PM

Quote:

Yesterday at 09:49 PM Moreliator said this in Post #1712
Bitsy, does this version fix the bug where in the Item Admin Panel when you try to add categories over ID 10 it gets confused (I.E. Category ID 12 and 2 mirror each other).
Yes, it should fix that problem.


Quote:

Yesterday at 10:53 PM v0id said this in Post #1713
Ok, I resetted my RPG and now users can use their weapons! They are all selected as generic and stuff, but they just cant select them :P

So the can or can't use their weapons?

Mijae 05-31-2003 04:17 PM

Here is the attached screenshot of that (small size). What I did was reset RPG and then repopulate the itemshop table with the install_itemshop_items.php and they all got in there, but then it gave me a database error about battle_items table I believe. The whole RPG works but users just cant use their weapons.

Then I deleted category 3 because it was useless since I couldn't get the potions to work in there (no tickbox to make it heal, etc), and then created a new category. Not sure if thats the problem.

I also ran the DB Fix and it did nothing.

Mijae 05-31-2003 04:32 PM

Well, I found out it was the battle_stats table, it doesnt clear when you do the RPG reset.

Spark 05-31-2003 07:20 PM

Hi Girlz :) *g*

I have a problem with the hack.
When i want to choose any RPG Race and RPG Class there isn?t anything. By RPG Alignment i can choose Good or Evil but by RPG CLass and RPG Race there is only "Unknown"

In the attachement is my members.php i hope someone can help me
(Sorry for my bad english, i?m not from Amerika or England )

Vivi Ornitier 05-31-2003 10:26 PM

bits i have a quesoitn. Very very very odd.

I'm really not sure whether this is a battle hack or store hack problem so i'm leavin it to your expert advice.

ANyway

Before like 1 week ago, everyone was gettin gil/store points fine and everythign was happy. But recently, newbies that registerdon't get an gil from posting. It doesnt' even start for them. The place where the gil is supose to go is just balnk. But senior members who registered before that "1 week shift" can still get gil the old way and fine for them.

I checked both store and battle install files and it seems alright but i just want to see if you could help me on this.

Gil doesn't show in postbit, itemshop, bank or anything. You can donate money to the new members but that's it. . . . nothing more. PLEASE PLEASE PLEASE HELP!

kaotic 05-31-2003 11:35 PM

Vivi, you need to make the changes to register.php again. Look at the install text using vBhacker to find the change that you need to make again.

Vivi Ornitier 06-01-2003 12:11 AM

kao: that was the first idea that went thruogh my mind but i looked at the install file and there's just one edit to register.php which is

replace

$userid=$DB_site->insert_id();

with

$userid=$DB_site->insert_id();
$DB_site->query("INSERT INTO items_user (userid) VALUES ($userid)");
$DB_site->query("INSERT INTO battle_stats (userid) VALUES ($userid)");

I did that fine.

same thing with store too, one edit, it's all good.

kaotic 06-01-2003 12:25 AM

That's strange. I had the exact same problem, and all I had to do was edit register.php again. Something else I did was take those two queries:

Quote:

INSERT INTO items_user (userid) VALUES ($userid)
INSERT INTO battle_stats (userid) VALUES ($userid)
I replaced $userid with the ID of each user that had this problem. I can't think of what the problem could be if that doesn't work.

Vivi Ornitier 06-01-2003 12:35 AM

heh i'll try that, but thta would suck if i had to do that for every new member that might register, oh well, i guess i could just put like 1001, 1002, and all the way to like 2000, lol.

But also, if ireplaced userid with just the IDs,what happens to eeryone else? that wasn't included on this userid list

kaotic 06-01-2003 12:47 AM

I'm not sure. :p I gambled with it on my board and everything worked out perfectly. Test it on a new account and see if it works. I'm sure it will, but that still doesn't solve your problem with new registers. Good luck with that.

Mijae 06-01-2003 04:00 AM

Can anyone tell me what query do I have to run to give everyone on my forum $1000 points for the battle arena db table?

And also, what code can I add so every new member who registers start out with a $1000?

Spark 06-01-2003 07:32 AM

Quote:

Yesterday at 04:20 PM Spark said this in Post #1718
Hi Girlz :) *g*

I have a problem with the hack.
When i want to choose any RPG Race and RPG Class there isn?t anything. By RPG Alignment i can choose Good or Evil but by RPG CLass and RPG Race there is only "Unknown"

In the attachement is my members.php i hope someone can help me
(Sorry for my bad english, i?m not from Amerika or England )


Uhm can nobody help me?

sonic3d 06-01-2003 01:56 PM

Quote:

Today at 12:00 AM v0id said this in Post #1725
And also, what code can I add so every new member who registers start out with a $1000? [/B]
well for me, this is what i have.

In register.php

find:
PHP Code:

$DB_site->query("INSERT INTO userfield $userfieldsnames VALUES ($userid$userfields)"); 

under it put:
PHP Code:

$DB_site->query("UPDATE userfield SET field5=1000 WHERE userid=$userid"); 

it works for me.

l8er
sonic

Mijae 06-01-2003 03:10 PM

Quote:

Today at 05:32 AM Spark said this in Post #1726
Uhm can nobody help me?
Go into your Admin Control Panel and then look for in the menu for RPG, there you will see lots of new links that you have to check out.

PixelFx 06-01-2003 05:44 PM

how big or small of a process is to change the currency type from say gil to gold/other?

007 06-01-2003 08:21 PM

Has this hack been updated yet this year? I see that the first post was updated last December....

Has anyone had any big problems with this in 2.2.9? I don't want to wait for it to be a full release... lol

kaotic 06-01-2003 08:51 PM

Are we looking at the same hack? It was just updated a few days ago.

https://vborg.vbsupport.ru/showthrea...707#post401707

007 06-01-2003 10:30 PM

Ooops. I'm an idiot. I looked at the post date and not the edited date.

*slaps self*

:ermm: Forget what I said. :) Anyway, how does this work with 2.2.9??

Mijae 06-01-2003 10:46 PM

When I used 2.2.9 it was all good. Now on 2.3.0 it's still working good.

kaotic 06-02-2003 04:27 AM

When I go to "Edit Classes" (via admin cp) and choose to add a class to the female category, the link leads me to add to the male category.

Edit: By the way, I just noticed the original Itemshop was updated to v5.3. I didn't stick around to see what was new, but maybe you should check it out?

Bitsys 06-02-2003 02:00 PM

Quote:

05-31-03 at 12:17 PM v0id said this in Post #1716
Here is the attached screenshot of that (small size). What I did was reset RPG and then repopulate the itemshop table with the install_itemshop_items.php and they all got in there, but then it gave me a database error about battle_items table I believe. The whole RPG works but users just cant use their weapons.

Then I deleted category 3 because it was useless since I couldn't get the potions to work in there (no tickbox to make it heal, etc), and then created a new category. Not sure if thats the problem.

I also ran the DB Fix and it did nothing.


In the admin cp, go to the RPG Admin manual. In the FAQ, look at the one titled "Q: Why can't I use items in battle? They are always grayed out and it says, "You do not have a [item name]"."

Quote:

05-31-03 at 12:32 PM v0id said this in Post #1717
Well, I found out it was the battle_stats table, it doesnt clear when you do the RPG reset.
Which reset did you do?

Quote:

05-31-03 at 03:20 PM Spark said this in Post #1718
Hi Girlz :) *g*

I have a problem with the hack.
When i want to choose any RPG Race and RPG Class there isn?t anything. By RPG Alignment i can choose Good or Evil but by RPG CLass and RPG Race there is only "Unknown"

In the attachement is my members.php i hope someone can help me
(Sorry for my bad english, i?m not from Amerika or England )


In the admin cp, does it show that you have more classes/races than just 'Unknown'? Also, when you select a gender, does the rpg class drop-down give you more options than 'Unknown'?

Quote:

05-31-03 at 06:26 PM Vivi Ornitier said this in Post #1719
bits i have a quesoitn. Very very very odd.

I'm really not sure whether this is a battle hack or store hack problem so i'm leavin it to your expert advice.

ANyway

Before like 1 week ago, everyone was gettin gil/store points fine and everythign was happy. But recently, newbies that registerdon't get an gil from posting. It doesnt' even start for them. The place where the gil is supose to go is just balnk. But senior members who registered before that "1 week shift" can still get gil the old way and fine for them.

I checked both store and battle install files and it seems alright but i just want to see if you could help me on this.

Gil doesn't show in postbit, itemshop, bank or anything. You can donate money to the new members but that's it. . . . nothing more. PLEASE PLEASE PLEASE HELP!

Run DB Fix and tell me what it says.

Quote:

Yesterday at 01:44 PM PixelFx said this in Post #1729
how big or small of a process is to change the currency type from say gil to gold/other?

Do you mean replacing the word "gil" with "gold", or do you mean designing that currency system you were talking about earlier?

Quote:

Today at 12:27 AM kaotic said this in Post #1734
When I go to "Edit Classes" (via admin cp) and choose to add a class to the female category, the link leads me to add to the male category.
Just scroll down to the Female classes part. You can either add male classes or female classes from that menu. Each one has a separate submit button.

Quote:

Today at 12:27 AM kaotic said this in Post #1734
Edit: By the way, I just noticed the original Itemshop was updated to v5.3. I didn't stick around to see what was new, but maybe you should check it out?
I checked it out earlier and I already fixed most of the stuff that I didn't like. The first post says it is 75% faster, but when I read the install file, it looked like it wasn't, so I am not sure. All the functionality that was supposedly added in 5.3 is already in this hack, I think. Let me know if you find something otherwise though, since I just skim read it.

kaotic 06-02-2003 04:53 PM

Alright, thanks. And I'll go ahead and install the new Itemshop just to check it out.


All times are GMT. The time now is 07:43 PM.

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.03010 seconds
  • Memory Usage 1,908KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_php_printable
  • (27)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