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)

Bitsys 01-12-2003 05:10 PM

Quote:

Originally posted by PSI|Dr-X
i think i didint upgrade :d
I think that may have been the problem.

Issy_X 01-12-2003 05:41 PM

Hi, I installed the latest version of you hack and I have some problems.[list=1][*]The scoreboard is acting wierd, when someone wins a battle it shows up on the scoreboard as lost, and when someone lost a battle it shows up as won.[*]I set minimum levels for items in the itemshop, but it's not working correctly. I have items for level 1 and level 2. If I am a level 2 character, the link for buying the items is showing up correctly, but when I try to buy a level 2 item it's just refreshing the page, not buying the item. But I can buy a level 1 item. Same as I am level 3, I can buy level 1 and 2 items, but level 3 items are not working.[*]The bank is not working, when I click the bank it's refreshing the page and nothing more.[*]users are gaining a massive amount of extra hp when leveling up. A level 1 character had about 35 hp and a level 2 character about 125.[/list=1]

I hope you can help me with these problems. Thanks in advance.

rrnolan 01-12-2003 05:42 PM

Bitsy, I am the forum admin for my site and because of the number of posts i have my hit power is 3300, how can I turn my hit power down? Everytime I fight someone I kill them with one hit.

Also is there a way to cap my hitting power

mr e 01-12-2003 06:20 PM

this is how you determine your attack
PHP Code:

$uregatt $userlevel $userstats[classregatt] * $userstats[raceregatt]; 

so just lower the classes attack or the races regular attack and you'll do less

Bitsys 01-12-2003 06:46 PM

Issy_X:
1. Thanks for finding that one. It will be fixed in the next version.
2. That bug has been reported and will be fixed in the next version.
3. In the Itemshop Options menu, did you choose to use Lesane's Store hack for money/points? If not, what are your itemshop options set to?
4. Still looking in to that one.

rrnolan:
Open battleupdate.php, find:
PHP Code:

$damagedone floor(($weapon[damage] + $regattbonus) * $uelemod $anger $bonusattack $armor $regdefminus); 

After, it, add:
PHP Code:

if($damagedone X) {
    
$damagedone Y;


Replace X with the amount you don't want it to go over, and replace Y with the amount you want it to be if it goes over. If you only want it to apply to you, then add the following instead:
PHP Code:

if($damagedone && $bbuserinfo[userid] == Z) {
    
$damagedone Y;


Replace Z with your userid and X/Y with the previous values as mentioned above.

I am still working on the formulas some more.

SpyGuy007 01-12-2003 11:01 PM

There's an error when using vbhacker...the changes made to showthread.php make it so that all user's info that is displayed in the postbit shows them as "guest", having no registration date, and having no post count, yet their other profile fields remain intact, and they really don't have guest status (ex. viewing their profile shows the correct info)

saint_seiya 01-12-2003 11:11 PM

Database error in vBulletin 2.2.8:

Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter,
user.ma AS uma,user.hp AS uhp,user.pp AS upp,user.ap AS uap,items_options.pointfield,items_options.lesanes tore,battle_options.namefield,battle_options.expra te,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
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid IN (0,29283,29287,29303,29305,29306,29307,29314,29316 )
ORDER BY dateline

mysql error: Unknown table 'items_options' in field list

mysql error number: 1109

Date: Sunday 12th of January 2003 07:02:36 PM
Script: http://www.vgcity.com/forum/forum/sh...?threadid=1147
Referer:

Bitsys 01-12-2003 11:25 PM

Quote:

Originally posted by saint_seiya
Database error in vBulletin 2.2.8:

Invalid SQL:
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,icon.title as icontitle,icon.iconpath,
attachment.attachmentid,attachment.filename,attach ment.visible AS attachmentvisible,attachment.counter,
user.ma AS uma,user.hp AS uhp,user.pp AS upp,user.ap AS uap,items_options.pointfield,items_options.lesanes tore,battle_options.namefield,battle_options.expra te,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
,avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline
FROM post
LEFT JOIN icon ON icon.iconid=post.iconid
LEFT JOIN user ON user.userid=post.userid
LEFT JOIN userfield ON userfield.userid=user.userid
LEFT JOIN avatar ON avatar.avatarid=user.avatarid
LEFT JOIN customavatar ON customavatar.userid=user.userid
LEFT JOIN attachment ON attachment.attachmentid=post.attachmentid
WHERE post.postid IN (0,29283,29287,29303,29305,29306,29307,29314,29316 )
ORDER BY dateline

mysql error: Unknown table 'items_options' in field list

mysql error number: 1109

Date: Sunday 12th of January 2003 07:02:36 PM
Script: http://www.vgcity.com/forum/forum/sh...?threadid=1147
Referer:

Some of the necessary file edits were not done during the vbhacker part of the installation. Did you get any errors during the install using vbhacker? Also, read below on how to make sure all of the file edits were done.

SpyGuy007:
Can you verify that all of the necessary file edits were made to showthread.php? To verify the edits, have vbhacker generate a text file of the hack. From there, look at all of the edits to showthread.php (they should be at the top) and make sure that they were done. In some instances, the edits were supposed to have executed twice (once for each instance of the code in showthread.php).

saint_seiya 01-12-2003 11:52 PM

Oh man, this is a pain in the ass, i think the auto installer misses a lot of files during the install of it isnce there are some other mods installed =|

SpyGuy007 01-12-2003 11:56 PM

Bitsys, I checked the edits that were supposed to be made to showthread.php and I did them exactly as they were written, but the error still comes up. If you look closely, there are two snippets of code that are to be replaced in the install that are the exact same, but are to be replaced with two different things.


All times are GMT. The time now is 03:44 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.02068 seconds
  • Memory Usage 1,765KB
  • 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
  • (4)bbcode_php_printable
  • (2)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