PDA

View Full Version : RPG Integration Hack


Pages : [1] 2 3 4

Revan
02-23-2006, 10:00 PM
RPG Integration Hack v3.5.1 Patch Level 2


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.


Important Notices:
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 Known Issues:
Regular postbit doesn't contain RPG info
RPG Manual is still outdatedThese are all issues that will be addressed in upcoming versions.



Upgrading Users:
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: NO FILE EDITS!For support, please visit the RPG Integration Hack Support Forums (http://demo.neomateria.net)
All support queries in this thread will be ignored by me.


If you use this mod,
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=108790)
Click it!


If you wish to support me in the development of the hack,
http://www.zenithl2.com/paypal.gif (https://www.paypal.com/xclick/business=newrevan%40start.no&item_name=RPG+Integration+Hack+Donation&no_shipping=1&return=/)
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
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...

* The Chief clicks install

Revan
02-25-2006, 01:31 AM
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.
Totally love the idea of this..

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

thanks so much...

* The Chief clicks installSince 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
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!
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
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
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
*not trying to be rude* actually they use it to patch the software as an option instead of a full upgrade :PArr 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:


$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...

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. :)

* projectego clicks install.

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
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
Problem with my postbit thingy, see attachement.I don't see a problem, please be more specific.
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.
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.
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.
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 ;)
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.
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 :)
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 :)
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:


$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.
Contact me on AIM: eXaulz - I have tons more ideas.I don't have AIM, MSN or email would be your best bet ;)
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.
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.
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
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
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 :)
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
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.
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.

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.

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.

Revan
02-25-2006, 03:51 PM
That problem won't go away then, because it's not a problem in my coding.

Sooner95
02-25-2006, 04:57 PM
even if the issue is coming out of a file that was uploaded from the RPG stuff?

Also, the uninstaller wont work, because it never finished the installation, so its is assuming it was never installed. I have already dropped the new tables that were added. Can you post a list of the tables that were altered so I can manually put them back as well? Thanks.

Sooner95
02-25-2006, 05:04 PM
i found the one added under the administrator. Sorry, not trying to be a pita, and not trying to pick on your coding, I know you have put together some damn fine addons. Just need to start it over and see what went wrong.

Sooner95
02-25-2006, 05:50 PM
aw hell, nevermind. Can't drop the tables manully, renders my bbs useless. Woohoo! back to the drawing board.

Ok, figured that out, forgot to remove the product first, so that was my bad. Not having a good day! hehe..

Sooner95
02-25-2006, 06:09 PM
ok got it remove off my bbs, cept for the datastore stuff, i don't know how to do that.

Anyways, not sue what happened with the install, but did notice that the navbar additions appeared and the product was listed. Is it possible i got he error but its still finished the install?

Revan
02-25-2006, 06:54 PM
even if the issue is coming out of a file that was uploaded from the RPG stuff?The issue is rooted in a class that is defined in a vBulletin file.
If the class didn't exist, the error would be something else.
And since 25 or so people have installed it without these problems, I dare say its your files :p
I can't answer you on most of the problems you have by manually removing the shite, though I can tell you that the datastore stuff can be removed the same way youd remove a row in another table.

Tri@de
02-25-2006, 07:06 PM
in that way i can't have orcs that can't be mages
but i can have male orcs that can't be mages and female orcs that can be mages?!?!?!?

pretty strange...
it's difficult to implement a class selected by race?

Sooner95
02-25-2006, 08:24 PM
The issue is rooted in a class that is defined in a vBulletin file.
If the class didn't exist, the error would be something else.
And since 25 or so people have installed it without these problems, I dare say its your files :p
I can't answer you on most of the problems you have by manually removing the shite, though I can tell you that the datastore stuff can be removed the same way youd remove a row in another table.

Ok, was just askin, not sure how the innards of VB work sometimes.

Frustrating cuz I havnt had any issues installing anything else. Then again, this is one of the few hacks that do not use the plugin/produt system the new way.

Oh well, maybe one day I will sit down and disable the 50 or so plugins to see if it is one of them affecting the install. Thx again.

Otikeu
02-25-2006, 10:25 PM
... And since 25 or so people have installed it without these problems, I dare say its your files :p

I'm one of them :D And I'm loving it... though it'd be cool if the templates fit more in the rules of the vBulletin default (thus work on others well... aka, using the presentation as the vB default), but I'm just customizing them myself. It is a small price for having a big mod already done :D

Oh, one thingis the rpg_misc.php file wasn't included in the zip... the one that is meant for the /admincp/

Oh well, maybe one day I will sit down and disable the 50 or so plugins to see if it is one of them affecting the install. Thx again.
Well, it's not always a good idea to install too much, as that makes it harder maintainance. Also, the setups that require manual vBulletin PHP file edits is very changing for someone with a poor PHP knowledge, as that is how these errors intend to occur. What you could do is use the uninstall.php file and try reruning the install.

Anyways, I might even release some template plugins on this hack :D I already have at least one that I could do, make a dropdown menu for the RPG links...

Arngrim
02-25-2006, 10:43 PM
Nice one Revan. Cheers for the hack. Keep the updates and new features coming. Though the Monster Arena is not up yet, the monster list within the ACP looks pretty impressive. I look forward to your getting this Mod more wide-open.

Darkfire122333
02-26-2006, 12:38 AM
i want the monster arena working, it looks 1337... but there is one thing i have to address... there is one link for donate that will not transfer over to ebux, it is always on ucash, you think you could fix that? thanks

Revan
02-26-2006, 10:01 AM
I'm one of them :D And I'm loving it... though it'd be cool if the templates fit more in the rules of the vBulletin default (thus work on others well... aka, using the presentation as the vB default), but I'm just customizing them myself. It is a small price for having a big mod already done :DWhat do you mean? I follow the vB standard for templates on all my templates now :ermm:
i want the monster arena working, it looks 1337... but there is one thing i have to address... there is one link for donate that will not transfer over to ebux, it is always on ucash, you think you could fix that? thanksNoted in the bug tracker.

Sooner95
02-26-2006, 05:57 PM
What you could do is use the uninstall.php file and try reruning the install.

Yea, i tryed that, but would run thru it. Was able to uninstall it be removing the product (which i'm not sure why it was there, when i got the error when importign the product) and then just dropped the tables.

I know when installing alot fo addons, you can run the risk of errors ect.. tho I am not the only one who doesn't have alot installed. Not a big deal. I will try it again when I have some more time to work with it one on one..

Thanks again.

WNxWakko
02-26-2006, 07:07 PM
I realize you say that either uCash/uShop or eBux/eStore can be used with this. However, since I've never used either of those, which is the best to combine with this RPG mod? The only reason I would be installing uCash/uShop or eBux/eStore would be to make this RPG mod work.

Can anyone tell me which is prefered?

username12
02-26-2006, 07:17 PM
I can't actually install this mod, but anyway it shouldn't matter which one you use. Just a matter of preference. I'm sticking with eBux/eStore myself on the basis of level of support and it's also not in beta.

WNxWakko
02-26-2006, 07:25 PM
I just dont understand what the point of eBux/eStore is. I read the features list, but still I guess unless I install it, I really dont understand what its all about.

username12
02-26-2006, 07:38 PM
I didn't get it either until I installed it, and I only installed it because another mod required it. It's a nice little addition to have I suppose.

Blaine0002
02-26-2006, 08:27 PM
good job! hopefully this will be updated often.

blablablabla
02-26-2006, 11:59 PM
i cant get the battle menu visible, i have installed the mod and everything :( how to get make it visible after installation?

Revan
02-27-2006, 08:57 AM
You need to have a specific comment present in your navbar:
<!-- / nav buttons bar -->
This is present just below the </div> in the default navbar template.

Tri@de
02-27-2006, 09:48 AM
the "is game Master" option in usergroup ,settings what it does?

Revan
02-27-2006, 11:59 AM
It allows users in this usergroup to do the following actions:

Purchase/use items regardless of Level and Battle Type
Override the In Battle check (Heal/Update Stats/Buy items)

forte
02-27-2006, 03:19 PM
If you have some spare time, could you integrate it with the vBpager hack so it will page instead of PMing the user?

Tri@de
02-27-2006, 03:23 PM
Found something strange: in headquarters i can select i-bot or unknown race or class
i don't have error message.

Revan
02-27-2006, 07:44 PM
Beta 3 released, I had to skip Beta 2 due to a bug in the installer, which has now been fixed.

For a list of bugs fixed in this version, go here:
http://demo.neomateria.net/bugs.php?do=list&bugstatusid=3&bugversionid=3

No restored/new features as of yet, though they are being worked on.
---------------------------------------------------------------------------------------------------------------------

@triade: I think that's because you are Admin.

TamCaVBoy3
02-27-2006, 09:09 PM
thanks for the update, fixing bugs is more important than new features :) good work

ffevo
02-28-2006, 05:31 AM
Um, FOr some reason I cant DL it.

shoupz
02-28-2006, 05:54 AM
love this mod, first rpg mod i got to work without having sql errors. keep it up!

Tri@de
02-28-2006, 06:38 AM
@triade: I think that's because you are Admin.


I tried as registerd user and if i select unknown it update stats without errors and dislpay Unknown in selected stats...

Bug?

Replicators
02-28-2006, 06:39 AM
Ok, i am using a extremepixels skin (Plasma-Expanded) and there is no link to the game on forum, nor instruction on how to put one up. Could you give me the code to manually put up the link?

(@Revan= BTW i fixed my problem)

ffevo
02-28-2006, 06:40 AM
Wait, How did you guys get an Install? I dled the file and I got no Install with it!?

ffevo
02-28-2006, 06:59 AM
Can someone POST THE INSTALLER? PLEASE?

Tri@de
02-28-2006, 07:03 AM
the installer is integrated!
upload all files
after go to www.yourdomain.com/forum/installer/install.php and follow the instruction.

Remeber to install also ushop ucash or ebux

ffevo
02-28-2006, 07:05 AM
I already Uploaded all the files..and I get no Option for RPG Intergration Hack
Just the Ucash Ushop

ffevo
02-28-2006, 07:11 AM
Wtf. I dont understand.. I uploaded all the Files. Admincp, Images, and The files that go just in the fourms root. How can the installer Know..to Install the RPG Hack..unless it has an Installer. >.>

ammarcom004
02-28-2006, 08:49 AM
thanks alot for this hack

Revan
02-28-2006, 12:57 PM
Wtf. I dont understand.. I uploaded all the Files. Admincp, Images, and The files that go just in the fourms root. How can the installer Know..to Install the RPG Hack..unless it has an Installer. >.>/installer/index.php and the RPG appears in the list. If it doesn't, you didn't upload the /installer/ directory properly.
I tried as registerd user and if i select unknown it update stats without errors and dislpay Unknown in selected stats...

Bug?There's no checker against a submit using those values. The user will just not be able to battle.

Tri@de
02-28-2006, 01:04 PM
Revan i modifyed the headquarters to block change class gender race etc if reached level 5. if you want the file just call me

Revan
02-28-2006, 01:11 PM
No need, thanks anyways :)

bubba1977
02-28-2006, 06:27 PM
This is a brilliant addon to VB, my hat goes off to you. its way much better than the IPB attack system.

So far things are going fine but have 1 small problem, i have it installed on my test forum and 1 little thing is kinda annoying me.

http://www.bubbas-world.net/test.gif

in the attached image if you look under the BANK:0.00 it says Total %1$s:

ive checked the file edit in the postbit_legacy and it all seems ok. also in the admin panel of RPG ive set the points field to eBux and the currency name to Gil.

any ideas please?

Revan
02-28-2006, 07:28 PM
Well this aint the eBux thread is it ;)
My RPG didn't add that code and hence I can't give support for it.

Gizmo5h1t3
02-28-2006, 08:05 PM
to help a little, youll find the 3 templates that need re editing are..

MEMBERINFO, POSTBIT LEGACY, AND FORUMRULES.

and as revan says, his codes dont affect this happening.

sorry revan for steppin on toes, but at least thatll stop others askin bout it.

lol

Chief Corn
02-28-2006, 08:23 PM
aww sweetness. cool to see the headquarters layout made it in. still debating to upgrade my forum to 3.5.x because my clan needs vbwar but dw hasn't updated it for 3.5.x yet. i have a new 2nd vbulletin license that i'll test this on but wish i had the users to help squash the bugs.

Revan
03-01-2006, 08:38 AM
to help a little, youll find the 3 templates that need re editing are..

MEMBERINFO, POSTBIT LEGACY, AND FORUMRULES.

and as revan says, his codes dont affect this happening.

sorry revan for steppin on toes, but at least thatll stop others askin bout it.

lolNo prob, thanks for helping answering it :)

Tri@de
03-01-2006, 09:03 AM
Revan, when i use quick reply post
in answer i see always rpgstats in postbit (only in my reply) even if i have set the dropdown menu. If i reload the page, the postbit disappear.

Sooner95
03-01-2006, 05:20 PM
Hi, thought i had removed this all, but it left this bit behind..


Invalid SQL:
UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###

snip

`photoplogmaxfilesize` = '512000',
`photoplogmaxfilelimit` = '100',
`rpgpermissions` = '0'
WHERE usergroupid=6;

MySQL Error : Unknown column 'rpgpermissions' in 'field list'

I get that when trying to update usergroups. The tables/columns are not in my SQL, so where does it get this value from and how do I remove it?

Sooner95
03-01-2006, 05:38 PM
nm, debug mode is a beautiful thing.. sorry for the trouble...

Vizionz
03-01-2006, 07:07 PM
i dont know if it was noted but in battles. ya should not be able to shop. i was in battle and able to buy potions. that means anyone with money and good amount of hitpoints could just keep buying elixers everytime there low and be unbeatable

Revan
03-02-2006, 04:54 AM
i dont know if it was noted but in battles. ya should not be able to shop. i was in battle and able to buy potions. that means anyone with money and good amount of hitpoints could just keep buying elixers everytime there low and be unbeatableAll Admins, Mods and SMods from the default usergroup IDs are listed as GMs. This means theyare able to do stuff like that.

Major Miner II
03-02-2006, 06:01 PM
Hey - I'm having a couple of problems. First - while installing the hack I could not complete this option.

In the RPG Integration Hack - Cash Options settinggroup ( Done)



Make sure the Point Field setting matches that of your Points hack.

Second - I can't find the RPG Admin area - lol. Where do I find that?

Third - after installing this I get the following error on ALL old messages. Not new ones.

Database error in vBulletin 3.5.3:

Invalid SQL:

SELECT `userid`, `rpg`, `items`, `inventory`, `uttpoints` AS `points`
FROM `user`
WHERE `userid` = '27';

MySQL Error : Unknown column 'uttpoints' in 'field list'
Error Number : 1054
Date : Thursday, March 2nd 2006 @ 12:01:27 PM
Script : http://www.troll-cave.org/forums/showthread.php?t=535
Referrer : http://www.troll-cave.org/forums/forumdisplay.php?f=3
IP Address : 162.1.17.48
Username : Frapster
Classname : vb_database

DS MrSinister
03-02-2006, 06:09 PM
Hey - I'm having a couple of problems. First - while installing the hack I could not complete this option.



Second - I can't find the RPG Admin area - lol. Where do I find that?

Third - after installing this I get the following error on ALL old messages. Not new ones.


you have to change uttpoints to ucash or ebux on which point system you are running..

Admincp

RPG Navigation --> RPG Integration Hack Menu --> RPG Options --> Itemshop Options

or

vBulletin Options --> RPG Integration Hack - Cash Options

Major Miner II
03-02-2006, 06:21 PM
great! fixed that - and apparently I have a permissions issue keeping me from seeing the RPG stuff.

Major Miner II
03-02-2006, 06:27 PM
I'm all good! woohoo! thanks to all responsible for the hack and thanks for those who helped me.

bubba1977
03-02-2006, 07:42 PM
Well this aint the eBux thread is it ;)
My RPG didn't add that code and hence I can't give support for it.


thanks... i slipped up when updateing ebux / eshop.

blablablabla
03-03-2006, 10:40 PM
does it work on vbulletin 3.5.3?

Replicators
03-03-2006, 10:55 PM
It works with 3.5.4 so yea, i cannot wait for the next version, i wanna kill monster's.

ffevo
03-04-2006, 03:52 AM
Database error in vBulletin 3.5.4:

Invalid SQL:

CREATE TABLE `.sqlrpg_alignments`
(
`alignmentid` int(10) unsigned NOT NULL auto_increment,
`alignmentname` varchar(50) NOT NULL DEFAULT '',
`alignmentleader` varchar(50) NOT NULL DEFAULT '',
PRIMARY KEY (`alignmentid`)
) TYPE=InnoDB;

MySQL Error : Incorrect table name '.sqlrpg_alignments'
Error Number : 1103
Date : Friday, March 3rd 2006 @ 09:46:13 PM
Script : http://www.squaresyndicate.com/forums/installer/index.php
Referrer : http://www.squaresyndicate.com/forums/installer/index.php
IP Address : 209.165.35.111
Username : Loathor__Healer
Classname : vb_database


What the hell. Okay. I get this error while trying to create the tables. right?

$this->query("
UPDATE `" . TABLE_PREFIX . "setting` SET

SEE THAT ` before the " <-- if I remove that. it works Pefect.

and then.. Ill install it. and then.. when I want to get to ANY ++++ing Page. I get the same Error. wtf??

Revan
03-04-2006, 10:22 AM
Your table prefix does not comply with MySQL standards. That's what causes the error, and I used the ` everywhere just because it is MySQL standard.
Please change your table prefix using tableprefix.php from the original vBulletin installation.

Sykoi
03-04-2006, 04:29 PM
I'm having some problems with the install...
During the first time, I had gotten to the 16th or 17th step but had forgotten to change my old installion's (From 3.0.x) cash field name from uttpoints (Doesn't exist) to ebux (What I use now), and it spit out the following error:

Invalid SQL:

SELECT
user.`userid`,
user.`username`,
user.`clan`,
user.`rpgclass`,
user.`rpgrace`,
user.`alignment`,
user.`rpgtype`,
user.`rpggender`,
user.`hp`,
user.`maxhp`,
user.`ma`,
user.`maxma`,
user.`pp`,
user.`maxpp`,
user.`ap`,
user.`element`,
user.`inbattle`,
user.`xp`,
user.`chalable`,
user.`rpgstats`,
user.`inmonsterbattle`,
user.`uttpoints` AS `points`,
rpg_clan.leader_old,
rpg_clan.clanid,
rpg_battle_stats.battles,
rpg_battle_stats.wins,
rpg_battle_stats.losses,
rpg_battle_stats.draws,
rpg_battle_stats.retreats,
rpg_items_user.*,
userfield.rpgname AS rpgname
FROM vb3_user AS user
LEFT JOIN vb3_rpg_clan AS rpg_clan ON(rpg_clan.clanid = user.clan)
LEFT JOIN vb3_rpg_items_user AS rpg_items_user ON(rpg_items_user.userid = user.userid)
LEFT JOIN vb3_rpg_battle_stats AS rpg_battle_stats ON(rpg_battle_stats.userid = user.userid)
LEFT JOIN vb3_userfield AS userfield ON(userfield.userid = user.userid)
WHERE user.`userid` >= 1
AND user.`userid` < 21;

MySQL Error : Unknown column 'user.uttpoints' in 'field list'


Now I've obviously fixed this, but ran into another problem... I can't get past step 3 because I've already went through these steps.
So, how do I manually bypass the steps I've done?

ffevo
03-05-2006, 04:06 AM
Im wondering. Thanks for telling me to change that.

Im using The Itemshop Know. For Points. Is their a way I can intergrate this RPG with that hack?

ffevo
03-05-2006, 04:07 AM
EDIT: Syoki, You need to Delete all the tables that were created in your database, and also what it added.

Got it installed. Good hack, Once you work through all the irritaing Installs.

Sykoi
03-05-2006, 07:39 AM
Have a list of tables I need to delete and modify? Or the file used for each step, so I can just comment out the needless steps' bulk.

ffevo
03-05-2006, 07:45 AM
well, I had to do it throught PHPmyadmin but you can run queires in your Admin CP.

Open the " Mysqlschema.php" in your Installer/Hacks folder. and look at each of those. thats how I did it. ..

Sykoi
03-05-2006, 10:55 AM
There really has to be an easier way; I have no idea what has and hasn't been updated, and I'd really like to keep my previous RPG data.

TamCaVBoy3
03-06-2006, 04:45 AM
i don't see the stats in postbit ...

Revan
03-06-2006, 08:56 AM
i don't see the stats in postbit ...The regular postbit template (not _legacy) does not currently have any RPG data. The template edit is just there to cater to future needs.

Ski-Whiz
03-06-2006, 07:16 PM
I think my problem is simple, but I can't figure it out...

I have the posbit (not legacy)...

How does one battle someone, where is their RPG name listed?? I can't find it anywhere.

Since I don't have the legacy posbit, nothing is really shown in my posbit. So how do I find the name of someone to battle?

Thanks!!

Ski-Whiz
03-06-2006, 09:00 PM
I did find a bug. Not sure if this was noticed yet.. When using ebux and entering a wager:

"Your opponent does not have enough Gil. The wager is 10 Gil, and your opponent only has 512496.33 Gil. "

Ziki
03-07-2006, 06:21 PM
Hey Revan when will be a new update?

Deagle Man
03-08-2006, 04:24 AM
Never mind I uninstalled via admincp.

Revan
03-08-2006, 08:36 AM
Hey Revan when will be a new update?Working on the Monster Arena these days, somewhat distracted at times but slowly moving forward. Some time before the end of the week I expect the MA to be ready.

Vizionz
03-08-2006, 09:34 AM
very cool good work so far rev

ffevo
03-09-2006, 12:29 AM
eh, that Money bug is happening on Cash Also, not Just bux. is ther a fix to that yet? Or is that gunna be in the next release?

Sinistra
03-09-2006, 01:37 PM
Any way I can make the RPG navbar a dropdown menu for the main navbar. with the UserCP and all that stuff?

Replicators
03-09-2006, 03:06 PM
First go into your plugin manager and disable "RPG Navbar Addon"

You need to edit the templates navbar (found in Navigation/Breadcrumb Templates).

Find:

<td class="vbmenu_control"><a href="faq.php?$session[sessionurl]" accesskey="5">$vbphrase[faq]</a></td>

Insert this after that:

<td id="rpg" class="vbmenu_control"><a href="#rpg">RPG</a> <script type="text/javascript"> vbmenu_register("rpg"); </script></td>

Find this:

<!-- / PAGENAV POPUP -->
</if>

Above add:

<!-- RPG menu -->
<div class="vbmenu_popup" id="rpg_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">RPG</td></tr>
<tr>
<td class="vbmenu_option"><a href="headquarters.php">Headquarters</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="battle.php">Battle Arena</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="monsterarena.php">Monster Arena</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="itemshop.php">Itemshop</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="heal.php">Healing Center</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="clancp.php">Clan CP</a></td></tr>
<tr>
<td class="vbmenu_option"><a href="lottery.php">Lottery</a></td></tr>
</table>
</div>
<!-- RPG menu -->

This is Zidane007nl's code so i take no credit on it.

bubba1977
03-09-2006, 03:51 PM
thanks.. that helped loads.

TosaInu
03-10-2006, 01:27 PM
The RPG navbar doesn't show at all on our board. It's there in the plugins and it is activated. Shouldn't there be an edit in template navbar to activate it?

Sykoi
03-11-2006, 12:13 AM
Just out of curiosity - is there an easy way to clear old data from 3.0.x RPG? As in, player data (Stored in the users table)

Revan
03-12-2006, 09:33 AM
Just out of curiosity - is there an easy way to clear old data from 3.0.x RPG? As in, player data (Stored in the users table)Not at the moment, no. In a later Beta, I plan to re-introduce the Reset RPG function which will do what you suggest thar.

Ziki
03-12-2006, 07:20 PM
And Revan you could make a edit for navbar in a drop down menu instead of that the installer adds another navbar line...

Sykoi
03-12-2006, 09:25 PM
Hate to bug you again, Revan, but are there any plans to allow players to post while in battle? The reason I ask is, someone could go into battle with someone else - and then log off... That other person would be unable to post during that fight.

Revan
03-13-2006, 08:46 AM
And Revan you could make a edit for navbar in a drop down menu instead of that the installer adds another navbar line...At some point I will code an AdminCP setting that switches between the two navbar styles.
Hate to bug you again, Revan, but are there any plans to allow players to post while in battle? The reason I ask is, someone could go into battle with someone else - and then log off... That other person would be unable to post during that fight.Um, you will still be able to post normally, just not gain EXP. Or is there a bug preventing this? I have been unable to find such a bug in my tests...

General Update: Development is rather slow at the moment, as I have joined a Lineage II private server development team. But trust that I will not abandon this hack. Thank you for your patience.

Ziki
03-13-2006, 05:15 PM
Yeah that would be cool if there would be the choice but I think you have to edit the whole installer.Or what template is the addictional rpg navbar line in?

majorxp
03-13-2006, 06:08 PM
/bookmarked when out of beta

This looks incredible.

SpecOpsX
03-14-2006, 03:35 AM
This looks amazing definetly will be installing this :)

Ziki
03-14-2006, 01:46 PM
Only 65 installs?Lol guys come on you can do better!

Revan
03-15-2006, 07:34 AM
Yeah that would be cool if there would be the choice but I think you have to edit the whole installer.Or what template is the addictional rpg navbar line in?Nah you don't have to edit any installer, just make an additional edit to the Navbar template.
In the next Beta I will be trying out this feature, for now my priority is to complete the Monster Arena :)

Ziki
03-17-2006, 09:08 PM
OK you said you finish it this week or did I get it wrong?

Revan
03-18-2006, 10:59 AM
Ran into a few snags, but Im putting the final touches on the Arena now. Just need to test it for abit.
Also, I have an AdminCP bug to fix before being able to put this out there.

Ziki
03-20-2006, 10:35 AM
Oh OK.As soon as I get access to my PayPal account I will donate ya

Revan
03-20-2006, 02:00 PM
Cool, thanks :)

General Update: The last Beta version, Beta 4, is expected to be released Friday. I want to give it a 5 day testing period due to the fact that you never know when issues may arise.
Also, some release notes on the Arena:
The code for the Battle Arena has been copied over to the Monster Arena, in order to simplify User and Monster actions in battle. What this has led to, however, is a "dumb" AI. The monsters are now only able to use Fists. This will change for an upcoming version as I plan to rewrite the Equipment system and also allow Monsters to carry equipment.
To counter this (and also to stop the massive strain on the monster arena in general), you can now configure a price to battle a monster.

Sooner95
03-21-2006, 11:51 PM
Based on a past error corrected, I am once again lookign forward to trying this again. Keep up the fine work!

Ziki
03-22-2006, 10:30 AM
Cool, thanks :)

General Update: The last Beta version, Beta 4, is expected to be released Friday. I want to give it a 5 day testing period due to the fact that you never know when issues may arise.
Also, some release notes on the Arena:
The code for the Battle Arena has been copied over to the Monster Arena, in order to simplify User and Monster actions in battle. What this has led to, however, is a "dumb" AI. The monsters are now only able to use Fists. This will change for an upcoming version as I plan to rewrite the Equipment system and also allow Monsters to carry equipment.
To counter this (and also to stop the massive strain on the monster arena in general), you can now configure a price to battle a monster.

And Revan there is also a item bug.When I buy multiply items I have only 1 and can buy the others again.:confused:

Revan
03-23-2006, 06:37 AM
Not a bug. The other items go to your Inventory, which is a feature not yet complete. You have not lost the items nor the money.

Ziki
03-23-2006, 06:11 PM
Oh OK.Anyway you could add some info files that the feature is still being made cause when my members always PM that the file is missing.Man I had to stop that so I created inventory.php that informs that you are still doing it.

Revan
03-24-2006, 05:47 AM
Ill see about commenting out the button or smth =P

Revan
03-24-2006, 08:03 PM
Update: Beta 4 Released!
This will most likely be the last Beta version. The only thing rly missing is the WOL locations, which don't require testing in too many different environments, lol.

http://demo.neomateria.net/bugs.php?do=list&bugversionid=6
Go there for a list of all bugs fixed in this Beta.

New Features:
* Monster Arena
* Maintenance
* Mass EXP
* Ability to let the User choose whether or not the Battle Arena should accept RPG Name, Username or Both.

Also, some release notes on the Arena:
The code for the Battle Arena has been copied over to the Monster Arena, in order to simplify User and Monster actions in battle. What this has led to, however, is a "dumb" AI. The monsters are now only able to use Fists. This will change for an upcoming version as I plan to rewrite the Equipment system and also allow Monsters to carry equipment.
To counter this (and also to stop the massive strain on the monster arena in general), you can now configure a price to battle a monster.

Replicators
03-24-2006, 09:06 PM
I got this error while installing....

Database error in vBulletin 3.5.4:

Invalid SQL:

CREATE TABLE `sf_rpg_monster_battles`
(
`monsterbattleid` int(10) UNSIGNED NOT NULL auto_increment,
`owner` int(10) UNSIGNED NOT NULL DEFAULT '0',
`opponent` int(10) UNSIGNED NOT NULL DEFAULT '0',
`battlestate` int(10) UNSIGNED NOT NULL DEFAULT '0',
`turnid` int(10) NOT NULL DEFAULT '0',
`lastactive` int(10) UNSIGNED NOT NULL DEFAULT '0',
`wager` int(10) UNSIGNED NOT NULL DEFAULT '0',
`winnerid` int(10) UNSIGNED NOT NULL DEFAULT '0',
`winstatus` int(10) UNSIGNED NOT NULL DEFAULT '0',
`sceneid` int(10) UNSIGNED NOT NULL DEFAULT '0',
`shield` int(10) UNSIGNED NOT NULL DEFAULT '0',
`midi` int(10) NOT NULL DEFAULT '-1',
`battlelost` int(10) UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (`battleid`)
) TYPE=InnoDB;

MySQL Error : Key column 'battleid' doesn't exist in table
Error Number : 1072
Date : Friday, March 24th 2006 @ 03:04:05 PM
Script : http://***.******.***/installer/index.php
Referrer : http://***.******.***/installer/index.php
IP Address : **.**.***.***
Username : Replicators
Classname : vb_database

wwesn1
03-24-2006, 09:13 PM
yep, got that too

Gemma
03-24-2006, 09:45 PM
I've found some bugs -

Your opponent does not have enough Gil. The wager is 1000 Gil, and your opponent only has 363429.08 Gil.

Still appears wen making a wager on a battle

Wen selecting Maintenance in AdminCP I get -

Parse error: parse error, unexpected ')' in /forum/admincp/rpg_maintenance.php on line 344

**edit - found the username selector - thank you this is very useful :)

Gemma

Revan
03-24-2006, 09:46 PM
Whoops... Reupload the /installer/hacks/rpg_integr_hack/mysql-schema.php in 5 mins, it'll be fixed.

Revan
03-24-2006, 09:54 PM
Ok NOW I took care of all of that.
Reupload /battle.php and /admincp/rpg_maintenance.php

Gemma
03-24-2006, 10:20 PM
Ok NOW I took care of all of that.
Reupload /battle.php and /admincp/rpg_maintenance.php

Great! All working now

Thank You

Gemma

Replicators
03-24-2006, 10:30 PM
Thanks for the quick fix revan, all working now >8)

EDIT: Take that back, i just got this error when making my character.

Database error in vBulletin 3.5.4:

Invalid SQL:
UPDATE sf_rpg_user SET
ap = 45,
maxhp = 50,
maxmp = 23,
maxpp = 43,
hp = 50,
mp = 23,
pp = 43,
elementid = 4,
alignmentid = 2,
raceid = 2,
genderid = 3,
classid = 45,
typeid = 1,
inputlevel = 0,
dropdown = 1,
canchallenge = 1,
rpgname = 'Replicators'
WHERE userid = 1;

MySQL Error : Unknown column 'inputlevel' in 'field list'
Error Number : 1054
Date : Friday, March 24th 2006 @ 04:37:02 PM
Script : http://***.******.***/headquarters.php
Referrer : http://***.******.***/headquarters.php
IP Address : **.**.***.***
Username : Replicators
Classname : vb_database

Gemma
03-24-2006, 10:51 PM
ALTER TABLE `rpg_user` CHANGE `inputlevel` `inputlevel` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '2'

Should fix your problem temporarily

Gemma

wwesn1
03-24-2006, 11:31 PM
here is another one when you try to assign a cost to battling the bots


UPDATE `vbrpg_ibots`
SET
`botname` = 'Dire Wolf',
`levelrequired` = '1',
`cost` = '10',
`winexp` = '3',
`limitname` = 'Fury Swipes',
`hp` = '30',
`maxhp` = '30',
`mp` = '10',
`maxmp` = '10',
`pp` = '10',
`maxpp` = '10',
`ap` = '50',
`xp` = '12',
`genderid` = '2',
`elementid` = '3',
`wins` = '0',
`losses` = '1',
`battles` = '2'
WHERE `ibotid` = '32';

MySQL Error : Unknown column 'cost' in 'field list'

Replicators
03-25-2006, 12:14 AM
Should fix your problem temporarily

Gemma

it gives me a error and says Unknown column.

An error occurred while attempting to execute your query. The following information was returned.
error number: 1054
error desc: Unknown column 'inputlevel' in 'sf_rpg_user'

Ziki
03-25-2006, 01:58 AM
Cool work Revan!

Ziki
03-25-2006, 02:35 AM
I got this bug when accessing Monster Arena

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(`monsterbattleid`) AS `ibotbattles` FROM `forumziki_rpg_monster_battles`;

MySQL Error : Unknown column 'monsterbattleid' in 'field list'
Error Number : 1054
Date : Friday, March 24th 2006 @ 11:28:47 PM
Script : http://www.zikihideout.com/forums/monsterarena.php?
Referrer : http://www.zikihideout.com/forums/monsterarena.php?
IP Address : 87.197.143.145
Username : ZIKI-SET
Classname : vb_database

xlegends
03-25-2006, 04:37 AM
HI, Does anyone know what this step is referring to?

Step 2 - Upload New Images ( Done)
Upload the contents of the 'upload' folder in images1.zip and images2.zip to your forum root.

Replicators
03-25-2006, 05:09 AM
Just ignore that step

xlegends
03-25-2006, 05:55 AM
Just ignore that step


Thanks rep, everything installed fine and I can enter the different scripts of the hack.

Having huge db problem, I cant seem to save the character creation which is required before doing anything,.,.


Database error in vBulletin 3.5.3:

Invalid SQL:
UPDATE rpg_user SET
ap = 60,
maxhp = 45,
maxmp = 33,
maxpp = 53,
hp = 45,
mp = 33,
pp = 53,
elementid = 2,
alignmentid = 2,
raceid = 2,
genderid = 3,
classid = 61,
typeid = 1,
inputlevel = 0,
dropdown = 1,
canchallenge = 1,
rpgname = 'DBG'
WHERE userid = 7105;

MySQL Error : Unknown column 'inputlevel' in 'field list'
Error Number : 1054
Date : Saturday, March 25th 2006 @ 07:53:41 AM
Script : /http://www.xxxxxxxxxx.com/forums/headquarters.php
Referrer : /http://wwwxxxxxxxxxx.com/forums/headquarters.php?

Ziki
03-25-2006, 06:15 AM
Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(`monsterbattleid`) AS `ibotbattles` FROM `forumziki_rpg_monster_battles`;

MySQL Error : Unknown column 'monsterbattleid' in 'field list'
Error Number : 1054
Date : Friday, March 24th 2006 @ 11:28:47 PM
Script : http://www.zikihideout.com/forums/monsterarena.php?
Referrer : http://www.zikihideout.com/forums/monsterarena.php?
IP Address : 87.197.143.145
Username : ZIKI-SET
Classname : vb_database

Revan can you please look at it?There are tables missing...

Revan
03-25-2006, 08:52 AM
I will release an update that will fix all these issues in 5 minutes.

Revan
03-25-2006, 09:01 AM
Beta 5 Released

I had to make this quick update because I messed up badly on the SQL tables, causing many people to have errors.
Terribly sorry for the mess, it should all be good now.

Replicators
03-25-2006, 11:49 AM
We don't expect you to be perfect >8)

EDIT: Encountered this error while making a monster battle..

Database error in vBulletin 3.5.4:

Invalid SQL:

INSERT INTO sf_rpg_monster_battles
(`owner`,
`opponent`,
`battlestate`,
`turnid`,
`lastactive`,
`wager`,
`sceneid`,
`musicid`)
VALUES
('1',
'32',
'1',
'1',
'1143295803',
'3',
'4',
'0');

MySQL Error : Unknown column 'musicid' in 'field list'
Error Number : 1054
Date : Saturday, March 25th 2006 @ 06:10:03 AM
Script : http://***.******.***/monsterarena.php
Referrer : http://***.******.***/monsterarena.php?do=newbattle
IP Address : **.**.***.***
Username : Replicators
Classname : vb_database

Revan
03-25-2006, 02:04 PM
ALTER TABLE `rpg_monster_battles` CHANGE `midi` `musicid` INT( 10 ) NOT NULL DEFAULT '-1'
remember to add a table prefix.
Also will be updating the file shortly.

Replicators
03-25-2006, 02:09 PM
That worked, but then i got this...

Database error in vBulletin 3.5.4:

Invalid SQL:

INSERT INTO sf_rpg_ibot_templates
(`userid`,
`ibotid`,
`hp`,
`maxhp`,
`mp`,
`maxmp`,
`pp`,
`maxpp`,
`ap`)
VALUES
('1',
'1',
'30',
'30',
'10',
'10',
'7',
'7',
'0');

MySQL Error : Duplicate entry '1' for key 1
Error Number : 1062
Date : Saturday, March 25th 2006 @ 08:07:56 AM
Script : http://***.******.***/monsterarena.php
Referrer : http://***.******.***/monsterarena.php?do=newbattle
IP Address : **.**.***.***
Username : Replicators
Classname : vb_database

Revan
03-25-2006, 02:59 PM
That's because the battle creation halted where it shouldn't have. Run these two:
TRUNCATE TABLE `rpg_monster_battles`
TRUNCATE TABLE `rpg_ibot_templates`

Otikeu
03-25-2006, 10:05 PM
So, how do we update from (I believe BETA 1) to BETA 5?

Also a feature request. Maybe save a payment history, incase someone like me needs to revamp their item choices (aka remove spells for different types) and will like to refund all money spent for the items? I'd be a life saving feature... ;)

Revan
03-25-2006, 10:44 PM
To update from Beta 1, simply replace all files and run the installer same way you did when installing it. You will be guided through the Upgrade process. You will need to manually point your browser to the Index file after each upgrade process, though. I think. XD

Ill see about that payment history, Im working on revamping the Headquarters for various features atm.

Otikeu
03-25-2006, 11:03 PM
That's cool, thank you.

Another suggestion could be "forms" for a RPG character. Like a class of druid. However, I would assume that such will not be able (as it'll change their status depending on form) until v4... but would be pretty cool in that sense. I'm looking forward to the status system... where characters can be poisoned etc. That'll be awesome.

kevmaz
03-26-2006, 07:44 AM
Hi when I go to Itemshop and click on inventory I get 404 error I have looked in all the downloaded files and there is not a inventory.php file anywhere. Other than that everything seem to be ok
Beta 5 I am using

mikeylikesitz
03-26-2006, 11:41 AM
has this been updated to use vbplaza?

kevmaz
03-26-2006, 04:05 PM
Hi
Yes I did have vbplaza but I uninstalled it and I have been through all the database and deleted all the referance to vbplaza, and deleted all the files from vbplaza
Kevin

Revan
03-26-2006, 07:20 PM
Hi when I go to Itemshop and click on inventory I get 404 error I have looked in all the downloaded files and there is not a inventory.php file anywhere. Other than that everything seem to be ok
Beta 5 I am usingThat feature is not yet complete, I've been meaning to add an empty file there.
has this been updated to use vbplaza?Edited first post, yes you can use that.

Freesteyelz
03-27-2006, 10:25 PM
Hey, Revan. Congrats on a cool, featured hack. I'm testing it now. :)

I've ran into this error when clicking on the clan info either in the postbit and clan list:


Fatal error: Cannot instantiate non-existent class: vb_bbcodeparser in /../showclans.php on line 172


So I checked that line in the "showclans.php" file. I'd figured changing just "$parser" to "$bbcode_parser" to no avail. I tried several other adjustments such as removing the entire code bit (below) but it rendered the BB code unusable. No signature would show, only the image. So I did this:

Replaced:

if ($clan['signature'])
{
/*
Signature parsed with default values:
HTML Off
BBCode On
Image Off
*/
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$show['clansig'] = $parser->do_parse($clan['signature'], false, true, false);
}
else
{
// Boring clan without a sig
$show['clansig'] = $vbphrase['rpg_na'];
}


With:

if ($clan['signature'])
{
/*
Signature parsed with default values:
HTML Off
BBCode On
Image Off
*/
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$show['clansig'] = $bbcode_parser->do_parse($clan['signature'], false, true, false);
}
else
{
// Boring clan without a sig
$show['clansig'] = $vbphrase['rpg_na'];
}


That seemed to have resolved the issue. Now when I click the clan info in postbit and Clan List the link renders correctly. :)

The BB Codes don't work on my end but no biggie. I'll post back with update after more testing. :)

Freesteyelz
03-27-2006, 11:15 PM
The regular postbit template (not _legacy) does not currently have any RPG data. The template edit is just there to cater to future needs.

I took the entire "rpg_postbit_legacy" template code and pasted it in the postbit template. All of the stats showed up. :)

Ziki
03-28-2006, 08:59 AM
And anyway the plugin in the installer is corrupt.

Revan
03-29-2006, 03:53 AM
Hey, Revan. Congrats on a cool, featured hack. I'm testing it now. :)

I've ran into this error when clicking on the clan info either in the postbit and clan list:


Fatal error: Cannot instantiate non-existent class: vb_bbcodeparser in /../showclans.php on line 172


So I checked that line in the "showclans.php" file. I'd figured changing just "$parser" to "$bbcode_parser" to no avail. I tried several other adjustments such as removing the entire code bit (below) but it rendered the BB code unusable. No signature would show, only the image. So I did this:

Replaced:

if ($clan['signature'])
{
/*
Signature parsed with default values:
HTML Off
BBCode On
Image Off
*/
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$show['clansig'] = $parser->do_parse($clan['signature'], false, true, false);
}
else
{
// Boring clan without a sig
$show['clansig'] = $vbphrase['rpg_na'];
}


With:

if ($clan['signature'])
{
/*
Signature parsed with default values:
HTML Off
BBCode On
Image Off
*/
require_once(DIR . '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$show['clansig'] = $bbcode_parser->do_parse($clan['signature'], false, true, false);
}
else
{
// Boring clan without a sig
$show['clansig'] = $vbphrase['rpg_na'];
}


That seemed to have resolved the issue. Now when I click the clan info in postbit and Clan List the link renders correctly. :)

The BB Codes don't work on my end but no biggie. I'll post back with update after more testing. :)Seems like I just missed the include() there, thanks for spotting thsi :)

@ZIKI: Proof? Errors?

Solitary Seraph
03-29-2006, 05:30 AM
It says simply: There is an error with the installer.

Pretty much, at least.

Revan
03-29-2006, 06:29 AM
That error string does not exist within my installer, please be more specific.

TosaInu
03-29-2006, 07:21 AM
Downloaded 3.5 beta5 yesterday, upgrading from working 3.5beta4 today:

Step 4 run the upgrade script:

'Error in upgrade'.

Ziki
03-29-2006, 12:43 PM
That error string does not exist within my installer, please be more specific.

When upgrading....the installer wants to rewrite the product but it says it is corurpt

EDIT: NOw i get a database error

Database error in vBulletin 3.5.4:

Invalid SQL:
ALTER TABLE `forumziki_rpg_ibot_templates`
DROP `genderid`,
DROP `elementid`,
DROP `limitname`;

MySQL Error : Can't DROP 'genderid'; check that column/key exists
Error Number : 1091
Date : Wednesday, March 29th 2006 @ 09:42:32 AM
Script : http://www.zikihideout.com/forums/installer/index.php
Referrer : http://www.zikihideout.com/forums/installer/index.php
IP Address : 213.160.189.84
Username : ZIKI-SET
Classname : vb_database

Revan
03-29-2006, 02:38 PM
When upgrading....the installer wants to rewrite the product but it says it is corurpt

EDIT: NOw i get a database error

Database error in vBulletin 3.5.4:

Invalid SQL:
ALTER TABLE `forumziki_rpg_ibot_templates`
DROP `genderid`,
DROP `elementid`,
DROP `limitname`;

MySQL Error : Can't DROP 'genderid'; check that column/key exists
Error Number : 1091
Date : Wednesday, March 29th 2006 @ 09:42:32 AM
Script : http://www.zikihideout.com/forums/installer/index.php
Referrer : http://www.zikihideout.com/forums/installer/index.php
IP Address : 213.160.189.84
Username : ZIKI-SET
Classname : vb_databaseYou did something wrong, I have multiple people upgrading it properly. You probably uploaded the XML in the wrong fomrat.
Manually reimport it from the AdminCP and turn on Debug Mode, updating the RPG Version Number setting that appears in the RPG Untoucheables section manually to 3505.
If you wanna know how to get into debug mode, search this forum.
Downloaded 3.5 beta5 yesterday, upgrading from working 3.5beta4 today:

Step 4 run the upgrade script:

'Error in upgrade'.Try redownloading the thing, as I said above the upgrade worked for most.

TosaInu
03-29-2006, 03:44 PM
Same MD5 cc757060f3d1a87a710474e433941445, still got the error. I'm going to try again.

Doesn't work. I could manually import the XML with the product manager, but now I miss those new tables.

Revan
03-29-2006, 04:36 PM
Step 4 is just the product, beyond that its just incrementing version number. All tables should be updated fine.
Do what I said above for increase of version number and you should be fine.

TosaInu
03-29-2006, 04:55 PM
The installer didn't run at all. Checked tables with PHPMyAdmin.
So, no step 1, 2 or 3.

Revan
03-29-2006, 04:58 PM
Its impossible to get an error on step 4 and it not having run up until that step.
Check that the following segments are like they should be:
var $_version = '3.5 Beta 5';
var $version = 3505;
$versions = array(
1 => 3011,
2 => 3501,
3 => 3502,
4 => 3503,
5 => 3504,
6 => 3505
);

),
3505 => array(
1 => 'Step 1) Choose Hack',
2 => 'Step 2) Verify Environment',
3 => 'Step 3) Altering Tables',
4 => 'Step 4) Re-Importing Product',
5 => 'Step 5) Finalising Upgrade',
6 => 'Step 6) Upgrade Complete'
)

Freesteyelz
03-30-2006, 05:34 AM
Seems like I just missed the include() there, thanks for spotting thsi :)


I'm glad to have helped. :)

TosaInu
03-30-2006, 10:07 AM
Its impossible to get an error on step 4 and it not having run up until that step.


I did not say I got an error at step 4. I get the error right when I select and proceed installation of RPG beta5. So, the installer doesn't work at all.

As it's a testboard and this is beta software, I experimented with just importing the XML. That works. Ergo, 'step 4', that what is supposed to be done during step 4, works.

By manually doing the so called step 4, not by running the installer, I omit step 1, step 2 and step 3. Not because I don't want it, but because it won't run.

Why does this installer not work, while the one supplied with beta4 did?

Revan
03-30-2006, 12:11 PM
Downloaded 3.5 beta5 yesterday, upgrading from working 3.5beta4 today:

Step 4 run the upgrade script:

'Error in upgrade'.Ahem. Anyways.
Did you look into the installer/hacks/rpg_integr_hack/class.php and see that those variables are like I posted in the post?
Also, what I don't understand is, how can several other people have upgraded successfully, yet you cannot?

TosaInu
03-30-2006, 12:36 PM
Oh, lol. That's step 4 in the installation guide (README_FIRST.html). Sorry about the confusion.

Yes, I checked that file class.php, all is there.

I don't understand either. I don't have to uninstall the old beta first, do I?

Revan
03-30-2006, 03:35 PM
No you shouldn't have. Others have upgraded successfully.
What you should do is open the upgrade3505.php and manually do the queries that lies within.
Then do the version number increase like described in a previous post.
That will get you up to date.

Ziki
03-30-2006, 04:13 PM
Revan I am getting that error

TosaInu
04-01-2006, 09:44 AM
In installer/class_installer.php

// Figure out which version this belongs to
$nextstep = $versions["$currentversion"];

if (!is_array($steps["$nextstep"]))
{
die('Error in upgrade.');
}

I // commented out the die bit. Then (of course?) another problem pops-up



Advanced Hack Installer could not find the file 'upgrade' within the requested directory.

Please contact the hack author.

One may assume that this refers to upgrade350x.php files. So it had to select upgrade3505.php in my case, but it can't get that info. So, just make a copy of upgrade3505.php, call it upgrade.php and upload that. Run the installer again and it will go to

This script will update your RPG Integration Hack to version .

Press the 'Next Step' button to proceed.

Click proceed



* Altered Table: 0nvb3_rpg_ibots
* Altered Table: 0nvb3_rpg_monster_battles
* Altered Table: 0nvb3_rpg_user


Click proceed, the product.XML is imported. Click proceed.

Updated Setting: Version Number successfully.

Click proceed

You have now successfully upgraded the RPG Integration Hack to version ..

We hope you will enjoy using all the new features in the RPG Integration Hack as much as we have enjoyed writing them.
The RPG Integration Hack offers a level of forum and user integration both you and your members will enjoy for countless hours into the future, and new things are always in development.

What are you waiting for, go to your AdminCP and start configuring the hack!

And the things that weren't there are now installed -> seems to work fine.


So, our problem seems to be that the installer can't figure out our current version. Comment out the PHP die in installer/class_installer.php and modify the filename of your required upgrade350x.php file to upgrade.php and upload that to installer/hacks/rpg_integr_hack


// if (!is_array($steps["$nextstep"]))
// {
// die('Error in upgrade.');
// }

Then just run the installation.

TosaInu
04-01-2006, 10:12 AM
Examined our database a bit, xxx_table setting record rpg_versionnumber. You'ld expect it to store the number of the version (3505 in this case), but it stores 0.

Edit: not all new SQL fields are added:

_rpg_ibot_templates ibotid
_rpg_monster_battles turnid
_rpg_monster_battle_posts still uses battleid instead of monsterbattleid

Playing moster in arena works so far. Will post when I find more.

More:
-rpg_ibots loses is not updated to the new losses

Ziki
04-01-2006, 11:25 AM
So it causes the database error just because it can't detect the RPG version?

TosaInu
04-01-2006, 11:52 AM
The upgrade doesn't run because it can't determine the version number, that's correct.

The upgrade seems to miss some steps, even when it runs (some SQL fields are not added).

TosaInu
04-01-2006, 01:18 PM
I'm playing this RPG on the testforum now and it looks good.

What we like to do is setup one forum where people are RPG characters, while not knowing each others real identity. That's mostly possible already, but the PM's to challenge each other gives the usernames/forumnames away. There should be an anonimous sender in the PM or PM's are proxied by some admin.

Revan
04-01-2006, 02:04 PM
Just to make it PERFECTLY clear:
In NO way do I support the upgrade method described above. Should you choose to upgrade that way, you are on your own.

Ill see about adding a proxy user later, though this is not top priority.
The Final version is in last testing phases atm, will be out later today.
@ you two: If you want to upgrade successfully I suggest you fix the Version Number issue...

TosaInu
04-01-2006, 03:39 PM
The versionnumber issue was already manually fixed by using PHPMyAdmin (enable debug mode http://www.vbulletin.com/forum/showthread.php?t=174148&highlight=enable+debug+mode).

For giggles: I put it back to 3504 and now the original installer supplied with beta5 did run. I do not have a dump of the testdatabase, but I guess the previous beta already didn't install the version number -> causing the installer to quit.

After a lot of manual SQL fixes, I ran the installer how it should be run. Maybe the very first install of the previous beta did not add the version number for me.

Maybe an extra note for upgraders, when you upgrade from say beta2 to beta5, you get the success message and may think you're ready. You're not and need to make more runs. It works like updating vbulletin when skipping some upgrades, but it does not proceed automatically.

Good news about a final version Revan.

Revan
04-01-2006, 10:06 PM
Update
The RPG has now been updated to version 3.5 Final which marks the end of the public Beta phase. There have been some important changes to this version, so be sure to read the following release notes carefully before asking questions.

Release Notes:
The Headquarters have been updated to only allow alteration of RPG Info once. Now, once you choose your character, you are stuck with this info until such a time as a Reset option is available. You will not lose your EXP now when you create your character.
The Elements have begun being moved out of the Stat control system. Therefore, you will have noticed a severe drop in HP/MP/PP/AP. This is perfectly normal. If the Admins will it, they will increase the HP/MP/PP modifiers to bring the levels back to somewhat normal. AP (Limit Break) cannot be restored through such means.
Genders are now limited by Race. By default, it duplicates the current Male/Female genders for all Races.
The Monster Arena now has an option to drop cash after each battle.IMPORTANT INFO:
You must do a Hard Refresh (Crtl + F5) on the Create Character page for the JavaScript errors to disappear and the script to function normally!


My next point on the agenda is shortening the list of Known Issues. Most of them will be adressed in Update 1.

nadanada
04-02-2006, 02:10 AM
had to apply a few database fixes for some fields that didn't populate on install, but they were an easy fix:

'hascharacter' in vb_rpg_user table
'cashdrop' and 'expdrop' in vb_rpg_monster_battles and vb_rpg_ibots tables

everything else so far appears to be working as intended except for the stats pop-up window. I get the following error:

"Fatal error: RPG_core::init_user(): Attempted to initialise user(s), RPG not initialised with proper variables!

Tthe following variable is missing:

* Genders

To remedy this error, make sure the $specialtemplates and RPG_core::set_cachefields() variables are properly populated.
The error occurred in rpg.php."

I love the monster cash feature btw!

nadanada
04-02-2006, 02:45 AM
it appears that:

"Fatal error: RPG_core::init_user(): Attempted to initialise user(s), RPG not initialised with proper variables!

Tthe following variable is missing:

* Genders

To remedy this error, make sure the $specialtemplates and RPG_core::set_cachefields() variables are properly populated.
The error occurred in rpg.php."

I simply needed to add 'rpg_genders' to the end of:

$specialtemplates = array(
'rpg_alignments',
'rpg_categories',
'rpg_clans',
'rpg_classes',
'rpg_elements',
'rpg_items',
'rpg_races',
'rpg_types',
'rpg_genders'
);

and

RPG_core::set_cachefields(array(
'rpg_alignments',
'rpg_categories',
'rpg_clans',
'rpg_classes',
'rpg_elements',
'rpg_items',
'rpg_races',
'rpg_types',
'rpg_genders'
));

Kingzor
04-02-2006, 03:26 AM
How do i uninstall the hack so i can reinstall it fresh from the start?
Edit:changed index.php to uninstall.php

also nadanada save your self some work....instead of "rpg_gender" make it "rpg_genders" no table renaming needed :P

Revan
04-02-2006, 09:54 AM
Sorry about that rpg.php error, I will release Update 1 that will fix this along with WOL locations later today.
Hey at least I taught you guys how to debug new created pages that require $RPG->init_user(), aye? :p

Ziki
04-02-2006, 10:12 AM
Revan how to uninstall it?

Revan
04-02-2006, 10:22 AM
uninstall.php?

Ziki
04-02-2006, 11:20 AM
Doesn't work
It takes me back to index.php

Can you please tell all database queries the installer does so I can uninstall it manualy?

TosaInu
04-02-2006, 12:51 PM
All queries are in installer\hacks\rpg_integr_hack\mysql-schema.php

I guess you got stuck in the versionnumber thing like I did. Where are you now? Fixing the beta install so you can do an uninstall or proper upgrade may be less work than manually uninstalling all (templates, phrases).

Ziki
04-02-2006, 01:30 PM
I am trying to delete all tables made by the installer and I am gonna install again.But I dunno which tables it altered...

Revan
04-02-2006, 03:02 PM
If it takes you back to index.php then its because it detects you haven't upgraded to the latest version.
I don't understand how you could get stuck in the version number issue, its two people out of all the people that dloaded this...

Revan
04-02-2006, 08:55 PM
Update 1 released

Just a quick update because of a PHP error, also added is the WOL locations.

Kingzor
04-02-2006, 09:22 PM
tried reseting items, got the following error:

Database error in vBulletin 3.5.4:

Invalid SQL:
WHERE `itemid` NOT IN (1);

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 'WHERE `itemid` NOT IN (1)' at line 1
Error Number : 1064
Date : Sunday, April 2nd 2006 @ 05:22:07 PM
Script : http://www.hiberniagaming.net/vbull/admincp/rpg_maintenance.php
Referrer : http://www.hiberniagaming.net/vbull/admincp/rpg_maintenance.php
IP Address :x.x.x.x
Username : King
Classname : vb_database

Revan
04-03-2006, 07:41 AM
Hm, Ill look into that when I get home.

TosaInu
04-03-2006, 02:31 PM
You need to have a specific comment present in your navbar:
<!-- / nav buttons bar -->
This is present just below the </div> in the default navbar template.

3.5 update 1 installed fine, no problems at all. But the navbar is still not loading. The plugin is there and active, but I can't find anywhere what to edit in the template navbar.

The idea is that a whole new navbar is added, right?

Revan
04-03-2006, 03:32 PM
Yeah. You should look in the default templates for where to place that code.

Anyways, Ive located the source of the problems that caused upgrades to malfunction, and I've removed the files pending an update.
I am looking into the above SQL error, at which point I will release Update 2.

TosaInu
04-03-2006, 03:46 PM
Which code? I've added a second non RPG navbar in the production board, so adding my own RPG bar shouldn't be a huge problem. But you added the plugin code already, so better use that. I guess we should add a line in template navbar, but what is that code? The installation guide doesn't mention anything at all.
-Is the supplied RPG navbar supposed to show.
-Is any template edit required to make it show?

Great that you fixed the installer, it ran smooth for me. It upgraded from 3505 to 3507.

Revan
04-03-2006, 04:00 PM
The problem was for new installers, their version number settings was getting corrupted.

Anyways, what you mean "what code"? The comment you put above. Thats the code the plugin is trying to find in your skin.

TosaInu
04-03-2006, 04:04 PM
The problem was for new installers, their version number settings was getting corrupted.

Anyways, what you mean "what code"? The comment you put above. Thats the code the plugin is trying to find in your skin.

<!-- / nav buttons bar -->

That code is in the template. It doesn't show the RPG navbar, but isn't it just an ignored comment?

Revan
04-03-2006, 04:16 PM
No thats the place where it would normally try to plugin to the table.

Revan
04-03-2006, 04:25 PM
Update 2 released.

This update only adresses a few minor and localised problems in the AdminCP. For new users installing, it fixes many issues in the installer that would corrupt their install beyond repair. Sorry for all the mishaps.

TosaInu
04-03-2006, 04:31 PM
No thats the place where it would normally try to plugin to the table.

You need to have a specific comment present in your navbar:
<!-- / nav buttons bar -->
This is present just below the </div> in the default navbar template.

I'm totally lost now.

-1 The RPG hack has a plugin and whatever to display a RPG navbar -right?
-2 To actually use this, there must be a piece of code in some template for each style -right?
-3 I assume there must be some sort of code pasted into template navbar right?
-4 I assume this code has to be pasted just above <!-- / nav buttons bar --> -right?
-5 What is this code?

Revan
04-03-2006, 04:33 PM
I'm totally lost now.

-The RPG hack has a plugin and whatever to display a RPG navbar -right?
-To actually use this, there must be a piece of code in some template for each style -right?
-I assume there must be some sort of code pasted into template navbar right?
-I assume this code has to be pasted just above <!-- / nav buttons bar --> -right?Wrong. That comment IS the code. The plugin looks for that very comment and tries to hook onto it.

TosaInu
04-03-2006, 04:35 PM
Ok, it doesn't work for me then.

Revan
04-03-2006, 04:38 PM
Guess youll have to use that method you coded yourself then, or whatyousaid. Strange how it wont work, owells.

TosaInu
04-03-2006, 05:09 PM
Don't worry: conflict with other hack or something with our PHP configuration and/or board settings.

Got a working navbar now. Your (and team) work should bring a lot of fun on our board :)

Revan
04-03-2006, 05:44 PM
Excellent, glad to have it all working for you. (Read: Your not allowed to have any more problems, hear!? ;)). Hehe.

Kingzor
04-04-2006, 01:50 AM
Parse error: syntax error, unexpected T_STRING, expecting '(' in /xxx/xxx/public_html/vbull/admincp/rpg_maintenance.php on line 394



went to goto do "Maintenance" and got this error.



else if (in_array($cachename, array('items')))

works


but still getting


Database error in vBulletin 3.5.4:

Invalid SQL:

UPDATE `rpg_user`
SET `items` = '',
`inventory` = '';

MySQL Error : Unknown column 'items' in 'field list'
Error Number : 1054
Date : Monday, April 3rd 2006 @ 09:53:03 PM
Script : http://www.hiberniagaming.net/vbull/admincp/rpg_maintenance.php
Referrer : http://www.hiberniagaming.net/vbull/admincp/rpg_maintenance.php
IP Address : xxxxxx
Username : King
Classname : vb_database

when i tried resetting items.

Ziki
04-04-2006, 06:39 AM
Parse error: syntax error, unexpected T_STRING, expecting '(' in /xxx/xxx/public_html/vbull/admincp/rpg_maintenance.php on line 394



went to goto do "Maintenance" and got this error.



else if (in_array($cachename, array('items')))

works


but still getting


Database error in vBulletin 3.5.4:

Invalid SQL:

UPDATE `rpg_user`
SET `items` = '',
`inventory` = '';

MySQL Error : Unknown column 'items' in 'field list'
Error Number : 1054
Date : Monday, April 3rd 2006 @ 09:53:03 PM
Script : http://www.hiberniagaming.net/vbull/admincp/rpg_maintenance.php
Referrer : http://www.hiberniagaming.net/vbull/admincp/rpg_maintenance.php
IP Address : xxxxxx
Username : King
Classname : vb_database

when i tried resetting items.



Run the SQL query in mysql-scheme.php to remake the items

Revan
04-04-2006, 08:02 AM
Nah its just a code error in that batch.
else if (in_array($cachename, array('items')))
{
// items aren't in user table
$db->query_write("
UPDATE `" . TABLE_PREFIX . "user`
SET `items` = '',
`inventory` = ''
");
}


That's what happens when you code when in a rush...
I dont think I cba to fix this until I done some other features, all these non-content updates are becoming tiring :p

cayote
04-04-2006, 10:31 AM
Just the error:

Parse error: parse error, unexpected T_STRING, expecting '(' in /homepages/26/d1xxxxx824/htdocs/forum/admincp/rpg_maintenance.php on line 394

Otherwise everything seems to work fine...oh..inventory...is that not operational? Clicking on it just gets a page not found error.

Thanks

Revan
04-04-2006, 10:34 AM
Edited the code, small mistake.
And no, the Inventory isn't done yet.

cayote
04-04-2006, 10:38 AM
Ok..thx for quick reply...so I just paste that code you posted above over what's already in there? (Sorry, kinda newbish at this)

NEVERMIND....I did it and now it works...Thanks again, great game!

Ziki
04-05-2006, 11:19 AM
Revan how to unpopulate the tables?I deleted the tables it create but I don't know how to unpopulate

Solitary Seraph
04-05-2006, 11:57 AM
Did you run the uninstall.php that comes in the installer folder?

Ziki
04-05-2006, 01:28 PM
I don't have the RPG installed anymore so there is no use.I just wanna know how to unpopulate tables....

Revan
04-05-2006, 07:17 PM
I do not support methods of removal other than the uninstall.php.

Update 3 released
This takes care of a small problem with the Maintenance functions, file gave a parse error.
And since I hate to increment version numbers without actually adding something, I took care of what used to be #4 in the Known Issues list. User are now able to Reset their RPG Info by clicking the Reset radio button in their Headquarters, then confirm this action before it's finally reset.

What it does:
* Reset everything users chose in the Create Character.
* Reset Battle Statistics.
* Gives the admin the option of resetting Money and/or Items (Equipped as well as Inventory).

What it does not:
* Delete the Clan the user was in. Reason for this is because for larger boards with larger clans, just disbanding the clan might not be a good option. I will make something out of this later.

Revan
04-05-2006, 07:33 PM
Whoops... A bit too pre-emptive with the AdminCP Maintenance fix, seems like the file wasn't properly added to the zip.
Fixed now, hopefully not too many downloaded.

shoupz
04-06-2006, 06:06 AM
hey revan, is there a way to set a higher amount of members to join a clan, i'm only getting a maximun of 5 members for each clan.

theorigin
04-06-2006, 07:11 AM
This is probably a really stupid question..but why am I receiving this when I'm the head admin and every option (that I know of) is set to Yes?

Sorry, you don't have permission to access the administrative controls on this page.

If you need to access this page, ask your lead administrator to enable your permissions for this page using the Administrator Permissions section of the control panel.

Revan
04-06-2006, 07:51 AM
hey revan, is there a way to set a higher amount of members to join a clan, i'm only getting a maximun of 5 members for each clan.You need to increase your clan's Rank. Do this by winning battles against players (not bots) of opposite clans (own clan members wont work).
This is probably a really stupid question..but why am I receiving this when I'm the head admin and every option (that I know of) is set to Yes?Try making yourself Super Admin through the variable and check the Admin Permissions, that's the only thing I can think of rly.

Ziki
04-06-2006, 08:26 AM
Ermm Revan?The uninstall.php doesn't work at all.I installed The RPG but I get a blank page when I want to access a feature and when I tried to uninstall it just upgraded....how should I uninstall then?

Ziki
04-06-2006, 08:28 AM
OK sorry got it to work
..................
that's ++++ing stupid.It only uninstalls if I have the newest version

Anyway Revan b4 it looked much better than now.Now when they want to change the class they lose the EXP and everything!tHAT'S STUPID

Revan
04-06-2006, 03:12 PM
OK sorry got it to work
..................
that's ++++ing stupid.It only uninstalls if I have the newest versionYeah because the SQL errors the tables would generate if you didn't have the newest version installed wouldn't be "+++ing stupid".
Anyway Revan b4 it looked much better than now.Now when they want to change the class they lose the EXP and everything!tHAT'S STUPIDIf you can show me more than one RPG that allows you to change your Class without losing anything...
kthxbai

Replicators
04-06-2006, 03:15 PM
Most real RPG's drop your level to 1 when you change class, play a game like wizardry 8 for example and it makes sense, For example, you are skilled in electronics, you know everything there is to it, then you wanna take up mechanic, would you know the same about being a mechanic as you do as a electrician? So no it's not stupid, it's RPG!

BTW revan, you are doing a great job with this mod! My only request for a future version is that we can have a world map, and towns and stuff to explore, i know that's prob asking for too much for a free mod though.

KurtBMX
04-06-2006, 04:27 PM
Hi Revan

Could you give a short explaination on how to edit ibots?

i would like to edit the reward prices of the current ones, and perhaps change there names and possible add some new ones?

(refering to Monster Arena)

any help would be greatly appreciated

/KurtBMX

Revan
04-06-2006, 06:35 PM
BTW revan, you are doing a great job with this mod! My only request for a future version is that we can have a world map, and towns and stuff to explore, i know that's prob asking for too much for a free mod though.Free or paid, I will never add this feature. Sorry, but a world map is just not something that conforms with the direction this hack will be taking. Im planning to move for a forum integration to make it more worthy of its name, and a World Map is basically creating a game seperate from the forum. I want the RPG to be an extra incentive to post for RP boards, not be something people can use to spend time while waiting for posts.
Hi Revan

Could you give a short explaination on how to edit ibots?

i would like to edit the reward prices of the current ones, and perhaps change there names and possible add some new ones?

(refering to Monster Arena)

any help would be greatly appreciated

/KurtBMXAdminCP -> RPG Integration Hack Menu -> I-Bot Manager :)

Replicators
04-06-2006, 06:51 PM
Free or paid, I will never add this feature. Sorry, but a world map is just not something that conforms with the direction this hack will be taking. Im planning to move for a forum integration to make it more worthy of its name, and a World Map is basically creating a game seperate from the forum. I want the RPG to be an extra incentive to post for RP boards, not be something people can use to spend time while waiting for posts.
AdminCP -> RPG Integration Hack Menu -> I-Bot Manager :)

Yea i can understand where your coming from, i still have confidence that however it is like, it will be good >8)

KurtBMX
04-07-2006, 06:59 AM
AdminCP -> RPG Integration Hack Menu -> I-Bot Manager :)

I think this may be my problem then mate :)

I don't have that link, unless im being noobish and i keep overlooking it.
Is it suppose to appear in the left had menu column? or am i looking in the wrong place (again sorry for asking such simple questions)

if this is the case I do not have this entry (have i missed a bit of code?)

Thanks for your helps its highly appreciated :)

/KurtBMX

Revan
04-07-2006, 10:59 AM
Maybe you don't have Super Admin permissions and therefore have Can Administer RPG set to No.

KurtBMX
04-07-2006, 11:20 AM
Maybe you don't have Super Admin permissions and therefore have Can Administer RPG set to No.

your a genius :)

sorted now i can start customising thanks, i look forward to your updates :)

/KurtBMX

mello_mike
04-08-2006, 05:11 PM
Hello.. first off, GREAT MOD.. my members love the RPG.

Well, I tried to uninstall this... and reinstall it. I've deleted every row and field I could find that has rpg in it.

but whenever I try to do install again it says I have the latest version of the rpg..

now I can't install it again.

Kingzor
04-08-2006, 06:53 PM
Anyway to force all the users to use the nondrop down menu?

webmaster_tbd
04-08-2006, 11:51 PM
hic hic everbody can help me plz??After installed sucessful,what must i do now ?? how to set options ?? because when i clicked into anyone items in navbar , still

"Create RPG CharacterAh, you must be the new recruit. Just step over here, don't be afraid now. Let's see now, you are the one who wish to become a warrior of the land, am I right? Yees... I should warn you, the journey you are about to embark on is not an easy one. You will face perils unlike any you have ever faced before. Your choices and actions will determine your fate, and the fate of many others.
Well, if you are still sure... Just fill out this form and hand it in, I will make you a certified warrior. "

i used vbBux / vbPlaza v1.5.4 by CMX of my forum

Thank you very much

cayote
04-09-2006, 01:50 AM
Not sure if it's working correctly. I have it set as daily/reoccurring but it just sits there until I manually go in the admin and hit PICK. Any ideas?

Thanks

Tyegurl
04-09-2006, 03:51 AM
omg i love this!!!! i could kiss you all over and squeeze you til you burst!!! i can't wait for the missing files!


oh and i was a little disappointed to see that you had archer as a class but then no bow or crossbow or anything lol....like i said i can't wait for you to finish!!! i will use a sword until you get me a bow!

and i see there is no support here and to follow this link!!!

http://demo.neomateria.net/

Revan
04-09-2006, 09:19 AM
Hello.. first off, GREAT MOD.. my members love the RPG.

Well, I tried to uninstall this... and reinstall it. I've deleted every row and field I could find that has rpg in it.

but whenever I try to do install again it says I have the latest version of the rpg..

now I can't install it again.And why couldnt you just upgrade to the last version then run uninstall.php from the /installer?
Anyway to force all the users to use the nondrop down menu?Edit the templates, run some sql queries and stuff, some people done it before but I dont remember how. Why do you want to force this?
hic hic everbody can help me plz??After installed sucessful,what must i do now ?? how to set options ?? because when i clicked into anyone items in navbar , still

"Create RPG CharacterAh, you must be the new recruit. Just step over here, don't be afraid now. Let's see now, you are the one who wish to become a warrior of the land, am I right? Yees... I should warn you, the journey you are about to embark on is not an easy one. You will face perils unlike any you have ever faced before. Your choices and actions will determine your fate, and the fate of many others.
Well, if you are still sure... Just fill out this form and hand it in, I will make you a certified warrior. "

i used vbBux / vbPlaza v1.5.4 by CMX of my forum

Thank you very muchThen create your character?
If your looking for Admin options then they are in the AdminCP.
Not sure if it's working correctly. I have it set as daily/reoccurring but it just sits there until I manually go in the admin and hit PICK. Any ideas?

ThanksIt must not be running the cron job properly. Try setting the cron job to run at a time you or many members are online, then wait a day and talk back then we'll see.
omg i love this!!!! i could kiss you all over and squeeze you til you burst!!! i can't wait for the missing files!


oh and i was a little disappointed to see that you had archer as a class but then no bow or crossbow or anything lol....like i said i can't wait for you to finish!!! i will use a sword until you get me a bow!

and i see there is no support here and to follow this link!!!

http://demo.neomateria.net/Default weapons mate, admins are suppose to have to work a little to set it up. Else we would just see a bunch of forums with exact same content.

Tyegurl
04-09-2006, 11:59 AM
i looked everywhere....i will look again. i might have over looked things as i was quite excited! okay i went through and looked again....i don't see anywhere something about default weapons....i guess i don't understand but i will continue poking around....and i expected to have to set things up like values and such. must not be looking in the right spot.....