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
  #472  
Old 09-21-2004, 07:24 PM
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Location: Titusville, Florida
Posts: 1,787
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice a new RPG hack to use... I may be using this.
  #473  
Old 09-21-2004, 11:11 PM
Mattius Mattius is offline
 
Join Date: Sep 2004
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love the hack, it looks awesome!

Unfortunately im getting some blank page errors.

It happens when i go to view a battle, enter a battle.

Same thing occurs through the PM enter link, or if i go to battles.php and type in battle number and password

Also when i go to edit RPG profile in the user cp, i get a database timeout error.

The backend in admin works flawlessly, and much of the rest of it seems to, just these couple issues.

Here are a few screenies attached.

Im not sure if this has been covered elsewhere but i gave up after page 10 lol...this thread is huge..
Attached Files
File Type: (21.3 KB, 14 views)
File Type: (21.3 KB, 7 views)
File Type: (21.3 KB, 9 views)
  #474  
Old 09-22-2004, 05:17 AM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan
Yes I am doing the v3.
The progress is great, just yesterday I fixed 1 major security flaw, and one medium one.
What they are is best remained secret until the new upgrade, seeing as only one reported them and its best that the general public doesnt know so we will get whiners wanting the update right now cos their battles are being pwned
They regard the battle arena and the healing center.

Ill see about those itemshop changes, although I cant remember what they are so itd be good if you could remind me
thanks for the news

let me say it again:

the itemshop should let users to buy multi items for their inventory ( limited in ACP), and they can equip whatever items they want, items should be group to: armor, arm, hamlet, accessories....like items in RPG games
  #475  
Old 09-22-2004, 05:19 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 Mattius
I love the hack, it looks awesome!

Unfortunately im getting some blank page errors.

It happens when i go to view a battle, enter a battle.

Same thing occurs through the PM enter link, or if i go to battles.php and type in battle number and password

Also when i go to edit RPG profile in the user cp, i get a database timeout error.

The backend in admin works flawlessly, and much of the rest of it seems to, just these couple issues.

Here are a few screenies attached.

Im not sure if this has been covered elsewhere but i gave up after page 10 lol...this thread is huge..
It has been covered. You probs did not import the templates, because they are all there

And the timeout was concluded as an error as a result of how PHP is compiled on the server



Quote:
Originally Posted by deathemperor
thanks for the news

let me say it again:

the itemshop should let users to buy multi items for their inventory ( limited in ACP), and they can equip whatever items they want, items should be group to: armor, arm, hamlet, accessories....like items in RPG games
Inventory and an Auction system is planned
Im unsure about the limiting tho, its easy but the point of an inventory would be to let users have alot of items, and sell and equip when they want...
  #476  
Old 09-22-2004, 05:28 AM
deathemperor's Avatar
deathemperor deathemperor is offline
 
Join Date: Jul 2003
Location: HOL
Posts: 1,270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, that's it, but please let the admin limit their max items they can have in inventory.
and it's best to mention you that you should make the UCS integration clearer, like if you change the UCS points field the RPG should understand that too because I think there would be many hack uses UCS and not all of them use the default UCS points field
  #477  
Old 09-22-2004, 05:42 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ye I can let it move around inside the user table, but I dont want to move it out of the user table, as this would add a fookload of queries all over the hack
  #478  
Old 09-22-2004, 06:33 AM
Mr Peabody Mr Peabody is offline
 
Join Date: May 2004
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only thing I can suggest mate is making the Attacking more random, for example the base hit for a level 1 char is 5, how about figuring out a way to randomise it from 1-5.

I love the rest.
  #479  
Old 09-22-2004, 07:10 AM
Mattius Mattius is offline
 
Join Date: Sep 2004
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
It has been covered. You probs did not import the templates, because they are all there
Ive imported them twice and 90% of them work, i cant figure out why i cant seem to view or enter battles

PHP Code:
        $stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
    <!-- 
no cache headers -->
    <
meta http-equiv="Pragma" content="no-cache" />
    <
meta http-equiv="Expires" content="-1" />
    <
meta http-equiv="Cache-Control" content="no-cache" />
    <!-- 
end no cache headers -->
    <
title>$vboptions[bbtitle] - Battle</title>
    
$headinclude
</head>
<
body>
$header
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <
tr>
    <
td width="36" height="300" align="left" valign="top" nowrap background="images/misc/vborgmiddle_01.gif"><img src="images/misc/vborgmiddle_01.gif" width="36" height="57" alt=""></td>
    <
td width="100%" height="100%" valign="top">
$navbar
<form name="enterbattle" method="post" action="battlefight.php?action=enterbattle">
<
table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
  <
tr>
    <
td width="77%" valign="top">
    <
table border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%">
      <
tr>
        <
td width="100%">
        <
p align="center"><b>Welcome to the battle arena!</b></td>
      </
tr>
        <
td width="100%" valign="top">
        &
nbsp;
        <
table align="center" cellpadding="3" cellspacing="0" border="1" width="80%" bordercolor="#000000" style="border-collapse: collapse">
<
tr>
        <
td width="100%">
        <
p align="center"><b>Battle System Links</b></td>
</
tr>
        <
td width="100%">
        <
p align="center">
        <
a href="battle.php?action=newbattle"><strong>New Battle</strong></a>
        <
a href="battle.php?action=browse"><strong>Browse</strong></a>
        <
a href="battle.php?action=showbattlestats"><strong>Top 10</strong></a>
        <
a href="battle.php?action=showuserstats"><strong>Your Stats</strong></a>
        </
td>
</
tr>
</
table>
  </
center><br />
        <
table align="center" border="1" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="300" height="56" cellpadding="2">
      <
tr>
        <
td width="200%" height="19" colspan="2">
        <
p align="center"><b>Enter Battle</b></td>
      </
tr>
        <
td width="50%">
 
Battle Number:</td>
        <
td width="50%">
<
input type="text" class="input" name="battlenumber" size="12" maxlength="10"></td>
      </
tr>
        <
td width="50%">

Battle Password:</td>
        <
td width="50%"><input type="text" class="input" name="battlekey" size="12" maxlength="50"></td>
      </
tr>
        <
td width="100%" colspan="2">
 <
p align="center">
 <
input type="submit" class="input" name="Enter Battle" value="Enter Battle">
</
td>
      </
tr>
    </
table>
  </
td>
</
form>
</
td>
    <
td width="37" height="300" align="right" valign="top" nowrap background="images/misc/vborgmiddle_03.gif"><img src="images/misc/vborgmiddle_03.gif" width="37" height="57" alt=""></td>
  </
tr>
</
table>
$footer
</body>
</
html
Thats the main battle template, which should display it all...but alas..

or possibly battle arena template

PHP Code:
  $stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>
    <!-- 
no cache headers -->
    <
meta http-equiv="Pragma" content="no-cache" />
    <
meta http-equiv="Expires" content="-1" />
    <
meta http-equiv="Cache-Control" content="no-cache" />
    <!-- 
end no cache headers -->
    <
title>$vboptions[bbtitle] - Battle</title>    
$headinclude
</head>
<
body>
$header
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <
tr>
    <
td width="36" height="300" align="left" valign="top" nowrap background="images/misc/vborgmiddle_01.gif"><img src="images/misc/vborgmiddle_01.gif" width="36" height="57" alt=""></td>
    <
td width="100%" height="100%" valign="top">

$navbar
<table cellpadding="2" cellspacing="0" border="0" width="100%" align="center">
  <
tr>
        <
td width="100%"><b>? <a href="battle.php">Battle</a> ? Battle # $battlenumber - $battle[battlename]</b> </td>
  
</tr>
</
table>
&
nbsp;
<
table border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#000000" width="100%">
  <
tr>
    <
td width="25%">
    <
p align="center"><b>
    
$oppstats[username]</b></td>
    <
td width="50%">
    <
p align="center"><b>
    
$battle[battlename]</b></td>
    <
td width="25%">
    <
p align="center"><b>$ownerstats[username]
    </
b></td>
  </
tr>
  <
tr>
    <
td width="25%" valign="top">
    <
div align="left">
    <
table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
      <
tr>
        <
td width="1%" valign="top">$avatar2</td>
        <
td width="99%">
              <
b>HP:</b$oppstats[hp]/$oppstats[maxhp]<br />

                  <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-collapse: collapse">
                    <
tr
                      <
td><img src="images/bar/bhg.gif" width="$opphpbar%" height="5"><img src="images/bar/bxb.gif" width="1" height="5"></td>
                    </
tr>
                  </
table>
                     <
b>MA:</b$oppstats[ma]/$oppstats[maxma]<br />
 
                  <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-collapse: collapse">
                    <
tr
                      <
td><img src="images/bar/bxg.gif" width="$oppmabar%" height="5"><img src="images/bar/bxb.gif" width="1" height="5"></td>
                    </
tr>
                  </
table>
              <
b>PP:</b$oppstats[pp]/$oppstats[maxpp]<br />
               <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-collapse: collapse">
                    <
tr
                      <
td><img src="images/bar/bxg.gif" width="$oppppbar%" height="5"><img src="images/bar/bxb.gif" width="1" height="5"></td>
                    </
tr>
                  </
table>
              <
b>Limit: </b>$oppstats[ap]%<br />
               <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-collapse: collapse">
                    <
tr
                      <
td><img src="images/bar/bxg.gif" width="$oppapbar%" height="5"><img src="images/bar/bxb.gif" width="0" height="5"></td>
                    </
tr>
                  </
table><br />
Reg Att$oregatt<br />
Mag Att$omagicatt<br />
Reg Def$oregdef<br />
Mag Def$omagicdef<br />                
Speed$ospeed<br />
Evade$oevade<br /><br />
<
table width="100%" style="border-collapse: collapse" bordercolor="#000000" border="1"><td>
<
strong>Class:</strong$opponent[classname]<br />
<
strong>Race:</strong$opponent[racename]<br />
<
strong>Element:</strong$opponent[elename]<br />
</
td></table>
        </
td>
      </
tr>
    </
table>
      </
center>
    </
div>
    </
td>
    <
td width="50%" height="200" valign="bottom" background="images/$battle[icon]">&nbsp;
    <
table border="0" width="100%" height="10" cellspacing="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111">
            <
tr>
          <
td width="1%"> <img src="images/style/classes/flip_$opponent[classfolder].gif" align="left" alt="Hp: $oppstats[hp]/$oppstats[maxhp]border="0"></td>
              <
td width="98%"></td>
              <
td width="1%">
              <
img src="images/style/classes/$owner[classfolder].gif" align="left" alt="HP: $ownerstats[hp]/$ownerstats[maxhp]border="0"></td>
            </
tr>
          </
table>
          </
td>
    <
td width="25%" valign="top">
    <
div align="left">
    <
table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
      <
tr>
        <
td width="50%">
                 <
b>HP:</b$ownerstats[hp]/$ownerstats[maxhp]<br />

                  <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-collapse: collapse">
                    <
tr
                      <
td><img src="images/bar/bhg.gif" width="$ownerhpbar%" height="5"><img src="images/bar/bxb.gif" width="1" height="5"></td>
                    </
tr>
                  </
table>
                 <
b>MA:</b$ownerstats[ma]/$ownerstats[maxma]<br />
                  <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-collapse: collapse">
                    <
tr
                      <
td><img src="images/bar/bxg.gif" width="$ownermabar%" height="5"><img src="images/bar/bxb.gif" width="1" height="5"></td>
                    </
tr>
                  </
table>
                 <
b>PP:</b$ownerstats[pp]/$ownerstats[maxpp]<br />
                  <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-collapse: collapse">
                    <
tr
                      <
td><img src="images/bar/bxg.gif" width="$ownerppbar%" height="5"><img src="images/bar/bxb.gif" width="1" height="5"></td>
                    </
tr>
                  </
table>
                 <
b>Limit:</b$ownerstats[ap]%<br />
                  <
table width="100" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" style="border-collapse: collapse">
                    <
tr
                      <
td><img src="images/bar/bxg.gif" width="$ownerapbar%" height="5"><img src="images/bar/bxb.gif" width="0" height="5"></td>
                    </
tr>
                  </
table><br />

Reg Att$uregatt<br /> 
Mag Att$umagicatt<br />
Reg Def$uregdef<br /> 
Mag Def$umagicdef<br />                        
Speed$uspeed<br /> 
Evade$uevade<br /><br />
<
table width="100%" style="border-collapse: collapse" bordercolor="#000000" border="1"><td>

<
strong>Class:</strong$owner[classname]<br />
<
strong>Race:</strong$owner[racename]<br />
<
strong>Element:</strong$owner[elename]<br />
</
td></table>
        </
td>
        <
td width="50%" valign="top">$avatar1</td>
      </
tr>
    </
table>
      </
center>
    </
div>
    </
td>
  </
tr>
  <
tr>
    <
td width="25%">
              
         
              <
b>Inventory:</b$oppitems</td>
    <
td width="50%">
    <
p align="center">
    <
b>Battle:</b$battlenumber</td>
    <
td width="25%">
                 <
b>Inventory: </b>$owneritems
                 
              
</td>
            </
tr>

  </
table>
<
tr><td>
<
br />
$battlemoves
<br />
$attackform
   
<br />
<
center><a href="battlefight.php?action=enterbattle&battlenumber=$battlenumber&username=$bbuserinfo[username]&userid=$bbuserinfo[userid]&battlekey=$battlekey"><strong>Refresh</strong><!-- <img src="refresh.gif" border="0" alt="Refresh"> --></a></center>
</
td>
    <
td width="37" height="300" align="right" valign="top" nowrap background="images/misc/vborgmiddle_03.gif"><img src="images/misc/vborgmiddle_03.gif" width="37" height="57" alt=""></td>
  </
tr>
</
table>
$refresh 
$footer
</td></tr></table>
</
body>
</
html
  #480  
Old 09-22-2004, 01:54 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then I got no idea whatsoever
the only thing I can think about would be this:
Open up the rpg_templates.xml and check that you got all the templates inserted and add those that are lacking if any.
  #481  
Old 09-23-2004, 02:11 AM
Dyntheos Dyntheos is offline
 
Join Date: May 2002
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a major meltdown with regards to the itemshop.

Adding items is ok, as is creating new categories and editing categories as well.

However, in the main list of items, where it dispalys all the items and thier buffs, costs etc.. you can then click "update items". When I do, it completely shuts down the whole site.

I can't load any pages, I cannot ftp into the site, and everything dies for an extended period of time. Usually at least 20 minutes.
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 03:08 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.05057 seconds
  • Memory Usage 2,537KB
  • 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
  • (2)bbcode_php
  • (4)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
  • (2)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
  • (3)postbit_attachment
  • (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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete