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)

Blaine0002 09-07-2003 06:20 PM

okay yeah, i found out a bit ago it was that :P but for the key...... im not sure how to fix it so i downgraded the RPG so it will work untill this bug is fixed..

Bitsys 09-07-2003 07:39 PM

Quote:

Today at 02:20 PM Blaine0002 said this in Post #2243
okay yeah, i found out a bit ago it was that :P but for the key...... im not sure how to fix it so i downgraded the RPG so it will work untill this bug is fixed..
Is your battle privacy turned on or off?

tnguy3n 09-08-2003 01:08 AM

anyone have this to work with VB2.3.2?

Boh 09-08-2003 01:12 AM

When in battle it says that I don't have an item... and I do... :-\

sh-demon 09-08-2003 01:15 AM

Works fine for me on 2.3.2 of course bitsys did help me out alot with some of my problems.

Boh 09-08-2003 02:38 AM

In my postbit... NOBODY'S elements work... '

all the Image Sources link to

http://www.zeldaphoenix.com/forums/images/elements/.gif

And many people's Character Photo's don't work.. such as mine...

Also... No one can use an item in battle for some reason... it says that nobody has an item.... when in fact we all do...

And just a minor problem, it's not that I care or anything, but in battle some people's names are numbers.. like mine is 2147470872... odd

anyway.. included are the screenshots

http://www.zeldaphoenix.com/~rob/wtf1.gif
http://www.zeldaphoenix.com/~rob/wtf2.gif
http://www.zeldaphoenix.com/~rob/wtf3.gif

Bitsys 09-08-2003 02:49 AM

Quote:

Today at 10:38 PM Boh said this in Post #2248
In my postbit... NOBODY'S elements work... '

all the Image Sources link to

http://www.zeldaphoenix.com/forums/images/elements/.gif

And many people's Character Photo's don't work.. such as mine...

One of the edits in showthread.php did not properly execute. Send me your showthread.php and I will fix it.


Quote:

Today at 10:38 PM Boh said this in Post #2248
Also... No one can use an item in battle for some reason... it says that nobody has an item.... when in fact we all do...
Admin CP -> Edit Items -> Click on the [Edit] Link next to an Item Category name -> Set the battle type.

Quote:

Today at 10:38 PM Boh said this in Post #2248
And just a minor problem, it's not that I care or anything, but in battle some people's names are numbers.. like mine is 2147470872... odd

anyway.. included are the screenshots

http://www.zeldaphoenix.com/~rob/wtf1.gif
http://www.zeldaphoenix.com/~rob/wtf2.gif
http://www.zeldaphoenix.com/~rob/wtf3.gif

Do the following:
1. Go to your admin panel
2. Go to modify user profile fields
3. Find the RPG Name 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 battle options
9. In the top option put in field# and replace number with the number you recorded in step 7.

If that doesn't work, then try:
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 pointfield option put in field# and replace number with the number you recorded in step 7.

If neither of those work, then you could be more specific as to whose names are numbers?

Boh 09-08-2003 03:19 AM

EDIT: gone

Bitsys 09-08-2003 10:41 AM

Boh, it is against the rules to post a vb file like that.

When I said "send it to me", I was referring to a PM.

Telchar 09-08-2003 04:34 PM

Having a little problem with donation when viewing the profile.
Quote:

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT field5 FROM userfield WHERE userid=
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

Date: Monday 08th of September 2003 07:29:51 PM
Script: itemshop.php
Referer:
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..

Boh 09-08-2003 05:42 PM

Quote:

Today at 07:41 AM Bitsys said this in Post #2251
Boh, it is against the rules to post a vb file like that.

When I said "send it to me", I was referring to a PM.

It's much too long to send by PM..

Boh 09-08-2003 09:37 PM

BIG problem

Error 1:
There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.



There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Error 2:

There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

The Heros Legend: I go to User CP from home page
The Heros Legend: that's fine
The Heros Legend: I go to Update Profile
The Heros Legend: that's fine
The Heros Legend: I insert a url tag into my signature
The Heros Legend: and that's all I do
The Heros Legend: I click submit
The Heros Legend: I get that first error I sent you
The Heros Legend: I click back and click submit again
The Heros Legend: I get the second error I sent you
The Heros Legend: I click back and try it again
The Heros Legend: and it asks me to login
The Heros Legend: so I do
The Heros Legend: but then it tells me
The Heros Legend: Invalid username. Please press the back button, enter the correct username and try again.
The Heros Legend: I try to login over and over
The Heros Legend: no good
The Heros Legend: so I ask Chaos Sage to check it out for me
The Heros Legend: not in the memberlist, and the profile doesn't exist

Ok.... now what???

chrisz 09-09-2003 07:40 AM

Yo bitsys long time no talk.
What code would I have to add to make it so only certain usergroups can visit the rpg pages, Note this is for all rpg pages, so itemshop battle ect.
And where do i put the code.
Cheers mate

tnguy3n 09-09-2003 11:00 AM

Quote:

Yesterday at 03:15 AM sh-demon said this in Post #2247
Works fine for me on 2.3.2 of course bitsys did help me out alot with some of my problems.
:cool: I just installed it, and it seems to work fine on my vb 2.3.2 board; however, my battle template looks a little weird.
Also, my lessane store hack was gone!! :ogre:

Red Blaze 09-09-2003 04:14 PM

I tried installing it on 2.3.2 and messed up the showthreads. I'm going back to 2.2.9 and staying there. >_>;

legendarysk8er 09-09-2003 08:43 PM

You know what would be cool? If you could purchase like HP, MA, and PP in the itemshop.

Red Blaze 09-11-2003 04:18 PM

Ok, I guess it wasn't the different versions of Vb software. I got the same problems. You see, in forum display, the links show up. I click on the links (to the thread) and the postbits don't show up. Now go back to the forum display, I click on the little icon that goes to the last post. The post bit does show up BUT only the last post. Now in the post bit it puts me up as guest.

Any ideas?

Bitsys 09-11-2003 06:20 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..

In the 'rpgcp' template, find:
PHP Code:

$post[userid

and chage it to:
PHP Code:

$userid 

Quote:

Originally Posted by Boh
It's much too long to send by PM..

Since we aren't supposed to be sending vb files to each other any more via PM, I will be posting the solution for you to try ina few minutes. Look for my next post below this one.

Quote:

Originally Posted by Boh
BIG problem

Error 1:
There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.



There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Error 2:

There seems to have been a slight problem with the Chamber of Sages database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

The Heros Legend: I go to User CP from home page
The Heros Legend: that's fine
The Heros Legend: I go to Update Profile
The Heros Legend: that's fine
The Heros Legend: I insert a url tag into my signature
The Heros Legend: and that's all I do
The Heros Legend: I click submit
The Heros Legend: I get that first error I sent you
The Heros Legend: I click back and click submit again
The Heros Legend: I get the second error I sent you
The Heros Legend: I click back and try it again
The Heros Legend: and it asks me to login
The Heros Legend: so I do
The Heros Legend: but then it tells me
The Heros Legend: Invalid username. Please press the back button, enter the correct username and try again.
The Heros Legend: I try to login over and over
The Heros Legend: no good
The Heros Legend: so I ask Chaos Sage to check it out for me
The Heros Legend: not in the memberlist, and the profile doesn't exist



Ok.... now what???

Can you send me the error report? I need to know what the error actually was. The error report is usually sent to the admin's e-mail.

Quote:

Originally Posted by chrisz
Yo bitsys long time no talk.
What code would I have to add to make it so only certain usergroups can visit the rpg pages, Note this is for all rpg pages, so itemshop battle ect.
And where do i put the code.
Cheers mate

In heal.php, battle.php, battlefight.php, and itemshop.php, find something like:
PHP Code:

If ($bbuserinfo[userid] != && $bbuserinfo[usergroupid] != && $bbuserinfo[usergroupid] != && $bbuserinfo[usergroupid] != 1){ 

All you have to do is add:
PHP Code:

&& $bbuserinfo[usergroupid] != 

with X being the usergroup ID.

Quote:

Originally Posted by tnguy3n
:cool: I just installed it, and it seems to work fine on my vb 2.3.2 board; however, my battle template looks a little weird.
Also, my lessane store hack was gone too!! :ogre:

here's da site ... http://www.all4actions.com

How does it look weird? What do you mean by the store hack being gone? Is all of it gone? Part of it? Which parts?

Quote:

Originally Posted by Sonikku
I tried installing it on 2.3.2 and messed up the showthreads. I'm going back to 2.2.9 and staying there. >_>;

See my next post below this one.

Quote:

Originally Posted by legendarysk8er
You know what would be cool? If you could purchase like HP, MA, and PP in the itemshop.

If I had any confidence in the security of the monetary system, then that would be cool :)

Quote:

Originally Posted by Sonikku
Ok, I guess it wasn't the different versions of Vb software. I got the same problems. You see, in forum display, the links show up. I click on the links (to the thread) and the postbits don't show up. Now go back to the forum display, I click on the little icon that goes to the last post. The post bit does show up BUT only the last post. Now in the post bit it puts me up as guest.

Any ideas?

See my next post below this one.

Bitsys 09-11-2003 06:22 PM

See if you are experiencing one of the following symptoms:
  • All of my users are being labeled as "Guest" in the postbit template.
  • No posts are showing up.
  • None of the RPG variables will display in the postbit. The element/gender/class images are broken.
  • I get database errors when I go to showthread.php

If you are experiencing one or more of the above problems, then your showthread.php file was not edited correctly by the installer. This problem usually occurs on boards with other hacks installed that modify the queries in showthread.php. Please do the following:

In showthread.php, find the following code 2 times:
PHP Code:

attachment.attachmentid,attachment.filename,attachment.visible AS attachmentvisible,attachment.counter 

and AFTER it, add the following (ONLY IF IT IS NOT THERE ALREADY):
PHP Code:

,
user.ma AS uma,user.hp AS uhp,user.pp AS upp,user.ap AS uap,items_options.pointfield,items_options.lesanestore,battle_options.namefield,battle_options.exprate,battle_options.privacy AS battleprivacy,items_user.*,battle_stats.*,rpg_race.name AS rpgracename,rpg_race.alignment AS rpgalignmentname,rpg_classf.name AS fclassname,
        
rpg_classf.folder AS fclassfolder,rpg_classm.name AS mclassname,rpg_classm.folder AS mclassfolder,rpg_element.name AS elename 

(Yes, the comma at the very top is there on purpose. Do not forget to place the comma in showthread.php or else you will get database errors.)

In showthread.php, find the following code 2 times:
PHP Code:

FROM post
".iif($forum[allowicons],'LEFT JOIN icon ON icon.iconid=post.iconid','')." 

and CHANGE it to the following (ONLY IF IT DOES NOT LOOK LIKE THIS ALREADY):
PHP Code:

FROM postbattle_optionsitems_options
".iif($forum[allowicons],'LEFT JOIN icon ON icon.iconid=post.iconid','')." 

In showthread.php, find the following code 2 times:
PHP Code:

LEFT JOIN userfield ON userfield.userid=user.userid 

and BELOW it, add the following (ONLY IF IT DOES NOT LOOK LIKE THIS ALREADY):
PHP Code:

LEFT JOIN items_user ON items_user.userid=user.userid
LEFT JOIN battle_stats ON battle_stats
.userid=user.userid
LEFT JOIN rpg_classf ON rpg_classf
.id=user.rpgclass
LEFT JOIN rpg_classm ON rpg_classm
.id=user.rpgclass
LEFT JOIN rpg_element ON rpg_element
.elementid=user.element
LEFT JOIN rpg_race ON rpg_race
.raceid=user.rpgrace AND rpg_race.alignmentid=user.alignment 

Do not forget to do ALL of the above edits 2 times!

After doing all of this, run DB Fix.

If all of the code is there, then you may have a different problem. However, doing the above edits will rectify problems in 95% of the cases.

Boh 09-11-2003 10:53 PM

Nope that didn't work bah :(

As far as the other problem... I've had so many in the last while that I'll let it be until it happens again...

Any other ideas... it's not just the images not showing up, its also the stats and money and crap

EDIT: the file edits weren't there
EDIT: the gender images have always worked

Bitsys 09-12-2003 12:36 AM

Quote:

Originally Posted by Boh
Nope that didn't work bah :(

As far as the other problem... I've had so many in the last while that I'll let it be until it happens again...

Any other ideas... it's not just the images not showing up, its also the stats and money and crap

EDIT: the file edits weren't there
EDIT: the gender images have always worked

So you tried doing the file edits to showthread.php and it didn't work? Were the file edits there or not?

Have you tried running DB Fix?

Boh 09-12-2003 12:40 AM

They weren't there before, and no they didn't work

And no I haven't I'll do that now

Edit: Didn't work when I did db-fix :(

Red Blaze 09-12-2003 01:35 AM

Ok I did it, and the posts do show up now, But I'm still under guest. I have points, but as posts, I have N/A.

EDIT: I'm guessing the problem lyies in member.php file, no? Because in showthread.php, I re-edited and the posts show up, but still under guest, when it comes to member info, doesn't it consern the member.php file? Just a thought. =/

Bitsys 09-12-2003 02:02 AM

Quote:

Originally Posted by Sonikku
Ok I did it, and the posts do show up now, But I'm still under guest. I have points, but as posts, I have N/A.

EDIT: I'm guessing the problem lyies in member.php file, no? Because in showthread.php, I re-edited and the posts show up, but still under guest, when it comes to member info, doesn't it consern the member.php file? Just a thought. =/

Are you sure you did all of the edits both times?

Did you try running DB Fix?

This isn't a problem with member.php since it doesn't control which usergroup you are in.

Red Blaze 09-12-2003 03:04 AM

Ah, THAT'S what I was missing. It's fixed now. Thanks alot Bitsys. ^_^ I'll report again if anything happens.

EDIT: Found something. Sigs won't show up. The tag for sigs is in the template, I have sigs active from Admin CP, I have sigs active in my userCP options. Should I send you the showthread.php file? I have the lesane store hack installed.

Rogue Pan 09-12-2003 05:38 AM

Bitsys can you tell me all the fixs you did in the new version i am Smack Down Aust on aim

halo 09-13-2003 03:14 AM

i have the guess problem also. About everyday or so I have to run a DB Fix and it gets on my nervs some times.. I did everything in post 2261 and all the file edits were there. Is this fixable or will I just have to do the DB Fix all the time to fix the geust problem?

Rogue Pan 09-13-2003 11:21 AM

i am the one building it for burning Board so i need to know what he did in the php files

Boh 09-13-2003 12:03 PM

I fixed my problem but I have one more... potions don't work, exactly what do I have to set the battle types for those items to say to make them work... they don't work for anyone... in battle it says I have elixir, but when I go to use it, it just refreshes and nothing has happened

mjp1111 09-13-2003 02:16 PM

How do I reset my users' experience? I have adjusted how experience is earned so want to recalculate everyone's experience so it equals number of wins X experience points per win.

Telchar 09-13-2003 03:37 PM

The bank dosn't seem to automaticly give 10% Daily Interest, though it does give interest to some members when i run the DB fix..

Red Blaze 09-14-2003 03:41 AM

Alrighty, two things I gotta point out.

One. Entering an RPG Battle. When I try to, no matter what, having the right password or not, I get "Invalid Password or Battle Name" or something like that. But then I noticed, looking at the PM:

Quote:

EdeNDarK has challenged you in a battle. It is battle number 2 and is called Testing. There is $0 at stake in this battle. Your battle password is ''. To go to your battle click here
Notice there is no password. There is suppose to be one, right?

2, for some reason ,when I modify my RPG Character, I have "*"'s in RPG Class. Does that mean something?

If you need any more info, I'd be glad to help.

Rogue Pan 09-14-2003 09:54 AM

i need to know what he did in the php

jakob330 09-14-2003 01:05 PM

FYI,

We had a user that managed to hack into his bank account and
"deposted" 64,000,000 gil.
He then made mass donations, and almost destroyed the economy.
Still trying to figure out how he did it...
Beware... The word is out.

Telchar 09-14-2003 09:43 PM

Don't think your member hacked into the bank account..
What hack version do you have?

We had the same problem at my boards a while ago, but we figured out how it was done:

The user deposit all his/her gil in the bank, then withdraws all his/her gil. The result should be that the users bank deposit is "0", but there was a bug.. The bug redeposited the same amount as the user withdrew, dubling the gil he/she has..

Quote:

If anyone does any bank activity it resets the 24 hour thing. If you add/withdraw anything from the bank that resets the 24 hour period.
But why did only some of the members get interest in the bank, and not all?
I got, but another admin that has been away on vacation for a week didn't get any.

Red Blaze 09-15-2003 03:23 PM

You can foget about the Sig problem. Somehow that was fixed. I think my co-admin had something to do with it. *shrugs* In any case, I still have that "Invalid Password" problem even though he actually did put a password.

sonic3d 09-15-2003 08:16 PM

I do have to congrat on Bitsys on making a good battle hack and sticking to it. I myself used it. Great job.

l8er
sonic

halo 09-15-2003 08:30 PM

Quote:

Originally Posted by halo
i have the guess problem also. About everyday or so I have to run a DB Fix and it gets on my nervs some times.. I did everything in post 2261 and all the file edits were there. Is this fixable or will I just have to do the DB Fix all the time to fix the geust problem?


any help?

Cassidy 09-16-2003 05:27 PM

I get several problems when I installed the hack I've listed them and really need some help!

You can see the problems for yourself here: http://www.latias.net

#1: The RPG fields appear in the required information AND the optional information. How do I fix that?

#2: When a user posts a topic their post doesnt appear, and when someone replys to the topic it over-writes the post above. So basically every topic has 1 post. This is seriously wierd and I need help!

#3: The postbit doesn't update and the images don't have names when it trys to load them (it comes up as images/classes/mclasses/.gif)

#4: The postbit also displays the points as 0 for every user even if they have 2000. Basically the postbit is really screwed.

I'm sure theirs more errors, I followed the install instructions prefectly. Can someone please help? Or even if I reset it install it for me?

Red Blaze 09-16-2003 05:51 PM

Oh oh! I can help on this one!! :D:D

I only know the second problem since it happend to me too. Check out post #1 or page number 152. The answer for that problem is there.

EDIT: What other hacks do you have installed in your message board?


All times are GMT. The time now is 01:52 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.03144 seconds
  • Memory Usage 1,894KB
  • 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
  • (10)bbcode_php_printable
  • (20)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