vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   RPG Integration Hack (https://vborg.vbsupport.ru/showthread.php?t=108790)

Revan 02-23-2006 10:00 PM

RPG Integration Hack
 
[high]
RPG Integration Hack v3.5.1 Patch Level 2
[/high]
RPG Integration Hack (RPG hack for short) v3.5.1 is the first step into the next generation of the classic hack compiled by Bitsys. For those that are unfamiliar with any of what I mentioned above, heres a quick rundown of what this hack is and does.
The RPG hack adds a whole new level of fun to a forum, by allowing uses to duke it out in a fierce battle. Use items to turn the tide of the battle, or use powerful spells to bring down an opponent. Or you can just rely on the good old sword to cut your enemy down to size!
Create or join a clan to amass an army and conquer the boards.
Patch yourself up after a hard battle.
Feeling lucky? Go bet on the lottery!

No RPG forum should be without. Administrator controls every single aspect of how the hack works, right down to every item and an user's level/stat gains.


[high]Important Notices:[/high]
  1. You need an external Cash mod installed for this mod to function properly.
    • uCash/uShop or vBPlaza, either will do
    • The Cash mod need to use the `user` table
    • You need to configure a setting in the RPG Integration Hack - Cash Options after install/upgrade
[high]Known Issues:[/high]
  1. Regular postbit doesn't contain RPG info
  2. RPG Manual is still outdated
These are all issues that will be addressed in upcoming versions.



[high]Upgrading Users:[/high]
What's new in v3.5?
  • OOP coding for query efficiency
  • Revamped templates
  • New Battle formulas (Thanks to Decado)
  • Works with AJAX Quick Reply/Quick Edit
  • Reoccurring Lotteries
  • Improved Healing Center
  • Inventory feature for the ability to carry multiple items from same item category
  • RPG Info no longer changeable on the fly
  • And last, but not least: [high]NO FILE EDITS![/high]
For support, please visit the RPG Integration Hack Support Forums
All support queries in this thread will be ignored by me.


If you use this mod,
https://vborg.vbsupport.ru/
Click it!


If you wish to support me in the development of the hack,

http://www.zenithl2.com/paypal.gif

Your donations are most appreciated :)

Revan 02-24-2006 05:14 PM

The gates to the Screenshoths hath been opened!

Sykoi 02-24-2006 05:45 PM

Go you! My users and I have been waiting for this for awhile :)

Kingzor 02-24-2006 06:06 PM

z0mg so sexahhhhhhh.

forte 02-24-2006 06:12 PM

HOTM anyone? And I've been waiting for this since vB 3.5 was announced.

Diana Notacat 02-24-2006 06:22 PM

I look forward to seeing what you do with this! :D

DeMiNe0 02-24-2006 06:23 PM

Well done. I'll start helping out with the bugs again.

creedmaniac 02-24-2006 06:55 PM

i'm getting a corrupted file error from the zip

Gio~Logist 02-24-2006 07:22 PM

Quote:

Originally Posted by creedmaniac
i'm getting a corrupted file error from the zip

Try using a different program to unzip the folder.

Otikeu 02-24-2006 11:41 PM

Whoo hoo! Just got the email about v3... I love the classic as it isn't fully of needless features, nor requires page (but I'll donate once some omoney comes to me hehe). THANK YOU!

Otikeu 02-24-2006 11:56 PM

Well... I would wait but... I GOTTA INSTALL! *installs*

Thanks again for the hack! I'll be sure to report any bugs!

[edit]why not use an "import product" file instead of the installer.php? I'd perfer this more as will others, since it makes it east to disable or uninstall the hack is needed.

The Chief 02-25-2006 01:12 AM

Totally love the idea of this..

and I am really glad you got it to work with eBux too :)

thanks so much...

[high]* The Chief clicks install[/high]

Revan 02-25-2006 01:31 AM

Quote:

Originally Posted by Otikeu
Well... I would wait but... I GOTTA INSTALL! *installs*

Thanks again for the hack! I'll be sure to report any bugs!

[edit]why not use an "import product" file instead of the installer.php? I'd perfer this more as will others, since it makes it east to disable or uninstall the hack is needed.

Because this hack needs to add(/remove) and alter database tables, and I trust the vB XML installer system as far as I can throw a couch.
The hack installre system DOES reference to an xml file. Besides, I included an uninstaller as well, so there's no problems.
I refuse to work with install/uninstall code as vB did it.
Quote:

Originally Posted by The Chief
Totally love the idea of this..

and I am really glad you got it to work with eBux too :)

thanks so much...

[high]* The Chief clicks install[/high]

Since eBux is similar to uCash in the money storage way, what works for one works for the other ;)


@everyone: Thanks for the comments, tis appreciated :)
Also Im glad to hear there haven't been any major problems off hand :p

Otikeu 02-25-2006 01:38 AM

Quote:

Originally Posted by Revan
Because this hack needs to add(/remove) and alter database tables, and I trust the vB XML installer system as far as I can throw a couch.
The hack installre system DOES reference to an xml file. Besides, I included an uninstaller as well, so there's no problems.
I refuse to work with install/uninstall code as vB did it.

Well, it was suggested as it is the point of vB 3.5 in most ways... as it does help the user manage the hack better, but meh, I'll still go for it since the hack is still awesome!
Quote:

Originally Posted by Revan
Since eBux is similar to uCash in the money storage way, what works for one works for the other ;)

Actually, eBux has the option to convert the uCash to eBuxes, a nice feature they have :D So, yeah, shows they are similar in that aspect.

DS MrSinister 02-25-2006 01:39 AM

a early birthday gift thanks revan..

Revan 02-25-2006 01:44 AM

Quote:

Originally Posted by Otikeu
Well, it was suggested as it is the point of vB 3.5 in most ways... as it does help the user manage the hack better, but meh, I'll still go for it since the hack is still awesome!

Well as I said, the hack DOES use the Product system to manage everything but queries. I don't feel comfortable working with that environment, and it makes upgrading a pain.
What if for instance some of you detected a template bug that required heavy editing? I couldn't update the zip because telling you to import the new XML as that would make it re-run the queries thus cause errors.
Id have to either bump version number or halt the fix.
Besides, I prefer Dreamweaver over the text boxes for install/uninstall code ;)
And finally, if the Product system is so fancy then why don't Jelsoft use it for their upgrades huh? :p j\k

Otikeu 02-25-2006 01:48 AM

Quote:

Originally Posted by Revan
And finally, if the Product system is so fancy then why don't Jelsoft use it for their upgrades huh? :p j\k

*not trying to be rude* actually they use it to patch the software as an option instead of a full upgrade :P

Anyways, thanks alot for the hack. I perfer old school over new school, brings back memories and true RPG fun.

Revan 02-25-2006 02:00 AM

Quote:

Originally Posted by Otikeu
*not trying to be rude* actually they use it to patch the software as an option instead of a full upgrade :P

Arr I owned myself thar didn't I :p
Well I meant like upgrading to the next version, like 3.5.3 -> .4! So HA! XD

tehste 02-25-2006 02:01 AM

Revan you can use the version field to make the product xml queries run or not. or use IF NOT EXISTS in the queries themselves.

Dreamweaver can be used to edit the xmls ;)

eNforce 02-25-2006 02:20 AM

Problem with my postbit thingy, see attachement.

Also, for the same thing in the attachment, would it be possible to make it collapsable, and have it collapsed by default? my postbit is quite large with my mods + the rpg postbit.

forte 02-25-2006 02:57 AM

I still havent recieved my email in the support forums. Anyway, I just wanted to tell you that, it won't let me add midis and keeps on saying "The selected Battle Music does not exist." when it does exist.

Tri@de 02-25-2006 03:29 AM

Great!
Clicked install before i downloaded! :D

Just a question: the sex/class selection is still here? Or you modifyed to fit race/class selection?

eXaulz 02-25-2006 05:31 AM

This has got to be the next HOTM.

Suggestion: Add more default items, wepaons, armor, races, classes, etc. :)

Also, add an 'auto-refresh' to the arenas. If not, cliking Refresh every 5 seconds would suck.

In the battle, this 'Quote:' stuff is very... annoying, sorry. It would be better if it would look soemthing like:

U1 attacks U2 with (example) his fists!
U2 takes 5332 damage

Of course, it would be much more detailed, etc. I can really help you with this project. I love online RPG's and I used to administrate one over at RPG Palace. This one really reminds me of it.

It would be nice if each class/race/wahtever had it's own set of customizable 'Skills'. Such as, the 'Ninja' race/whatevr will have a special SKill, called 'Super-Kick,' which will do x2 his normal damage. These skills will be controled by PHP, one example 'modifier' will look like:

PHP Code:

$enemy['damage'] = $user['attack']*2

Then they can be more advanced. But, you get the idea. Each Modifier will be run when each skill is run by the user. Different Skills can be earned by higher levels.

Contact me on AIM: eXaulz - I have tons more ideas.

eNforce 02-25-2006 05:38 AM

An AJAX RPG system would be to to die for *drool*

Otikeu 02-25-2006 06:21 AM

Aha! Foun dan error... well not a real error, but you forgot to include rpg_misc.php in /admincp/ ... within the provided zip...

Quote:

Originally Posted by my Server
Not Found
The requested URL /admincp/rpg_misc.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at forums.xxxxxxxxxxxx.com Port 80


projectego 02-25-2006 09:04 AM

Great work. :)

[high]* projectego clicks install.[/high]

Otikeu 02-25-2006 09:14 AM

Awesome stuff!

BUG: When using quotes or "<" ">" and other symbols, it posts the html code and not the symbol... When you said your accept the results of the battle, it redirects you to an "Invalid Battle. Go Back" thing... yet all the winnings are delt with, I'd say just needs a confirm message instead of error message :)

Also, how can I get that top RPG menu off? Ty

[edit]Nevermind, found that on the Plugin Manager... labled "RPG Navbar Addon".

I still smell HTOM approaching ;)

Zidane007nl 02-25-2006 09:27 AM

Quote:

Originally Posted by Otikeu
Aha! Foun dan error... well not a real error, but you forgot to include rpg_misc.php in /admincp/ ... within the provided zip...

This is a known issue, a couple of files are left out, because they don't work yet.

Revan 02-25-2006 10:53 AM

Quote:

Originally Posted by eNforce
Problem with my postbit thingy, see attachement.

I don't see a problem, please be more specific.
Quote:

Originally Posted by eNforce
Also, for the same thing in the attachment, would it be possible to make it collapsable, and have it collapsed by default? my postbit is quite large with my mods + the rpg postbit.

Go to your Headquarters and select Display RPG Info in Dropdown (or smth similar). It's an user level option to collapse the stats or not.
For a later version I will use vbcollapse.
Quote:

Originally Posted by forte
I still havent recieved my email in the support forums. Anyway, I just wanted to tell you that, it won't let me add midis and keeps on saying "The selected Battle Music does not exist." when it does exist.

Are you sure you followed the proper format? Your files can't have an extension of .mid, it must be .midi. Rename them in your FTP if you can't see file extensions in Windows.
Quote:

Originally Posted by Tri@de
Great!
Clicked install before i downloaded! :D

Just a question: the sex/class selection is still here? Or you modifyed to fit race/class selection?

Im not sure I understand... Creating an RPG character is the same as previous version, though I plan to add support for multiple genders.
Quote:

Originally Posted by eXaulz
Suggestion: Add more default items, wepaons, armor, races, classes, etc. :)

I want the admin to work a little to get the RPG properly running, that's why it doesn't come precompiled with every item you need to have a Lineage II-style RPG up and running ;)
Quote:

Originally Posted by eXaulz
Also, add an 'auto-refresh' to the arenas. If not, cliking Refresh every 5 seconds would suck.

Check your vBulletin Options under General Options. Default is 60 seconds.
Quote:

Originally Posted by eXaulz
In the battle, this 'Quote:' stuff is very... annoying, sorry. It would be better if it would look soemthing like:

U1 attacks U2 with (example) his fists!
U2 takes 5332 damage

Of course, it would be much more detailed, etc.

I will move the battle actions to a template system, so you will be able to customise the look as you would a regular page :)
Quote:

Originally Posted by eXaulz
I can really help you with this project. I love online RPG's and I used to administrate one over at RPG Palace. This one really reminds me of it.

I already have a game designer working on this, though he is kind of slow :p But Ill take every idea you give me with great thanks and note it down, if it fits the new system I'll be making then you'll see it in there at some point :)
Quote:

Originally Posted by eXaulz
It would be nice if each class/race/wahtever had it's own set of customizable 'Skills'. Such as, the 'Ninja' race/whatevr will have a special SKill, called 'Super-Kick,' which will do x2 his normal damage. These skills will be controled by PHP, one example 'modifier' will look like:

PHP Code:

$enemy['damage'] = $user['attack']*2

Then they can be more advanced. But, you get the idea. Each Modifier will be run when each skill is run by the user. Different Skills can be earned by higher levels.

A highly advanced skill system IS planned, though I lack some formulas for the new stats system to be able to get started on working on this.
I plan to majorly revamp pretty much everything in this hack, especially the stats, I just needed to get a foundation ready (ie OOP coding and cache systems) to not take even longer to get the next version out.
Quote:

Originally Posted by eXaulz
Contact me on AIM: eXaulz - I have tons more ideas.

I don't have AIM, MSN or email would be your best bet ;)
Quote:

Originally Posted by eNforce
An AJAX RPG system would be to to die for *drool*

Currently out of the scope of the project, but it WILL be there, I promise :) I plan to make it an option to use an ATB system (Active Time Battle if your not familiar, means doing away with the turn system), and AJAX would fit this better. Besides, as of today, servers aren't as equipped to handle AJAX as they will be by the time that's done.
Quote:

Originally Posted by Otikeu
BUG: When using quotes or "<" ">" and other symbols, it posts the html code and not the symbol...

Hm, it doesn't allow such characters because of HTML exploit possibilities, but Ill look into having them displayed as proper characters yet not parsed as HTML.
Quote:

Originally Posted by Otikeu
When you said your accept the results of the battle, it redirects you to an "Invalid Battle. Go Back" thing... yet all the winnings are delt with, I'd say just needs a confirm message instead of error message :)

That's because you are the last to confirm the battle. If you look down (or click Battle Actions to reverse the order) at the last battle message, you'll see EXP, Gil and Clan Points dealt with properly.
I'll look into finding a way to avoid that Invalid Battle message - for now just consider it as a glitch.

forte 02-25-2006 11:11 AM

Quote:

Originally Posted by Revan
Are you sure you followed the proper format? Your files can't have an extension of .mid, it must be .midi. Rename them in your FTP if you can't see file extensions in Windows.

It finally worked. But in the items, will the addition of abnormal status be added in the future since I found that there are some items that can be used to cure poison and stuff.

Tri@de 02-25-2006 11:30 AM

i want to say:
to select a class is dipendent from sex.
i'd like to select a class from race... it's better don't you?

Revan 02-25-2006 11:58 AM

Quote:

Originally Posted by forte
It finally worked. But in the items, will the addition of abnormal status be added in the future since I found that there are some items that can be used to cure poison and stuff.

Yeah it will :)
As soon as I get the proper formulas I need, I will begin making the Skill and Effects systems, which will allow for status effects and skills such as them Ninja skills suggested on the previous page :)
Quote:

Originally Posted by Tri@de
i want to say:
to select a class is dipendent from sex.
i'd like to select a class from race... it's better don't you?

Well Genders will be limited from Race, so in a way it would work out like you say thar.

Gizmo5h1t3 02-25-2006 12:15 PM

revan, can i ask if the hack installs items, potions, skillls, spells, weapons, armour and stuff by default??

only asking, as the RPG inferno lite hack had u adding them al one by one, which was a total pain...

going to watch this thread with great interest, with the proper work and support, this could be HOTM easy!!

forte 02-25-2006 12:15 PM

Is it possible to get equipments have sub-categories for each category like in weapons, there can be sub-categories like rods, one-handed swords, 2-handed swords, spears, etc. And for armors, there can be shields, body plate, helmet, etc.

GamerJunk.net 02-25-2006 01:04 PM

Yay. And I don't have to pay, full featured product!

Sooner95 02-25-2006 01:35 PM

yay!!

Revan 02-25-2006 01:39 PM

Quote:

Originally Posted by Gizmo5h1t3
revan, can i ask if the hack installs items, potions, skillls, spells, weapons, armour and stuff by default??

only asking, as the RPG inferno lite hack had u adding them al one by one, which was a total pain...

Well, it inserts weapons, items and armor by default, but doesn't give them proper buff values.
This is because I dont want a bunch of forums with the exact same values (defaults). The admin SHOULD have to work a little to set it up properly.
Quote:

Originally Posted by forte
Is it possible to get equipments have sub-categories for each category like in weapons, there can be sub-categories like rods, one-handed swords, 2-handed swords, spears, etc. And for armors, there can be shields, body plate, helmet, etc.

Not atm, no. The two-handed doesn't prohibit you from also carrying a shield, for instance.
However, I plan to make a "body chart" where there's equipment slots like Head, Body, Legs, Left/Right Hand, etc. By then, every category will work like they should :)

Sooner95 02-25-2006 03:26 PM

during install. got this.

Quote:

Fatal error: Call to undefined function: fetch_table_info() in /home/bulldogz/public_html/forums/installer/class_installer.php on line 849
during Step 6/9 Importing the product. Doesn't go any further. All files have been uploaded.

referring to this line looks like.

Quote:

if ($vbulletin->db_alter->fetch_table_info('language'))

Revan 02-25-2006 03:42 PM

Try re-uploading all default vBulletin files, and maybe even disable other plugins.
That function is defined somewhere in vBulletin files.

Sooner95 02-25-2006 03:50 PM

oh man.. thats gonna take awhile. Think I will wait for it to come out of beta. Thanks

Edit

confused, the file that has the error was a file uploaded from the RPG files, not a vb default file.


All times are GMT. The time now is 03:27 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.02301 seconds
  • Memory Usage 1,868KB
  • 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
  • (2)bbcode_php_printable
  • (30)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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