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)

soccerclue 04-22-2003 02:37 PM

Are you sure that it is not working with version 2.3? Coz the first time I try, the link of HP..AP...in rpgcp.php is working. And those links are related with moderator.php files. I think there is some duplicate queries or missing queries I made or moderator.php file is wrong. And in the Edit Options part, that's member.php file, I don't know why the form duplicate for RPG fields. and other information messed up. I am afraid I deleted some used templates or duplicate some RPG datas? I really hope someone could help me this time. I am really screwed. :(

Moreliator 04-22-2003 08:47 PM

Well bitsy,

I gave it a go and allowed battling on my forums for one night, just to see how many glitches would arise.

A major glitch began to occur with some members' records. One had only participated in 5 battles. It showed his record as 25 wins though, and it showed that he only participated in 5!! He also obtained about 400 gil. this all happened after he pressed the "send reply" button to confirm a victory over another member.

Other members have a higher number of losses than they have even played.

I'm not sure if this helps you any. Do you have any suggestions for me to try out?

Stats and stuff seems fine. Only a couple members out of the hundreds playing had this problem.


Another very recent error is with One Hit KOs...kinda... Users reportedly get into a battle. The first person misses, then the second person selects fists. The refresh page shows the opponent dead.... but when it posts the battle results it never shows what move the guy did to kill the opponenet in one hit... its really odd.

EDIT: Alright, a little more info on the problem. I reset battle statistics and opened battling again. Everything went well, until it hit one of our members again. Here is how it happens:

The user is battling. In all of our cases he has been the challenger, going second, but this may not make a difference. When he refreshes the page, he experiences an error:

Quote:

There seems to have been a slight problem with the Smash World Forums 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.
He then refreshed, and when the page reloaded, his opponent had lost ALL of his HP. In the battle reports, it has his oppoenent dying for no reason at all... Could this be a problem from overload of the database? Immediately after this his battle stats go wild. He has like 74 wins even though his "total battles" column only reads like 5.

Thanks.
-More

soccerclue 04-22-2003 11:54 PM

Ok forget my previous post..i have found the error. However, i have a slight error in UserCP >> Edit Profile page. There are duplicate RPG Name fields in it. Can someone tell me which part should I fix? Is it in template and which one?

Airs 04-23-2003 11:54 AM

Biiiggg Error... On my forums a user got hacked and the hacker kept creating battles and stealing another users money.. from making challenges himself.

Bitsys 04-23-2003 07:04 PM

Quote:

04-20-03 at 09:38 PM Moreliator said this in Post #1505
Hey Bitsy,

We actually fixed it.... if you want the code we replaced in itemadmin.php just let me know, my AIM name is 'Moreliator'

If your getting the new version out soon, here is another thing you may want to fix: in GIVING gil, you can give letters. For donations, it won't let you, but if you arfe an admin/mod and you decide to give gil to a user, you can type in text like "egg" and it will screw up their financial account, heh. Just thought I'd let you know, although its not too much of a problem.

Once again, if you want that fix just let me know over AIM... may save you some time.

Keep up the good work. I'm goign to be opening battling on my server pretty soon... I'll let you know when its ready so you can take a look at how I implemented your hack on my site.

-more

I didn't do validation checks for mod/admin features because I figured they would know what they were doing, hence why you can enter words for gil.

Quote:

04-20-03 at 10:19 PM Airs said this in Post #1506
The battling thins doesn't work when a peron has ' in their username.. it screws up and doesn't let the user do anything. and sends a load of error mails to the admin (me)

Thanks, will be fixed in the next version.


Quote:

04-21-03 at 09:28 AM Sonikku said this in Post #1507
I too found a bug. When I go to add hp, it won't add. For example I have 144hp and I want it to go up to 199. I have to add 55hp to get to 199, right? Well, I try adding the 55hp but it stays at 144. =/

Do you understand what I mean? I sound confusing. ^^;


Does it add and stay for a little while but change when the user updates his/her stats? If so, then this is the way it is supposed to work. You cannot manually change the stats and expect them to stay. The updater overrides manual changes.

Quote:

Yesterday at 03:47 PM Moreliator said this in Post #1512
Well bitsy,

I gave it a go and allowed battling on my forums for one night, just to see how many glitches would arise.

A major glitch began to occur with some members' records. One had only participated in 5 battles. It showed his record as 25 wins though, and it showed that he only participated in 5!! He also obtained about 400 gil. this all happened after he pressed the "send reply" button to confirm a victory over another member.

Other members have a higher number of losses than they have even played.

I'm not sure if this helps you any. Do you have any suggestions for me to try out?

Stats and stuff seems fine. Only a couple members out of the hundreds playing had this problem.


Another very recent error is with One Hit KOs...kinda... Users reportedly get into a battle. The first person misses, then the second person selects fists. The refresh page shows the opponent dead.... but when it posts the battle results it never shows what move the guy did to kill the opponenet in one hit... its really odd.

EDIT: Alright, a little more info on the problem. I reset battle statistics and opened battling again. Everything went well, until it hit one of our members again. Here is how it happens:

The user is battling. In all of our cases he has been the challenger, going second, but this may not make a difference. When he refreshes the page, he experiences an error:



He then refreshed, and when the page reloaded, his opponent had lost ALL of his HP. In the battle reports, it has his oppoenent dying for no reason at all... Could this be a problem from overload of the database? Immediately after this his battle stats go wild. He has like 74 wins even though his "total battles" column only reads like 5.

Thanks.
-More


Can you send me a copy of the e-mail that was sent to Tech Support when the user got the database error?

Quote:

Yesterday at 06:54 PM soccerclue said this in Post #1513
Ok forget my previous post..i have found the error. However, i have a slight error in UserCP >> Edit Profile page. There are duplicate RPG Name fields in it. Can someone tell me which part should I fix? Is it in template and which one?

Go to your memberprofile template located under the User Options heading. Look for the two duplicate RPG Name blocks of HTML code and delete the one at the top.

Quote:

Today at 06:54 AM Airs said this in Post #1514
Biiiggg Error... On my forums a user got hacked and the hacker kept creating battles and stealing another users money.. from making challenges himself.

How am I supposed to prevent a user from getting hacked?

PSI|Dr-X 04-23-2003 08:59 PM

Quote:

Today at 12:54 PM Airs said this in Post #1514
Biiiggg Error... On my forums a user got hacked and the hacker kept creating battles and stealing another users money.. from making challenges himself.

Just ban that user -_- ..... because the user that has been hacked has probally reported to you else you wouldn't know he was hacked ... or just change the password and give it to the real account owner :bunny:

Moreliator 04-23-2003 09:49 PM

Quote:

Today at 08:04 PM Bitsys said this in Post #1515

Can you send me a copy of the e-mail that was sent to Tech Support when the user got the database error?


Hmm, well I'm getting so many emails now, that I';m not sure which one it was. But all of them are basically the same:

Quote:

Database error in vBulletin 2.3.0:

Invalid SQL: INSERT INTO battle_posts VALUES (NULL,'326','s'mores','8447','The 1337 Beast used his Scratch to deal 12 points of damage. Mediator tried to dodge, but was not successful. Mediator has died!!')
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 'mores','8447','[I]The 1337 Beast used his Scratch to dea

mysql error number: 1064

Date: Tuesday 22nd of April 2003 08:00:03 PM
Script: http://smashboards.com///battleupdat...26&username=s\'mores&userid=8447&battlekey=Smashboards
Referer: http://smashboards.com//battlefight....ey=Smashboards
s'mores is the guy who has the really messed up battle record. I checked all the email errors I've been getting, and ever since the first guy got his record screwd up they have all been this '1064' error with similar messages:

Quote:

Database error in vBulletin 2.3.0:

Invalid SQL: INSERT INTO battle_posts VALUES (NULL,'333','s'mores','8447','The 1337 Beast was awarded $0 for winning the battle.')
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 'mores','8447','[I]The 1337 Beast was awarded $0 for winn

mysql error number: 1064

Date: Tuesday 22nd of April 2003 08:05:57 PM
Script: http://smashboards.com///battleupdat...33&username=s\'mores&userid=8447&battlekey=smores
Referer: http://smashboards.com//battlefight....33&username=s\'mores&userid=8447&battlekey=smores

The only other email error message I receive is:

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. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Date: Tuesday 22nd of April 2003 05:15:51 PM
Script: http://smashboards.com//itemshop.php
Referer: http://smashboards.com/itemshop.php?action=donate&user=
But that doesn't seem to be too big of a problem.


EDIT: Okay, I did more research, and it appears these problems are coming from the fact that people with a ' in their name are screwing up syntax. I reset battle standings and told the people with ' and & in their name not to play, and so far no problem.

Any ideas on that donation error? It appears members only have success donating through the profile.

PSI|Dr-X 04-24-2003 01:50 PM

When is the next version actually comming?

soccerclue 04-24-2003 06:34 PM

Hi,

I don't know why that everytime people go to battle, they can only use fists even if they have weapons and the HP always decreases 5 points everytime. I am using vb 2.3. Please check my forum at http://www.asianguild.com

Nintel 04-25-2003 12:22 AM

I need some help. I get this error:

Fatal error: Call to undefined function: getlevel() in /hsphere/local/home/side5411/forums.nintel.com/forums/admin/functions.php on line 383

and the coding around line 183 is:

// ###################### Start getforuminfo #######################
function getforuminfo (&$forumid) {
global $DB_site;
global $forumcache;

$forumid = intval($forumid);
if (!isset($forumcache[$forumid])) {
$forumcache[$forumid]=$DB_site->query_first("SELECT * FROM forum WHERE forumid='$forumid'");
}

return $forumcache[$forumid];
}

What's wrong?


All times are GMT. The time now is 07:28 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.03339 seconds
  • Memory Usage 1,798KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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