Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > RPG Integration Hack
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
RPG Integration Hack - Old Support Thread Details »»
RPG Integration Hack - Old Support Thread
Version: , by MindTrix MindTrix is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-17-2004 Last Update: Never Installs: 0
 
No support by the author.

Nice conversion there mate, lot of work has gone into it so well done and thanks for sharing it

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 08-21-2004, 08:01 PM
orca's Avatar
orca orca is offline
 
Join Date: Oct 2001
Location: Switzerland
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I installed this hack but funny enough some images won't show although in the correct directories...This is especially the case for the itemshop directory. hat.gif shows for example but racket.gif not although it exists in that directory.
  #133  
Old 08-21-2004, 08:46 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orca
Hmm, I installed this hack but funny enough some images won't show although in the correct directories...This is especially the case for the itemshop directory. hat.gif shows for example but racket.gif not although it exists in that directory.
This I never encountered. All my test forums show the image correctly.... You sure both images are in the same dir?

Quote:
Originally Posted by Rahzel_hx
I'm lv2 in the rpg and i have like 56 hp, 8k ma and 20k pp ? >_< and i'm not able to reset the rpg stats it goes to a blank page
When i try to start the battle accepting it, it says invaild password or battle

i also get this error when i try to cancle a battle
PHP Code:
Database error in vBulletin 3.0.3:

Invalid SQLDELETE FROM battle WHERE battlenumber='1'
mysql errorTable 'spiritno_forum.battle' doesn't exist

mysql error number: 1146

Date: Saturday 21st of August 2004 03:00:45 PM
Script: http://--------/forum/battlefight.php?action=cancelbattle
Referer: http://--------forum/battlefight.php?action=enterbattle&battlenumber=1
Username: ----------
IP Address: ---------- 
Edit wish i could fix this my self but i'ma vb no0b umm
PHP Code:
Parse errorparse errorunexpected T_CASE in /home/spiritno/public_html/forum/includes/functions_online.php on line 1318 
i get this when i goto look at users profiles
First of all, your massive amounts of MA and PP are because the MA and PP modifiers are way off the scale.
Enter your AdminCP, and select Edit Options under Battle.
There set new values for MA and PP, recommended values are 0.003

For your battle accept error, this has happened before but was reported to have gone away. But as I see its back, it will be pinned down and fixed for v2.5

For your Cancel Battle error, that is a small fix which I am just about to note down in the changelog. To fix it quickly, enter battlefight.php and search for:
[sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
change to
[sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]

And as for your functions_online stuff:
find
PHP Code:
    case 'rpgcp':
        
$userinfo['action'] = "Viewing <a href='rpgcp.php'>RPG CP</a>"
change to
PHP Code:
    case 'rpgcp':
        
$userinfo['action'] = "Viewing <a href='rpgcp.php'>RPG CP</a>";
        break; 
Quote:
Originally Posted by Pixelgrounds
have al lthe bug fixes iv read in this thread and all the little mods been added to the main page zip file yet?
Bug fixes: Most
Addons: None. The addons are in a special post linked to from the main page.


Status on the v2.5:
I am just going through the files looking for missing ".TABLE_PREFIX."es, with much help from DeMiNe0
After this I will start picking apart the battle part of the hack on the live forum.
Then, Im gonna do a fresh reinstall (cos I made tweaks to the installer), and go through it all again.
After THAT, then all bugs should be gone and I can put out the new version

And dont worry about having to redo/reupload all the files if you make modifications to the files, all the changes are documented in a changelog file.


EDIT: I just managed to fix all bugs in the heal.php file, healing now works 100 %
  #134  
Old 08-21-2004, 11:02 PM
Rahzel_hx Rahzel_hx is offline
 
Join Date: Aug 2004
Location: Everett,Washington
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan

For your Cancel Battle error, that is a small fix which I am just about to note down in the changelog. To fix it quickly, enter battlefight.php and search for:
[sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
change to
[sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]

And as for your functions_online stuff:
find
PHP Code:
    case 'rpgcp':
        
$userinfo['action'] = "Viewing <a href='rpgcp.php'>RPG CP</a>"
change to
PHP Code:
    case 'rpgcp':
        
$userinfo['action'] = "Viewing <a href='rpgcp.php'>RPG CP</a>";
        break; 
PHP Code:
Parse errorparse errorunexpected T_CASE in /home/spiritno/public_html/forum/includes/functions_online.php on line 1319 
after that change it gaive me another new error -_- also
[sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
change to
[sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]
i don't have a [sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
it is already [sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]

Thanks for your help ^__^ i know you will do ur best even though it isn't paid XP
  #135  
Old 08-22-2004, 07:06 AM
orca's Avatar
orca orca is offline
 
Join Date: Oct 2001
Location: Switzerland
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, they are in the same dir. Also, if I right-click on the cross and check the path, it's correct.
Would it be possible that mod_rewrite does sth wrong there?
  #136  
Old 08-22-2004, 11:22 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by orca
Yes, they are in the same dir. Also, if I right-click on the cross and check the path, it's correct.
Would it be possible that mod_rewrite does sth wrong there?
Mod rewrite sth what? :ermm:
All I know is that it works correctly here, and every dam other test/live board Ive ever seen...


Quote:
Originally Posted by Rahzel_hx
PHP Code:
Parse errorparse errorunexpected T_CASE in /home/spiritno/public_html/forum/includes/functions_online.php on line 1319 
after that change it gaive me another new error -_- also
[sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
change to
[sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]
i don't have a [sql]DELETE FROM ".TABLE_PREFIX."battle[/sql]
it is already [sql]DELETE FROM ".TABLE_PREFIX."rpg_battle[/sql]

Thanks for your help ^__^ i know you will do ur best even though it isn't paid XP
Then whats the new error, if that was it then its not cause of this, because I checked all the rpg edits for functions_online and that rpgcp.php was the only one that lacked a break;
Can you post the 2-3 lines surrounding your line 1319 in that file then?
  #137  
Old 08-22-2004, 02:02 PM
orca's Avatar
orca orca is offline
 
Join Date: Oct 2001
Location: Switzerland
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I only know that the weapons, asc.gif, desc.gif, src.gif and no item.gif give a red cross. All other gifs work. Funny thing is that if I enter the path to those images directly, it leads me to a crappy main page of my site whereas the working images show up. That's why I asked about mod_rewrite as I use it for the main site. See the following examples:

http://forum.arachid.net/images/itemshop/racket.gif (doesn't show in list)

http://forum.arachid.net/images/itemshop/hat.gif (shows in list)

The files are chmod 777 just to be sure it's no permission problem. The mod_rewrite is actually for www.arachid.net and not for forum.arachid.net.
  #138  
Old 08-22-2004, 03:02 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can see both of them fine, just like the normal images.
This problem doesnt seem like it can be fixed on my side, sorry


On a brighter note, Ive sent the RC1 of the changelog for v2.5 over to the team's testers (yeah didnt that sound fancy ), and it addresses 14 errors, redundant coding, adds the features of Admin Only-Classes settable in the ACP (this is actually just a touchup of the old code, previously the Admin classes was selectable for users, now they are hidden), and the RPG CP now also displays your current Battle Type (like Generic etc)

It will most likely be made public in 1-2 days
  #139  
Old 08-22-2004, 04:14 PM
Pixelgrounds Pixelgrounds is offline
 
Join Date: May 2004
Location: uk
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think im going to wait till this is more stable before i install it. Last thing i want is my boss getting mad at me for the site going down or any errors.
  #140  
Old 08-22-2004, 10:53 PM
NyCwill NyCwill is offline
 
Join Date: Feb 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan
For the users with the "Invalid battle or password" errors, the fix is here.
where is the fix?? :surprised:
  #141  
Old 08-23-2004, 01:07 AM
House_of_Crazed House_of_Crazed is offline
 
Join Date: May 2004
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Suggestion -

Add a script that would reset everyone's stats based on their postcount.

I tried doing this and accidently reset'ed everyone's characters. *laughs* Good thing it was on a test site, *laughs*

HoC
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:39 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.04948 seconds
  • Memory Usage 2,353KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_php
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete